In this guide I wil tell you how to get the debug console to work in 2 ways.
Updated for pw international 1.4.0
First and easy way:
Launch the game with console:1
you can make a batchscript for that
1 create an empty .txt file in the folder where your elementclient.exe is located
2 copy pase the following code in it:
(this also bypasses the launcher)
Code:
elementclient.exe game:cpw console:1
3 rename your file to UltimatehaxxorLauncher.bat
4 run the bat file
5 press Shift+~ to see the console
see console commands at the end of this post
--------------------------------------
Second and harder way
(but more awesome way, only for the more advanced user though)
1 You will need a dissasembler(I used ollydbg)
(if you need some basic ollydbg skills, try this topic:

)
2 Search for the string "console:"
3 you will see this code:
Code:
0043BB70 PUSH perfectw.008F3794 ; UNICODE "console:"
0043BB75 PUSH ESI
0043BB76 CALL EDI
0043BB78 ADD ESP,8
4 Replace that code with this
Code:
0043BB70 XOR EAX,EAX ;sets EAX to 0
0043BB72 INC EAX ;sets EAX to 1
0043BB73 MOV DWORD PTR ES:[94D450],EAX ;puts EAX into 94D450
0043BB79 JMP SHORT perfectw.0043BB8F ;jumps to the end of the function
yes, it just checks if
94D450 * is 1 (true) so this patch sets it always to true
5 make the executable (if you need help with this, you shouldn't be doing this)
6 run the game and press Shift+~
*Note: This addres changes from version to version. You get it from the next lines:
Code:
0043BB7F |. 68 50D49400 PUSH perfectw.0094D450 ; HERE IT IS!!
0043BB84 |. 68 7C378F00 PUSH perfectw.008F377C ; UNICODE "console:%d"
0043BB89 |. 50 PUSH EAX
0043BB8A |. FFD3 CALL EBX
---------------------------------
console commands:
Code:
// ========== Debug commands ==========
"d_cameramode"
"d_boundbox"
"d_rtdebug"
"d_npcid"
"d_runspeed"
"d_goto"
"d_fly"
"d_c2scmd"
"d_viewradius"
"d_relogin"
"d_skill"
"d_render_water"
"d_render_grass"
"d_render_forest"
"d_render_shadow"
"d_render_outline"
"d_turnaround"
"d_testdist"
"d_gfx"
"d_showpos"
"d_trnlayer"
"d_a3dstat"
"d_gamestat"
"d_treelod"
"d_fps"
"d_playerradius"
"d_showid"
"d_skipframe"
"d_modelupdate"
"d_minidump"
"d_settimeofday"
"d_getservertime"
"d_task"
"d_mipmapbias"
"d_trncull"
"d_gscmd"
"d_delcmd"