Coder Social home page Coder Social logo

Comments (6)

lzinga avatar lzinga commented on June 15, 2024

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.

HerrmannMax avatar HerrmannMax commented on June 15, 2024

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.

lzinga avatar lzinga commented on June 15, 2024

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.

HerrmannMax avatar HerrmannMax commented on June 15, 2024

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.

lzinga avatar lzinga commented on June 15, 2024

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.

HerrmannMax avatar HerrmannMax commented on June 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.