Hey, saw this mod one a server i joined and really liked it. I cloned the repo and tried to install it on my own server, but I always get this message on startup:
[error] [VeniceEXT] Could not find WebUI container for mod ‘vu-mapvote’.
I also tried to compile the web container myself but then i get this message:
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] [vu-chaos] Loaded VeniceEXT shared script: shared/init.lua
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] [vu-chaos] Loaded VeniceEXT server script: init.lua
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] [vu-chaos] Compiling client module…
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] [vu-chaos] Compiling shared script ‘init.lua’…
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] [vu-chaos] Compiling client script ‘init.lua’…
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] Successfully loaded VeniceEXT module ‘vu-chaos’.
[2020-12-31 16:43:05+01:00] [info] [VeniceEXT] Loading VeniceEXT module ‘vu-mapvote’.
[2020-12-31 16:43:06+01:00] [error] [VeniceEXT] HTTP Request failed with error ‘Certificate validation error: Failed to verify certificate chain: CA not trusted’.
[2020-12-31 16:43:06+01:00] [error] [VeniceEXT] [vu-mapvote] Failed to load VeniceEXT server script: init.lua. Error: [string “init.lua”]:9: attempt to index a nil value (global ‘res’)
stack traceback:
[string “init.lua”]:9: in function ‘base.getCurrentVersion’
[string “init.lua”]:16: in function ‘base.checkVersion’
[string “init.lua”]:20: in main chunk
[2020-12-31 16:43:06+01:00] [info] [VeniceEXT] [vu-mapvote] Compiling client module…
[2020-12-31 16:43:06+01:00] [info] [VeniceEXT] [vu-mapvote] Compiling shared script ‘version.lua’…
[2020-12-31 16:43:06+01:00] [info] [VeniceEXT] [vu-mapvote] Compiling client script ‘init.lua’…
[2020-12-31 16:43:06+01:00] [error] [VeniceEXT] Failed to load VeniceEXT module ‘vu-mapvote’.
[2020-12-31 16:43:06+01:00] [info] [VeniceEXT] Unloading VeniceEXT module ‘vu-mapvote’.
[2020-12-31 16:43:06+01:00] [error] [VeniceEXT] An error occurred during mod loading. Further loading operations have been cancelled.
Hey, thanks to hear that.
Can you try the latest version(released it just now), it disables the certificate validation for updates.
Are you using wine?
Yes, I’m using wine, but wine should use the certs installed on my linux machine. Maybe it’s just another vu on linux quirk. Got it running by removing the http request and always returning a hardcoded version number - not optimal, because of updates.
EDIT:
Tried the new version, cloned from git repo, compiled ui, started the server - Same error as previous. Maybe it’s a problem with VeniceEXT
you’re the best. Would have tested around a bit myself if i wasnt so lazy. I’d be happy to check back whether your changes have fixed it or not. if you need more info about my system just ask
I fixed triggering the vote only for the last round in the upcomming-release branch which doesnt have automatic builds and isnt merged to master yet. If you want it already you can just get the server lua file from here https://gitlab.com/n4gi0s/vu-mapvote/-/tree/upcomming-release since that is the only thing that has changed. It will get merged soon most likely.
And now what do you expect? No one has magic jars in which we can see what’s the solution. For me the mod worked right away, so I guess you are missing something. Running in Docker on Debian. Check if you have all the requirements installed.