Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot force my role to be traitor when playing solo #1720

Open
StrikeAgainst opened this issue Jan 18, 2025 · 2 comments
Open

Cannot force my role to be traitor when playing solo #1720

StrikeAgainst opened this issue Jan 18, 2025 · 2 comments

Comments

@StrikeAgainst
Copy link

StrikeAgainst commented Jan 18, 2025

Your version of TTT2 (mandatory)

v0.14.0b

Describe the bug (mandatory)

Whenever I start a game in solo - for the purpose of testing mods and new equipment - I seem to not be able to assign my self a role vie any of the ttt_force_[role] commands. The console only gives succesful feedback when joining the innocents, but even then there seems to be some kind of mapping issue with the role, as the bottom left panel shows a translation error. By extension, this means I cannot buy any equipment from the menu, with the info icon being ticked off in red on any weapon.

To reproduce

With all addons disabled except ULib, ULX, TTT2 and one TTT map as testing ground, I do the following:

  • Load into the one map
  • Open the console
  • Run ttt_debug_preventwin 1 to prevent the game ending before I can test stuff
  • Run ttt_minimum players 1 to allow the game letting me spawn alone
  • Run ttt_force_traitor to spawn as traitor

Result: Nothing happens, I stay spectator. Only ttt_force_terror works to spawn me into the game.

Expected behaviour

ttt_force_traitor should spawn me as traitor.

Context (please provide as much as you can)

  • Collection link of your Server: Nothing else of that collection is in use, I run the bare minimum of addons I already mentioned above.
  • Other addons installed in your servers addons folder: None.
  • All Server errors in the server console: Not sure how to display the server console specifically, if there even is one. I host the game locally, all I can find is the dev console.
  • Client errors in the developer console:
Garry's Mod

terrortown
ttt_forest_final
1
76561198018085453
InitFastCopy: only 27% fast props. Bug?
Clientside Lua startup!
[ULIB] Loading SHARED module: ulx_init.lua
[ULX] Loading CLIENT module: motdmenu.lua
[ULX] Loading CLIENT module: uteam.lua
[ULX] Loading CLIENT module: xgui_client.lua
[ULX] Loading CLIENT module: xgui_helpers.lua
[ULX] Loading CLIENT module: xlib.lua
[ULX] Loading SHARED module: chat.lua
[ULX] Loading SHARED module: fun.lua
[ULX] Loading SHARED module: menus.lua
[ULX] Loading SHARED module: rcon.lua
[ULX] Loading SHARED module: teleport.lua
[ULX] Loading SHARED module: user.lua
[ULX] Loading SHARED module: userhelp.lua
[ULX] Loading SHARED module: util.lua
[ULX] Loading SHARED module: vote.lua
env_cubemap used on world geometry without rebuilding map. . ignoring: metal/metalpipe003a
env_cubemap used on world geometry without rebuilding map. . ignoring: maps/ttt_forest_final/concrete/blendconcreterock001a_wvt_patch
Client "StrikeAgainst" spawned in server <STEAM_0:1:28909862> (took 4 seconds).

Welcome to Garry's Mod! We're playing ttt_forest_final.
DetailProps: The map appears to use EP2 detailprops, switching detail/detailsprites!

///////////////////////////////////////
//  ULX GUI -- Made by Stickly Man!  //
///////////////////////////////////////
// Loading GUI Modules...            //
//   bans.lua                        //
//   commands.lua                    //
//   groups.lua                      //
//   maps.lua                        //
//   settings.lua                    //
// Loading Setting Modules...        //
//   client.lua                      //
//   server.lua                      //
// Loading Gamemode Module(s)...     //
//   No module found!                //
// Modules Loaded!                   //
///////////////////////////////////////

Compact freed 737280 bytes
JOY_AXIS_X:  mapped to Turn (absolute)
JOY_AXIS_Y:  mapped to Look (absolute)
JOY_AXIS_Z:  unmapped
JOY_AXIS_R:  mapped to Forward (absolute)
JOY_AXIS_U:  mapped to Side (absolute)
JOY_AXIS_V:  unmapped
Advanced Joystick settings initialized
Redownloading all lightmaps
] ttt_debug_preventwin 1
] ttt_minimum_players 1
] ttt_force_traitor
] ttt_force_terror
You are now on the terrorist team.


Errors seem to be related to the map though.

  • Screenshots:

Image
A single lua error, did not seem to be problematic so far yet.

Image
The red ticked off info icon in question.

Image
The role panel showing a translation error.

@StrikeAgainst StrikeAgainst changed the title Cannot buy any equipment when running the game in solo Cannot force my role to be traitor when playing solo Jan 19, 2025
@TimGoll
Copy link
Member

TimGoll commented Jan 19, 2025

I guess the command is broken. Forcing roles works though. Please try it via F1->Admin Command and set your role there

@TimGoll
Copy link
Member

TimGoll commented Jan 19, 2025

Reagrding your screenshot with the error: You have to mount CS:S on the server. Otherwise you're able to walk through props and similar things

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants