Jump to content
  • 0

Need help about flux cp in dual server in 1 cllient


azze25

Question


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

I have 2 servers in 1 client. One is renewal, and the second is pre-renewal. I was just wondering how can I configure my Flux so that players can manage their characters in either both of the servers? I am using 1 login server only with different map and character server.

Thanks

Edited by azze25
Link to comment
Share on other sites

12 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

Try to contact Jupeto.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

Here's a sample setting.

and how it should look like

2jfoz5.png

servers.php

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

Thanks Syrx. I'll try to send a message to him :D

Thanks Syrx. I'll try to send a message to him :D

Thanks Syrx. I'll try to send a message to him :D

@ clydelion, oh yes! thank you so much. let me try this..

@clydelion, i have an error when logging in : Unexpected error occurred, please try again or report to an admin.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

application.php

'DebugMode'		    => true,   

error.php

$showExceptions  = true;     

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

here's the error:

Error: Flux_Error

Message: MySQL error (SQLSTATE: 42S02, ERROR: 1146): Table 'ragnarok.cp_credits' doesn't exist

File: /home/revolut/public_html/lib/Flux/Connection/Statement.php:27

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  15
  • Topics Per Day:  0.00
  • Content Count:  520
  • Reputation:   64
  • Joined:  11/19/11
  • Last Seen:  

Table 'ragnarok.cp_credits' doesn't exist

Check your database here.

array(
'ServerName'	=> 'FluxRO2',
'BaseExpRates'  => 200,
'JobExpRates'   => 200,
'MvpExpRates'   => 200,
'DropRates'	 => 25,
'MvpDropRates'  => 25,
'CardDropRates' => 25,
'MaxCharSlots'  => 9,
'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'	  => 'ragnarok2', // Defaults to DbConfig.Database
'CharServer'	=> array(
'Address'   => '127.0.0.1',
'Port'	  => 6121
),
'MapServer'	 => array(
'Address'   => '127.0.0.1',
'Port'	  => 5121
),

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  13
  • Topics Per Day:  0.00
  • Content Count:  48
  • Reputation:   0
  • Joined:  11/21/11
  • Last Seen:  

I already configure the array for the 2nd server. Here's what i got:

'ServerName' => 'Freyr',

'BaseExpRates' => 500000,

'JobExpRates' => 500000,

'MvpExpRates' => 500000,

'DropRates' => 25,

'MvpDropRates' => 15,

'CardDropRates' => 10,

'MaxCharSlots' => 9,

'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' => 'ragnarok2', // Defaults to DbConfig.Database

'CharServer' => array(

'Address' => 'xxxxxxx',

'Port' => 6122

),

'MapServer' => array(

'Address' => 'xxxxxx',

'Port' => 5122

),

whats with the credits table?

EDIT:

Everything is fine. I just added the credits table manually. thank you all :D

Edited by azze25
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  754
  • Reputation:   186
  • Joined:  05/22/12
  • Last Seen:  

try reinstalling your cp,

http://yoursite.com/?module=install&action=reinstall

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  308
  • Reputation:   24
  • Joined:  11/26/12
  • Last Seen:  

Nice guide!!!

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  84
  • Topics Per Day:  0.02
  • Content Count:  550
  • Reputation:   9
  • Joined:  11/06/12
  • Last Seen:  

how about for the registration?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  161
  • Reputation:   5
  • Joined:  02/07/13
  • Last Seen:  

Here's a sample setting.

and how it should look like

2jfoz5.png

 

Is 'servers.php' still available?

When I try to download it, I get an error.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   1
  • Joined:  06/18/14
  • Last Seen:  

/no1  /no1  /no1  /no1  /no1  /no1  /no1  /no1  /no1

Link to comment
Share on other sites

×
×
  • Create New...