Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Help with asm? I'm learning, just need some help :o

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Solyst
Cheater
Reputation: 0

Joined: 03 Jun 2006
Posts: 28

PostPosted: Tue Dec 12, 2006 3:04 pm    Post subject: Help with asm? I'm learning, just need some help :o Reply with quote

I've tried making a script that ticks eip and puts in the value of 'itemvac', so could anyone tell me whats wrong with it?

[enable]
alloc(vacitem, 512)
alloc(itemvac, 4)
label(vacitem)

VacItem:
jmp 48ed02
cmp eip, Itemvac
mov eip, itemvac
[disable]

it says error with the lines cmp eip and mov eip, why is this?
and I'm not so sure about the Itemvac address, but if I used the item vac script:
[enable]
registersymbol(ItemVac)
alloc(ItemVac, 1024)

ItemVac:
pushad
mov ecx, [ebp+8]
mov ebx, [ebp-24]
mov [ecx], ebx
mov [ecx+4], eax
mov ecx, eax
mov eax, ebx

lea edx, [eax-19]
mov [ebp-34], edx
lea edx, [ecx-32]
add eax, 19
add ecx, A
mov [ebp-30], edx
mov [ebp-2C], eax
mov [ebp-28], ecx
popad

push eax
jmp 0048ED03
[disable]

before the small one, then itemvac can be added as an symbol, but how would I make it so when I say 'mov eip, Itemvac' that the address that itemvac represents would be substituted for 'itemvac'. An example would be if I added the address ItemVac to my ct, and it showed 0D1E0000, how would I be able to make it so 0D1E0000 is moved into eip when I say 'itemvac' in the script? Appreciate any help.
Back to top
View user's profile Send private message
sarian rogue
Cheater
Reputation: 0

Joined: 04 Dec 2006
Posts: 33

PostPosted: Wed Dec 13, 2006 5:14 pm    Post subject: Reply with quote

ya, u didnt put what addy Itemvac is on the eip thing
try putting the addy for itemvac instead of itemvac on those lines
im not that good at ASM but try it

EDIT: lol srry didnt look at it good
umm, well...idk if ASM is case sensitive but on ur compare its capital
that might mess up eip also cuz u didnt actually compare
actually
take out the compare all together....its not needed to use mov...



EDIT 2: NVM...
on that ASM tut that (i think t3hsorc3r3er wrote..somethin like that)
he posted

"Not only that, you can't mov eip in AA (unless you bypass this or that ) "


so u cant mov an eip....
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Thu Dec 14, 2006 2:42 am    Post subject: Reply with quote

this is the equivalent of mov eip,12345678:
Code:

jmp 12345678

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites