Garry's Mod

Garry's Mod

Jazztronauts
Lmeons 29 Jul, 2023 @ 8:20pm
(Fixed) LUA Errors and Loading Dialog
The gamemode was working fine until my computer crashed mid game, now whenever i try to play it sends me back to the intro each time, and none of the dialog load. I've look for solutions but couldn't find any, even manually installed it though GitHub but didn't seem to work either.

These are the Lua Errors i get:
[Jazztronauts] lua/includes/extensions/entity.lua:240: bad argument #3 to 'SetFunc' (number expected, got nil)
1. SetFunc - [C]:-1
2. __newindex - lua/includes/extensions/entity.lua:240
3. SetCollectedShards - lua/includes/extensions/entity.lua:328
4. unknown - gamemodes/jazztronauts/entities/entities/jazz_shardtank/shared.lua:23
[Jazztronauts] gamemodes/jazztronauts/gamemode/lib/sh_unlocks.lua:186: bad argument #1 to 'pairs' (table expected, got boolean)
1. pairs - [C]:-1
2. EncodeList - gamemodes/jazztronauts/gamemode/lib/sh_unlocks.lua:186
3. DownloadToPlayer - gamemodes/jazztronauts/gamemode/lib/sh_unlocks.lua:253
4. v - gamemodes/jazztronauts/gamemode/lib/sh_unlocks.lua:270
5. unknown - lua/includes/modules/hook.lua:96

(Edit: I went and deleted the "sv.db" file in the garrysmod directory. Idk if its a viable option but it worked, hopefully it works for other if they ever run into this issue.)
Last edited by Lmeons; 30 Jul, 2023 @ 5:34am