Simple users able to change map ?

Moderator: NADEO

beauchette
Posts: 26
Joined: 19 Sep 2011, 11:21

Simple users able to change map ?

Post 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 ?
User avatar
fng_thatoneguy
Posts: 722
Joined: 05 Jan 2011, 18:06
Location: That One Place
Contact:

Re: Simple users able to change map ?

Post 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?
Image
User avatar
steeffeen
Translator
Translator
Posts: 2463
Joined: 14 Oct 2012, 16:22
Location: Germany

Re: Simple users able to change map ?

Post by steeffeen »

how did you discover that? he may just have voted for it :D

//Edit: too slow :(
    Game Mode and Title Pack Creator, Developer, ShootMania-Player & more

    ManiaControl, FancyManiaLinks
    beauchette
    Posts: 26
    Joined: 19 Sep 2011, 11:21

    Re: Simple users able to change map ?

    Post 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.
    User avatar
    fng_thatoneguy
    Posts: 722
    Joined: 05 Jan 2011, 18:06
    Location: That One Place
    Contact:

    Re: Simple users able to change map ?

    Post 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?
    Image
    beauchette
    Posts: 26
    Joined: 19 Sep 2011, 11:21

    Re: Simple users able to change map ?

    Post 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 ;
    User avatar
    fng_thatoneguy
    Posts: 722
    Joined: 05 Jan 2011, 18:06
    Location: That One Place
    Contact:

    Re: Simple users able to change map ?

    Post 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?
    Image
    beauchette
    Posts: 26
    Joined: 19 Sep 2011, 11:21

    Re: Simple users able to change map ?

    Post 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.
    User avatar
    fng_thatoneguy
    Posts: 722
    Joined: 05 Jan 2011, 18:06
    Location: That One Place
    Contact:

    Re: Simple users able to change map ?

    Post 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.
    Image
    oliverde8
    Posts: 1286
    Joined: 16 Jun 2010, 07:33
    Location: in a Blue Box

    Re: Simple users able to change map ?

    Post by oliverde8 »

    Hi I think at the moment AdminServ is the easiest to setup and use :thumbsup: . It has quite a lot of functionality and also looks nice.
    http://forum.maniaplanet.com/viewtopic. ... 61&t=14419
    Image
    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...
    Post Reply

    Return to “Dedicated Server”

    Who is online

    Users browsing this forum: No registered users and 1 guest