Script causing game to crash

Anything Cheat Engine related, bugs, suggestions, helping others, etc..
User avatar
Recifense
RCE Fanatics
RCE Fanatics
Posts: 407
Joined: Thu Mar 02, 2017 11:25 pm
Reputation: 463

Re: Script causing game to crash

Post by Recifense » Wed Jun 21, 2017 9:55 pm

If you want to access "_playerbase" outside AA, you have to register it at [enable] part and unregister it at [disable] part. But DONNOT use globalalloc.

Cheers!
Status: Followin up

For Old Tables, PM or E-mail me.

I now have an active account at PATREON (Recifense Cheers).

https://www.patreon.com/user?u=6383777

D1g1Byt3
Novice Cheater
Novice Cheater
Posts: 17
Joined: Fri Jun 09, 2017 3:37 pm
Reputation: 1

Re: Script causing game to crash

Post by D1g1Byt3 » Thu Jun 22, 2017 2:26 am

Hmm ok well I'm still not finding anything that just access one aspect, but however when My HP or Stamina changes. So does the address that [_playerbase]+84 is accessing. Is there a way I could just store that address and use it as a pointer or something? Also thanks Recifense, I changed it and the script is enabling it. Iv'e just been using the globalalloc method cus it seemed to be the only way to me. From following Rydian's tutorial at:

User avatar
++METHOS
Administration
Administration
Posts: 203
Joined: Thu Mar 02, 2017 9:02 pm
Reputation: 27

Re: Script causing game to crash

Post by ++METHOS » Thu Jun 22, 2017 2:50 am

I could help you with this, but I won't on principle. :mrgreen:

D1g1Byt3
Novice Cheater
Novice Cheater
Posts: 17
Joined: Fri Jun 09, 2017 3:37 pm
Reputation: 1

Re: Script causing game to crash

Post by D1g1Byt3 » Thu Jun 22, 2017 2:52 am

++METHOS wrote:
Thu Jun 22, 2017 2:50 am
I could help you with this, but I won't on principle. :mrgreen:
What do u mean? lolz

User avatar
SunBeam
Trouble Makers
Trouble Makers
Posts: 418
Joined: Thu Mar 02, 2017 10:15 pm
Reputation: 123

Re: Script causing game to crash

Post by SunBeam » Thu Jun 22, 2017 3:58 am

What's the point of using globalalloc when you're already allocating a block of memory for other purposes? Just define a label and set that label inside your already-allocated memory.

See that alloc(newmem,$1000)? Well, do:

Code: Select all

label( myShit )

newmem:
..
..

myShit:
put it here
Since myShit is place inside newmem, you don't need the extra globalalloc. Cuz if you check what it actually does, you'll see it doesn't allocate 4 bytes, but 0x10000. So you have alloc + globalalloc -> 0x1000 + 0x10000. Kinda wasting memory there for nothing, eh?

D1g1Byt3
Novice Cheater
Novice Cheater
Posts: 17
Joined: Fri Jun 09, 2017 3:37 pm
Reputation: 1

Re: Script causing game to crash

Post by D1g1Byt3 » Thu Jun 22, 2017 4:01 am

I'm no longer using globalalloc like you guys sudgested

Post Reply

Who is online

Users browsing this forum: No registered users