Results 1 to 7 of 7

Thread: Need help: how do "nextlevel" and "changelevel" effect the server rotation?

  1. Registered TeamPlayer
    Join Date
    10-29-07
    Posts
    4,953
    Post Thanks / Like
    Stat Links

    Need help: how do "nextlevel" and "changelevel" effect the server rotation?
    #1

    Need help: how do "nextlevel" and "changelevel" effect the server rotation?

    It would be a great help if someone would research this for me, as it effects the ability to predict the map cycle.


    Imagine this is your normal (simplified) rotation:
    cp_well
    cp_dustbowl
    pl_goldrush
    ctf_well


    Now suppose your on cp_well right now.
    If nobody issues a "nextlevel" (force the map to go to this when this map ends) or a "changelevel" (force the server to change maps to this right now), then the next map is cp_dustbowl.


    Now what happens when you use "changelevel"? Suppose from cp_well, you "changelevel" to pl_goldrush. And now suppose pl_goldrush has played it's course and is about to end. What is the next map? Is it ctf_well (the one after pl_goldrush in the list), or is it cp_dustbowl (the server jumps back to where it was before the forced map, resuming where it left off).

    It's the same situation for "nextlevel". If you use it to override the rotation, once that next map is done, where does the server resume in the map rotation. It might act the same or different than changelevel.

    I need someone to figure this out. Maybe the answer can be had using google-foo, or maybe it's going to take someone sitting in the test server and actually watching to see what happens (set the map time limit to like 5 minutes so it rotates fast).

    Point is, someone else figuring this out frees up more of my time to work on the mod itself so that we actually can make a release tomorrow.

  2. Registered TeamPlayer
    Join Date
    10-29-07
    Posts
    4,953
    Post Thanks / Like
    Stat Links

    Need help: how do "nextlevel" and "changelevel" effect the server rotation?
    #2

    Re: Need help: how do "nextlevel" and "changelevel" effect the server rotation?

    Oh and no guesses on what you think is going to happen. We need to know what is going to happen.

    If it takes someone sitting in the test server so we know how it behaves, that's what we'll do.

  3. Administrator ...bigdog...'s Avatar
    Join Date
    06-10-05
    Posts
    51,240
    Post Thanks / Like
    Stat Links

    Need help: how do "nextlevel" and "changelevel" effect the server rotation? Need help: how do "nextlevel" and "changelevel" effect the server rotation? Need help: how do "nextlevel" and "changelevel" effect the server rotation?
    Gamer IDs

    Steam ID: bigdogttp
    #3

    Re: Need help: how do "nextlevel" and "changelevel" effect the server rotation?

    if you set the next level, then that is the next level when the round ends, runs out of time, etc.

    if you changelevel, then it changes to the map you specify for the change. map/round time starts over again, and the map begins.

    If you set next level, and changelevel to something different, it will then "forget" the setnextlevel, and use nextlevel for whatever comes next in the mapcyhcle of the current map.
    Quote Originally Posted by ...bigdog... View Post
    If turd fergusons want to troll their lives away, that's the world's problem. Go read the CNN.com comments section, or any comments section, anywhere. All of the big threads are going to be the crazy people saying stupid shit.

  4. Registered TeamPlayer
    Join Date
    10-29-07
    Posts
    4,953
    Post Thanks / Like
    Stat Links

    Need help: how do "nextlevel" and "changelevel" effect the server rotation?
    #4

    Re: Need help: how do "nextlevel" and "changelevel" effect the server rotation?

    Maybe I'm not being clear: what I'm asking is how do those commands effect the future map rotation?

    They have the effect of (eventually/immediately) changing the map to a new map.... but if at that point (on the new map) the server is left alone.... which is the next map after? Does the server revert to the old rotation? Or does it simply start it's new rotation at the new map... skipping all of those maps between the previous map and the new map.

    Rotation:
    cp_well <-- Here right now
    cp_dustbowl
    pl_goldrush
    ctf_well

    Now an admin forces a map change to goldrush

    Rotation:
    cp_well
    cp_dustbowl
    pl_goldrush <-- So we're here right now, we skipped dustbowl
    ctf_well

    Now goldrush is coming to an end... which is the next map?

    Rotation:
    cp_well
    cp_dustbowl <-- It could be this one if the server "remembered" it jumped at cp_well, and now it came back to resume the old rotation
    pl_goldrush
    ctf_well


    Rotation:
    cp_well
    cp_dustbowl
    pl_goldrush
    ctf_well <--OR it could be this one if the server abandoned the old rotation and simply continued from where it is. Notice that with this it has SKIPPED playing dustbowl completely for this rotation. It won't come back to dustbowl until the next rotation.

  5. Administrator ...bigdog...'s Avatar
    Join Date
    06-10-05
    Posts
    51,240
    Post Thanks / Like
    Stat Links

    Need help: how do &quot;nextlevel&quot; and &quot;changelevel&quot; effect the server rotation? Need help: how do &quot;nextlevel&quot; and &quot;changelevel&quot; effect the server rotation? Need help: how do &quot;nextlevel&quot; and &quot;changelevel&quot; effect the server rotation?
    Gamer IDs

    Steam ID: bigdogttp
    #5

    Re: Need help: how do "nextlevel" and "changelevel" effect the server rotation?

    if the mapcycle is....

    dust
    dust2
    cbble
    militia

    if we're playing dust2, and I set the nextmap to cbble or changelevel to cbble, then when cbble is done, it will play militia, since it's NEXT on the mapcycle. the mapcycle is the order of maps. after militia, it will go back to dust.

    answer?
    Quote Originally Posted by ...bigdog... View Post
    If turd fergusons want to troll their lives away, that's the world's problem. Go read the CNN.com comments section, or any comments section, anywhere. All of the big threads are going to be the crazy people saying stupid shit.

  6. Administrator ...bigdog...'s Avatar
    Join Date
    06-10-05
    Posts
    51,240
    Post Thanks / Like
    Stat Links

    Need help: how do &quot;nextlevel&quot; and &quot;changelevel&quot; effect the server rotation? Need help: how do &quot;nextlevel&quot; and &quot;changelevel&quot; effect the server rotation? Need help: how do &quot;nextlevel&quot; and &quot;changelevel&quot; effect the server rotation?
    Gamer IDs

    Steam ID: bigdogttp
    #6

    Re: Need help: how do "nextlevel" and "changelevel" effect the server rotation?

    in your example, the server doesn't "remember" what the map was supposed to be. it forgets. In fact, the mapcycle is read every map change. We can change the mapcycle and maplist.txt's while the server is running, and when the map changes, it will read the current map, and then go to the map after it. Upon the mapload, all is forgotten till it's time to change maps again, whereupon it checks the list, finds it's current position, and then goes to the next one in line.
    Quote Originally Posted by ...bigdog... View Post
    If turd fergusons want to troll their lives away, that's the world's problem. Go read the CNN.com comments section, or any comments section, anywhere. All of the big threads are going to be the crazy people saying stupid shit.

  7. changcha4067
    Guest
    #7

    RBL Checker Match - changcha4067 from 114.96.133.127

    ALERT!

    Someone has tried to register using the IP Address 114.96.133.127 which is MATCHED IN THE RBL DATABASE of the proxies.dnsbl.sorbs.net RBL.

    This registration attempt has been allowed and the account has been permanently banned.

    Registration Details: changcha4067 ( superfulanji@163.com )

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Title