Page 1 of 5

[REQUEST] Stoneshard

Posted: Thu Feb 06, 2020 7:19 pm
by aerioth
Requesting a table for Stoneshard

Steam:

A health cheat would be much appreciated please.

Re: [REQUEST] Stoneshard

Posted: Thu Feb 06, 2020 9:16 pm
by illusionbreaker
Can confirm 4b doesn't work for stats

EDIT: It's doubles for AP, SP, Gold (per purse)

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 7:36 am
by Kaedus
+1

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 12:07 pm
by BoehserOnkel
all i found are double values
hp/mp
AP/FP
hunger/thirst/poison/strenght etc
even the health value of equip
gold is a bit tricky -a bag can hold only 2000

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 12:52 pm
by The Mogician
So I tried making pointers but they didn't work for some reason. Most if not all the data are stored in doubles.

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 12:56 pm
by cyetus
need help

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 1:17 pm
by Rysefox
Is so annoying because there are so many addresses that access the heal function

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 2:36 pm
by dougvan
Just an FYI that the values are stored in clear text in the save file. Mine is titled "GaveSlot1.sav" and is located under "C:\Users\(username)\AppData\Local\StoneShard.

You can use that if you want until a proper table is generated.

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 3:27 pm
by dougvan
Also, it seems the address ranges change each time your character zones/changes dungeon levels/etc in the game. Have to re-find them each time.

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 5:38 pm
by Lord Blade
So trying to find stuff in the save file. It's a real mess. lol

Looking for stat and skill points (so I can "legally" raise stuff to be safe).
Finding damage resist to make myself a god would be nice too. :p

Okay, so found AP and SP for those points. Was able to give me a ton.
No luck with figuring out damage resistance and such.

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 7:23 pm
by Puggymon
Well, I found you can search for "AP" and "SP" to get the corresponding AP and SP you have. You can alter attributes themselves by searching "Str", "agl" and the like.

As much as I gather you can also alter items, like giving your food 10+ charges or change the amount of coins you have.

Speaking of which, you can set your thirst and hunger value.

Now I'd only need to be able to save more often and I'd be set.

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 7:45 pm
by Rysefox

Code: Select all

{ Game   : StoneShard.exe
  Version: 
  Date   : 2020-02-07
  Author : Rysefoxx

  This script does blah blah blah
}

[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat

 
 
aobscanmodule(INJECT,StoneShard.exe,F2 0F 11 07 5F 5E 5D 5B 83 C4 0C C2) // should be unique
alloc(newmem,$1000)

label(code)
label(return)
label(do)
registersymbol(do)


newmem:
cmp [edi+168],#3
jne code
movsd xmm0,[do]
  movsd [edi],xmm0
  pop edi
jmp return

do:
dq (double)99999

code:
  movsd [edi],xmm0
  pop edi
  jmp return

INJECT:
  jmp newmem
return:
registersymbol(INJECT)

[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
  db F2 0F 11 07 5F

unregistersymbol(INJECT)
unregistersymbol(do)
dealloc(newmem)

{
// ORIGINAL CODE - INJECTION POINT: "StoneShard.exe"+E4E4D

"StoneShard.exe"+E4E36: 83 78 08 00           -  cmp dword ptr [eax+08],00
"StoneShard.exe"+E4E3A: 75 6F                 -  jne StoneShard.exe+E4EAB
"StoneShard.exe"+E4E3C: 5F                    -  pop edi
"StoneShard.exe"+E4E3D: 89 70 08              -  mov [eax+08],esi
"StoneShard.exe"+E4E40: 5E                    -  pop esi
"StoneShard.exe"+E4E41: 5D                    -  pop ebp
"StoneShard.exe"+E4E42: 5B                    -  pop ebx
"StoneShard.exe"+E4E43: 83 C4 0C              -  add esp,0C
"StoneShard.exe"+E4E46: C2 04 00              -  ret 0004
"StoneShard.exe"+E4E49: F2 0F 10 06           -  movsd xmm0,[esi]
// ---------- INJECTING HERE ----------
"StoneShard.exe"+E4E4D: F2 0F 11 07           -  movsd [edi],xmm0
"StoneShard.exe"+E4E51: 5F                    -  pop edi
// ---------- DONE INJECTING  ----------
"StoneShard.exe"+E4E52: 5E                    -  pop esi
"StoneShard.exe"+E4E53: 5D                    -  pop ebp
"StoneShard.exe"+E4E54: 5B                    -  pop ebx
"StoneShard.exe"+E4E55: 83 C4 0C              -  add esp,0C
"StoneShard.exe"+E4E58: C2 04 00              -  ret 0004
"StoneShard.exe"+E4E5B: 8B 06                 -  mov eax,[esi]
"StoneShard.exe"+E4E5D: 89 07                 -  mov [edi],eax
"StoneShard.exe"+E4E5F: 8B 46 04              -  mov eax,[esi+04]
"StoneShard.exe"+E4E62: 89 47 04              -  mov [edi+04],eax
"StoneShard.exe"+E4E65: 5F                    -  pop edi
}
Heres a script for unlimited ap

Re: [REQUEST] Stoneshard

Posted: Fri Feb 07, 2020 11:56 pm
by durex2
When I try to run the script I get the following error:

Error executing this table's lua script:[string "{ Game :StoneShard.exe..."]:1: unexpected symbol near '{'

I am doing something wrong?
Excuse my ignorance

Re: [REQUEST] Stoneshard

Posted: Sat Feb 08, 2020 1:37 am
by dougvan
Puggymon wrote:
Fri Feb 07, 2020 7:23 pm
Well, I found you can search for "AP" and "SP" to get the corresponding AP and SP you have. You can alter attributes themselves by searching "Str", "agl" and the like.

As much as I gather you can also alter items, like giving your food 10+ charges or change the amount of coins you have.

Speaking of which, you can set your thirst and hunger value.

Now I'd only need to be able to save more often and I'd be set.
Yes, altering items does work. I modified the stats on my starter chest to give some increased MP/HP regen, magic power, etc.
Also, if you check the Stoneshard directory under your Steam install, you'll see that most game data is actually stored in CSV files and can easily be edited with Excel. I changed the attributes of the Smoked Ham to give a ridiculous duration for -100 Thirst/Hunger. Effectively removes Thirst/Hunger from the game.

Re: [REQUEST] Stoneshard

Posted: Sat Feb 08, 2020 4:22 am
by Arkayy
I tried changing Dirwin's Bow and Hired Blade Cowl and everything disappears. Weapons and armor disappears.