Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Some say that he codes his mods while participating in races...
He also once made a git commit during the Rally Montecarlo.
All we know is that he's called The Stig!!!
Anyways, thanks a lot for your mod and work!
+rep to the stig
My only suggestion is to try replicating this with this as the only mod installed, if it works, then try slowly enabling mods until it breaks again. (And let me know what mod is breaking things)
Otherwise you may have messed too much with some of the convars, if you delete all the convars from this mod from your server config that might be it.
There's also of course the option of a server reinstall, but that might be a bit drastic. These are all generic suggestions, there's not much I can do to help you if I can't replicate the problem myself.
Here's the collection I'm using if you're curious: https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=2045522859
Thank you so much for the help! =)
All of the commands listed above are used for changing the settings of this mod.
I’ve tried my best to balance the settings of the mod to only add guns to maps when necessary. Maps that already have plenty of guns won’t be affected by this mod.
I was using it in combination with the rearming base addon (which is also giving errors): https://steamhost.cn/steamcommunity_com/workshop/filedetails/?id=2601478453
I managed to fix the rearming base errors by just adding some isfunction checks to skip certain things because TTT2 removed some functions.
Once I fixed the rearming base this addon stopped throwing the error.
Can you tell me some more info on how you got that error? Were weapons actually spawning or not? How often did the error occur? First round only? Every round? Some rounds? Do you have a collection of the mods you were using?
Lua Error: [[TTT] Floor Weapons Spawner] lua/autorun/server/ttt_floor_weapons_giver.lua:264: attempt to index local 'randWepPistol' (a nil value) 1. unknown - lua/autorun/server/ttt_floor_weapons_giver.lua:264
Seems like you need some nil checks
I’m looking forward to trying them out with my friends in TTT.
[[TTT] Floor Weapons Spawner] lua/autorun/server/ttt_floor_weapons_giver.lua:105: attempt to call field 'GetSpawnableSWEPs' (a nil value)
1. unknown - lua/autorun/server/ttt_floor_weapons_giver.lua:105
[[TTT] Floor Weapons Spawner] lua/autorun/server/ttt_floor_weapons_giver.lua:260: attempt to index local 'randWepPistol' (a nil value)
1. unknown - lua/autorun/server/ttt_floor_weapons_giver.lua:260
It only works with a limited number of maps though. It was what I made and used for TTT before I updated this mod.
I can't seem to find a version of that map for TTT on the workshop, but the weapon spawns in the video look to be quite a lot different than the pile of guns this mod provides at the map spawn. Just wondering how they got weapons and spawns working to play TTT on that map.
That's typical GMOD weirdness. It's also a completely server-side error with no errors on client side being shown.
I'm quite busy myself but maybe I'll unpack your addon at some date and give you a note once I find something (but probably not before December, or so).
Unfortunately TTT2 is a mystery to me and making my 100 or so mods all compatible with TTT2, Sandbox, etc. is not a priority atm.
[[TTT] Floor Weapons Giver] lua/autorun/server/ttt_floor_weapons_giver.lua:66: attempt to index local 'randWepPistol' (a nil value)
1. unknown - lua/autorun/server/ttt_floor_weapons_giver.lua:66
But does this work with TTT2?