Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Tutorial] Fix choose map rent server

Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,786
Very easy and most can even have it well before.I just found the tutorial file here in my HD and I decided to post, sorry if maybe there is already a duplicate post.

Flash Project

Folder:
/Classes/warz/frontend/

File:
RentServerPopUp.as

Search:

Code:
Map.Name.text = "$FR_MapType";

Goto
Map.ArrowLeft.ActionFunction = function() { // TODO }

Code:
{
    if(currentSelectedMap > 0)
    {
        currentSelectedMap--;
    }
    else
    {
        currentSelectedMap = api.RentServer_Maps.length - 1;
    }
    currentMapID = api.RentServer_Maps[currentSelectedMap]["id"];
    Map.Value.text = api.RentServer_Maps[currentSelectedMap]["displayValue"];
}

Paste it same location below

Code:
{
    if(currentSelectedMap < api.RentServer_Maps.length - 1)
    {
        currentSelectedMap++;
    }
    else
    {
        currentSelectedMap = 0;
    }
    currentMapID = api.RentServer_Maps[currentSelectedMap]["id"];
    Map.Value.text = api.RentServer_Maps[currentSelectedMap]["displayValue"];
}

LukasCCB - [Tutorial] Fix choose map rent server - RaGEZONE Forums



Do not just paste, pay attention, you already have this code only add if it has any difference.

Please do not come cry, if you already have let it to those who do not have.If you made money selling it, I'm sorry.
And know that 2 simple codes are sold for 15 Ducking dollars.
 
Last edited:
Back
Top