Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > C/C++
You last visited: Today at 01:53

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

Advertisement



assembly error

Discussion on assembly error within the C/C++ forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2016
Posts: 7
Received Thanks: 0
assembly error

how do i call this command
Code:
lea rdx,[game.dll+11CEB58] { ["show_all"] }
 cmp rbx,rdx
je game.BinaryGetValue+164982
mov rcx,rbx
call game.dll+ED85D0
test eax,eax
je game.BinaryGetValue+164982

in the game when i type it it work.
but when i call it from cheat engine:not work
Code:
alloc(temp,2000)
createthread(temp)
temp:
lea rdx,[game.dll+11CEB58] { ["show_all"] }
call game.dll+ED85D0
its not working what should i do
Yu-Haxx.. is offline  
Old 07/14/2016, 12:48   #2


 
Jeoni's Avatar
 
elite*gold: 966
Join Date: Apr 2010
Posts: 1,105
Received Thanks: 681
First of all, "not working" does not match the common criteria to describe a problem. So you implicitly expect us to take guesses which is something very few people want to waste time with.
On your approach I see two main reasons why it's "not working":
1) After you called the game function and it got executed, the thread will return to the caller and try to execute further instructions. Since you got no further instruction specified after the call, the behaviour is not well defined and quite likely to produce a crash. Solution: "ret 4" after your call, so the function the thread got started with ends properly.
2) In the upper example, the function got passed an argument (via rcx; comes from rbx) which is not done in the CE version. Depending on the function and what rcx is at the time of the call, it may also produce a crash. So make sure you know what to pass to the function.
With best regards
Jeoni
Jeoni is offline  
Reply


Similar Threads Similar Threads
Assembly Update
12/26/2015 - DarkOrbit - 7 Replies
Assembly Please note that this feature is still in development therefore the information below may change prior to release. The "Assembly" is the new DarkOrbit crafting system that will allow you to create all kinds of items. You will be able to craft consumables like ammunitions and CPUs, and sometimes special, rare or even unique items like ship designs and the like. To do so, you will need to collect resources and recipes that drop from NPC, are part of mission or Arena rewards etc., or...
Assembly
01/18/2011 - CO2 Programming - 5 Replies
Well, I really want to learn assembly. I've already read some guides, but I want to be good at it. I understand only less asm. Is there any good guides for learning it?
can/how do u go from assembly code to hex?
10/15/2009 - Dekaron - 7 Replies
im trying to find an offset and assembly scan takes forever, could someone tell me if its possible to go from the assembly code to the hex value, if so how do you do it? cmp dword ptr ,13 ----> 83 78 08 13 0F 84
Assembly Help
08/19/2009 - Dekaron - 8 Replies
I am still trying to learn assembly, but I'm getting better. I found a tut that looked really promising (by Lela or something), but it was all about cracking registration things and such, which doesn't really help me with 2Moons. So if anybody has a tut that is more guided to game hacking, a link would be greatly appreciated. Anyway, here is what I need help with. Here is the part of the code I'm looking at: http://i221.photobucket.com/albums/dd193/sachamo5 12/Olly1.jpg What I need...



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


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.