Page 18 of 20

Re: Valheim

Posted: Tue Mar 30, 2021 10:31 am
by Codcat
Oddly after godmode has been turned on it will not unload the script properly on disabling, the X checkbox won't disappear and you cannot re-enable.

Re: Valheim

Posted: Tue Mar 30, 2021 7:35 pm
by Akira
ds891 wrote:
Tue Mar 30, 2021 9:47 am
Thanks for the 3.0 update, all the new features added have been awesome!

Just a bug to report though: I can't seem to steer the ship everytime I activate any of the ship related options, thus rendering them pretty useless :(
I think the "Sail Force" script is causing it, maybe try to use the "Force Wind" script instead, can be found in "WORLD RELATED" --> "Weather & Time".

Re: Valheim

Posted: Thu Apr 01, 2021 2:08 pm
by ermahgerd
Codcat wrote:
Tue Mar 30, 2021 10:31 am
Oddly after godmode has been turned on it will not unload the script properly on disabling, the X checkbox won't disappear and you cannot re-enable.
same here. says that RESTORE_InGodMode added to the symbollist but not declared

Re: Valheim

Posted: Thu Apr 01, 2021 11:42 pm
by Akira
ermahgerd wrote:
Thu Apr 01, 2021 2:08 pm
Codcat wrote:
Tue Mar 30, 2021 10:31 am
Oddly after godmode has been turned on it will not unload the script properly on disabling, the X checkbox won't disappear and you cannot re-enable.
same here. says that RESTORE_InGodMode added to the symbollist but not declared
Now I have the same problem, not sure why bc it worked fine for me before and there wasn't another update..
Anyways I have fixed it and I'll upload the new version soon.

Re: Valheim

Posted: Thu Apr 01, 2021 11:58 pm
by ermahgerd
Akira wrote:
Thu Apr 01, 2021 11:42 pm
ermahgerd wrote:
Thu Apr 01, 2021 2:08 pm
Codcat wrote:
Tue Mar 30, 2021 10:31 am
Oddly after godmode has been turned on it will not unload the script properly on disabling, the X checkbox won't disappear and you cannot re-enable.
same here. says that RESTORE_InGodMode added to the symbollist but not declared
Now I have the same problem, not sure why bc it worked fine for me before and there wasn't another update..
Anyways I have fixed it and I'll upload the new version soon.
oh. the same issue occurs with the stealth+god mode also. RESTORE_InGhostMode not declared. forgot to add

Re: Valheim

Posted: Fri Apr 02, 2021 2:32 am
by Akira
Yeh, no idea wtf is going on, the last time I had tested the scripts everything worked fine and now , some days later, god & ghost mode are broken (maybe more?)..there wasn't even a game update..
Really strange but I'll upload a fixed version in some hours.

Here are the two fixed scripts if don't want to wait.
God Mode:

Code: Select all

define(address,Player:InGodMode+b)
define(bytes,0F B6 80 51 05 00 00)

[ENABLE]


assert(address,bytes)
alloc(newmem,$100,Player:InGodMode+b)
alloc(RESTORE_InGodMode,8)

label(code)
label(return)

newmem:
  mov [RESTORE_InGodMode],rax
  mov [rax+00000551],#1

code:
  movzx eax,byte ptr [rax+00000551]
  jmp return

address:
  jmp newmem
  nop 2
return:
registersymbol(RESTORE_InGodMode)

[DISABLE]
{$lua}
  writeInteger('[RESTORE_InGodMode]+551',0)
{$asm}
unregistersymbol(RESTORE_InGodMode)
dealloc(RESTORE_InGodMode,8)

address:
  db bytes
  // movzx eax,byte ptr [rax+00000551]

dealloc(newmem)
Stealth + God Mode:

Code: Select all

define(address,Player:InGhostMode+b)
define(bytes,0F B6 80 52 05 00 00)

[ENABLE]


assert(address,bytes)
alloc(newmem,$100,Player:InGhostMode+b)
alloc(RESTORE_InGhostMode,8)

label(code)
label(return)

newmem:
  mov [RESTORE_InGhostMode],rax
  mov [rax+00000552],#1

code:
  movzx eax,byte ptr [rax+00000552]
  jmp return

address:
  jmp newmem
  nop 2
return:
registersymbol(RESTORE_InGhostMode)

[DISABLE]
{$lua}
  writeInteger('[RESTORE_InGhostMode]+552',0)
{$asm}
unregistersymbol(RESTORE_InGhostMode)
dealloc(RESTORE_InGhostMode,8)

address:
  db bytes
  // movzx eax,byte ptr [rax+00000552]

dealloc(newmem)

Re: Valheim

Posted: Fri Apr 02, 2021 3:08 am
by aSwedishMagyar
Akira wrote:
Fri Apr 02, 2021 2:32 am

Here are the two fixed scripts if don't want to wait.
Those values are byte sized so writing an integer is going to overwrite the next 4 bytes as well which can mess things up for you, use writeBytes(address,00) instead.

Also, why not just grab the player base address in your enable and write the cVars using that? They keep their value so there is no need to hook their function here, it just makes it more difficult for you to update in the future.

Re: Valheim

Posted: Thu Apr 08, 2021 4:17 pm
by scientits
Akira wrote:
Thu Mar 25, 2021 3:15 pm
asofd wrote:
Thu Mar 25, 2021 3:08 am
hi is "Change Pickaxe Radius (Doesn't reset after deactivating)" not working for anyone else? the box doesn't even X on when I try to click on it
Yeh still didn't checked it but also I'm pretty sure that there's a information that it does not reset when deactivating.
The part where you can change the value got the original value in the name so you can manually reset it.
I am incredibly new to CTs, so bear with me. But when I poked around the script and information contained in the table, I could find no workaround to get it fixed. I had never been able to get it to activate, thus I don't believe I'm using the non-default radius, however I could be wrong. Is there a way to search for the string or hex or run another script to determine what the current value is?

(thanks for all the work you all put into these, they make sandboxing, building, terraforming a lot of fun)

Re: Valheim

Posted: Thu Apr 08, 2021 4:51 pm
by Akira
scientits wrote:
Thu Apr 08, 2021 4:17 pm
I am incredibly new to CTs, so bear with me. But when I poked around the script and information contained in the table, I could find no workaround to get it fixed. I had never been able to get it to activate, thus I don't believe I'm using the non-default radius, however I could be wrong. Is there a way to search for the string or hex or run another script to determine what the current value is?

(thanks for all the work you all put into these, they make sandboxing, building, terraforming a lot of fun)
Works "fine" on my end, it doesn't matter which value it got on your end, the address should be the same.
Normaly it should work as longs as you didn't changed any game files or you're using any kind mods.

Re: Valheim

Posted: Fri Apr 09, 2021 8:26 am
by Codcat
None of the food scripts seem to work if you're using BepInEx/valheim plus... you can enable/disable them no problem but they have no effect.
I have the food section disabled in the valheim_plus.cfg so it shouldn't be clashing.

Anyone else experience this and have a work around or fix?

Edit: Actually nevermind, carry weight and probably others are also incompatible :-/

Re: Valheim

Posted: Fri Apr 09, 2021 10:43 am
by Akira
Codcat wrote:
Fri Apr 09, 2021 8:26 am
None of the food scripts seem to work if you're using BepInEx/valheim plus... you can enable/disable them no problem but they have no effect.
I have the food section disabled in the valheim_plus.cfg so it shouldn't be clashing.

Anyone else experience this and have a work around or fix?

Edit: Actually nevermind, carry weight and probably others are also incompatible :-/
It is well known that mods can cause problems for the table.
I can't make a different table version for every single mod :wink:.
[Link]

Re: Valheim

Posted: Mon Apr 19, 2021 6:03 pm
by Akira
Valheim Cheat Table seems to work just fine after the update, only the script "Build Everywhere (works perfectly)" is broken
and here you got the fixed version for it:

Code: Select all

define(address,Player:UpdatePlacementGhost+1cbd)
define(bytes,48 63 87 7C 05 00 00)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000,Player:UpdatePlacementGhost+1cbd)

label(code)
label(return)

newmem:

code:
  mov [rdi+0000057C],(int)0
  jmp return

address:
  jmp newmem
  nop 2
return:

[DISABLE]

address:
  db bytes
  // movsxd  rax,dword ptr [rdi+0000057C]

dealloc(newmem)

Didn't checked the offsets from the pointers yet*

Re: Valheim

Posted: Sat May 22, 2021 2:00 am
by FrankySahwit
Infinite Stack Splitting doesn't work anymore, "Error while scanning for AOB's : infstack Error : Not all results found".

Unlimited Arrows for bow activates, but doesn't actually change anything.

Re: Valheim

Posted: Sat May 22, 2021 4:14 am
by DivineOven
Thank you for this, had some fun with a bunch of friends, was a great night. :D

Re: Valheim

Posted: Sat May 22, 2021 3:31 pm
by Akira
FrankySahwit wrote:
Sat May 22, 2021 2:00 am
Infinite Stack Splitting doesn't work anymore, "Error while scanning for AOB's : infstack Error : Not all results found".

Unlimited Arrows for bow activates, but doesn't actually change anything.
Infinite Stack Splitting worked always fine since I've added it to the table and it still does.
Btw that script isn't made by me.
Did you check "Activate Me! - If you have any Problems."?
Maybe you're using a mod, mods can cause problems or you're missing something else.

Unlimited Arrows worked fine for me the last time I checked it but I can check it again.