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 


Bypassing an "illegal item" deletion check?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
Lord of Gamehacking
Newbie cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 15

PostPosted: Sun Aug 07, 2016 7:50 pm    Post subject: Bypassing an "illegal item" deletion check? Reply with quote

Not sure how to explain this as you can see by the title, but im currently trying to hack an item check in Borderlands 2 that deletes illegal items.

Im not sure how i would go about finding something like this that isn't even a value. I've tried taken a look into someone elses code to see how someone did something similar, but i've found no hints. In order to bypass this check, I would have to find the address. But how can i find the address if i don't know what im looking for?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 07, 2016 7:58 pm    Post subject: Reply with quote

You can try to find the value of the item first, before it gets deleted, then check to see what is accessing it. When it gets deleted, you can monitor the debugger window to see what is causing it and go from there.
Back to top
View user's profile Send private message
Lord of Gamehacking
Newbie cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 15

PostPosted: Sun Aug 07, 2016 8:13 pm    Post subject: Reply with quote

I will be unable to find the address of the item because the item is deleted as soon as the game is loaded from it's main menu. Any other ideas?
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 07, 2016 9:07 pm    Post subject: Reply with quote

I think you need to provide more information. If there is an online check that is causing the item to be deleted, then you can probably forget about it.

If everything is local, then you need to explain how those items were acquired in the first place. If you altered a save-game file or something, then you may be able to use that to locate the data and start from there.

You're welcome.
Back to top
View user's profile Send private message
Lord of Gamehacking
Newbie cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 15

PostPosted: Sun Aug 07, 2016 9:27 pm    Post subject: Reply with quote

The items are modded onto the player through a save editing program, and everything is happening locally.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Sun Aug 07, 2016 9:53 pm    Post subject: Reply with quote

Then try to use that to see what values are changing on the save game file when you apply them. You can use a hex editor for comparative analysis or a save game analyzer to perform scans between changes, among other things.

If the save game file can be manipulated directly, via a text editor, then try to find the value that way by altering the value, in-game, and scanning for changes.

Once the value is found in memory, check to see what is accessing it. Inject your code using one of the instructions that show up, and you may not even need to find the check.
Back to top
View user's profile Send private message
Lord of Gamehacking
Newbie cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 15

PostPosted: Mon Aug 08, 2016 1:33 pm    Post subject: Reply with quote

So i tried some debugging but everytime i run it, it crashes the game. Using the Anti-Anti-Debugger on steam didn't help.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Aug 08, 2016 1:55 pm    Post subject: Reply with quote

Did you try VEH debugger?
Back to top
View user's profile Send private message
Lord of Gamehacking
Newbie cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 15

PostPosted: Mon Aug 08, 2016 2:24 pm    Post subject: Reply with quote

Never tried it. How can i use it?
Edit: Found it. This one doesn't crash my game. I'll see what i can find.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Aug 08, 2016 3:24 pm    Post subject: Reply with quote

You're welcome...again.
Back to top
View user's profile Send private message
Lord of Gamehacking
Newbie cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 15

PostPosted: Mon Aug 08, 2016 5:56 pm    Post subject: Reply with quote

I can't really tell what it is that's making the item get removed. I would ask TechnoJacker about his table but im unable to contact him at all.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Aug 08, 2016 6:18 pm    Post subject: Reply with quote

You'll have to check the instructions that are accessing the item address/value. You may have to set breakpoints and analyze the code around the instruction and/or backtrace to find the check routine etc..
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 Lua Scripting 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