Jump to content

2 Realms


Guest Betaman2k

Recommended Posts

Heya

who can help me

i have 2 cores, 2 World DB´s, 2 Charaters

now my problem

1 Realm ( mysql realmd, two realmlist ) with 2 world dbs and 2 charaters dbs works all good, !

Now i wanna get 2 Realms ( accounts on 2 realms different ) with 2 world dbs and 2 charaaters dbs

First config

mangosd.conf

RealmID = 1

DataDir = "/opt/emu/335/"

LogsDir = ""

LoginDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;realmd1"

WorldDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;world1"

CharacterDatabaseInfo = "127.0.0.1;3306;mangos;xxxxx;chars1"

MaxPingTime = 30

WorldServerPort = 8085

BindIP = "0.0.0.0"

------------------------------------

First config

realmd.config

LoginDatabaseInfo = "127.0.0.1;3306;mangos;xxxxx;realmd1"

LogsDir = ""

MaxPingTime = 30

RealmServerPort = 3724

-------------------------------------

--------------------------------------

Second config

mangosd.conf

RealmID = 2

DataDir = "/opt/emu/335/"

LogsDir = ""

LoginDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;realmd2"

WorldDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;world2"

CharacterDatabaseInfo = "127.0.0.1;3306;mangos;xxxxx;chars2"

MaxPingTime = 30

WorldServerPort = 8086

BindIP = "0.0.0.0"

--------------------------------------

Second config

realmd.config

LoginDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;realmd2"

LogsDir = ""

MaxPingTime = 30

RealmServerPort = 3725

Now my problem second realm invisble, but running, nobody can connected on the second realm, only the first

if i change this on Second config

mangosd.conf

RealmID = 2

DataDir = "/opt/emu/335/"

LogsDir = ""

LoginDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;realmd1"

WorldDatabaseInfo = "127.0.0.1;3306;mangos;xxxx;world2"

CharacterDatabaseInfo = "127.0.0.1;3306;mangos;xxxxx;chars2"

MaxPingTime = 30

WorldServerPort = 8086

BindIP = "0.0.0.0"

and kill the Second config realmd.config

and start all new without the second config realmd.config ( works all fine, but use ONLY one realmd1, all game account for 2 realms, i wanna get 2 games accounts realms )

i hope u understand me :)

regards

betaman

Link to comment
Share on other sites

Vladimir, about such "problem" with different GM ranks and GMs on realms. Trynity users used separated table calles "account_acces". Why not tu use something similar(even with config option "Old style acces"\\"New style acces" ).

I know "trynyti is hacked..it's not good, they al blah blah blah. But some their ideas are preety good.

Link to comment
Share on other sites

Not point to trinity, lol. Originally patch (maybe only similar) has been writed and suggested at this forum and then i rewrite it for working state and post at this forum also. Main reason that it not has been added in repo in referenced time because it will add some slowdown to code work for most wide cases when this not need (not need have diff GMs at realms).

When you talk at some feature you must understand that in most cases feature add not only possibilities but also problems.

Slowdown in code work and more resources use most common cases. Not all features bad sides can be avoid just disable its by some option,

because sometime related code can't be guarded and excluded from use in this way. So need always compare good/bad sides.

Maybe related feature more wide expected that i am think and can be added to repo. I still not sure about.

Link to comment
Share on other sites

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use