Giter VIP home page Giter VIP logo

Comments (6)

thebigsleepjoe avatar thebigsleepjoe commented on September 24, 2024

I'll look into the cvar error. I thought it was setup to replicate to the client, so that is a little concerning.

Could you provide a modlist or something so I can replicate the latter error? I haven't quite experienced that on TTT or -2.

Also, I see in the screenshot a bot said, "Plan.Attack---". Is this a result of a tweak you made, or have the bots been saying the unformatted strings during your testing?

from ttt-bots-2.

EntranceJew avatar EntranceJew commented on September 24, 2024

Using the cvar definitions with the table format, e.g.

local flags = {FCVAR_ARCHIVE, FCVAR_REPLICATED, FCVAR_NOTIFY}
local dib_enable = CreateConVar( "dib_enable", "1", flags, "Enables item / weapon highlighting" )

has been a lot easier to manage, but when i cloned it, those convars didn't even exist in the repo anywhere else; no CreateConVar statement, no ability to GetConVar.

They have been saying unformatted strings periodically, but not all the time.

my own addon probably broke the :Nick thing with something i was trying to implement so i don't think it's a major deal if you haven't seen it in your dedicated server logs

from ttt-bots-2.

thebigsleepjoe avatar thebigsleepjoe commented on September 24, 2024

While looking into the Facepunch wiki, I found that replicated cvars should also be located on the client for consistency, so I will make a shared cvars file for those. I suppose it makes sense that it would be fine if you define it server-side on a P2P server, but wouldn't work on dedicated servers.

I actually haven't tested the mod on SRCDS yet tbh, only P2P. When the bots say the unformatted strings like you saw, what do they usually say? Is it always something in traitor chat?

from ttt-bots-2.

thebigsleepjoe avatar thebigsleepjoe commented on September 24, 2024

Sorry, marked as completed by mistake. Still need to test on SRCDS, latest commit is working on P2P

from ttt-bots-2.

EntranceJew avatar EntranceJew commented on September 24, 2024

Yeah, they were previously always using the unformatted strings in team chat.

Testing latest shortly.

from ttt-bots-2.

thebigsleepjoe avatar thebigsleepjoe commented on September 24, 2024

I confirmed pfp issue was resolved on SRCDS. There are a few issues I'm noticing on dedicated servers so I will work on that next and move the unformatted strings problem to a new issue. Thank you for the report!

from ttt-bots-2.

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.