![]() |
GM Commands
Ehm...i have a MAJOR problem. I set up a server in a local ISP, it runs quite fine, without lag but i have a problem not with the software,but with the user :) :)
Somehow i found the GM Command list, but without any explanation. The way the L2Server gives feedback is not quite accurate.. like i cant give bad players karma. the "//setkarma" works only on me and i tried everything.. Do anyone will be so kind and share a command list and how to with me and with all of the community? Thanks! |
u can't give karma to other players with that command...you have to use l2admin or edit db.
|
hi! what the command for make item and command for edit level up some player?
ty |
//summon item_name
and //setparam level 75 (I heard that worked, i usually just use //setparam exp 100000 or something) |
//setparam level 75 works great to set levels, but i prefer //setparam exp number, i got it kinda figured out what numbers to use to which level, so, in case of "fortuite death by GM", i can return the exp exact to the last .01%.
Oso PD: A question: Is it possible to script a "setkarma" command for players as a target, rather than itself? |
how to use a command to teleport some player near to GM and command to teleport party?
edit: why if client digit /gmlist , server send no are gm online, how i fix this? TY |
to see a certain GM in that list, that gm must add him/her-self in that list by typing //gmliston.
|
To teleport a party, i dont know another way rather than adding yourself to that party, and do a //partytel nº to some bookmark you saved earlier (bookmarks get added by putting //addbookmark nº, that way, whenever you do //telbookmark nº, you get to that exact point. Useful to find some neat places (top of aden castle. Top like in "King Kong" height off the ground)).
To teleport someone to your position, just do //recall charname. Oso PD: caso que você não compreendeu meu ingles: Para teleport um party, eu não sei uma outra maneira melhor que uma adição de a esse party, e faço a //partytel nº a algum bookmark que você conservou mais cedo (os bookmarks começam adicionados pôr //addbookmark nº, que a maneira, sempre que você //telbookmark nº, você começa a esse ponto exato. Útil encontrar alguns lugares puros (alto do castelo de aden. Cubra como do "na altura rei Kong" fora da terra)). Para teleport alguém a sua posição, apenas //recall charname. Oso |
valeu ^^
|
what is command to add skill ?
|
--> BuilderCmdAlias.txt
|
Quote:
( you must have targeted the character ) Next time try searching.... EntroX |
Moved as this isn't a mod or a mod question
|
stoplogin does not work, anyone know how to fix it?
|
use l2admin?
|
All others comands works included stopsay. Anyone know how to fix stoplogin?
|
Hmm is there something like L2admin but for PHP?
Or its any chance to get ASP working with Apache? |
When you type //gmon you go to message refusal mode, anyone know the command to set the refusal off??
|
//whisper on
|
Quote:
U need to open socket on port 2009 (cached) and write commands to that port. Here is sample for open socket on mentioned port: [php:1:1717e27cbf]} function SendCommand($str) { global $CONFIG; $fp = fsockopen($CONFIG['dbaddress'], 2009, $errno, $errstr); if(!$fp) { echoLn("Error: $errstr ($errno)"); return(0); } fwrite($fp, $str); stream_set_timeout($fp, 2); $ret = fgets($fp,8); fclose($fp); return($ret); }[/php:1:1717e27cbf] Kick code: [php:1:1717e27cbf]} if(strstr($szAction,"<kick>")) { $szCmd = ("5" . "\t" . $charName . "\t" . "\r\n"); if(SendCommand($szCmd)==1) { $str = "CHAR KICKED: UID = $userAccId; CHAR NAME: $charName"; echoLn($str); //writeLog($str); } else { echoLn("Kick Error? =["); }[/php:1:1717e27cbf] Ban code: [php:1:1717e27cbf] if(strstr($szAction,"<ban>")) { $dbconnect = mssql_connect ($CONFIG['dbaddress'], $CONFIG['dbuser'], $CONFIG['dbpass']); mssql_select_db ($CONFIG['dbdbname'], $dbconnect) or die(print("error")); $query = "UPDATE User_Account SET block_flag=1, block_flag2=1 WHERE uid=".$userAccId; $result = mssql_query($query); if($result) { $str = "ACC BANNED: UID = $userAccId; CHAR NAME = $charName;"; echoLn($str); writeLog($str); } else echoLn("ACC (UID = $userAccId) NOT BANNED!!"); }[/php:1:1717e27cbf] |
cool...
but i have a question anyway :D :D :D is there an admin command 2 save the entire server or at least parts of it... yeah im talkin about kinda backup... if yes... MWUAHAHAHAHA!!! :twisted: :twisted: :twisted: |
Erm....just make the backup on the database itself -.- it already has been talked in another thread.
Yours. EntroX |
I think he ment to "flush" cached data to sql but am not sure. I never understood toolpunk well anyway :D
But if u mean sql backup why bother with gm command? All u need to do is to set database maintenence scheduler and set the time interval for backups. All is there mate just need to enable it. |
Quote:
Yours. EntroX |
Quote:
im serious... mb i can get a gm acc |
| All times are GMT. The time now is 15:13. |