welpwelp wrote: ↑Sun Oct 28, 2018 8:27 am
Hello, is there anyway to unlock animals, plants etc. all at once?
This script unlocks special items
Code: Select all
[ENABLE]
//RequiredDLC offset 0x30
Logic.Farm:FarmData:IsUnlocked+3d:
db EB 2A
//jmp Logic.Farm:FarmData:IsUnlocked+69
//IsEventItem offset 0x34
Logic.Mode:FarmManager:IsLockedEvent+24:
db 90 90
//IsEventReward offset 0x35
Logic.Mode:FarmManager:IsLockedEvent+109:
db 90 90
[DISABLE]
Logic.Farm:FarmData:IsUnlocked+3d:
db 74 2A
//je Logic.Farm:FarmData:IsUnlocked+69
Logic.Mode:FarmManager:IsLockedEvent+24:
db 85 C0
//test eax,eax
Logic.Mode:FarmManager:IsLockedEvent+109:
db 85 C0
//test eax,eax
These both scripts allow to crop any item w/o level requirement (shop+item)
Code: Select all
[ENABLE]
////Shop XP requirement
alloc(newmem,2048,Logic.Farm:FarmData:IsUnlocked+aa)
label(returnhere)
label(originalcode)
label(exit)
newmem:
mov [rsi+0000009C],0
originalcode:
mov ecx,[rsi+0000009C]
exit:
jmp returnhere
Logic.Farm:FarmData:IsUnlocked+aa:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
Logic.Farm:FarmData:IsUnlocked+aa:
mov ecx,[rsi+0000009C]
//Alt: db 8B 8E 9C 00 00 00
Code: Select all
[ENABLE]
//Item XP requirement
alloc(newmem,2048,Logic.Farm:FarmData:IsUnlocked+148)
label(returnhere)
label(originalcode)
label(exit)
newmem:
mov [r15+18],0
originalcode:
mov ecx,[r15+18]
cmp eax,ecx
exit:
jmp returnhere
Logic.Farm:FarmData:IsUnlocked+148:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
Logic.Farm:FarmData:IsUnlocked+148:
mov ecx,[r15+18]
cmp eax,ecx
//Alt: db 41 8B 4F 18 3B C1
This script allows to crop any season
Code: Select all
[ENABLE]
aobscan(cropAnySeason,85 C0 0F 85 6D 00 00 00 C7) //Logic.Farm:FarmData:CanBuy+186
alloc(newmem,$100,cropAnySeason)
registersymbol(cropAnySeason)
newmem:
cropAnySeason+1:
db C9
[DISABLE]
cropAnySeason+1:
db C0
unregistersymbol(cropAnySeason)
dealloc(newmem)
Or if you want to bother with level requirement, then this script will allow to have fast (and max) level up.
Code: Select all
[ENABLE]
//Max Level Up
Logic.Farm:Experience:Earn+5e+1:
db 4F
//89 4F 1C
//mov [rdi+1C],ecx
//==============================================//
//Fast Level Up
alloc(newmem,2048,Logic.Farm:Experience:Earn+15)
label(returnhere)
label(originalcode)
label(exit)
newmem:
mov esi,EE
originalcode:
add eax,esi
mov [rdi+18],eax
exit:
jmp returnhere
Logic.Farm:Experience:Earn+15:
jmp newmem
returnhere:
[DISABLE]
Logic.Farm:Experience:Earn+5e+1:
db 47
//89 47 1C
//mov [rdi+1C],eax
//==============================================//
dealloc(newmem)
Logic.Farm:Experience:Earn+15:
add eax,esi
mov [rdi+18],eax
//Alt: db 03 C6 89 47 18
Enjoy!