TTT-2 / TTT2

Trouble in Terrorist Town 2 for Garry's Mod (gmod)
https://steamcommunity.com/sharedfiles/filedetails/?id=1357204556
178 stars 74 forks source link

Credit ConVars unknown after update #902

Closed Creyox closed 3 years ago

Creyox commented 3 years ago

TTT2 version: v0.10.2b Workshop: https://steamcommunity.com/sharedfiles/filedetails/?id=849222406

Some convars are not correctly loaded anymore since the latest release. Those ConVars are now logged as unknown command when starting the server, even though I set them in the server config and they were loaded before, i.e. "ttt_credits_starting", "ttt_credits_detectivekill", "ttt_det_credits_traitorkill" and "ttt_det_credits_traitordead". I tried to drag the slider to manually change the values ingame, but it seems as if this change is not applied, because the setting is not echoed by the server and has no impact ingame. I removed the convar setting in the server cfg and tried this again to see if only the unsuccessful loading caused this issue, it didn't.

I'm not quite sure if the root of this issue is TTT2, but it seems so. Sadly I can not say which update broke the ConVars because I didn't play on the server for 3 weeks so it is possible an older update broke this.

Creyox commented 3 years ago

Nevermind I just read the support channel in Discord and forgot this functionality is made available by the ULX Addon. Sorry for the inconvenience.

TimGoll commented 3 years ago

Good for finding it that quickly. Take a look at the changelog: https://github.com/TTT-2/TTT2/releases/tag/v0.10.0b

We reworked the reward system, feel free to ask if you've got any questions