Voxel Turf

Voxel Turf

View Stats:
Lua Scripting Public/Private Checksum
Hello. If I host a private game the checksum is different from when I host a server publically. This is resulting in me being unable to connect to my own server. I imagine there is some reason for this but cannot figure it out. This is tied to my extra bullet one shot mod.

If anyone has any insight here it would be greatly appreciated.
< >
Showing 1-7 of 7 comments
SnapperTheTwig  [developer] 27 Sep, 2017 @ 7:39pm 
Is the problem from pressing the "public game" button in-game, or are you switching from Dedicated to normal server?

A server that is started not from the client will not load steam workshop mods
Mazzle Dazzle 28 Sep, 2017 @ 3:29am 
It is an odd situation.
My server and client scripts both have the following lines.
scripts/extrashot.lua
extrashot.lua
My mod's structure is everything is just sitting in the scripts folder.
When I check the server status log- I get the below checksum.

# timestamp ; serverid ; players ; maxplayers ; public ; serverName ; gamemode ; serverversion

1506594059 ; 1073096679 ; 0 ; 8 ; false ; "Mazzle Dazzles Turf Server" ; "Turf Zero" ; 1.0.12-uvej

If I start a single player game, there is no issue and the mod works as intended. But if I start from the mulitplayer- host game tab it gives me a checksum mismatch.
Below is an exerpt from my start server file. It appears both are detecting tho mod/workshop item.

6:20:03 28/09/2017 --serverName "PRIVATE" --saveGame "Mazzle_Dazzle_Turf_Zero_2017-9-27_20-12" --publicGame OFF --dedicated OFF --difficulty 1 --maxPlayers 8 --singlePlayer 65881130 --hostPlayer 65881130 --newGame OFF --steam --wsi "E:\\SteamLibrary\\steamapps\\workshop\\content\\404530\\1148674200"

6:20:29 28/09/2017 --serverName "Mazzle Dazzles Turf Server" --saveGame "Mazzle_Dazzle_Turf_Zero_2017-9-27_20-12" --publicGame OFF --dedicated OFF --difficulty 1 --maxPlayers 8 --hostPlayer 65881130 --newGame OFF --steam --wsi "E:\\SteamLibrary\\steamapps\\workshop\\content\\404530\\1148674200"

I just checked the checksum of the client while I'm running this mod and it is lvjv. This is why its having the mismatch, but I don't know why they are evaluating to different ones.

I checked some other mods but I can't find any with Lua scripting to compare but it seems the ones that modify blocks don't have this issue and you bigger city mod doesn't seem to either.
Last edited by Mazzle Dazzle; 28 Sep, 2017 @ 3:35am
Mazzle Dazzle 28 Sep, 2017 @ 3:40am 
I figured it out. I just didn't need client scripts at all.
SnapperTheTwig  [developer] 28 Sep, 2017 @ 7:26am 
Server only lua mods don't change the checksum.

Thanks for the very detailed investigation
Kastuk 28 Sep, 2017 @ 3:39pm 
Custom vehicle demo have a scipt and mismatch of checksum.
Last edited by Kastuk; 28 Sep, 2017 @ 3:40pm
Mazzle Dazzle 28 Sep, 2017 @ 4:07pm 
Originally posted by kastuk:
Custom vehicle demo have a scipt and mismatch of checksum.
Does it have a client scripts file?
Kastuk 28 Sep, 2017 @ 4:24pm 
Yeah, demo_custom_entity.lua inside server and client scripts.txt
Its at \steamapps\workshop\content\404530\1118169499\scripts
< >
Showing 1-7 of 7 comments
Per page: 1530 50