Page 1 of 2
Simple users able to change map ?
Posted: 18 Mar 2013, 21:58
by beauchette
Hi,
I just discovered that a simple user was able to change map (I didn't even mind) but how was that possible ?
I changed my superadmin, admin and user password (and, huh, my rpc port is firewalled anyway), I just use the vanilla config, where I just changed the passwords, the title, the name.
then I have manialive connected, I'm declared as an admin, and that's about it.
anybody have an idea about what's happening ?
Re: Simple users able to change map ?
Posted: 18 Mar 2013, 22:24
by fng_thatoneguy
There is a "Callvote Go To Map" option where any user can ask to jump to a given map.
Is this what you are referring to?
Re: Simple users able to change map ?
Posted: 18 Mar 2013, 22:29
by steeffeen
how did you discover that? he may just have voted for it
//Edit: too slow

Re: Simple users able to change map ?
Posted: 18 Mar 2013, 22:49
by beauchette
He changed the map two times, and I didn't see a single vote map appearing.
Also I changed the callvote_ratio to 0.8, so I suppose I would have more chance of seeing it.
may be I missed it twice, but that's a little unlikely.
oh, but I forgot I could check the logs and I just did.
I'm officially blind, the logs states that there was a vote, and I didnt see it.
I'm still wondering how the vote passed, as it needed 80% there were about 10 people max, and I obviously didn't vote.
Re: Simple users able to change map ?
Posted: 18 Mar 2013, 22:55
by fng_thatoneguy
Which mechanism did you use for changing the callvote_ratio? Are you sure you changed the ratio for the correct type of vote? And did your change require a reload of the MatchSettings file?
Re: Simple users able to change map ?
Posted: 18 Mar 2013, 23:47
by beauchette
I changed my dedicated_cfg.txt like this :
Code: Select all
<callvote_timeout>60000</callvote_timeout>
<callvote_ratio>0.8</callvote_ratio> <!-- default ratio. value in [0..1], or -1 to forbid. -->
<callvote_ratios>
<voteratio command="Ban" ratio="-1"/>
<voteratio command="SetModeScriptSettings" ratio="-1"/>
<!-- commands can be "Ban", "Kick", "RestartMap", "NextMap", ... -->
</callvote_ratios>
so basically, I added the second votetratio command and I changed the default ratio to 0.8
but may be you're right : I usually restart my server to make sure my server variables are as I asked, but may be I didnt this time (may be players were on it) and it was still 0.5 despite the file saying 0.8, I should get some real sleep ;
Re: Simple users able to change map ?
Posted: 18 Mar 2013, 23:57
by fng_thatoneguy
Let us know if it still doesn't work when you do restart the server...
Or have you already and it's working correctly now?
Re: Simple users able to change map ?
Posted: 19 Mar 2013, 11:38
by beauchette
well yes, it worked fine after a reboot, thank you for your help.
I think it was just me not seeing the votemaps. Two times.
I changed the server variables, and rebooted it when everyone left, so now I'm sure it's ok.
anyway, I was a little slow to start making my own web interface to set variables and such things for my friends and I and I suppose I'm going to do it soon.
Re: Simple users able to change map ?
Posted: 19 Mar 2013, 15:44
by fng_thatoneguy
Good deal; I'm glad it's working!
Have you looked into the
ManiaLive Dedicated Manager? It might do what you're looking for without you needing to code up your own. There are other web based managers on the forums as well, I believe.
Re: Simple users able to change map ?
Posted: 19 Mar 2013, 16:24
by oliverde8
Hi I think at the moment AdminServ is the easiest to setup and use

. It has quite a lot of functionality and also looks nice.
http://forum.maniaplanet.com/viewtopic. ... 61&t=14419