Zandronum Chat on our Discord Server Get the latest version: 3.2
Source Code

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001912Zandronum[All Projects] Suggestionpublic2014-08-10 11:432018-09-30 22:03
ReporterDark-Assassin 
Assigned ToDusk 
PrioritynormalSeverityminorReproducibilityN/A
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version3.0Fixed in Version3.0 
Summary0001912: Rename kickfromgame to forcespec.
DescriptionAs seen from this post:'http://zandronum.com/tracker/view.php?id=918#c10155 [^]'
But for the normal console command, not just the callvote command.
Additional InformationAlthough this may confuse users who are unaware of the change, I have come up with a simple temporary idea and doesn't involve duplicating entries in the source or have an alias on that level.

Add an alias to zandronum.pk3/keyconf.txt
Alias kickfromgame "forcespec;echo "This command is deprecated. Please use the forcespec command instead."
Just an example.
Attached Files

- Relationships

-  Notes
User avatar (0010160)
ZzZombo (reporter)
2014-08-10 15:35

You alias doesn't do anything useful, you need to pass arguments to the actual command.
User avatar (0010161)
MazterQyoun-ae (reporter)
2014-08-10 15:53
edited on: 2014-08-10 15:53

But the suggestion is good. Before K6 told me, I would have never guessed this is force spectating a player, so I thought ST/Zan doesn't even have such command.
EDIT: don't forget about forcespec_idx, too.

User avatar (0010162)
Dark-Assassin (administrator)
2014-08-10 15:54

@ZzZombo: The alias was just a quick example. Didn't have to work.
User avatar (0014410)
Korshun (reporter)
2016-02-10 13:14

I had been confused that there is no forcespec command until somebody told me that there is this very oddly named "kickfromgame" command. It sounds like an equivalent of "kick", not like a forcespec command.
User avatar (0014420)
Dusk (developer)
2016-02-11 15:15

Might as well... this inconsistency has lived on long enough.
User avatar (0014422)
Empyre (reporter)
2016-02-11 17:04

I like the alias idea. That would allow the use of either command, to not confuse those who are used to kickfromgame.
User avatar (0014428)
cobalt (updater)
2016-02-13 13:34

Issue addressed by commit e5e5dd3a6dfd: Renamed kickfromgame and friends to forcespec for consistency, with compatibility aliases, addresses 1912
Committed by Teemu Piippo [Dusk] on Wednesday 31 December 1969 23:59:57

Changes in files:

 docs/zandronum-history.txt | 1 +
 src/callvote.cpp | 8 ++++----
 src/callvote.h | 2 +-
 src/p_acs.cpp | 6 +++---
 src/sv_main.cpp | 37 ++++++++++++++++++++++++++-----------
 src/sv_main.h | 2 +-
 6 files changed, 36 insertions(+), 20 deletions(-)

User avatar (0014523)
Ru5tK1ng (updater)
2016-03-01 21:14

Tried out the command with the latest build. Forcespec and forcespec_idx work as intended.

Issue Community Support
This issue is already marked as resolved.
If you feel that is not the case, please reopen it and explain why.
Supporters: MazterQyoun-ae Korshun Monsterovich djskaarj JC Tenton MaxRideWizardLord Empyre
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2014-08-10 11:43 Dark-Assassin New Issue
2014-08-10 15:35 ZzZombo Note Added: 0010160
2014-08-10 15:53 MazterQyoun-ae Note Added: 0010161
2014-08-10 15:53 MazterQyoun-ae Note Edited: 0010161 View Revisions
2014-08-10 15:54 Dark-Assassin Note Added: 0010162
2016-02-10 13:14 Korshun Note Added: 0014410
2016-02-11 15:14 Dusk Assigned To => Dusk
2016-02-11 15:14 Dusk Status new => assigned
2016-02-11 15:15 Dusk Note Added: 0014420
2016-02-11 17:04 Empyre Note Added: 0014422
2016-02-13 13:34 cobalt Status assigned => needs testing
2016-02-13 13:34 cobalt Target Version => 3.0
2016-02-13 13:34 cobalt Description Updated View Revisions
2016-02-13 13:34 cobalt Additional Information Updated View Revisions
2016-02-13 13:34 cobalt Note Added: 0014428
2016-03-01 21:14 Ru5tK1ng Note Added: 0014523
2016-03-01 21:14 Ru5tK1ng Status needs testing => resolved
2016-03-01 21:14 Ru5tK1ng Resolution open => fixed
2016-03-01 21:14 Ru5tK1ng Fixed in Version => 3.0
2016-03-01 21:14 Ru5tK1ng Description Updated View Revisions
2016-03-01 21:14 Ru5tK1ng Additional Information Updated View Revisions
2018-09-30 22:03 Blzut3 Status resolved => closed






Questions or other issues? Contact Us.

Links


Copyright © 2000 - 2025 MantisBT Team
Powered by Mantis Bugtracker