• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Tutorial] Fix choose map rent server

Joined
Apr 23, 2013
Messages
1,172
Reaction score
1,797
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