Patoki Server
Would you like to react to this message? Create an account in a few clicks or log in to continue.

For GM's Use = "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team)

2 posters

Go down

For GM's Use =  "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team) Empty For GM's Use = "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team)

Post  Raziel Sat Oct 25, 2008 12:06 pm

Here It Is "THE ULTIMATE GM HANDBOOK" A Guide By Privatia Team... I Just Copy+Pasted

GM Commands


Overview

This little guide is the most comprehensive GM-guide for PKO you will find. It contains pretty much everything I know about the GM-commands and everything I found on different forums.


How to enter commands

This is really easy. All commands must be entered into the chat-field. And you must add a leading & to the command. For example:


Code:
&addmoney 1000000

-->gives you a million gold :-) To use the commands your account must be a GM-account. This means that you must edit the "GM" field in the database (accounts-table in the GameDB) and set it to a value > 0. To use all commands you must set GM to 99!

Important!

There are only 2 important things you need to know besides the obvious (don't mess with stuff you don't understand *lol*):


* all commands using char/mob-names (like &kick, &call, ...) are case-sensitive
* not all commands work when you or the target are at sea! (for example you can't &call/&goto chars on sea if you're on land, etc.)

Game related commands

The following list contains those commands that influence the gameplay:

Command Description Level Example
addcess <points> Changes your commerce rate. Setting this to 10000 gives you a 0.01% commerce rate. (Ex: &addcess 1000000)

addexp <exp> Adds exp to your experience (Ex: &addexp 1000000)

addkb <capacity>, [<char-id>] Sets the inventory capacity to <capacity> (Ex: &addkb 48)

addmission<id>, <id2> Adds a quest. Syntax is similar to DefineMission used in the Missionscript??.lua files.
For example if the lua contains:
DefineMission( 5138, "Goodbye to 7th Gate", 1546 )
you can add this mission with &addmission 1546, 5138 (Ex: &addmission 1546, 5138)

addmoney <gold> Gives your char some gold (Ex: &addmoney 1000000)

addsailexp <exp> gives your current ship EXP (Ex: &addsailexp 5000000)

attr <attribute>, <value>, [<char-id>] Set a certain "attribute" of a char (see below for more infos) (Ex: &attr 4,9)

call <CharName> Teleports the given Char to your position (Ex: &call AnotherUser)

clearmission <id> Removes a mission. (Ex: &clearmission 1546)

clearrecord <id> Opposite to &setrecord. Removes a quest-record. (Ex: &clearrecord 330)

delmission <id> Deletes mission? Seems to be the same as clearmission (Ex: &delmission 810)

goto <CharName> Teleports you to the position of the given Char (Ex: &goto AnotherUser)

hide Hides your char from other players (Ex: &hide)

itemattr <slot>, <row>, <attr>, <value> Set a certain "attribute" of an item (Ex: &itemattr 2,1,53,9)

kick <CharName> Kicks the given user (sometimes it d/c surrounding players!) (Ex: &kick AnotherUser)

kill <MobName> Kills all surrounding mobs with the given name. (Ex: &kill Wolf)

make <item-id>, <count>, [<quality>] Gives you a certain item (Ex: &make 1092,99)

misclear Clears your Quest triggers, etc. (Ex: &misclear)

move <x>, <y>, [<mapname>] Moves your char to the given position (Ex: &move 2000,2000,garner)

notice <text> Displays "text" in the system-notice windows (Ex: &notice Hello World)

qcha <CharName> Returns informations about the given char (coords, etc.) (Ex: &qcha AnotherUser)

seeattr <attribute>, <char-id> Display a certain attribute of a char (Ex: &seeattr 6,1234)

setrecord <id> Set quest record. For example: if a quest-definition contains something like:
TriggerCondition( 1, HasRecord, 330 )
in the LUA files, you could use &setrecord 330 to obtain that record (btw. 330 is Language Barrier) (Ex: &setrecord 330)

skill <skill>, <level> Learn skill #<skill> at Level <level> (Ex: &skill 284,10)

summon <mob-id>, [<time in ms>], [<AI>] Summons the given mob (Ex: &summon 789)

summonex <mob-id>, <count>, [<time in ms>], [<AI>] Summons the given mob multiple times (be careful - summoning too many mobs will crash the server) (Ex:&summon 789, 10)

unhide The opposite of hide :-) (Ex: &unhide)


Additional informations (summon, kick, etc.)


make

If you use the third parameter with the &make-command you can create certain types of items. If anybody is really bored he can check the AttrCalculate.lua file. The function "Creat_Item_Tattr" defines the special effect. As far as i can see, the following values are possible:

1, 2, 3, 4, 7, 9, 11, 20, 22, 23, 24, 25, 26, 27, 29, 46, 49, 50, 59, 65, 68, 69, 70, 71, 101, 102

101 -> Gem Lv1 (pointless)
102 -> Gem Lv2
103-109 -> aren't working on all servers (if it works on yours, it creates Lv3-Lv9 gems)

IT WILL BE UPDATED LATER BTW= ITEMS CODE AND MOBS CODE ARE IN ANOTHER POST


Last edited by Raziel on Sat Oct 25, 2008 12:42 pm; edited 1 time in total

Raziel
Warrior
Warrior

Posts : 15
Join date : 2008-10-25

Back to top Go down

For GM's Use =  "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team) Empty Re: For GM's Use = "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team)

Post  Kho Sat Oct 25, 2008 12:40 pm

why u post the sumon thing if the summon is ILEGAL ?
Kho
Kho
Admin
Admin

Posts : 63
Join date : 2008-10-24
Age : 32

http://patokizerverz.powermmorpg.com

Back to top Go down

For GM's Use =  "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team) Empty Re: For GM's Use = "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team)

Post  Raziel Sat Oct 25, 2008 12:41 pm

ill delete it if you want

Raziel
Warrior
Warrior

Posts : 15
Join date : 2008-10-25

Back to top Go down

For GM's Use =  "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team) Empty Re: For GM's Use = "THE ULTIMATE GM HANDBOOK" (Thanks To Privatia Team)

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum