• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Tutorial] GM commands for beginners.

Newbie Spellweaver
Joined
Mar 29, 2011
Messages
34
Reaction score
7
The structure of the GM commands is the following one: (main credits to chreadie, hvdaedalus, Tsukasa & X_Sarah_X)

Method:
1 - open authserver and enter cmdon
2 - run this procedure in your database :
Code:
USE Pangya_S4_TH
INSERT INTO Pangya_Server_Command (Command, Arg1, Arg2, Arg3, Arg4, Arg5, Target, RegDate, ReserveDate)
VALUES(commandID,Arg1Value,0,0,0,0,20201,NOW,NULL)

Command ID :
  • 0 Notice
    Help :
    Tsukasa said:
    To use command 0 you need to add a message to Pangya_Notice_List and supply Arg1 with the Idx of the notice you want to play.
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Notice_List (Message, ReplayCount, RefreshTime)
    VALUES (varchar(250), int,int)
    ------- idx = the unique number of the message you added in the Pangya_Notice_List
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (0, idx, 20201)
  • 1 Server shutdown
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (1, 1, 20201)
  • 2 Server cancel shutdown
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (2, 1, 20201)
  • 3 Server service control
    Example :
  • 9 Reload Iff file (items/shop/prices etc.)
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (9, 1, 20201)
  • 10 Kick player
    Example :
  • 11 Update patch version
    Example :
  • 12 Change quest flag
    Example :
  • 13 Change quest drop rate
    Example :
  • 14 Change quest drop flag
    Example :
  • 15 Pang event rate
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (15, 400, 20201)
  • 16 Pang XP rate
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (16, 400, 20201)
  • 17 Server Shutdown
    Example :
  • 18 Item drop rate
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (18, 1000, 20201)
  • 19 Angel event (Arg1 = 1 on / 0 off) - it is auto ON!
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (19, 1, 20201)
  • 20 Rain event (% rain = 10 * Arg1)
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (20, 250, 20201)
  • 21 Papel drop ratios (Arg1 = rare item drop rate, Arg2 = Cookie item drop rate)
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Arg2, Target)
    VALUES (20, 250, 250, 20201)
  • 22 Map pang event
    Example :
  • 23 Change server icon
    Example :
  • 24 Jackpot
    Example :
  • 25 Scratches drop rate
    Example :
  • 28 Gift drops (pop up from holes)
    Example :
  • 29 Christmas sock drop rate
    Example :
  • 30 New year money ratios
    Example :
  • 33 Event gift box
    Example :
  • 36 Event set state
    Example :
  • 51 Set Gauge time
    Example :
  • 52 Set map Gauge
    Example :
  • 53 Ghost Service (Arg1 = 1 on / 0 off)
    Example :
    Code:
    USE Pangya_S4_TH
    INSERT INTO Pangya_Server_Command (Command, Arg1, Target)
    VALUES (53, 1, 20201)

List incomplete but in progress.

Source : http://forum.ragezone.com/f512/gmtool_cmd-727937/
"Nothing" comes from me, it's more a summary of this thread.
 
Last edited:
Newbie Spellweaver
Joined
Mar 28, 2011
Messages
7
Reaction score
0
black papel command to change rates for the rares is 21 not 20 :)

USE Pangya_S4_TH
INSERT INTO Pangya_Server_Command (Command, Arg1, Arg2, Target)
VALUES (21, 250, 250, 20201)
 
Back
Top