![]() |
the last S is the name of the admin that do the request, intended for use with l2admin, is the name of the admin logued on that panel... is not needed...
|
right
|
// EDIT //
AddItem2(char_id, ware=1 or char=0, item_id, amount, enchants, eroded, bless, ident, wished, 1); u need a "1" at the end... |
Not work.
Anybody can help? |
Quote:
|
for AddItem the admin id IS needed, it errors otherwise, though for me it refused to work so i hexed the cached to work without admin id xD
$pack=pack("cVVVVVVVVVVV",55,$charid,0,$itemid,$am ount,$enchant,0,0,0,0,0,0); $out=pack("s",strlen($pack)+2); $out.=$pack; ^ thats what i did for additem, and before anyone points out that im using V instead of "i", its because "i" is machine dependant, V is 32bit, and i run this on a 64bit server... |
so anyone can run these commands from anywhere .. isn't that a bit unsafe?
|
thats what firewalls are for
|
Quote:
P.S. If You could explain me why i have error in system logs: 08/20/2006 14:47:xx.xx4, admin server closed(127.0.0.1) error: 997 when command has been executed correctly ? P.P.S. Sometimes i have: 08/20/2006 14:38:xx.xx5, admin server closed(127.0.0.1) error: 258 Weird... very weird... |
the 1 at the end is the "admin id", also i would like to point out, that error when the socket closes is not an error to do with the function itself, it is just the response from WSAGetLastError()
|
Thanks a lot!
|
I have another problem, highest item_type (item id from itemdata) which can be added to database is 7838, everything above it results -> "01". Item is added to database (via 'load items' cached option), but... can not add...
What is weird, that i can add items which are not in database (not in itemcache.txt & loaded), but with item_type <= 7838. I'm stupid, You know... full cached restart (quit & run) has solved problem... (to be remembered: before asking, try to restart ;)) |
Say if you please id function for Cached for the changes of subjob0_class and deleted all skill
I use translator, sorry. |
Quote:
|
Quote:
|
Not work :(
You have original cached or patched "anti /block" ? |
Quote:
P.S. Remember to have recent itemdata.txt in Your cachedscript directory. |
Quote:
|
I am using the next php script:
Code:
<?CacheD: admin server create socket[127.0.0.1] [.\adminsocket.cpp][3454] No Admin Id admin server closed(127.0.0.1) error: 997 Please, help me. |
char must be offline, afaik
|
Quote:
This error doesn't connect with chars, imho.. <_< |
Quote:
|
Quote:
|
how I can add builder to player/acc from CacheD?..
|
-- Deleted --
|
| All times are GMT. The time now is 16:43. |