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 ?
Simple users able to change map ?
Moderator: NADEO
- fng_thatoneguy
- Posts: 722
- Joined: 05 Jan 2011, 18:06
- Location: That One Place
- Contact:
Re: Simple users able to change map ?
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?
Is this what you are referring to?

Re: Simple users able to change map ?
how did you discover that? he may just have voted for it 
//Edit: too slow

//Edit: too slow

-
- Posts: 26
- Joined: 19 Sep 2011, 11:21
Re: Simple users able to change map ?
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.
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.
- fng_thatoneguy
- Posts: 722
- Joined: 05 Jan 2011, 18:06
- Location: That One Place
- Contact:
Re: Simple users able to change map ?
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?

-
- Posts: 26
- Joined: 19 Sep 2011, 11:21
Re: Simple users able to change map ?
I changed my dedicated_cfg.txt like this :
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 ;
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>
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 ;
- fng_thatoneguy
- Posts: 722
- Joined: 05 Jan 2011, 18:06
- Location: That One Place
- Contact:
Re: Simple users able to change map ?
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?
Or have you already and it's working correctly now?

-
- Posts: 26
- Joined: 19 Sep 2011, 11:21
Re: Simple users able to change map ?
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.
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.
- fng_thatoneguy
- Posts: 722
- Joined: 05 Jan 2011, 18:06
- Location: That One Place
- Contact:
Re: Simple users able to change map ?
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.
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 ?
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

http://forum.maniaplanet.com/viewtopic. ... 61&t=14419

Developper for The next generation, Clean and Powerfull controller eXpansion for your SM & TM server . Working on eXpansion² with full MP4 support and many other awesome features...
Who is online
Users browsing this forum: No registered users and 1 guest