I found commands to buy back stuff from shop which you removed from inventory before.
Also you can buy full upgraded stuff with "Reinforce2" or unlock upgradeable stuff with "Reinforce1".
Basically you can buy, sell and buy back stuff like this.
Code: Select all
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus03_Reinforce2_Buy")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus03_Reinforce2_Sell")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus03_Reinforce2_BuyBack")
These lines are for Zeus and Ares sets.
Code: Select all
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorChest_Bonus02_Reinforce1_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorWrist_Bonus02_Reinforce1_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus02_Reinforce1_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus03_Reinforce1_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorChest_Bonus03_Reinforce1_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorWrist_Bonus03_Reinforce1_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorChest_Bonus02_Reinforce2_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorWrist_Bonus02_Reinforce2_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus02_Reinforce2_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorLegs_Bonus03_Reinforce2_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorChest_Bonus03_Reinforce2_BuyBack")
game.Wallets.AddRecipe("HERO", "Recipe_KratosArmorWrist_Bonus03_Reinforce2_BuyBack")
EDIT
For Pommels it is something like this:
Code: Select all
game.Wallets.AddRecipe("HERO", "Recipe_WeaponComponent_Blades_OnDamage_ProcFire_Reinforce_2_BuyBack_NGP")
game.Wallets.AddRecipe("HERO", "Recipe_WeaponComponent_NifleheimSpecial02_Tier04_Reinforce_2_BuyBack_NGP")
game.Wallets.AddRecipe("HERO", "Recipe_WeaponComponent_NifleheimSpecial01_Tier04_Reinforce_2_BuyBack_NGP")
game.Wallets.AddRecipe("HERO", "Recipe_WeaponComponent_Axe_Finisher_Tier03_Reinforce_2_BuyBack_NGP")
game.Wallets.AddRecipe("HERO", "Recipe_WeaponComponent_Axe_AllStats_Tier05_Reinforce_3_BuyBack_NGP")
EDIT END
How to find stuff in game (current version)?
Go to "GoW.exe"+92E6F2 and see what it addresses in shop.
Open structure and browse memory.
You will see shop related strings like "Recipe_KratosArmorChest_Bonus02_Reinforce1_BuyBack".
Have fun!
As alternative in updated game versions try this script
Code: Select all
[ENABLE]
aobscanmodule(shop,GoW.exe,66 0F 6E 47 10) // should be unique
alloc(newmem,$1000,shop)
label(code)
label(return)
newmem:
code:
movd xmm0,[rdi+10]
jmp return
shop:
jmp newmem
return:
registersymbol(shop)
[DISABLE]
shop:
db 66 0F 6E 47 10
unregistersymbol(shop)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: GoW.exe+92E6F2
GoW.exe+92E6CD: 48 8B 4B 10 - mov rcx,[rbx+10]
GoW.exe+92E6D1: 48 8B 7C 24 70 - mov rdi,[rsp+70]
GoW.exe+92E6D6: 48 89 01 - mov [rcx],rax
GoW.exe+92E6D9: 0F B6 40 08 - movzx eax,byte ptr [rax+08]
GoW.exe+92E6DD: 83 C8 40 - or eax,40
GoW.exe+92E6E0: 89 41 08 - mov [rcx+08],eax
GoW.exe+92E6E3: 48 8B CB - mov rcx,rbx
GoW.exe+92E6E6: 48 8B 43 10 - mov rax,[rbx+10]
GoW.exe+92E6EA: 48 83 C0 10 - add rax,10
GoW.exe+92E6EE: 48 89 43 10 - mov [rbx+10],rax
// ---------- INJECTING HERE ----------
GoW.exe+92E6F2: 66 0F 6E 47 10 - movd xmm0,[rdi+10]
// ---------- DONE INJECTING ----------
GoW.exe+92E6F7: 0F 5B C0 - cvtdq2ps xmm0,xmm0
GoW.exe+92E6FA: C7 40 08 03 00 00 00 - mov [rax+08],00000003
GoW.exe+92E701: F3 0F 11 00 - movss [rax],xmm0
GoW.exe+92E705: 4C 8B 4B 10 - mov r9,[rbx+10]
GoW.exe+92E709: 49 8D 41 10 - lea rax,[r9+10]
GoW.exe+92E70D: 48 8D 50 D0 - lea rdx,[rax-30]
GoW.exe+92E711: 48 89 43 10 - mov [rbx+10],rax
GoW.exe+92E715: 4D 8D 41 F0 - lea r8,[r9-10]
GoW.exe+92E719: E8 32 57 0B 00 - call GoW.exe+9E3E50
GoW.exe+92E71E: 48 83 43 10 E0 - add qword ptr [rbx+10],-20