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

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000649Zandronum[All Projects] Suggestionpublic2012-01-09 05:022021-10-30 18:13
Assigned ToKaminsky 
PlatformMicrosoftOSWindowsOS VersionXP/Vista/7
Product Version98d 
Target VersionFixed in Version3.1-beta 
Summary0000649: Let maplist be used by clients
DescriptionCurrently maplist executed from a client always comes up empty. Instead, it should do the same as rcon maplist.
Attached Files

- Relationships
has duplicate 0001524closed Make server maplist viewable by client. 

-  Notes
User avatar (0007474)
Konar6 (reporter)
2013-10-27 11:12 [^]
User avatar (0007476)
Dusk (developer)
2013-10-27 12:16
edited on: 2013-10-27 12:18

Your diff does not seem to update the maplist on the clients if the server changes it. Might need several SVC2_ entries here, one for each manipulation command..

Also I think

extern std::vector<MAPROTATIONENTRY_t> g_MapRotationEntries;

should be replaced with a function in maprotation.cpp which returns a const-reference of the entries, something like:
const std::vector<MAPROTATIONENTRY_t>& MAPROTATION_GetAllEntries( void )
    return g_MapRotationEntries;

Then make g_MapRotationEntries static. It should probably be a std::deque too because insertmap can be used to add entries at the beginning.

User avatar (0021797)
WaTaKiD (updater)
2021-10-29 07:58

tested using 3.1-alpha-r211026-1439 on local windows and tspg linux servers, using various amounts of addmap, delmap, insertmap, map specific player counts, map rotation enabled/disabled, random map rotation enabled/disabled, a client present during maplist changes, and a client connecting after maplist changes, and maplist worked just fine for both clients
User avatar (0021799)
Kaminsky (developer)
2021-10-30 18:13

Thanks for checking! I'll mark this as resolved then.

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: ZzZombo Marcaek WaTaKiD hjalg DevilHunter Combinebobnt President People unknownna Korshun
Opponents: No one explicitly opposes this issue yet.

- Issue History
Date Modified Username Field Change
2012-01-09 05:02 Qent New Issue
2013-10-27 11:12 Konar6 Note Added: 0007474
2013-10-27 12:12 Dusk Relationship added has duplicate 0001524
2013-10-27 12:16 Dusk Note Added: 0007476
2013-10-27 12:17 Dusk Note Edited: 0007476 View Revisions
2013-10-27 12:18 Dusk Note Edited: 0007476 View Revisions
2014-06-15 14:40 Watermelon Status new => feedback
2021-10-29 07:58 WaTaKiD Note Added: 0021797
2021-10-30 18:13 Kaminsky Note Added: 0021799
2021-10-30 18:13 Kaminsky Status feedback => resolved
2021-10-30 18:13 Kaminsky Fixed in Version => 3.1-beta
2021-10-30 18:13 Kaminsky Resolution open => fixed
2021-10-30 18:13 Kaminsky Assigned To => Kaminsky

Questions or other issues? Contact Us.


Copyright © 2000 - 2021 MantisBT Team
Powered by Mantis Bugtracker