Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Perfect World
You last visited: Today at 08:17

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Guide: Debug console

Discussion on Guide: Debug console within the Perfect World forum part of the MMORPGs category.

Reply
 
Old 12/27/2008, 14:59   #16
 
plixbugmenot's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 89
Received Thanks: 56
you used
Code:
MOV DWORD PTR ES:[939F70],1
but 939F70 was the memory addres for pw international 1.3.9, could have been changed since last release (release at the moment of writing this is v 1.4.0 build 2265)

so you will have to find out the addres to write the 1 to yourself.

this is the function call:

Code:
0043B7AF   |.  68 709F9300       PUSH ecDMCMul.00939F70
0043B7B4   |.  68 FC168E00       PUSH ecDMCMul.008E16FC                                     ;  UNICODE "console:%d"
0043B7B9   |.  50                PUSH EAX
0043B7BA   |.  FFD3              CALL EBX
see that PUSH ecDMCMul.00939F70 ?

and call ebx calls swscanf, and swscanf returns the value (it gets that value from console:1, since the other parameter is console:%d it writes 1) in 00939F70.

Now for your version lets take a look

it is PUSH CFclient.903E80

so to patch your client into having console, you will have to do it like this:

Code:
MOV DWORD PTR ES:[903E80],1
JMP SHORT CFclient.0043B81F
plixbugmenot is offline  
Thanks
1 User
Old 12/27/2008, 17:07   #17
 
elite*gold: 0
Join Date: Aug 2008
Posts: 23
Received Thanks: 2
Thanks You're really a kind friendly helpful person ^.^
ColdFire_ is offline  
Thanks
1 User
Old 12/27/2008, 22:49   #18
 
plixbugmenot's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 89
Received Thanks: 56
You are welcome
plixbugmenot is offline  
Old 04/05/2009, 09:37   #19
 
elite*gold: 0
Join Date: Jan 2009
Posts: 18
Received Thanks: 1
yeah works fne but i know u can spawn some mobs with special items.but how???
any1 an idea??
stt_blaine is offline  
Old 04/07/2009, 19:23   #20
 
plixbugmenot's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 89
Received Thanks: 56
no, it is only good for showing mob id's (which is only usefull for bot developers) and some other minor stuff. You can't do anything with it that will benefit you.
plixbugmenot is offline  
Old 04/07/2009, 23:58   #21
 
elite*gold: 0
Join Date: Dec 2008
Posts: 120
Received Thanks: 8
wew.. please.. tutor in indonesia
dedesayang is offline  
Old 04/08/2009, 08:51   #22
 
elite*gold: 0
Join Date: Oct 2008
Posts: 71
Received Thanks: 12
Unless "d_godmode ON" or "d_unlimited_ammo 1" command works, most of the commands aren't useful for normal uses.
fusioncal is offline  
Old 04/08/2009, 11:47   #23
 
elite*gold: 0
Join Date: Dec 2007
Posts: 63
Received Thanks: 29
work this also for the MY-EN Version?
aloa is offline  
Old 04/08/2009, 17:03   #24
 
elite*gold: 0
Join Date: Dec 2007
Posts: 63
Received Thanks: 29
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.[COLOR="Red"]0043BB8F[/COLOR] 	;jumps to the end of the function
For me, the numbers are slightly different. How do I take the point which I've marked in red?
aloa is offline  
Old 04/11/2009, 16:57   #25
 
plixbugmenot's Avatar
 
elite*gold: 0
Join Date: Dec 2008
Posts: 89
Received Thanks: 56
the number in red is from where the function begins to end.

in this case it's from here:

Code:
0043B7A0    >  26:C705 709F9300 >MOV DWORD PTR ES:[939F70],1
0043B7AB    .  EB 12             JMP SHORT ecDMCMul.[COLOR="Red"]0043B7BF[/COLOR]
0043B7AD    .  74 10             JE SHORT ecDMCMul.0043B7BF
0043B7AF    .  68 709F9300       PUSH ecDMCMul.00939F70
0043B7B4    .  68 FC168E00       PUSH ecDMCMul.008E16FC                                     ;  UNICODE "console:%d"
0043B7B9    .  50                PUSH EAX
0043B7BA    .  FFD3              CALL EBX
0043B7BC    .  83C4 0C           ADD ESP,0C
[COLOR="Red"]0043B7BF[/COLOR]    >  5F                POP EDI                                                    ;  kernel32.7C817067
0043B7C0    .  5E                POP ESI                                                    ;  kernel32.7C817067
0043B7C1    .  5B                POP EBX                                                    ;  kernel32.7C817067
0043B7C2    .  C3                RETN
the address here is different too, but the idea behind it is the same
plixbugmenot is offline  
Old 11/07/2010, 14:31   #26
 
elite*gold: 0
Join Date: Jun 2010
Posts: 1
Received Thanks: 0
hello dono if people still watching and replying to this but.. i keep getting wrong parameter number...
billythebad is offline  
Old 01/13/2011, 04:22   #27
 
elite*gold: 0
Join Date: Jan 2009
Posts: 2
Received Thanks: 0
All the seemingly useful ones do nothing, even the ones that don't get wrong parameter number.(NOT INCLUDING GM)
hottrodd is offline  
Reply


Similar Threads Similar Threads
guide: debug pwi, find function addresses and offsets, write a bot(c++ code included)
09/04/2022 - PW Hacks, Bots, Cheats, Exploits - 123 Replies
hi, let's start right away. what you can learn: - trace and call ingame-functions like attack, cast spell, pick up, moveto, ... - traverse object lists like items, mobs, players - read ingame structures (class objects) and how they play together - write your own fully client-side bot that doesnt need to simulate mouse/keyboard input and doesnt need to read pixels
[GUIDE] How to use the GM console
05/24/2015 - SRO Guides & Templates - 13 Replies
YouTube - GM console
[Guide] How to activate Free Cam and GM Console
11/19/2013 - SRO Hacks, Bots, Cheats & Exploits - 16 Replies
Okey, so alot of people asked me for it, so I did a Video about it. Thank me if it helepd you ;). YouTube - Silkroad - Freecam & GM Console
[Guide] Hooking the Console Input and Output
11/19/2011 - SRO Coding Corner - 24 Replies
My next guide is more of a boring one, but it is necessary to show the concepts now since I will be using them in an upcoming guide (assuming I can get it done before any client updates)! There are no images to show really and I don't expect anyone to really spend a lot of time on this one now, but it will be a good reference for later on when I use the concepts. Just remember all of the guides up to now are setting the stage for future guides (barring anything that might prevent me from...
Debug Console (for pwmy 1.3.1)
12/03/2009 - Perfect World - 5 Replies
Hello all, I'm starting to run my own pw pserver and I found out that I can't open the debug console even if I have GM. I'd like to modify the 1.3.1 elementclient.exe to enable the debug mode console to issue commands to help with events. Is this possible? ~nademasta



All times are GMT +1. The time now is 08:18.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.