Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 28.02.2005, 02:26   #1
VenomHUN
Архивный участник
 
Join Date: Feb 2005
Posts: 10
Default 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!
VenomHUN is offline  
Old 28.02.2005, 02:32   #2
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

u can't give karma to other players with that command...you have to use l2admin or edit db.
Sauron is offline  
Old 28.02.2005, 22:50   #3
robran
Архивный участник
 
Join Date: Feb 2005
Posts: 36
Default

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

ty
robran is offline  
Old 01.03.2005, 03:54   #4
doemondo
Архивный участник
 
Join Date: Feb 2005
Posts: 30
Default

//summon item_name
and
//setparam level 75
(I heard that worked, i usually just use //setparam exp 100000 or something)
doemondo is offline  
Old 09.03.2005, 17:11   #5
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

//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?
Osito2Dancer is offline  
Old 09.03.2005, 20:23   #6
robran
Архивный участник
 
Join Date: Feb 2005
Posts: 36
Default

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
robran is offline  
Old 10.03.2005, 00:52   #7
Nya-o
Архивный участник
 
Join Date: Feb 2005
Posts: 35
Default

to see a certain GM in that list, that gm must add him/her-self in that list by typing //gmliston.
Nya-o is offline  
Old 11.03.2005, 22:32   #8
Osito2Dancer
Архивный участник
 
Join Date: Mar 2005
Posts: 442
Default

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
Osito2Dancer is offline  
Old 15.03.2005, 19:03   #9
robran
Архивный участник
 
Join Date: Feb 2005
Posts: 36
Default

valeu ^^
robran is offline  
Old 21.05.2005, 14:10   #10
pipislav
Архивный участник
 
Join Date: Apr 2005
Posts: 50
Default

what is command to add skill ?
pipislav is offline  
Old 21.05.2005, 14:43   #11
Sundh
Архивный участник
 
Join Date: Apr 2005
Posts: 202
Default

--> BuilderCmdAlias.txt
Sundh is offline  
Old 21.05.2005, 20:27   #12
EntroX
Архивный участник
 
Join Date: May 2005
Posts: 373
Default

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
EntroX is offline  
Old 22.05.2005, 05:53   #13
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

Moved as this isn't a mod or a mod question
paul is offline  
Old 25.05.2005, 19:59   #14
arthurf
Архивный участник
 
Join Date: May 2005
Posts: 3
Default

stoplogin does not work, anyone know how to fix it?
arthurf is offline  
Old 25.05.2005, 20:10   #15
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

use l2admin?
paul is offline  
Old 27.05.2005, 23:22   #16
arthurf
Архивный участник
 
Join Date: May 2005
Posts: 3
Default

All others comands works included stopsay. Anyone know how to fix stoplogin?
arthurf is offline  
Old 29.05.2005, 03:38   #17
rodier
Архивный участник
 
Join Date: May 2005
Posts: 979
Default

Hmm is there something like L2admin but for PHP?
Or its any chance to get ASP working with Apache?
rodier is offline  
Old 12.06.2005, 16:36   #18
arthurf
Архивный участник
 
Join Date: May 2005
Posts: 3
Default

When you type //gmon you go to message refusal mode, anyone know the command to set the refusal off??
arthurf is offline  
Old 12.06.2005, 17:12   #19
paul
Архивный участник
 
Join Date: Feb 2005
Posts: 390
Default

//whisper on
paul is offline  
Old 13.06.2005, 08:23   #20
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

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]
BiGBoY is offline  
Old 13.06.2005, 13:10   #21
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

cool...

but i have a question anyway
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:
toolpunk is offline  
Old 13.06.2005, 14:07   #22
EntroX
Архивный участник
 
Join Date: May 2005
Posts: 373
Default

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

Yours.
EntroX
EntroX is offline  
Old 13.06.2005, 15:53   #23
BiGBoY
Архивный участник
 
Join Date: May 2005
Posts: 216
Default

I think he ment to "flush" cached data to sql but am not sure. I never understood toolpunk well anyway

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.
BiGBoY is offline  
Old 13.06.2005, 16:05   #24
EntroX
Архивный участник
 
Join Date: May 2005
Posts: 373
Default

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
EntroX is offline  
Old 13.06.2005, 16:13   #25
toolpunk
Архивный участник
 
Join Date: May 2005
Posts: 2,033
Default

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?
im serious...
mb i can get a gm acc
toolpunk is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:04.