Bloodybone wrote: ↑Wed Nov 01, 2017 7:51 pm
squall0833 wrote: ↑Wed Nov 01, 2017 6:39 pm
Bloodybone wrote: ↑Tue Oct 31, 2017 9:20 pm
I wrote them manually its actualy pretty easy if you know how to
Edit: Also if you wan't to learn something like this you can look up tutorials like "cheat engine create your own flags"
hi again bloodybone.
just want to make sure something
cmp r15,0
jne instantcraftbp
i'm still dont really get this part,
when you're crafting something on backpack, it triggers instruction, its r15 is not 0 so it jumps to instantcraftbp:
but when you're harvesting resource,triggers instruction and its r15 is 000000001 isn't that also jump to instantcraftbp? why is it not jumping and proceed massiveresource when it's not equal to 0? then it works as intended

why is the other offset dont work with cmp xxx,0 when it's not 0? but r15?
So the instacraft adress at that point in the r15 register has some "random" number so if it is not 0, what it is not than jump but the massive recources adress at that point has 0 in the r15 register so don't jump because its 0.
Ahh.. i see,
when the "find what writes to this address" that only shows the offset info from very first count of the instruction(offset info will not refresh), those do not mean are the same values, it could be other random numbers when instruction occur many times so it wont work in the cmp statement
r15 = is the one that is always 1 and thats why it works, the cheats now work but it cause few problems like soil cannot collect when instantcraftbp activated, or the building time for structures freezed when massive resources is active, i just fix them by adding a little bit more cmp value for structure building time and soil collect
massiveResources:
cmp r15,0
jne instaBPcraft
cmp rbp,3 //check and fix several game issues caused by cheats above (rbp for structure building time is static 3)
je code
mov [rbx+00000140],(int)138600 // Massive Resources
jmp return
this fixes all the other problem caused by the cheats, it works because the rbp i use is always the "3" right? just like the r15 = 1
now i get it, how these codes and instructions work in games
also i'm giving up doing instant soil collection, it just dont work properly, looks like there's some instruction behind it to "activate" soil canister to allow soil collecting
when i placed like 4 canisters and active soil insta fill cheat, it only fill 1 or 2, do not fill the rest of the canister unless i disable cheat
now im learning to write flag codes for drop menu

, thanks for all the help, really appreciate
one question about registersymbol()
if i use it to contain both address value, i need to alloc memory for that right?
lets say if i need to show health value, i need to do following:
alloc(health,4)
registersymbol(health)
health:
dd 0
somewhere
mov [health],edx (if the edx is address of the health)
unregistersymbol(health)
in table:
[health] will show address and value
in ur flag code, there is no alloc for those symbols, because you only need those symbol to contain a value without any address?
and do i need to dealloc(health) if i use globalalloc(health,4) instead?