Jump to content
  • 0

FluxCP to handle Multiple CharMap server in two seperate databases


Question

Posted

Hello guys, how can i edit/tweak flux cp to handle to separate server( same login server but differ in Char and Map server) with two separate databases? I tried to follow the tutorial here http://code.google.com/p/fluxcp/wiki/Screencasts but it seems that it only handle two server with 1 database only. So how can i change it since i use two different database but it use the login table from the Database A.

Server A=Database A

Server B=Database B (All except login table that it takes from Database A.)

My Servers.php

'CharMapServers' => array(
  array(
   'ServerName'    => 'SARA',
   'BaseExpRates'  => 1,
   'JobExpRates'   => 1,
   'MvpExpRates'   => 1,
   'DropRates'	 => 1,
   'MvpDropRates'  => 1,
   'CardDropRates' => 1,
   'MaxCharSlots'  => 12,
   'DateTimezone'  => null,	   // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones)
   //'ResetDenyMaps' => 'sec_pri',  // Defaults to 'sec_pri'. This value can be an array of map names.
   //'Database'	  => 'ragnarok', // Defaults to DbConfig.Database
   'CharServer'    => array(
 'Address'   => '127.0.0.1',
 'Port'	  => 7025
   ),
   'MapServer'	 => array(
 'Address'   => '127.0.0.1',
 'Port'	  => 7026
   )
  ),
  array(
   'ServerName'    => 'LOKI',
   'BaseExpRates'  => 1,
   'JobExpRates'   => 1,
   'MvpExpRates'   => 1,
   'DropRates'	 => 1,
   'MvpDropRates'  => 1,
   'CardDropRates' => 1,
   'MaxCharSlots'  => 12,
   'DateTimezone'  => null,	   // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones)
   //'ResetDenyMaps' => 'sec_pri',  // Defaults to 'sec_pri'. This value can be an array of map names.
   //'Database'	  => 'ragnarok', // Defaults to DbConfig.Database
   'CharServer'    => array(
 'Address'   => '127.0.0.1',
 'Port'	  => 7027
   ),
   'MapServer'	 => array(
 'Address'   => '127.0.0.1',
 'Port'	  => 7028
   ),

When i tried to log in:-

1-4.png

Anyone know how to fix this?

3 answers to this question

Recommended Posts

Posted

You tried to change the 'Database' field inside each server array ?

//'Database'  => 'ragnarok', // Defaults to DbConfig.Database 

Is intuitive that this is for ur purpose but i haven't tested yet.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...