Page 7 of 20

Re: Valheim

Posted: Sun Feb 14, 2021 8:18 pm
by PureReality
Akira wrote:
Sun Feb 14, 2021 7:17 pm
PureReality wrote:
Sun Feb 14, 2021 6:18 pm
How will the "-Bigger Inventory" cheat affect items that are in those extra slots when you turn the cheat cheat off or log out and back in?
It will move em back into the normal slots, didn't tested what happens when you have not enough free slots.
Just move them into a chest before deactivating :D.
Hmm def didn't move things back to normal slots at least as non-host.. Seems to pretty much lock all your inventory/chest slots that didn't have items in them previously, and any items you picked up in your travels is pretty much gone after deactivation. Also causes a sync issue so people can't open chests up at all until everyone relogs.

So all in all I would suggest not enabling the bigger inventory cheat if you are not host.. I haven't tested as a host yet but will do so eventually.

Re: Valheim

Posted: Sun Feb 14, 2021 8:28 pm
by Akira
PureReality wrote:
Sun Feb 14, 2021 8:18 pm
Hmm def didn't move things back to normal slots at least as non-host.. Seems to pretty much lock all your inventory/chest slots that didn't have items in them previously, and any items you picked up in your travels is pretty much gone after deactivation. Also causes a sync issue so people can't open chests up at all until everyone relogs.

So all in all I would suggest not enabling the bigger inventory cheat if you are not host.. I haven't tested as a host yet but will do so eventually.
Just as all of my cheats i made it in my own local server, so no idea if it would work as client.

Works fine in singleplayer / local server.

Re: Valheim

Posted: Sun Feb 14, 2021 8:49 pm
by benny6
Thanks for the update, liking the new features.

I think it was mentioned farther back but were you able to find a way to keep the buffs from eating food from counting down?

Re: Valheim

Posted: Sun Feb 14, 2021 9:48 pm
by NumberXer0
Fantastic work! I didn't expect such an expansive table so quickly. Looking forward to using it.

Re: Valheim

Posted: Sun Feb 14, 2021 10:18 pm
by Special
Table went from 5MB to 237KB, normal?

Haven't tested anything yet, but I find that strange. (but welcomed :P)

EDIT: Oh you zipped it up. Derp!

Re: Valheim

Posted: Sun Feb 14, 2021 11:25 pm
by chaos915
The expanded inventory will usually delete items if you die, but rarely you keep everything. Not sure what causes you to keep stuff.

Re: Valheim

Posted: Mon Feb 15, 2021 12:18 pm
by Special
How does the "Get Day" cheat work? Does it advance time to the next day, or does the "time of day" not change when cheat is activated/deactivated?

And with the "Get Wind" cheat, when I activate, it becomes windy, but deactivating it, it's still windy... Can there be a turn off for wind?

Re: Valheim

Posted: Mon Feb 15, 2021 2:12 pm
by Akira
Special wrote:
Mon Feb 15, 2021 12:18 pm
How does the "Get Day" cheat work? Does it advance time to the next day, or does the "time of day" not change when cheat is activated/deactivated?

And with the "Get Wind" cheat, when I activate, it becomes windy, but deactivating it, it's still windy... Can there be a turn off for wind?
Get Day = activate it and it becomes day / deactivate it and it resets to the original time.

Get Wind = activate it and it gets windy / deactivate and it should reset to the normal wind.

Re: Valheim

Posted: Mon Feb 15, 2021 3:15 pm
by azulusthra
bluepanda wrote:
Sun Feb 14, 2021 5:30 pm
The "Unlimited Arrow" script is 1:1 acting like the "No item consumption" or how ever it was called, script goes as follow:

Code: Select all

[ENABLE]
enablescript('InventoryRemoveItem2_alloc','InventoryRemoveItem2_save',string.format('%X',mono_compile_method(mono_findMethods('Inventory','RemoveItem')[2])),[[
label(newmem)
label(returnhere)
label(%s)
registersymbol(%s)

%s:
newmem:
cmp r8,01
jne short @f
mov al,01
ret
@@:
%s
jmp returnhere
%s:
db %X %s
%X:
jmp newmem
]])

autoAssemble([[
assert(Inventory:RemoveOneItem,55 48 8B EC)
Inventory:RemoveOneItem:
mov al,01
ret
]])


[DISABLE]

enablescript('InventoryRemoveItem2_alloc','InventoryRemoveItem2_save',string.format('%X',mono_compile_method(mono_findMethods('Inventory','RemoveItem')[2])),[[
%X:
readmem(%s+1,%u)
]],true)

autoAssemble([[
Inventory:RemoveOneItem:
db 55 48 8B EC
]])
It won't consume: Arrows, Food and such. Any way limiting your script just towards the arrow pointer or do they have a global value?
Can confirm this only happening on ores before smelting.

Re: Valheim

Posted: Mon Feb 15, 2021 4:59 pm
by Emlorp
Is there a way to have the "Get WInd" to change direction other than just north?

Re: Valheim

Posted: Mon Feb 15, 2021 5:30 pm
by Akira
Emlorp wrote:
Mon Feb 15, 2021 4:59 pm
Is there a way to have the "Get WInd" to change direction other than just north?
Well just use the pointer/offset part.

Code: Select all

Activate Me! - EnvMan (Change Weather & more)

Re: Valheim

Posted: Mon Feb 15, 2021 5:33 pm
by Emlorp
Akira wrote:
Mon Feb 15, 2021 5:30 pm
Emlorp wrote:
Mon Feb 15, 2021 4:59 pm
Is there a way to have the "Get WInd" to change direction other than just north?
Well just use the pointer/offset part.

Code: Select all

Activate Me! - EnvMan (Change Weather & more)
I figured i was overlooking something very simple.

Re: Valheim

Posted: Tue Feb 16, 2021 5:20 am
by kyoski
would it be possible to prevent your food buffs from decaying over time

Re: Valheim

Posted: Tue Feb 16, 2021 7:43 am
by chaos915
the Change the explore Radius (Minimap) script has the side effect of disabling the ability to remove or x out map markers. The glitch persists even if you turn the script off. The only fix is to log out and relog.

Re: Valheim

Posted: Tue Feb 16, 2021 1:38 pm
by Akira
chaos915 wrote:
Tue Feb 16, 2021 7:43 am
the Change the explore Radius (Minimap) script has the side effect of disabling the ability to remove or x out map markers. The glitch persists even if you turn the script off. The only fix is to log out and relog.
Thanks for letting me know.

I'm not really sure what the problem is, a lot of scripts i tried to make have problems like that.
For example:
Script to changed swim speed got a side effects which keeps your character from turning around while in water.
Change walk & run speed got the same error but while you're on land.
Change Place Distance (when building) got the side effect that you can't interact with other things like doors.

Ofc I'm looking into it to see if i can fix it somehow but in the meantime you can use the offset pointers to change these things.
Akira wrote:
Tue Feb 02, 2021 5:24 pm
Pointers:
Local Player
-Everything you need
EnvMan
-Change Weather & more
ZNetScene
-Player Limit and more
Minimap
Game
-Character Name & more