Just done a few tests..."/callvote kick allbots" results in "Cannot find the playername. Try clientkick instead." (bots are not kicked).It looks like this may be an OpenArena bug: I just tested it in the original Quake 3 1.32c and it works as expected, there.Update: bug now added to the "bug recap" list: (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/BugsFurther update: after reading Sago's reply below, entry moved to "wishlist recap" list instead: (DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Wishlist

I also tried to set up it using custom votes, and in that way it works instead. Maybe you missed something in setting up custom votes?- I created a votecustom.cfg file (with the same content of the "quote" part of your post just above this one), and placed it into my "baseoa" folder.- I launched the game, loaded a map, added a bot.- I checked g_votecustomfile value corresponds to the filename I used (votecustom.cfg)- I modified g_voteNames from "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/shuffle/" to "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/shuffle/custom/" (to enable custom votes). Please notice that the final "/" is important.- I typed "/callvote custom kick_all_bots". Vote passed and the bot was kicked.

« Last Edit: November 20, 2015, 04:36:02 am by Gig »

Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.

Repeat the same exploit for "allbots". Although less serious, it is still an exploit.As the vote code had other issues the whole system was hardened. The vote commands are now handled differently from the console commands. It is not just a filter. The vote system does not just check the vote command and pass it on if it looks OK. It interprets it and generate a matching internal command. Example: In OpenArena "kick" is always converted internally to "clientkick".

The command "callvote kick allbots" will not return. Allowing the "kick" command to use player names and command interchangeable was a mistake. A replacement command like "callvote kick_allbots" could be added instead.

Gig, Yes everything is in place. My version though is iq3+oa 1.36_SVN1910M so i think sago007 is right.

I have not understood a thing: does your custom vote for kick allbots work, now? I got to make it work... you should be able, too.

I just got the "command could not be found" error when it did not find my custom vote file (due to Windows option to hide known file extensions, my file was erroneusly named "callvote.cfg.txt" -the .txt was not shown-... I set Windows to show all extensions, removed the .txt, and then it worked as expected)....

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.

I also tried to set up it using custom votes, and in that way it works instead. Maybe you missed something in setting up custom votes?- I created a votecustom.cfg file (with the same content of the "quote" part of your post just above this one), and placed it into my "baseoa" folder.- I launched the game, loaded a map, added a bot.- I checked g_votecustomfile value corresponds to the filename I used (votecustom.cfg)- I modified g_voteNames from "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/shuffle/" to "/map_restart/nextmap/map/g_gametype/kick/clientkick/g_doWarmup/timelimit/fraglimit/shuffle/custom/" (to enable custom votes). Please notice that the final "/" is important.- I typed "/callvote custom kick_all_bots". Vote passed and the bot was kicked.

Everything that you described here is the same on my server. All the variables and a votecustom.cfg are in place and working(all the way). But one last entry in votecustom.cfg does not work.This one:

Code:

{votecommand"Kickbots"displayname"kickbots"command"kick allbots"}

Please take a look at configs attached and visit a14.polmira.ru server to see it in action

There is an error in line 31 of your votecustom.cfg: there is one } instead of {.

Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.

Is it okay?I would like to have confirm by Sago that custom votes cannot be used to have players pass further parameters to variables (there would be no way to prevent entering "insane" values).

Doing the tests, I noticed something (can we call them "small list update bugs"?):- In case g_votenamesfile is changed during a match, Custom vote list in ESC menu still shows the old (cached?) list until the client reconnects or the map restarts. Trying to vote for such outdated items does not work (fortunately?). Console "/Callvote custom" list instead is immediately updated (of course, typing again the command! ).- In case g_votenamesfile is changed to a non-existent filename (maybe also with an existent filename but with major errors?), Custom vote list in ESC menu still shows the old (cached?) list, and this time console "/Callvote custom" list does the same. Trying to vote for such outdated items does not work (fortunately?). Reconnecting the client or restarting the map fixes the console command output (blank list), but not the ESC menu list. Not even loading a different map fixes the ESC menu list: it still shows the old list istead of an empty one.The second case looks worst than the first one, but it happens only in case server admin made some kind of mistake.Maybe they are not worth spending time and energy, however you know that when I find something, I point it out!

PS: When I will have some time, I will try to also try to write a wiki page about voting in general. I don't know when.

PPS: This is not a bug, but it's for wishlist and voting in general: what about adding "vote yes/vote no" to ESC menu when a vote is going?Example: phones do not have F1/F2 keys: Pelya's Android version added "vote yes/vote no" items at the bottom of the "call vote" menu.

« Last Edit: November 24, 2015, 05:37:43 am by Gig »

Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.

PPS: This is not a bug, but it's for wishlist and voting in general: what about adding "vote yes/vote no" to ESC menu when a vote is going?Example: phones do not have F1/F2 keys: Pelya's Android version added "vote yes/vote no" items at the bottom of the "call vote" menu.

I know that the client caches all values aggressively to reduce network traffic. I did think about it while writing the code because it made it annoying to test. However I do believe that it is best to keep the cache.I believe that the problem is entirely client side and that the server cannot be tricked to actually make them pass (because all commands are validated by the server).

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.