Server Editting
Be carefull when you are doing that because everyone will be able to use Debug Command
Locate gs.config : \SWServer\gamed\gs.conf
edit the file with your text editor search for debug_command_mode =
Set the Value to 1 => debug_command_mode = 1
Start your server
Note : in case it's set to 1 => anyone who know how make GM client will able run all Debug Command
Client Editting
1. Create a destop shortcut to the xajh.exe file. This file is in the \bin folder of your client installation. 2. Right-click the shortcut and select Properties.
3. In the Target box window, add the following text:
game:xajh console:1 sepfile
Code:
"C:\Program Files (x86)\YOUR CLIENT FOLDER\bin\xajh.exe" game:xajh console:1 sepfile
GM Commands -- Action
d_c2scmd 2000 -- Gain 1 Level
d_getservertime -- See server date/time
d_c2scmd 2003 -- Add Gold Notes
d_c2scmd 2003 1 1000 -- Gold Point
d_c2scmd 2018 -- Add Experience
d_c2scmd 2019 -- Kill yourself
d_showid -- Show id of you player and NPC
Show Item ID on Item
d_script TestShowItemId = 1
d_script TestShowItemId = 0 -- Normal mode
d_c2scmd 2025 Add KFP
d_c2scmd 2027 Add Exp to Companion current level of it
d_c2scmd 2028 1 1 1 1 mean first 1= HP second = Chi if you do 1 1 hp and chi goes to 0
d_c2scmd 2060 Something about wedding
d_c2scmd 2078 X Add KFP
d_c2scmd 2079 X Add Errand EXP
Join School
d_cmd 2007 1 -- Shaolin
d_cmd 2007 2 -- Wu-Tang
d_cmd 2007 3 -- Splendor
d_cmd 2007 4 -- Infinity
d_cmd 2007 5 -- Harmony
d_cmd 2007 6 -- Sun and Moon
d_cmd 2007 7 -- Five Venom
d_cmd 2007 8 -- Zephyr
d_cmd 2007 9 -- House Tong
d_cmd 2007 10 -- E'mei
d_cmd 2007 11 -- Remnant (Falconer)
New : (V246-V256 should work also on old one)
d_delcmd 168 1000000 -- Add Sycee to your account
d_cmd 2009 1 XXX add Title to your character xxx = title id
Add Lost Art :
d_cmd 2024 75250 | Wild Punch |
d_cmd 2024 75251 | Dynasty Jab |
d_cmd 2024 75252 | Fierce Kick |
d_cmd 2024 75253 | Belle Trance |
d_cmd 2024 75254 | Body Slam |
d_cmd 2024 75255 | Solar Shield |
d_cmd 2024 75256 | Ice Push |
d_cmd 2024 75257 | Afterglow |
d_cmd 2024 75258 | Cyclone |
d_cmd 2024 75259 | Ambidexterity |
d_cmd 2024 75260 | Death Touch |
d_cmd 2024 75261 | Ocean Blast |
d_cmd 2024 75262 | Death Charm |
d_cmd 2024 75263 | Shadow Walk |
d_cmd 2024 75264 | Star Bloom |
d_cmd 2024 75265 | Gold Palm |
d_cmd 2024 75266 | Sinew Shift |
d_cmd 2024 75267 | Burning Leech |
d_cmd 2024 75268 | Elephant Stomp |
d_cmd 2024 75269 | Flame Order |
d_cmd 2024 75270 | Grief |
d_cmd 2024 75271 | Dragon Palms |
d_cmd 2024 75272 | Universal Swap |
d_cmd 2024 75273 | Astral Vortex |
d_cmd 2024 75274 | Solar Codex |
d_cmd 2024 76111 | Traceless |
d_cmd 2024 76112 | Swift Kick |
Level Up:
d_cmd 2000 -- level up by one level
d_cmd 2000 10 -- add 10 level to your character (will add KFP if reach level cap)
d_cmd 2018 1000000 -- Give yourself 1 million EXP and Level up auto your skill and unlock quest
d_cmd 2027 1000000 -- Give your partner EXP
d_cmd 2010 3 8000 -- Give yourselft 8000 Vocation Reputation points
Gold & Notes
d_cmd 2003 0 1000000 -- Give yourselft 100 Gold Notes (it has a max gold at each level)
d_cmd 2003 1 1000000 -- Give yourselft 100 Gold Coins
Energy
d_cmd 2030 2 1000 -- Increase instance energy by 200 (if it's already 200/200 it wont have effect)
Global Repair
d_cmd 2005 10393
Suicide
d_cmd 2019 -- kill yourself
Speed
d_runspeed 10 -- Increase your Speed by to 10 (max 15)
d_runspeed 1 -- Slow Walking
d_runspeed 4 -- Normal Speed
FPS
d_fps 1 -- Open
d_fps 0 -- Close
Debug Log
d_rtdebug 1 -- Open
d_rtdebug 0 -- Close
Coordinates
d_showpos 127 -- See All Position
d_showpos 1 -- Yourself
d_showpos 64 -- Pets
d_showpos 81 -- Yourself + Pets
d_showpos 3 -- All Players
d_showpos 4 -- Monsters
d_showpos 8 -- NPCs
d_showpos 13 -- Yourself + Monsters + NPCs
d_showpos 32 -- Mine + dynamic objects + Drop
d_showpos 37 -- Yourself + Monsters + Drop
d_showpos 0 -- Close
Map Debug mode (you will see where you can or not move)
d_showmovemap 1 -- Open
d_showmovemap 0 -- Close
Activities
d_instcfg 1 -- Open : you will see avaible Activities as instance/server open/arena ect...
d_instcfg 0 -- Close
Role Generator
d_showid 1 -- Open : Will give you information about your target and you
d_showid 0 -- Close
Camera
d_autoadjcam 1 -- Open : Automatically adjust your camera
d_autoadjcam 0 -- Close
d_frozenframe 1
d_frozenframe 0
Camera Lock Mode (try them for you can understand it)
d_lockenemy 1 0
d_lockenemy 1 1
d_lockenemy 0 0
Skills debug
d_skilldebug 1 -- Debug on solid
d_skilldebug 2 -- Debug on frame mode
d_skilldebug 8 -- Debug with Terrain Surrounding
d_skilldebug 13 -- Debug All mode
d_skilldebug 0 -- Close
See Server Date/Time
d_getservertime
Show Item ID on Item
d_script TestShowItemId = 1 -- Show Id
d_script TestShowItemId = 0 -- Normal mode
Reload script in case you editing LUA while you are in game
d_reloadscript xxxxxxx.lua
Warp to Map Location:
d_cmd 2008 <map number> <x> <y>
d_cmd 2008 6 24 -26 -- Wu-Tang School
more on Map on other thread because have many of them
Shutdown Server
d_cmd 20000 600 -- Will shutdown your server in 10 Minutes countdown
d_cmd 20000 300 -- Will shutdown your server in 5 Minutes countdown
d_cmd 20000 0 -- Instant Shutdown process
d_cmd 20000 -1 -- Cancel the restart
Learn Mouvement Skills (note if you already has them it wont add them back)
d_cmd 2013 3104 -- Sprint LV1
d_cmd 2013 3105
d_cmd 2013 3106
d_cmd 2013 3107 -- Upward Soar LV1
d_cmd 2013 3108 -- Eagle Glide LV1
d_cmd 2013 3114 -- Water Trek LV1
d_cmd 2013 23 -- Dash LV1
d_cmd 2013 24 -- Dash Back LV1
d_cmd 2013 25 -- Dash Left LV1
d_cmd 2013 24 -- Dash Right LV1
d_cmd 2013 3591 -- Blocking LV1
Learn Skills (Note that you can add skills only if you are in the classes school else it wont work)
Shaolin Staff
d_cmd 2024 38004 -- Leftward Sweep LV1 | Right Sweep LV1 | Staff Attack
d_cmd 2024 38005 -- Staff Smash LV1
d_cmd 2024 38006 -- Holy Chant LV1
d_cmd 2024 38007 -- Tiger Roar LV1
d_cmd 2024 38008 -- Stone Shield LV1
d_cmd 2024 38009 -- Earthen Spike LV1
Expiation
d_cmd 2024 38175 -- Unlock Expiation | Expiation I LV1 | Expiation II LV1 | Expiation III LV1 | Expiation IV LV1
d_cmd 2024 38176 -- Redemption I LV1 | Redemp. II LV1 | Redemp. III LV1 | Redemp. IV LV1
d_cmd 2024 38177 -- Tiger Pounce I LV1 | Tiger Pounce II LV1
d_cmd 2024 38179 -- Storm Charger LV1
d_cmd 2024 38180 -- Tiger Leap LV1
d_cmd 2024 38181 -- Rising Blow LV1
d_cmd 2024 38182 -- Tiger Sweep LV1
d_cmd 2024 38183 -- Staff Thrust LV1
d_cmd 2024 38184 -- Staff Wall LV1
d_cmd 2024 38185 -- Tiger Stomp LV1
Wu-Tang Sword
d_cmd 2024 38010 -- Cleave I LV1 | Cleave II LV1
d_cmd 2024 38011 -- Sword Spin LV1
d_cmd 2024 38012 -- Chi of Ice LV1
d_cmd 2024 38013 -- Infusion LV1
d_cmd 2024 38014 -- Impulse LV1
d_cmd 2024 38015 -- Herded Hew LV1
Martial Slash
d_cmd 2024 38199 -- Unlock Martial Slash | Martial Slash I LV1 | Martial Slash II LV1 | Martial Slash III LV1 | Martial Slash IV LV1
d_cmd 2024 38200 -- Switfness I LV1 | Switfness II LV1
d_cmd 2024 38201 -- Vertical Hack I LV1 | Vertical Hack II LV1
d_cmd 2024 38203 -- Freezing Blast LV1
d_cmd 2024 38204 -- Elemental
d_cmd 2024 38205 -- Vertical Hack
d_cmd 2024 38206 -- Dragon Blow LV1
d_cmd 2024 38207 -- Maelstrom LV1
d_cmd 2024 38208 -- Implosion LV1
d_cmd 2024 38209 -- Chi of Tao LV1
d_cmd 2024 38210 -- Billow Surge LV1
For all Classes it's used same process do some research and you'll get the code by increase the id
Give Item for your GM
d_cmd 2001 1032 99 -- Wind Scroll x99
d_cmd 2001 3619 99 -- HP Potion x99 - Restore 65k HP every 2sec duration : 12 sec
d_cmd 2001 5217 99 -- CHI Potion x99 - Restore 10k CHI every 2sec duration : 12 sec
d_cmd 2001 7139 XX -- Tiger Blood Bodhi = Will increase your pet EXP ^^
d_cmd 2001 7140 XX -- Dragon Soul Bodhi = Will increase your pet EXP ^^
d_cmd 2001 7141 XX -- Battle Soul Bodhi = Will increase your pet EXP ^^
d_cmd 2001 16890 XX -- 10k Endo-Damage item you will love it when testing in dungeon
d_cmd 2001 16893 XX -- 10k Exo-Damage item
d_cmd 2001 16894 XX -- 100k Endo-Damage item
d_cmd 2001 16895 XX -- 100k Exo-Damage item
d_cmd 2001 16896 XX -- 1 Million Endo-Damage item
d_cmd 2001 16897 XX -- 1 Million Exo-Damage item
d_cmd 2001 44374 XX -- Phoenix Pills
d_cmd 2001 4218 -- Exploration Map = an item for exploring almost all maps
d_cmd 2001 21865 -- Red Horse
d_cmd 2001 22792 XX -- Common teleport Flag (you will need those for fast teleportation when testing)
d_cmd 2001 22793 XX -- Wind Scrolls
d_cmd 2001 13134 XX -- Socket Drill
d_cmd 2001 13709 XX -- Unlocking Charm
d_cmd 2001 13711 XX -- Consecration Stone
d_cmd 2001 13713 XX -- Enhancement Stone
d_cmd 2001 13136 XX -- Extract I Stone
d_cmd 2001 13136 XX -- Extract II Stone
d_cmd 2001 13717 XX -- Extract III Stone
d_cmd 2001 13718 XX -- Extract IV Stone
d_cmd 2001 13719 XX -- Extract V Stone
d_cmd 2001 13720 XX -- Extract VI Stone
d_cmd 2001 13721 XX -- Extract VII Stone
d_cmd 2001 13722 XX -- Extract VIII Stone
Warp to Map Location:
d_cmd 2008 <map number> <x> <y>
Change Weather (Doesn't work on V256)
d_cmd 2020 7 0 Sunny
d_cmd 2020 7 1 Cloudy
d_cmd 2020 7 2 Cloudy with thunder
d_cmd 2020 7 3 Lil' Rain
d_cmd 2020 7 4 Heavy Rain
d_cmd 2020 7 5 Thunder Rain
d_cmd 2020 7 6 Heavy Snow
Last edited: