Tutorial #2: Basic GM Commands
Previously from the other tutorial. We typed two commands that changes a partion of gameplay by teleporting the npc account and making it hidden.
When you type in game. You will see a list of commands to use. There's actually a lot (and I mean a lot more then what's on the list)

Today we're just going to look into 12 commands. These are:
Code:
add_item
add_quest
announce
gm
server_state
set_body
set_condition
set_skill
set_title
summon
move
shutdown
For references, I do highly recommend you open up the following files for easier use :
Code:
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\itemdb.xml
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\gamequest
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\skill\skillinfo.xml
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\charactercondition.xml
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\optionset.xml
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\title.xml
C:\RCCWork\__UnpackedGameServerNPCFiles\data\db\monster.xml
>add_item /id:[item id] /c1~c3:[aarrggbb color hex] /b:[quanity value]
Using itemdb.xml, You can find the item you want in the game. If you want to find a sword just ctrl+f "sword" and select the itemid, you can also add your own colors in the item too.
Example
Code:
>add_item /id:40010 /c1:0 /c2:FF909090 /c3:FFFFFFFF
Code:
>add_item /id:91144 /b:10
>add_quest [questid]
Look at the gamequest folder, to select a quest type in the value
Example
>announce "Type your message here"
This shows your message to everywhere on the server to see
Example
Code:
>announce "The server computer will reset at exactly 12/30/2016 @ 12PM PST and will reopen in 12/30/2016 @ 2PM PST"
>gm
Opens up the GMCP with various options to use
>server_state
Shows the ammount of players online
>set_body /h:[Height] /f:[Fat] /u:[Upper] /l:[Lower]
Changes your body porportion
Example
Code:
>set_body /h:0.2 /f:0.7 /u:1.2 /l:1.1
>set_condition /a:[id] /c
Adds a condition to your character, Read charactercondition.xml for more information. You can also add it up.
Use /c to remove all conditions
Example
Code:
>set_condition /a:81+11+128
>set_skill /id:[skill id] /a:[rank] /r
Adds a skill to your character, Read skillinfo.xml for more information.
Use /r to remove a skill
Example
Code:
>set_skill /id:30101 /a:15
Code:
>set_skill /id:30101 /r
>set_title /id: /add /remove
Adds a title to your character, Read title.xml for more information.
Use /remove to remove a title
Example
Code:
>set_title /id:60001 /add
Code:
>set_title /id:11010 /add
Code:
>set_title /id:11010 /remove
>summon [Monster name] /n:[Number of Monsters to summon]
Summon a monster. Read monster.xml for more information
Example
Code:
>summon GoldenRatMan /n:3
>move /to: /r: /x: /y:
Moves you to a location.
Example
Code:
>move /r:14 /x:38000 /y:38800
Code:
>move /r:47 /x:10690 /y:14310
Code:
>move /r:3203 /x:85275 /y:74700
Code:
>move /r:3400 /x:179200 /y:206400
Code:
>move /to:_devilcat
>shutdown /all /t:[Seconds]
Shutdowns the whole server
Example
Code:
>shutdown /all /t:300
- - - Updated - - -
sorry for offtopic)
you, guys, are so interested in this game?)
If possible, show me list of problems (i'll try to help) i.e.:
The following things are broken due to the missing componets:
SQL:
Name Checking Duplication
Guild Name Checking Duplication
Guild Chat
Messenger
Web:
Cash Shop
Guild Control Panel
Housing Ad Search Board
Hotkey Saving
Picture Chatting
There might be more, but those are what I can think of right now.