Help with reverse engineering

08/06/2017 11:18 zRampageP#1
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 [Only registered and activated users can see links. Click Here To Register...] where Eric-Dutra16 released a Cheat engine script for creating safe zones.
Here's the script code
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 Eric-Dutra16#2
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 killzone#3
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 zRampageP#4
Quote:
Originally Posted by Eric-Dutra16 View Post
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 View Post
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 zRampageP#5
Someone?
08/11/2017 01:49 zRampageP#6
#up; still searching for answer
08/11/2017 12:04 kolin79#7
Hello everyone Safe zone is much easier to do. Everything is done in the Client.

[Only registered and activated users can see links. Click Here To Register...]

Well, the effect itself is set in the file 45.wld
08/11/2017 13:29 zRampageP#8
Quote:
Originally Posted by kolin79 View Post
Hello everyone Safe zone is much easier to do. Everything is done in the Client.

[Only registered and activated users can see links. Click Here To Register...]

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 kolin79#9
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 zRampageP#10
Quote:
Originally Posted by kolin79 View Post
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