Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Dekaron > Dekaron Private Server
You last visited: Today at 11:36

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

Advertisement



[QUESTION] - exe edits

Discussion on [QUESTION] - exe edits within the Dekaron Private Server forum part of the Dekaron category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2008
Posts: 508
Received Thanks: 156
[QUESTION] - exe edits

I dont really know anything about editing the exe but,

Im curious if adding (below code) to server & respective code to client is just to make the character able to fish? Or is it actually adding the class itself (like if i was to copy this for the 4 new classes would it just be for fishing or would it allow me to load/play the new chars)?

Code:
00A93026   68 5530A900      PUSH 00A93055                   ; ASCII "ALLOKEN"
00A9302B   8D4C24 08        LEA ECX,DWORD PTR SS:[ESP+8]
00A9302F   E8 ECE996FF      CALL 00401A20
00A93034   50               PUSH EAX
00A93035   8BCE             MOV ECX,ESI
00A93037   E8 24EB96FF      CALL 00401B60
00A9303C   84C0             TEST AL,AL
00A9303E   74 0C            JE SHORT 00A9304C
00A93040   B0 06            MOV AL,6
00A93042   5E               POP ESI
00A93043   81C4 00010000    ADD ESP,100
00A93049   C2 0400          RETN 4
00A9304C  -E9 2A279EFF      JMP 0047577B
00A93051   0000             ADD BYTE PTR DS:[EAX],AL
00A93053   0000             ADD BYTE PTR DS:[EAX],AL
00A93055   41               INC ECX
00A93056   4C               DEC ESP
00A93057   4C               DEC ESP
00A93058   4F               DEC EDI
00A93059   4B               DEC EBX
00A9305A   45               INC EBP
00A9305B   4E               DEC ESI
And just an extra question since i cant compare the last 7 lines to anything, what do they mean? (INC ECX -> DEC ESI)
ihatehacks is offline  
Old 10/05/2012, 09:57   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,227
Received Thanks: 566
Thers a tut onbhow to make aloken fish ..
conquer93 is offline  
Old 10/05/2012, 10:40   #3
 
elite*gold: 0
Join Date: Dec 2008
Posts: 508
Received Thanks: 156
Quote:
Originally Posted by conquer93 View Post
Thers a tut onbhow to make aloken fish ..
Yea i know, the fishing part isnt quite what im looking for though.
ihatehacks is offline  
Old 10/05/2012, 12:09   #4
 
elite*gold: 0
Join Date: Aug 2011
Posts: 168
Received Thanks: 78
Quote:
Originally Posted by ihatehacks View Post
I dont really know anything about editing the exe but,

Im curious if adding (below code) to server & respective code to client is just to make the character able to fish? Or is it actually adding the class itself (like if i was to copy this for the 4 new classes would it just be for fishing or would it allow me to load/play the new chars)?

Code:
00A93026   68 5530A900      PUSH 00A93055                   ; ASCII "ALLOKEN"
00A9302B   8D4C24 08        LEA ECX,DWORD PTR SS:[ESP+8]
00A9302F   E8 ECE996FF      CALL 00401A20
00A93034   50               PUSH EAX
00A93035   8BCE             MOV ECX,ESI
00A93037   E8 24EB96FF      CALL 00401B60
00A9303C   84C0             TEST AL,AL
00A9303E   74 0C            JE SHORT 00A9304C
00A93040   B0 06            MOV AL,6
00A93042   5E               POP ESI
00A93043   81C4 00010000    ADD ESP,100
00A93049   C2 0400          RETN 4
00A9304C  -E9 2A279EFF      JMP 0047577B
00A93051   0000             ADD BYTE PTR DS:[EAX],AL
00A93053   0000             ADD BYTE PTR DS:[EAX],AL
00A93055   41               INC ECX
00A93056   4C               DEC ESP
00A93057   4C               DEC ESP
00A93058   4F               DEC EDI
00A93059   4B               DEC EBX
00A9305A   45               INC EBP
00A9305B   4E               DEC ESI
And just an extra question since i cant compare the last 7 lines to anything, what do they mean? (INC ECX -> DEC ESI)
You'll need a-lot more than one piece of code to make the characters anywhere near playable.
Cataracts is offline  
Old 10/05/2012, 12:56   #5
 
HellSpider's Avatar
 
elite*gold: 20
Join Date: Aug 2008
Posts: 2,762
Received Thanks: 4,395
Quote:
Originally Posted by ihatehacks View Post
And just an extra question since i cant compare the last 7 lines to anything, what do they mean? (INC ECX -> DEC ESI)
Note the address of the "ALLOKEN" string.

OllyDbg just interprets the bytes as code, but they are actually data.

41 = A
4C = L
4C = L
4F = O
4B = K
45 = E
4E = N
HellSpider is offline  
Old 10/05/2012, 15:01   #6
 
Ultimo ☼'s Avatar
 
elite*gold: 0
Join Date: Nov 2011
Posts: 566
Received Thanks: 317
Quote:
Originally Posted by HellSpider View Post
Note the address of the "ALLOKEN" string.

OllyDbg just interprets the bytes as code, but they are actually data.

4A = A
4C = L
4C = L
4F = O
4B = K
45 = E
4E = N
Its 41 in ihatehacks's code o.O
Ultimo ☼ is offline  
Old 10/05/2012, 18:07   #7
 
elite*gold: 0
Join Date: Dec 2008
Posts: 508
Received Thanks: 156
Quote:
Originally Posted by HellSpider View Post
Note the address of the "ALLOKEN" string.

OllyDbg just interprets the bytes as code, but they are actually data.

4A = A
4C = L
4C = L
4F = O
4B = K
45 = E
4E = N
Kinda made sense, was wondering why it pushed to there.

Im using horrible terminology atm but,

Do we specify the string ALLOKEN as bytes due to the fact that it isnt coded into the exe from the start?

If i was to follow the PUSH call from 1 of the 6 original classes it has a string ASCII "CLASS_NAME_HERE" where a "command mnemonic" goes.





And if i was to add fishing to lets say "HALFBAG" instead of aloken I would PUSH to bytes (see below) right?
Code:
00A93055   48               "w.e command makes 48"
00A93056   41               INC ECX
00A93057   4C               DEC ESP
00A93058   46               "w.e command makes 46"
00A93059   42               "w.e command makes 42"
00A9305A   41               INC ECX
00A9305B   47               "w.e command makes 47"
EDIT: from looking into it some, all the new classes have a push to a set of bytes for the class name.
ihatehacks is offline  
Old 10/05/2012, 20:18   #8
 
elite*gold: 0
Join Date: Oct 2008
Posts: 1,227
Received Thanks: 566
if u might not kno this searching thing.. this way easy search ^^
just ctrl +F in the box that opens search like btn_tab for dshop tabs then press enter or double click it and it will jumps to that code D:
Attached Images
File Type: jpg Naamloos.jpg (72.1 KB, 20 views)
conquer93 is offline  
Old 10/05/2012, 20:43   #9
 
elite*gold: 0
Join Date: Dec 2008
Posts: 508
Received Thanks: 156
Quote:
Originally Posted by conquer93 View Post
if u might not kno this searching thing.. this way easy search ^^
just ctrl +F in the box that opens search like btn_tab for dshop tabs then press enter or double click it and it will jumps to that code D:
I know how to search by that method, but I fail to see how this answers my question above.


Unanswered questions:
- Why do we really call "push ___(address to byte set)___"? Is it because the classes werent originally part of the exe, thus making us have to create their ascii sections? (horrible terminology)


New Question:
- When adding fishing to each class the line "MOV AL,06" for aloken would be changed to "MOV AL,08" If we were talking about riper? More specifically im trying to ask if the byte identifier after "AL," is the class type number?
ihatehacks is offline  
Old 10/05/2012, 22:01   #10
 
HellSpider's Avatar
 
elite*gold: 20
Join Date: Aug 2008
Posts: 2,762
Received Thanks: 4,395
Quote:
Originally Posted by Ultimo ☼ View Post
Its 41 in ihatehacks's code o.O
Obviously my typo.

Quote:
Originally Posted by ihatehacks View Post
I know how to search by that method, but I fail to see how this answers my question above.


Unanswered questions:
- Why do we really call "push ___(address to byte set)___"? Is it because the classes werent originally part of the exe, thus making us have to create their ascii sections? (horrible terminology)


New Question:
- When adding fishing to each class the line "MOV AL,06" for aloken would be changed to "MOV AL,08" If we were talking about riper? More specifically im trying to ask if the byte identifier after "AL," is the class type number?
You're pushing the address of the string. Everything in the executable consists of just bytes. The bytes can be treated as data or instruction opcodes. Even though Olly might show the bytes as instructions it doesn't mean they get executed, it's just because data should not exist in the first PE section which is only for code.

The procedures return values in EAX register. In this case the return value is a BYTE so only AL is used. The procedure parses a string and returns the PCClass value that corresponds to the string.
HellSpider is offline  
Thanks
1 User
Old 10/06/2012, 00:36   #11
 
Decima's Avatar
 
elite*gold: 0
Join Date: Aug 2009
Posts: 1,297
Received Thanks: 928
let me dumb it down a bit

the 'strings' he is refering to, is nothing more then text in the exe, that address just points to the address that the text its self starts at, so the string 'ALLOKEN' starts at the address that is being pushed, its nothing more then text, doesnt do anything special for anything else, it looks for the text that is supplied by the CSV file, if its there, it executes that procedure, if it doesnt exsist, then the procudure ends and the server errors.
Decima is offline  
Old 10/06/2012, 06:10   #12
 
elite*gold: 0
Join Date: Dec 2008
Posts: 508
Received Thanks: 156
Quote:
Originally Posted by HellSpider View Post
You're pushing the address of the string. Everything in the executable consists of just bytes. The bytes can be treated as data or instruction opcodes. Even though Olly might show the bytes as instructions it doesn't mean they get executed, it's just because data should not exist in the first PE section which is only for code.

The procedures return values in EAX register. In this case the return value is a BYTE so only AL is used. The procedure parses a string and returns the PCClass value that corresponds to the string.
Big tnx, not that truly understanding what im doing is important if it works but id rather understand what im looking at and this was very informative









Next question:
- When adding the entire class you add just these things in db?
-- WEAPON STYLE
-- PCCLASS IDENTIFIER
-- FISHING
-- Mesh/tpack
-- Class icon for hp bar
-- add extension to parties so parties dont crash

Is that it exe wise? or am i missing something/adding something that isnt exe related to the list.
ihatehacks is offline  
Old 10/06/2012, 08:33   #13
 
HellSpider's Avatar
 
elite*gold: 20
Join Date: Aug 2008
Posts: 2,762
Received Thanks: 4,395
Quote:
Originally Posted by ihatehacks View Post
Next question:
- When adding the entire class you add just these things in db?
-- WEAPON STYLE
-- PCCLASS IDENTIFIER
-- FISHING
-- Mesh/tpack
-- Class icon for hp bar
-- add extension to parties so parties dont crash

Is that it exe wise? or am i missing something/adding something that isnt exe related to the list.
DB:

Default character
SP_CHAR_CREATE

EXE:

Skill class parse
Skill weapon parse
Itemupgrade
Itemsocket
Default Mesh/Tpack
Fishing
Weapon style
Party classicon

I probably forgot quite a lot of things but those are at least good to have.
HellSpider is offline  
Thanks
1 User
Old 10/06/2012, 08:35   #14
 
kokamentos's Avatar
 
elite*gold: 0
Join Date: Jun 2012
Posts: 116
Received Thanks: 24
Quote:
Originally Posted by HellSpider View Post
DB:

Default character
SP_CHAR_CREATE

EXE:

Skill class parse
Skill weapon parse
Itemupgrade
Itemsocket
Default Mesh/Tpack
Fishing
Weapon style
Party classicon

I probably forgot quite a lot of things but those are at least good to have.
And Costume for new class
kokamentos is offline  
Old 10/06/2012, 14:04   #15
 
elite*gold: 0
Join Date: Aug 2011
Posts: 168
Received Thanks: 78
Quote:
Originally Posted by kokamentos View Post
And Costume for new class
Things you NEED. Costumes are not needed to
Make a class work.
Cataracts is offline  
Reply


Similar Threads Similar Threads
i got a question about edits and items
03/12/2011 - Conquer Online 2 - 3 Replies
well hello guys my problem is that i got a ps and i was editing some items like club and it was created as p6 and now i'm changing it to p4 i've edited the texture,icon,miniicone,c3/weps/efftcts,ani,mesh and it still not working in a right way , it appers but the only problem it's effect doesnt show up :O :O :O fine i believe that i got problem with editing the ini,ani files so if anyone got a guide for that please show it up and if anyone had this problem before and figured out why write it...
Graphic Edits Question
03/15/2010 - Aion - 0 Replies
I saw a few posts about graphic edits. I'm assuming the technique applies to the legit servers as well as the psrvrs?
[Question]Client Edits
01/22/2010 - CO2 Private Server - 5 Replies
I'm currently adding new skills and classes/jobs, trying to add new skills. I need some help with client side edits for nado and the in game windows, I found most of them but not all so if anyone has a list of the .dds files or knows where I can locate them without having to open every one to see what it is shoot me a pm or leave a post here. Thanks
Question on edits
08/30/2009 - CO2 Weapon, Armor, Effects & Interface edits - 5 Replies
Well, I am LOVING all of the edits that have been done. It's fun to mess with the small things, but I've only done so much. What I really want to do is make edits to garments, or weapons, etc. But I'm not sure how to go about doing that =\ I don't know what files to edit, or what program(s) I would need... So can anyone give me any information? I looked at that --->Extracted c3.wdf & data.wdf files.<--- Thread, but I didn't really understand what I was reading.
Question About weapon edits
07/09/2009 - CO2 Weapon, Armor, Effects & Interface edits - 4 Replies
How can i edit Weapons Like bow 130 / 120 / 125 /115 Club 130 / 125 /120 and other (where can i find them )



All times are GMT +2. The time now is 11:36.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.