|
You last visited: Today at 17:30
Advertisement
Adding New Cluster
Discussion on Adding New Cluster within the Flyff Private Server forum part of the Flyff category.
03/27/2013, 12:42
|
#1
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Adding New Cluster
Hi elitepvers,
I am having some trouble with adding an sec cluster.
What i have done so far.
MAIN SERVER
AccountServer.ini
AddTail( -1, 1, "****", "127.0.0.1", 1, 1, 0 );
AddTail( 1, 1, "LowRate 1-1", "127.0.0.1", 1, 1, 600 );
AddTail(-1, 2, "*****", "192.168.1.103", 1, 1, 0);
AddTail( 2, 1, "HighRate 1", "192.168.1.103" 1, 1, 600);
CoreServer.ini
Sys 2
Database "192.168.1.103"
PartyExpRate "5"
0102
LoginServer.ini
DB "127.0.0.1"
Core "127.0.0.1"
// CACHE
AddCache( "127.0.0.1" );
AddCache( "192.168.1.103" ); //Ip adress Second server
MSG_VER "4487531478"
//NPROTECT
SECOND SERVER
CacheServer.ini
Core "192.168.1.101" //Ip adress main server
LoginServer.ini
AddCache ( "127.0.0.1" );
AddCache ( "192.168.1.101" );
The i am running these files
AccountServer
DatabaseServer
CoreServer
CorseServer2
CacheServer
Certifier
LoginServer
WorldServer
On the 2nd server
CacheServer
LoginServer
WorldServer
The problem is with the 2nd server is that the LoginServer closes right away when you launch it.
Anyone can tell me what i am doing wrong in this?
I dont see it anymore.
|
|
|
03/27/2013, 12:48
|
#2
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
The Most inis are wrong. You ne only 1 account and certifer server.
All other Server have to be 2.
Root 1:
Account Server
Certifier Server
------
Cluster 1:
Database Server "1"
Core Server "1"
Login Server "1"
Cache Server "1"
World Server "1"
Cluster 2:
Database Server "1"
Core Server "1"
Login Server "1"
Cache Server "1"
World Server "1"
You need a ODBC Connection from the Cluster 2 Server to the mssql database and a connection to the account and database server.
|
|
|
03/27/2013, 14:17
|
#3
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Thank you for it. I have changed some files and everything is starting now.
I have only 1 problem to go
in AccountServer.ini i have this
AddTail( -1, 1, "****", "127.0.0.1", 1, 1, 0 );
AddTail( 1, 1, "LowRate 1-1", "127.0.0.1", 1, 1, 600 );
AddTail(-1, 2, "*****", "192.168.1.103", 1, 1, 0);
AddTail( 2, 1, "HighRate 1", "192.168.1.103" 1, 1, 600);
But when i launch the Neuz i see 2 clusters but only 1 channel for cluster 1.
So the 2nd cluster doesnt have an Channel.
I have edited CoreServer2.ini to this
Sys 2
Database "192.168.1.103"
PartyExpRate "5"
0201
|
|
|
03/27/2013, 14:46
|
#4
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
AddTail( -1, 1, "Cluster 1", "IP CLUSTER1", 0, 1, 0 );
AddTail( 1, 1, "Channel 1", "IP CLUSTER1", 1, 1, 100 );
AddTail( -1, 2, "Cluster 2", "IP CLUSTER2", 0, 1, 0 );
AddTail( 2, 1, "Channel 2", "IP CLUSTER2", 1, 1, 100 );
|
|
|
03/27/2013, 15:09
|
#5
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Well thanks for it i am seeing the channel on cluster2 so thats working.
But still i dont get it i have followed much guides on it and i dont have problems with scripting but this is bugging me.
When i log in it will log me in into cluster 1 no matter what i do.
So could this be an ini problem? or is there something else thats giving me the problem?
Atm i am lost in this.
|
|
|
03/27/2013, 15:34
|
#6
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
You need two databases and for each server at cluster two the odbc conntection
|
|
|
03/27/2013, 15:48
|
#7
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Yes i am aware of that.
Ke let me explain what i have now
Server1
Mssql with odbc
AccountServer.ini
AddTail( -1, 1, "Cluster 1", "192.168.1.101", 0, 1, 0 );
AddTail( 1, 1, "Channel 1", "192.168.1.101", 1, 1, 100 );
AddTail( -1, 2, "Cluster 2", "192.168.1.103", 0, 1, 0 );
AddTail( 2, 1, "test 2", "192.168.1.103", 1, 1, 100 );
CacheServer.ini
Core "192.168.1.101"
Port "15400"
Certifier.ini
Account "192.168.1.101"
DSN_NAME_LOGIN "login"
DB_PWD_LOGIN "****"
CoreServer.ini
Sys 1
Database "192.168.1.101"
PartyExpRate "5"
0101
LoginServer.ini
DB "192.168.1.101"
Core "192.168.1.101"
// CACHE
AddCache( "192.168.1.101" );
AddCache( "192.168.1.103" );
MSG_VER "4487531478"
//NPROTECT
Server1 CoreServer2
CoreServer.ini
Sys 2
Database "192.168.1.103"
PartyExpRate "5"
0201
Server2
Mssql with Odbc
DatabaseServer.ini
Sys 2
Account "192.168.1.101" //<-Ip of Server1
WorldServer.ini
Sys 2
Key 0102
Core "127.0.0.1"
DB "127.0.0.1"
Account "127.0.0.1"
CacheServer.ini
Core "127.0.0.1"
Port "15400"
Certifier.ini
Account "127.0.0.1"
DSN_NAME_LOGIN "login"
DB_PWD_LOGIN "*****"
CoreServer.ini
Sys 2
Database "127.0.0.1"
PartyExpRate "5"
0201
LoginServer.ini
DB "192.168.1.101"
Core "127.0.0.1"
// CACHE
AddCache( "192.168.1.103" );
MSG_VER "4487531478"
//NPROTECT
Starting it like this
Server1
AccountServer.exe
DatabaseServer.exe
CoreServer.exe
CoreServer2.exe
CachServer.exe
Certifier.exe
LoginServer.exe
WorldServer.exe
Server2
DatabaseServer.exe
CoreServer.exe
CacheServer.exe
LoginServer.exe
WorldServer.exe
Bump
Update
Oke everything is fireing up. The only problem now is
That on both clusters the same DB is active.
I already have insert into main server.
CHARACTER_02_DBF and LOGGING_02_DBF
and setup the ODBC on the 2nd server.
However still if i am going to log in it will log me in into Cluster1 and not cluster2
Any one have an idea in this matter?
bump
|
|
|
03/28/2013, 15:56
|
#8
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Update
Well i have some changes now
When logging into flyff
i have now 2 different chars in both clusters so its not the same chars anymore.
However still when i am going to cluster 2 i cant connect to it.
Anyone has some experience in this matter?
|
|
|
03/28/2013, 16:09
|
#9
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
on my server there are to clusters.
You need two databases and two root servers.
you need to edit something in the source because database server and so on don't read the conntection from the ini files.
|
|
|
03/28/2013, 16:14
|
#10
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Can you tell me where i need to look in the source what kind of file?
So i can take an look into it.
|
|
|
03/28/2013, 16:32
|
#11
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
I will not give you all files...
Look in the source.
|
|
|
03/28/2013, 16:34
|
#12
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
I didnt asked for the files.
I asked where should i look? maybe an Clue in this matter
I have 2 Servers and 2 databases. So thats not the problem
The only problem i am experience is that i cannot connect to the 2nd cluster.
So i need to have an clue an where to look. From there on i can figure it out.
|
|
|
03/28/2013, 17:23
|
#13
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
YOU HAVE TO CHANGE SOME THING IN THE SOURCE FILES.
But you have to search on our own. I have don it successfull before. It's only a thing of logical
|
|
|
03/28/2013, 17:48
|
#14
|
elite*gold: 0
Join Date: Oct 2012
Posts: 948
Received Thanks: 157
|
Wow i realy aprriciated your help for nothing.
I will ask you this Do i need to search for this?
__SERVERLIST0911
|
|
|
03/28/2013, 17:52
|
#15
|
elite*gold: 10
Join Date: Feb 2011
Posts: 1,760
Received Thanks: 501
|
No.
Look in the Database core login server and so on
|
|
|
|
|
Similar Threads
|
Adding NPC's and Adding Items in Shopping Mall
03/19/2015 - CO2 Private Server - 21 Replies
Hello there,
I have an 5518 source; Albetros Source.
Now I have a few questions about it.
1. How do you add new NPC's and where can I find them in the Source?
2. How to add items in the Shopping Mall. I tried a few things but that didn't helped me alot.
3. How to set game char to GM. I tried to give it 5 but that didn't helped either. I looked in the Commands file and that was 5. But it didn't helped.
Thanks...
|
[Request Help] In adding new Uniques Spawn + adding its notice
03/14/2013 - SRO Private Server - 13 Replies
Hello ...
I am learning some DB Editing ..
i wanted any one to explain HOW TO ,
add new unique spawn at one place , like add a Devil shitan at jangan door ever 2 hours from last kill ..
++ i wanted to know how to add Unique Notice ..
like " Demon shitan has appeared in Roc Mt. "
|
2 Cluster
07/17/2012 - Flyff Private Server - 3 Replies
Hey Leute ich plane grad eine Multi Cluster Konfiguration und habe eine Frage dazu.
Erstmal vorweg sollen die Cluster auf 2 Roots liegen, um die Infrastruktur zu verbessern usw..
Es geht auch alles soweit, als dass man sich einloggen kann, aber wenn der Account, der nur in der ACC DB auf Root1 liegt, nicht auch auf Root2 liegt hat der Char instant Adminrechte ;)
Darauf haben wir die Account Dbf mal auf den zweiten Root kopiert, und die Accounts die bis dahin registriert waren haben...
|
All times are GMT +2. The time now is 17:30.
|
|