|
You last visited: Today at 08:31
Advertisement
Help with reverse engineering
Discussion on Help with reverse engineering within the Shaiya PServer Development forum part of the Shaiya Private Server category.
08/06/2017, 11:18
|
#1
|
elite*gold: 0
Join Date: Jul 2015
Posts: 12
Received Thanks: 2
|
Help with reverse engineering
Hi guys, I'm trying to learn something about reverse engineering with Shaiya and I've already done some works, but now I'm stuck and I'm here to ask help.
I was searching something to add safe zones and I found  where Eric-Dutra16 released a Cheat engine script for creating safe zones.
Here's the script code
Code:
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(campo)
newmem:
cmp word ptr [eax+164],(int)60
je campo
originalcode:
mov dl,[edx+0000012D]
jmp returnhere
campo:
cmp dword ptr [edx+D0],(float)120.000
jl 0044BE69
cmp dword ptr [edx+D0],(float)253.000
jg 0044BE69
cmp dword ptr [eax+D0],(float)120.000
jl 0044BE69
cmp dword ptr [eax+D0],(float)253.000
jg 0044BE69
jmp originalcode
0044BE5B:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
0044BE5B:
mov dl,[edx+0000012D]
Now I can't understand what does "dword ptr [edx+D0]" represent, surely a coordinate (x coord i guess), but what specific coordinate? I can't figure it out, thanks for your help
|
|
|
08/06/2017, 16:34
|
#2
|
elite*gold: 0
Join Date: Dec 2012
Posts: 142
Received Thanks: 690
|
Actually this script was made by nubness (sorry nubness, I know I did very wrong). I don't have a 4.5 server for testing and I don't remember but I think "[edx+D0]" is the X coordinate of the player who is receiving the attack and "[eax+D0]" is the X coordinate of the attacking player, or vice versa. If you want to know, activate the script in the cheat engine, go to the line "cmp dword ptr [edx+D0],(float)120.000" right click, select "find out what addresses this instruction accesses", select "Float" at the bottom of the window, then go into the game and attack the player.
|
|
|
08/06/2017, 16:38
|
#3
|
elite*gold: 100
Join Date: Mar 2006
Posts: 1,826
Received Thanks: 430
|
Best bet is for you to start learning ASM ( Assembly Language).
Tutorials are good and all but its useless when you're on your own since you will not understand how the flow of the program works without learning ASM.
|
|
|
08/06/2017, 20:37
|
#4
|
elite*gold: 0
Join Date: Jul 2015
Posts: 12
Received Thanks: 2
|
Quote:
Originally Posted by Eric-Dutra16
Actually this script was made by nubness (sorry nubness, I know I did very wrong). I don't have a 4.5 server for testing and I don't remember but I think "[edx+D0]" is the X coordinate of the player who is receiving the attack and "[eax+D0]" is the X coordinate of the attacking player, or vice versa. If you want to know, activate the script in the cheat engine, go to the line "cmp dword ptr [edx+D0],(float)120.000" right click, select "find out what addresses this instruction accesses", select "Float" at the bottom of the window, then go into the game and attack the player.
|
First of all, thanks both.
Second thing: what if I want to do that script to myself? I have an ep 6.3 so nubness's script doesn't work, how could I search for find a generic attack (offset) (for check later if is in x y z position?), what should I search?
Quote:
Originally Posted by killzone
Best bet is for you to start learning ASM ( Assembly Language).
Tutorials are good and all but its useless when you're on your own since you will not understand how the flow of the program works without learning ASM.
|
Yeah, I know I should learn also assembly, but atm I'm very busy and I'm only searching something to distract me in my free time
|
|
|
08/09/2017, 01:27
|
#5
|
elite*gold: 0
Join Date: Jul 2015
Posts: 12
Received Thanks: 2
|
Someone?
|
|
|
08/11/2017, 01:49
|
#6
|
elite*gold: 0
Join Date: Jul 2015
Posts: 12
Received Thanks: 2
|
#up; still searching for answer
|
|
|
08/11/2017, 12:04
|
#7
|
elite*gold: 0
Join Date: Mar 2011
Posts: 40
Received Thanks: 12
|
Hello everyone Safe zone is much easier to do. Everything is done in the Client.
Well, the effect itself is set in the file 45.wld
|
|
|
08/11/2017, 13:29
|
#8
|
elite*gold: 0
Join Date: Jul 2015
Posts: 12
Received Thanks: 2
|
Quote:
Originally Posted by kolin79
Hello everyone Safe zone is much easier to do. Everything is done in the Client.
Well, the effect itself is set in the file 45.wld
|
Thanks kolin, I know is possible also through client protection, but can easily be exploited. Also I'd like to learn something new about reverse engineering
|
|
|
08/11/2017, 17:30
|
#9
|
elite*gold: 0
Join Date: Mar 2011
Posts: 40
Received Thanks: 12
|
In general, I think on PvP zones enough more guards to put it all the same pvp zone there can not rest.
|
|
|
08/12/2017, 12:59
|
#10
|
elite*gold: 0
Join Date: Jul 2015
Posts: 12
Received Thanks: 2
|
Quote:
Originally Posted by kolin79
In general, I think on PvP zones enough more guards to put it all the same pvp zone there can not rest.
|
I can't use guards in that situation otherwise, I'll not make that question.
Also, as I already said, I'd love to learn something new
|
|
|
 |
Similar Threads
|
Looking for some reverse engineering help
12/19/2014 - Main - 3 Replies
I am looking for someone with knowledge in reverse engineering and creating a full emulator of Reel Deal Casino Live. I believe the task should be relatively simple but we shall see. I know it's not a well known game but its an online 3D casino world.
|
[Help] Getting into ASM/reverse engineering
12/11/2014 - SRO Private Server - 0 Replies
delete this topic please, found what I asked for.
|
[Help]Reverse Engineering
08/23/2011 - Private Server - 0 Replies
Hello Guys ,
I will not take much time from you . let me get to the story fast , me and other 300 player were playing online game which is closed now with no reason { You Can Check That } . Well We Tried To Find/Buy The Server Files But With No Good . Someone Told Me You Can Make An Emu Or Something Like That From The Game Client If You Are Pro In reverse engineering And Other Said You can Make One If You Are Pro Mysql And Got The Oldest Version Of The Game . Well I Hope Someone Can Tell Me...
|
Reverse-Engineering talk
12/02/2005 - General Coding - 3 Replies
kennt sich jmd. mit der rechtlichen lage bezgl. reverse-engineering aus?
die einen sagen das es illegal ist, die anderen wiederum meinen das re legal ist, was stimmt nun?
ganz interessant ist auch http://de.wikipedia.org/wiki/Reverse_Engin...htlic he_Aspekte
ich finde wir sollten das mal diskutieren um ein wenig klarheit zu schaffen.
Die diskussion sollte speziell auf gamehacking gerichtet sein (nicht auf das cracken von programmen)
|
All times are GMT +1. The time now is 08:31.
|
|