TheZoc / sourceforts-bug-tracker

Bug Tracker for the classic SourceForts HL2 Mod
10 stars 0 forks source link

Unassigned classes can use block spawners. #78

Closed Nick12506 closed 5 years ago

Nick12506 commented 5 years ago

For example:

If you start a server with the provide map "buttontest", click okay on the motd, then click cancel on the team/class menu. You are able to then turn the view around to face the block spawners.

When you press E in this state, you are able to spawn blocks.

The chat log says "You are on team Unassigned - press N to select"

I assume it's a issue with the team Unassigned..

buttontest.zip

TheZoc commented 5 years ago

I"m not sure this is fixable by code, since most of this logic is done on the maps :/

Melectrome commented 5 years ago

Plus, most maps don't have start camera spawns and actual spawns near buttons...

Nick12506 commented 5 years ago

Better to document then to ignore. This could lead to people spawning in 1 team a extra teams worth of blocks :/.

TheZoc commented 5 years ago

+use code isn't available for editing, so, I can't modify this behavior :(

TheZoc commented 5 years ago

Actually, I managed to fix this in a completely different way. Now, only blue and red teams can spawn blocks, preventing exploits like this 😉