Page 1 of 1

Need help php script use telnet to additem

Posted: Tue Jun 08, 2010 6:19 am
by SantaRosa
Please help me code scripts to add item to player use PHP.

I dont know how to use php script to add item to player using telnet command. Help me

Re: Need help php script use telnet to additem

Posted: Tue Jun 08, 2010 7:45 am
by janiii
you can check some other php telnet scripts and use the give command

viewtopic.php?f=81&t=17194&p=89795#p89795

Re: Need help php script use telnet to additem

Posted: Tue Jun 08, 2010 9:53 am
by SantaRosa
Thanks janiii very much. It's very usefull for me. Please help me more command telnel for l2jserver please, i need more telnet conmmand for l2j

Re: Need help php script use telnet to additem

Posted: Tue Jun 08, 2010 10:17 am
by SantaRosa
I found it, thanks janiii

status - displays basic server statistics.
performance - shows server performance statistics.
forcegc - forced garbage collection.
purge - removes finished threads from thread pools.
memusage - displays memory amounts in JVM.
announce <text> - announces <text> in game.
msg <nick> <text> - Sends a whisper to char <nick> with <text>.
gmchat <text> - Sends a message to all GMs with <text>.
gmlist - lists all gms online.
kick - kick player <name> from server.
shutdown <time> - shuts down server in <time> seconds.
restart <time> - restarts down server in <time> seconds.
abort - aborts shutdown/restart.
give <player> <itemid> <amount>
enchant <player> <itemType> <enchant> (itemType: 1 - Helmet, 2 - Chest, 3 - Gloves, 4 - Feet, 5 - Legs, 6 - Right Hand, 7 - Left Hand, 8 - Left Ear, 9 - Right Ear , 10 - Left Finger, 11 - Right Finger, 12- Necklace, 13 - Underwear, 14 - Back, 15 - Belt, 0 - No Enchant)
extlist - list all loaded extension classes
extreload <name> - reload and initializes the named extension or all if used without argument
extinit <name> - initilizes the named extension or all if used without argument
extunload <name> - unload the named extension or all if used without argument
debug <cmd> - executes the debug command (see 'help debug').
jail <player> [time]
unjail <player>

Re: Need help php script use telnet to additem

Posted: Tue Jun 08, 2010 1:33 pm
by surskis
SantaRosa, can you share it here?
Thanks