Jump to content

code error...help if you can? :)


Guest kamil234

Recommended Posts

Guest kamil234

uhh..im editing a code for a game and i get a error saying :

ERROR in line 16 (jo cplayeranimator::`vftable'+afa): This instruction cant be compiled.

how do i fix it?

here's the code ///

alloc(newmem,2048) //2kb should be enough

label(returnhere)

label(originalcode)

label(exit)

3529A58C:

jmp newmem

returnhere:

newmem: //this is allocated memory, you have read,write,execute access

//[nop] 3529A58C [nop]

originalcode:

dec esi

jo cplayeranimator::`vftable'+afa                              << BTW THIS IS LINE 16

dec esi

popad

exit:

jmp returnhere

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...