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 


error C2415: improper operand type

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

Joined: 13 Mar 2007
Posts: 542

PostPosted: Fri Jul 24, 2009 3:05 pm    Post subject: error C2415: improper operand type Reply with quote

I'm getting that error on.

Code:

jmp 0x0086599


heres the whole script.

Code:
   
pushad
   mov [ebp+0xC],0x0
   mov [ebp+0x10],0x0
   popad
   cmp [ebp+0x0c],ebx
   jne 0x00865976
   jmp 0x0086599
    jmp dword ptr ds:[PlayerAddy+5]



edit:

i did jmp dword ptr ds:[0x0086599]. it compiled, not sure if works.
Back to top
View user's profile Send private message
lurc
Grandmaster Cheater Supreme
Reputation: 2

Joined: 13 Nov 2006
Posts: 1900

PostPosted: Fri Jul 24, 2009 10:52 pm    Post subject: Reply with quote

Code:
DWORD dwAddy = 0x0086599; // This must have another number that your missing? 0x0086599X?

__asm
{
    PUSHAD
    MOV [EBP+0x0C],0
    MOV [EBP+0x10],0
    POPAD
   
    CMP [EBP+0x0C],EBX
    JNE 0x00865976
    JMP DWORD PTR [dwAddy]

    JMP DWORD PTR [dwPlayerAddy + 5] // Redundent? This will never be reached...
}

_________________
Back to top
View user's profile Send private message
kb3z0n
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 542

PostPosted: Fri Jul 24, 2009 11:26 pm    Post subject: Reply with quote

Sorry, the address is : 0x0086599A.

and this is my first time converting CT to inline asm, so i wasn't pretty sure what i was doing.


edit : thanks man works perfectly.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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