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 


Track Changes to Addresses
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions
View previous topic :: View next topic  
Author Message
mgr.inz.Player
I post too much
Reputation: 217

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Nov 22, 2016 5:47 pm    Post subject: This post has 1 review(s) Reply with quote

Find those:
Code:
      elseif self.type == vtCustom then
        -- assumed that mgr.inz.Player's customTypesExt is loaded
        local t = getCustomType(self.typeName)
        ret = t.getValue(self.address)
        if t.usesFloat then return tostring(ret) end
      else




and change to:
Code:
      elseif self.type == vtCustom then
        -- assumed that mgr.inz.Player's customTypesExt is loaded
        local t = getCustomType(self.typeName)
        ret = t.getValue(self.address)
        if t.usesFloat then
          return tostring(ret)
        elseif ret>0x7fffffff then ret=ret-0x100000000
        end
      else

_________________
Back to top
View user's profile Send private message MSN Messenger
Zephiles
Advanced Cheater
Reputation: 0

Joined: 04 Feb 2016
Posts: 56

PostPosted: Tue Nov 22, 2016 6:22 pm    Post subject: Reply with quote

mgr.inz.Player wrote:
Find those:
Code:
      elseif self.type == vtCustom then
        -- assumed that mgr.inz.Player's customTypesExt is loaded
        local t = getCustomType(self.typeName)
        ret = t.getValue(self.address)
        if t.usesFloat then return tostring(ret) end
      else




and change to:
Code:
      elseif self.type == vtCustom then
        -- assumed that mgr.inz.Player's customTypesExt is loaded
        local t = getCustomType(self.typeName)
        ret = t.getValue(self.address)
        if t.usesFloat then
          return tostring(ret)
        elseif ret>0x7fffffff then ret=ret-0x100000000
        end
      else

Alright this seems to make it work correctly. Thanks for the help!
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 137

Joined: 06 Jul 2014
Posts: 4250

PostPosted: Tue Nov 22, 2016 8:57 pm    Post subject: Reply with quote

That's because you're returning a 4-byte value for a value type whose size is 2 bytes. I dunno if that's required for CE to make it work, but it messes up the script.

I've updated the script with a fix for that as well as the update to the list view's context menu to make removing addresses easier.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
vova123
How do I cheat?
Reputation: 0

Joined: 14 Dec 2016
Posts: 7

PostPosted: Sun Jan 22, 2017 9:35 am    Post subject: Reply with quote

Thank You.
Back to top
View user's profile Send private message
maskelihileci
Cheater
Reputation: 0

Joined: 08 Oct 2016
Posts: 43

PostPosted: Tue Feb 11, 2020 7:12 pm    Post subject: Reply with quote

Thank you I love working plugins that work smoothly
Back to top
View user's profile Send private message
vitdor
Newbie cheater
Reputation: 0

Joined: 08 Feb 2018
Posts: 18

PostPosted: Thu Mar 18, 2021 7:30 am    Post subject: Reply with quote

Thank You!!!
OMG this solved my difficult problem!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Extensions All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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