Post Pacific

Post Pacific (https://postpacific.mmorpg-game.online/index.php)
-   Lineage 2 Help (https://postpacific.mmorpg-game.online/forumdisplay.php?f=37)
-   -   GM Commands (https://postpacific.mmorpg-game.online/showthread.php?t=137)

VenomHUN 28.02.2005 02:26

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!

Sauron 28.02.2005 02:32

u can't give karma to other players with that command...you have to use l2admin or edit db.

robran 28.02.2005 22:50

hi! what the command for make item and command for edit level up some player?

ty

doemondo 01.03.2005 03:54

//summon item_name
and
//setparam level 75
(I heard that worked, i usually just use //setparam exp 100000 or something)

Osito2Dancer 09.03.2005 17:11

//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?

robran 09.03.2005 20:23

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

Nya-o 10.03.2005 00:52

to see a certain GM in that list, that gm must add him/her-self in that list by typing //gmliston.

Osito2Dancer 11.03.2005 22:32

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

robran 15.03.2005 19:03

valeu ^^

pipislav 21.05.2005 14:10

what is command to add skill ?

Sundh 21.05.2005 14:43

--> BuilderCmdAlias.txt

EntroX 21.05.2005 20:27

Quote:

Originally Posted by pipislav
what is command to add skill ?

//setskill <skill-id> <level>
( you must have targeted the character )

Next time try searching....

EntroX

paul 22.05.2005 05:53

Moved as this isn't a mod or a mod question

arthurf 25.05.2005 19:59

stoplogin does not work, anyone know how to fix it?

paul 25.05.2005 20:10

use l2admin?

arthurf 27.05.2005 23:22

All others comands works included stopsay. Anyone know how to fix stoplogin?

rodier 29.05.2005 03:38

Hmm is there something like L2admin but for PHP?
Or its any chance to get ASP working with Apache?

arthurf 12.06.2005 16:36

When you type //gmon you go to message refusal mode, anyone know the command to set the refusal off??

paul 12.06.2005 17:12

//whisper on

BiGBoY 13.06.2005 08:23

Quote:

Originally Posted by rodier
Hmm is there something like L2admin but for PHP?
Or its any chance to get ASP working with Apache?

I got my kick/ban page done with php (All credits to friend of mine Leibniz - Luvya F@G to made that)

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]

toolpunk 13.06.2005 13:10

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:

EntroX 13.06.2005 14:07

Erm....just make the backup on the database itself -.- it already has been talked in another thread.

Yours.
EntroX

BiGBoY 13.06.2005 15:53

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.

EntroX 13.06.2005 16:05

Quote:

Originally Posted by BiGBoY
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.

Thats exactly what i ment, anyways, the data in the cache is updated in the db very often i think, anyone could confirm that?

Yours.
EntroX

toolpunk 13.06.2005 16:13

Quote:

Originally Posted by EntroX
Erm....just make the backup on the database itself -.- it already has been talked in another thread.

Yours.
EntroX

would official c3 databases help the project? :D :D :D
im serious...
mb i can get a gm acc


All times are GMT. The time now is 21:44.