[PW-INT] Launching in Dev Mode

07/07/2009 02:58 [oC]pingu#1
A simple batch script to launch Perfect World International in developer mode:

go to your PWI folder ( e.g. C:/Program Files/Perfect World Entertainment/Perfect World International/element ), and create new text file. Paste this in:

Code:
elementclient.exe game:cpw console:1
then file > save as > perfectworld.bat

use that batch file like an EXE and launch the game, to access the console its ~ ( SHIFT and ` ).

here are the dev and gm cvars you can use

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"
"d_title"
"d_namepos"

// ========== GM commands ==========

"gm_kickout_role"
"gm_kickout_user"
"gm_list_user"
"gm_online_num"
"gm_restart_sev"
"gm_shutup_role"
"gm_shutup_user"
"gm_moveto_player"
"gm_callin_player"
"gm_broadcast"
"gm_showid"
"gm_forbid_role"
"gm_trigger_chat"
"gm_generate"
07/07/2009 03:53 ntKid#2
Good job pingu!
07/07/2009 06:12 kokopolokoks#3
what is the use?
07/07/2009 07:37 [oC]pingu#4
some of the debug cvars can be used to find their string in memory, from there, work your way to finding functions, structs, and addresses you need. For example lets say you want to find the NPC info struct.

"g_showid" shows the NPC ID. Its formatted "NPC: 00DEADBEEF" or something along those lines...which means its "NPC: %x", find that string in OllyDBG, and from there you find the NPC struct address, its size, members etc.
07/08/2009 00:04 gammerlord#5
it didn't work i used the bat in the folder and the game oppened than i logged in and than i chose a character and than i press ingame shift + ` and its not oped what musst i do?
07/09/2009 02:42 [oC]pingu#6
i dont know how the heck you can mess this up, it just launches the exe in dev mode...
07/09/2009 11:57 GhostKairi#7
So, in theory, if we can launch this with dev. mode enabled, and its only a loading prefix, cant we put on GM "Rights", per say, as a loading prefix/cvar? And what does the gm_generate do? O.o

And that gm_broadcast might be intresting to test haha :)
07/10/2009 03:00 [oC]pingu#8
gm rights are given by account, so unless ur account has a higher access right than a regular user, no, the gm_* commands are useless.

however, since the actual gm command functions are in the client ( again, activated by access rights ) you can find and reverse them, to for example block gm announcements or stuff like that.
07/10/2009 10:08 garnoo#9
sorry, guys, but its nothing new.... we know about it for about 6 months(?)

link: [Only registered and activated users can see links. Click Here To Register...]
07/11/2009 02:06 [oC]pingu#10
blarg did not see that post, lol.
01/24/2010 11:19 Trex20#11
PLZ explain more for example what to do and what does commands excatly do??
01/24/2010 15:14 stormy_PWI#12
the post you revived is months old..