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 


Easy Craft / Free Craft etc..

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Mon Aug 07, 2017 9:22 am    Post subject: Easy Craft / Free Craft etc.. Reply with quote

Hello, I was wondering how exactly would you do Easy Craft for most of the games, for example in Animallica, or The Forest or other games with Crafting System, I mean I don't understand how exactly should I look for it, what value type, Is it a flag or some sort when you have all the resources to craft the item?
Back to top
View user's profile Send private message
Prehistoricman
Advanced Cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 80

PostPosted: Tue Aug 08, 2017 7:50 am    Post subject: Reply with quote

There will likely be some subroutine that does the function "check requirements"

It will loop through the items required, and then loop through your inventory slots. Or depending on how OOP the game is, it may call helper functions to search the inventory.

This will then return some Boolean to say if there are enough items (1, true) or there are not (0, false).

And you need to alter that value.

_________________
Er, hi
Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1587

PostPosted: Tue Aug 08, 2017 8:49 am    Post subject: Reply with quote

i totally agree with you, it can be 0,1.

but there is two available ways:

assuming when you select a building to upgrade or construct, cost values will be passed to a function.
finding the function that hold buildings costs and make all the costs '0' or NOPing it should give you free crafting.

another way is when you click on building or an item to craft or whatever, there will be for sure a register holding item or bulding cost to subtract from your money, and usually that register will get the value from stack register (in most times)
so also making this register always hold '0' so it will subtract nothing. or making stack register to move 0 too.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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