Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 06:05

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

Advertisement



problem - pointer and (random values)

Discussion on problem - pointer and (random values) within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2008
Posts: 6
Received Thanks: 0
problem - pointer and (random values)

Im trying to learn to reverse engineer a game.

Its a game and it has an item to add up random stats to an equip when it is used.

First, i tried using a memory scanner to determine which of memory holds the value i want to manipulate. hoping it would be that easy, i was wrong because it was holding the value that the game uses to let the user see. so i guessed it was a pointer.

so i found the pointer.

one was changing every second (clue)
the other was not a pointer it was an address to the code that uses that address..

pointer:
Code:
lea edi,[ebp-000002b0]
repe movsd
tracing the pointer i couldn't find the value same as the one it is pointing.. instead i see values changing every second..

and i also found another address leading to this code..

Code:
mov ecx,00000030
 repe movsd
 jmp 006f9414
i tried fixing the value but still it didnt work. it crashed. so i figured there must be some interrupts to cause the program to crash when someone is fiddling with the code.. so created a breakpoint and i NOPed the values that lead to the interrupts and still i couldn't get to fix the value.

i also tried a shortcut to jmp to the ret at the end of the code, instead i lost all the enhancements of the item.

im quite stuck.. having not much lead to what to do next..

i would be happy to learn more and if somebody could shed some light where or what i should do next is much appreciated.


oh here's the code till the ret instruction..

Code:
006F93A4 - mov ecx,00000030
006F93A9 - repe movsd
006F93AB - jmp 006f9414
006F93AD - push 000000c0
006F93B2 - call 00589486
006F93B7 - add esp,04
006F93BA - mov [ebp-20],eax
006F93BD - cmp dword ptr [ebp-20],00
006F93C1 - je 006f93d8
006F93C3 - mov esi,[ebp+08]
006F93C6 - mov ecx,00000030
006F93CB - mov edi,[ebp-20]
006F93CE - repe movsd
006F93D0 - mov edx,[ebp-20]
006F93D3 - mov [ebp-34],edx
006F93D6 - jmp 006f93df
006F93D8 - mov [ebp-34],00000000
006F93DF - mov eax,[ebp-34]
006F93E2 - push eax
006F93E3 - mov ecx,[ebp+08]
006F93E6 - mov edx,[ecx]
006F93E8 - push edx
006F93E9 - lea eax,[ebp-28]
006F93EC - push eax
006F93ED - call 0058b0bf
006F93F2 - add esp,0c
006F93F5 - push eax
006F93F6 - lea ecx,[ebp-1c]
006F93F9 - call 005957c7
006F93FE - lea ecx,[ebp-1c]
006F9401 - push ecx
006F9402 - lea edx,[ebp-30]
006F9405 - push edx
006F9406 - mov ecx,[ebp-04]
006F9409 - add ecx,000000e4
006F940F - call 0058da54
006F9414 - push edx
006F9415 - mov ecx,ebp
006F9417 - push eax
006F9418 - lea edx,[006f9437] : 00000001
006F941E - call 0059b2c1
006F9423 - pop eax
006F9424 - pop edx
006F9425 - pop edi
006F9426 - pop esi
006F9427 - add esp,34
006F942A - cmp ebp,esp
006F942C - call 005938f5
006F9431 - mov esp,ebp
006F9433 - pop ebp
006F9434 - ret 0004
madalingtandaan is offline  
Reply


Similar Threads Similar Threads
problem mit pointer
12/28/2009 - General Coding - 7 Replies
nabend^^, habe da ein problem . ich habe die xyz pointer von dem game requim bloodymare gesucht. das ging auch. dann habe ich halt find out what writes to this adress. kam ein mov command . ich sollte halt nach der adresse : 01294170. und? es kommt nicht eine adresse. bei allen 3 adressen zeigt er mir die adresse von oben an. wie komme ich an den base pointer ?
EpicWebserver Random Problem
12/11/2009 - CO2 Private Server - 3 Replies
Alright, I got my register page finally working last night and it worked fine for everyone. But today randomly, without me touching anything it throws me this error. I restart it and it doesn't give the error, I register accounts fine with it, and randomly today I got a console error. People can go to the page where it says enter your account info to register but when they register it loads forever and then says " This webpage is not available. The webpage at...
Problem on Retail Random Teleporting
07/06/2009 - Lineage 2 - 4 Replies
Well i am botting a train on retail using og walker 10.9.7.I am botting in catacombs and sometimes i check them and i see one of my characters in fanasty island just sitting there by one of the fanasty islands game managers. This has happened to me three times so far with 3 different characters. It seems they just get ported out of the catacomb to the fanasty island game manager for some reason. I am sure its not a gm cause i would be banned by now. I was wondering if this has happen to...
Sleep(Random($min, $max)) ==> Problem
04/07/2009 - GW Bots - 20 Replies
Hallo :D ich bins mal wieder, ich habe folgendes Problem: Ich habe den Befehl Sleep(Random($min, $max)) in eine Funktion gefasst: Func RS($min, $max) Sleep(Random($min, $max, 1))
[BOT] Random Values?
04/04/2007 - Ragnarok Online - 0 Replies
1. Bringt es was, wenn ich mehrere Werte einer Variable(z.B. attackMinPlayerDistance) zuweise? Werden die dann zufällig ausgewählt? 2. Wie kann ich randomwerte in einem Macro berechnen?



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


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