Re: Sun Haven
Posted: Sat Jun 10, 2023 7:04 pm
Community Cheat Tables of Cheat Engine
https://fearlessrevolution.com/
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>108861</ID>
<Description>"Unlimited Gifting to NPCs"</Description>
<LastState/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
{$lua}
LaunchMonoDataCollector()
{$asm}
//Wish.NPCAI:Gift+31b - C6 87 31030000 01 - mov byte ptr [rdi+00000331],01
//aobscanregion(unlimitedgifting,Wish.NPCAI:Gift+3b3,Wish.NPCAI:Gift+400,C6 87 71 03 00 00 01)
//aobscanregion(unlimitedgifting,Wish.NPCAI:Gift+413,Wish.NPCAI:Gift+400,C6 87 71 03 00 00 01)
aobscanregion(unlimitedgifting,Wish.NPCAI:Gift+1e1,Wish.NPCAI:Gift+508,C6 87 89 03 00 00 01) // should be unique
unlimitedgifting:
db C6 87 89 03 00 00 00
aobscanregion(unlimitedgifting2,Wish.NPCAI:Gift+1e1,Wish.NPCAI:Gift+508,C6 83 89 03 00 00 01)
//aobscanregion(unlimitedgifting2,Wish.NPCAI:Gift+250,Wish.NPCAI:Gift+400,C6 83 71 03 00 00 01) // should be unique
unlimitedgifting2:
db C6 83 89 03 00 00 00
registersymbol(unlimitedgifting)
registersymbol(unlimitedgifting2)
[DISABLE]
unlimitedgifting:
db C6 87 89 03 00 00 01
unlimitedgifting2:
db C6 83 89 03 00 00 01
unregistersymbol(unlimitedgifting)
unregistersymbol(unlimitedgifting2)
{
// ORIGINAL CODE - INJECTION POINT: Wish.NPCAI:Gift+31b
Wish.NPCAI:Gift+2f1: F3 0F 5A C9 - cvtss2sd xmm1,xmm1
Wish.NPCAI:Gift+2f5: 48 8B CF - mov rcx,rdi
Wish.NPCAI:Gift+2f8: F2 0F 10 D1 - movsd xmm2,xmm1
Wish.NPCAI:Gift+2fc: F2 0F 5A D2 - cvtsd2ss xmm2,xmm2
Wish.NPCAI:Gift+300: F2 0F 10 C8 - movsd xmm1,xmm0
Wish.NPCAI:Gift+304: F2 0F 5A C9 - cvtsd2ss xmm1,xmm1
Wish.NPCAI:Gift+308: 48 8D 64 24 00 - lea rsp,[rsp+00]
Wish.NPCAI:Gift+30d: 90 - nop
Wish.NPCAI:Gift+30e: 49 BB D0 0B 11 B9 11 02 00 00 - mov r11,Wish.NPCAI:AddRelationship
Wish.NPCAI:Gift+318: 41 FF D3 - call r11
// ---------- INJECTING HERE ----------
Wish.NPCAI:Gift+31b: C6 87 31 03 00 00 01 - mov byte ptr [rdi+00000331],01
// ---------- DONE INJECTING ----------
Wish.NPCAI:Gift+322: 49 BA C8 B8 B0 86 11 02 00 00 - mov r10,0000021186B0B8C8
Wish.NPCAI:Gift+32c: 66 90 - nop 2
Wish.NPCAI:Gift+32e: 49 BB F0 2D 2A 75 11 02 00 00 - mov r11,Wish.SingletonBehaviour`1[T_REF]:get_Instance
Wish.NPCAI:Gift+338: 41 FF D3 - call r11
Wish.NPCAI:Gift+33b: 48 8B 97 28 02 00 00 - mov rdx,[rdi+00000228]
Wish.NPCAI:Gift+342: 48 8B C8 - mov rcx,rax
Wish.NPCAI:Gift+345: 83 38 00 - cmp dword ptr [rax],00
Wish.NPCAI:Gift+348: 48 8D 64 24 00 - lea rsp,[rsp+00]
Wish.NPCAI:Gift+34d: 90 - nop
Wish.NPCAI:Gift+34e: 49 BB F0 3A A6 78 11 02 00 00 - mov r11,Wish.NPCManager:GetRealNPC
}
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<CheatTable>
<CheatEntries>
<CheatEntry>
<ID>108824</ID>
<Description>"No Skill Cooldowns"</Description>
<LastState Activated="1"/>
<VariableType>Auto Assembler Script</VariableType>
<AssemblerScript>[ENABLE]
{$lua}
LaunchMonoDataCollector()
{$asm}
//Wish.FireSpell:get_Cooldown - 55 - push rbp
aobscanregion(FireSpell,Wish.FireSpell:get_Cooldown,Wish.FireSpell:get_Cooldown+14,55 48 8B EC) // should be unique
FireSpell:
xorps xmm0,xmm0
db C3
//Wish.RestoreSpell:get_ElementalCooldown - 55 - push rbp
aobscanregion(RestoreSpell,Wish.RestoreSpell:get_ElementalCooldown,Wish.RestoreSpell:get_ElementalCooldown+14,55 48 8B EC) // should be unique
RestoreSpell:
xorps xmm0,xmm0
db C3
//Wish.Cataclysm:get_Cooldown - 55 - push rbp
aobscanregion(Cataclysm,Wish.Cataclysm:get_Cooldown,Wish.Cataclysm:get_Cooldown+14,55 48 8B EC) // should be unique
Cataclysm:
xorps xmm0,xmm0
db C3
//Wish.DemonicRushSpell:get_Cooldown - 55 - push rbp
aobscanregion(DemonicRushSpell,Wish.DemonicRushSpell:get_Cooldown,Wish.DemonicRushSpell:get_Cooldown+14,55 48 8B EC) // should be unique
DemonicRushSpell:
xorps xmm0,xmm0
db C3
//Wish.RestoreSpell:get_AngelCooldown - 55 - push rbp
aobscanregion(MiracleSpell,Wish.RestoreSpell:get_AngelCooldown,Wish.RestoreSpell:get_AngelCooldown+14,55 48 8B EC) // should be unique
MiracleSpell:
xorps xmm0,xmm0
db C3
registersymbol(FireSpell)
registersymbol(RestoreSpell)
registersymbol(Cataclysm)
registersymbol(DemonicRushSpell)
registersymbol(MiracleSpell)
[DISABLE]
FireSpell:
db 55 48 8B EC
RestoreSpell:
db 55 48 8B EC
Cataclysm:
db 55 48 8B EC
DemonicRushSpell:
db 55 48 8B EC
MiracleSpell:
db 55 48 8B EC
unregistersymbol(FireSpell)
unregistersymbol(RestoreSpell)
unregistersymbol(Cataclysm)
unregistersymbol(DemonicRushSpell)
unregistersymbol(MiracleSpell)
{
// ORIGINAL CODE - INJECTION POINT: Wish.FireSpell:get_Cooldown
1EAF29C7348: 01 04 02 - add [rdx+rax],eax
1EAF29C734B: 05 04 03 01 50 - add eax,50010304
1EAF29C7350: 00 00 - add [rax],al
1EAF29C7352: 00 00 - add [rax],al
1EAF29C7354: 00 00 - add [rax],al
1EAF29C7356: 00 00 - add [rax],al
1EAF29C7358: 00 00 - add [rax],al
1EAF29C735A: 00 00 - add [rax],al
1EAF29C735C: 00 00 - add [rax],al
1EAF29C735E: 00 00 - add [rax],al
// ---------- INJECTING HERE ----------
Wish.FireSpell:get_Cooldown: 55 - push rbp
// ---------- DONE INJECTING ----------
Wish.FireSpell:get_Cooldown+1: 48 8B EC - mov rbp,rsp
Wish.FireSpell:get_Cooldown+4: 48 83 EC 30 - sub rsp,30
Wish.FireSpell:get_Cooldown+8: F3 0F 10 05 50 00 00 00 - movss xmm0,[Wish.FireSpell:get_Cooldown+60]
Wish.FireSpell:get_Cooldown+10: F3 0F 5A C0 - cvtss2sd xmm0,xmm0
Wish.FireSpell:get_Cooldown+14: F2 0F 11 45 F8 - movsd [rbp-08],xmm0
Wish.FireSpell:get_Cooldown+19: 48 B8 00 0F 83 09 EA 01 00 00 - mov rax,000001EA09830F00
Wish.FireSpell:get_Cooldown+23: 48 8B 00 - mov rax,[rax]
Wish.FireSpell:get_Cooldown+26: 48 8B C8 - mov rcx,rax
Wish.FireSpell:get_Cooldown+29: BA 38 00 00 00 - mov edx,00000038
Wish.FireSpell:get_Cooldown+2e: 83 38 00 - cmp dword ptr [rax],00
}
</AssemblerScript>
</CheatEntry>
</CheatEntries>
</CheatTable>
Unlimited gifting not working anymore please helpImpala wrote: ↑Sat Mar 11, 2023 4:22 pmGoing to play the game a bit before I add more cheats
My small cheat table with cheats I find useful for myself when I play
-Player Data
--God Mode
--Health
--Mana
-Freeze Time (better way of doing it)
-Infinite Buff Duration
-Infinite Mana
-Free crafting
-Infinite Item Splitting (going to improve it, only duplicates items right now)
-No skill cooldowns
-Unlimited Gifting (works only if you haven't gifted them yet for the day)
-Instant Crop Harvesting (Use scythe to harvest, only turn on when you want to harvest)
-Crops never die/No Pests (good for people like me that just want the crops as decorations)
-Item clicked onto mouse pointer
--Item ID
--Quantity
-XP multiplier (won't show in game in the bottom right, but it does get multiplied)
-Damage Multiplier (needs testing)
-Gold Pickup Multiplier (turn these off before going to sleep if you don't want the shipping box multiplied)
-Orb Pickup Multiplier (turn these off before going to sleep if you don't want the shipping box multiplied)
-Ticket Pickup Multiplier (turn these off before going to sleep if you don't want the shipping box multiplied)
-Currency Values (aware it doesn't work)
-Dynus HP (I changed to 1 to kill him easy)
-For skill points you can do it legit,
1. Get Community Tokens
2. Change amount with item clicked to mouse pointer cheat
3. buy skill elixirs at the town hall (Elixir of fishing for example)
4. use those for free skill points (can spam with infinite split on)
-For item ID's (more advanced, could break stuff, haven't tested a lot)
Look in \Sun Haven_Data\StreamingAssets\aa\catalog.json
It's a very big json file with a bunch of other stuff, it would be easier ctrl f whatever item you are looking for
and change the ID in the "First Inventory Slot" cheat under item ID
If you're going to edit a pickaxe, use a pickaxe to edit it, a vegetable to change to another vegetable, etc
Also cheat enabler (I didn't make)
[Link]