Thadah / GarryWare13

A newer version of GarryWare13, reworked from the original GarryWare by Hurricaaane
GNU General Public License v2.0
9 stars 4 forks source link

Lua Errors on newest version of Garry's mod #39

Open Goldenschmidt opened 5 years ago

Goldenschmidt commented 5 years ago

Hello Thadah. (?)

I'm very interested in any WarioWare-type game, and I stumpled across this on the Workshop. It took me a while until I began trying to play GarryWare, because I didn't have much time to play Garry's Mod for a while. Anyway. An update was pushed out, by the Facepunch team, wich fixed a bunch of security flaws, and such. I don't know if that's what's causing the constant script error:

[ERROR]

gamemodes/garryware13/gamemode/derma/vgui/cl_clockgame.lua:62: attempt to perform arithmetic on global 'gws_TimeWhenGameEnds' (a boolean value)

  1. unknown - gamemodes/garryware13/gamemode/derma/vgui/cl_clockgame.lua:62

There's no music (If there is music in the game) and nothing moves, and such. You're stuck on one of the few stages you can play in. You get the GUI from the gamemode, but else, it's desolate. Like an abandoned store, or whatyamacallit. I subscribed to the workshop version, tried, failed, then installed it through Github. Same results.

I hope this'll get fixed soon. I can't wait to play this. Either alone, or with the few friends I have.

Thadah commented 5 years ago

Thanks for bringing this to my attention, I will start working on it ASAP

Thadah commented 5 years ago

I wasn't able to reproduce the issue, but I fixed some other issues, try the latest 49c59b75b0aea3f01a1c0f282e7c5536ea797e73 commit

Goldenschmidt commented 5 years ago

Hello Thadah. I tried the latest commit, and I seemingly get the same constant error.

[ERROR] gamemodes/garryware13/gamemode/derma/vgui/cl_clockgame.lua:62: attempt to perform arithmetic on global 'gws_TimeWhenGameEnds' (a boolean value)

  1. unknown - gamemodes/garryware13/gamemode/derma/vgui/cl_clockgame.lua:62

v Picture of console v billede

v Picture of game v billede

My version of Garry's mod, is the default version. Not Chromium, dev, Prerelease, or x86-64 version. (No Beta's) Also, I'm using a x64 bit windows 10 computer, with 12 GB RAM, where I've installed the game on an external drive. I don't know if any of this is necessary information. I just thought it was informational.

Thadah commented 5 years ago

Are you using the gamemode in singleplayer? Because that is not supported at all, it will cause lots of issues. You need a dedicated server for it to work properly

If you are not, do you have fretta13 installed in the gamemodes folder? This is necessary as the gws_TimeWhenGameEnds comes from the fretta13's TimeWhenGameEnds variable, as well as many other functions that are needed for GarryWare13 to work properly.

Goldenschmidt commented 5 years ago

I have it installed directly to the game, but I start a new game, by making it a 8 player multiplayer game. Does it have to be on a dedicated server, or does it not matter, as long as it's a multiplayer game?

Thadah commented 5 years ago

It is highly recommended you put it in a dedicated server, but singleplayer should work as long as your client has fretta13 installed in the gamemodes folder.