Comments (6)
Just for as much information as possible, are you also using PowerRounds? Also as note are you running this on a local listen server that you are making public or an actual hosted server?
from tttweightedtraitorselection.
no we dont use PowerRounds. We use the Haste mode, but I dont think this has something to do with it.
And I set up a dedicated Server, that I just run at my own PC.
Can it be, that the "GetTraitorCount" function get defined on the client?
Due to the problem I fixed yesterday I wasnt able to install that fix on my server and my client at the same time. I used the Steam Workshop because I just dont know how to install the mod on my client without it...
Maybe this error occurs, because only could install the add-on on my client via Workshop?
Then I could have the problem, that the fixed version via GitHub only runs on my server and the mod didnt run my client and the sh_playerweight.lua
and when I run it via the workshop I got the error from #24 and the mod didnt started at all?
from tttweightedtraitorselection.
What exactly do you mean by client? For anyone who joins the server they do not need to download this add-on, this is only really needed server side. The only time you need this on your personal computer is if your server is being hosted as a listen server.
As for using the workshop version instead of the github version, have you tried following the Installation Instructions? It is just a matter of copying the files to the addons directory and running the server once when using the default json
configuration.
from tttweightedtraitorselection.
With client I ment my running gmod installation where I play.
Yesterday I didnt knew that you can send lua files with the AddCSLuaFile function when sombody is joining the server.
I now installed the latest version via GitHub on my server. Otherwise i would get the error #24 anyway.
And I want to use the json database so I didnt changed any config.
The thing is I cant autocomplete the first round to properly set up the server due to this error
Or can it be, that I get the error because the "local choice_count = #choices" is "nil" and to the function fails?
from tttweightedtraitorselection.
Can you try running ttt_minimum_players 1
when running the server, this should allow a round to start with only 1 person.
from tttweightedtraitorselection.
Yeah I set it, but I found the Issue...
I installed the TTT2 Mod and it seems, that something is this big updates does anything that this mod cant work...
I removed ttt2 from my server and this mod here workes fine.
I will close this issue and open a new one in the TTT2 Github Projekt over here:
https://github.com/TTT-2/TTT2
Still thanks for the time and the quick response!
from tttweightedtraitorselection.
Related Issues (20)
- Round Preparing Error HOT 3
- Less traitors than expected HOT 1
- Server not starting HOT 14
- Rounds not starting due to the addon HOT 5
- SetDetectiveCount not called HOT 3
- Error when selecting players HOT 8
- Removing [TTT Weight System] is up to date (1.0.1)? HOT 2
- LocalPlayer a nil value when trying to write version info. HOT 2
- Add Log menu to admin ttt_weightlogs HOT 3
- Using the script with other gamemodes HOT 2
- Seemingly bizzare calculations HOT 4
- Doesn't work with PowerRounds
- Broken Weight System HOT 1
- Get a script error when opening the game. HOT 2
- Syntax error @sv_init.lua
- Innocent Streak Bonus Weight
- Commands (except ttt_traitor_chance_command) doesn´t appear in the console.
- Addon is not working with TTT2
- Round will not start. HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tttweightedtraitorselection.