Archive > AO 0.6 support

Server merge!

<< < (2/6) > >>

Glarawyn:
For the first server merge update I'd say we should add it as another option. Then the updated BeBot could be pushed out before the server merge happens and a simple configuration change is all that's needed after the server merge.

Trypha:
Little too late for that, servers are down for the merge now.

I have a question (I stupidly deleted the post, but I'll ask again) - Vhab posted the new server info here: http://forums.anarchy-online.com/showthread.php?t=604029


--- Quote ---Please note this information is subject to change.

Chat server: chat.d1.funcom.com:7105
Dimensions ID: 5

We aim to have people of Rubi-Ka and other web related services available when the servers come up, but we can't guarantee they will right away at this point.

Also note, you need to log in characters using the game client before they are available on the chat server.
--- End quote ---


My question: does the $dimension variable in Bot.conf need to be "5"? If so then this is what ServerList.php would have to look like:

--- Code: --- $server_list['ao']['Testlive']      = array('server'=>'chat.dt.funcom.com', 'port'=>7109);
$server_list['ao']['Atlantean']     = array('server'=>'chat.d1.funcom.com', 'port'=>7101);
$server_list['ao']['Rimor']         = array('server'=>'chat.d2.funcom.com', 'port'=>7102);
$server_list['ao']['Die neue welt'] = array('server'=>'chat.d3.funcom.com', 'port'=>7103);
$server_list['ao']['null to get array index right'] = array('server'=>'null', 'port'=>7104);
$server_list['ao']['Rubi-Ka'] = array('server'=>'chat.d1.funcom.com', 'port'=>7105);

--- End code ---

Or can we just erase all those lines and replace them like this:

--- Code: ---        $server_list['ao']['Testlive']      = array('server'=>'chat.dt.funcom.com', 'port'=>7109);
        $server_list['ao']['Rubi-Ka']     = array('server'=>'chat.d1.funcom.com', 'port'=>7105);

--- End code ---

and then set $dimension to "1"?

Glarawyn:
Either should work, but may as well go with the simple way and remove the old servers and replace with the new.

Ezzii:
Here is what I have done to make it work for me.

Part I   Part II   Part III
-----------------------------

Part I
-------
In bebot/conf/Bot.conf about line 9

--- Code: ---  $dimension = "5";                 // The name of the server you play on, or (1, 2 or 3 for AO)   was dim 1 for RK1
--- End code ---


Part II
--------
as Trypha suggested my relavent section of bebot/conf/ServerList.conf file reads:


--- Code: ---$server_list['ao']['Testlive'] = array(
    'server' => 'chat.dt.funcom.com',
    'port' => 7109
);
$server_list['ao']['Atlantean'] = array(
    'server' => 'chat.d1.funcom.com',
    'port' => 7101
);
$server_list['ao']['Rimor'] = array(
    'server' => 'chat.d2.funcom.com',
    'port' => 7102
);
$server_list['ao']['Die neue welt'] = array(
    'server' => 'chat.d3.funcom.com',
    'port' => 7103
);
$server_list['ao']['null to get array index right'] = array(
    'server' => 'null',
    'port' => 7104
);
$server_list['ao']['Rubi-Ka'] = array(
    'server' => 'chat.d1.funcom.com',
    'port' => 7105
);
--- End code ---

Part III
--------
In bebot/Sources/Bot.php added case "5" as you see here around line 225


--- Code: ---        // Get dimension server
        switch ($this->dimension) {
        case "0":
            $dimension = "Testlive";
            break;
        case "1";
            $dimension = "Atlantean";
            break;
        case "2":
            $dimension = "Rimor";
            break;
        case "3":
            $dimension = "Die neue welt";
            break;
        case "5";
            $dimension = "Rubi-Ka";
            break;
        Default:
            $dimension = ucfirst(strtolower($this->dimension));
        }

        Require("conf/ServerList.php");
--- End code ---

// that gets you past the Unknown problem -- we'll see about the rest of the bumps.  :)

 -- Ez 

Mawerick:
Is it really necessary to keep the null entry in the server list? or keep any of the old servers at all?
Is the server list ever accessed by index?

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version