Creating 2 Realmd in WoW Mangos Private Server

Reaper-X | Oct, 20 2007 Comment89 Comments RelatedRelated Posts Bookmark and ShareShare RSS SubscribeRSS Feed

Some people have requested a guide on how to create or link their WoW Private server realmd so their users can choose whatever realmd they want to login to (for example, the first realmd is the PVP World, while the second realmd is to those who prefer normal world) :) … and that’s why i decided to create this guide, and hopefully it’ll be not confusing (i tried my best to make it easy to understand but you judge it by yourself) :)

So here goes the guide :

Requirements :

1. Basic knowledge about MySQL and know how to use MySQL Client program such as Navicat, SQLYog, or PHPMyadmin :)

2. Have lots of free memory / RAM left for best result (i’m using 3GB DDR2 Dual Channel RAM)

3. Mangos already worked and you can use it before trying to attempt this ;)

Note : Depending on which mangos revision you’re using the realmd column might be different (if you’re using my 4602 version then you can just use the same sql query as shown in this example)

also as a side note, you just need to have 1 account to login to each realmd, but it’ll use different data inside each database used

Here are the steps :

1. First make a copy of your mangos (or your mangos directory), so in the end you’ll get two mangos directory, in this example i was using my own compiled version 4617 (my latest version which is available for download for everyone is 4602)

Mangos directory

2. Now you’ll need to create a new realmd id as shown on below image, and you can use below sql query if you’re using my 4602 release but if you’re using lower version, there are two option for you to choose : 1. Upgrade or 2. Adjust the column name accordingly

Mangos new realmd

The above query will automatically assign REALMD ID 2 as it’s ID Number if you didn’t touch anything before in realmd table, and another thing to note is use different value for the WORLD Server PORT (in this example i’m using 8086

3. After finished with the above process, now of course you’ll need to create new Mangos Database first for your second realmd, and to do this we need to create a new database and then import the Mangos-UDB.sql file (if you’re using my 4602 release) or adjust it as necessary if you’re using another release, see below image for the example :

3.1 Creating New Mangos Database

Create new mangos db

or type mysqladmin -u root -p create database-name … if you can’t see the command used on above image

3.2 Importing Mangos DB

Import mangos db

After finished creating new database for your second database, now you’ll need to import the fully working database from before into your newly created mangos database (if you’re using my 4602 release, the database name was called mangos-udb.sql and can be found in reaper-eazy-mangos folder)

4. Now you just need to go inside your second mangos directory which is created at step #1 and then open mangosd.conf inside that directory and search for this line :

RealmID = 1

and replace it with :

RealmID = 2

and then search for :

GameType = 1

replace it with :

GameType = 0

and now search for :

WorldDatabaseInfo = “127.0.0.1;3306;mangos;mangos;mangos”

and replace it with :

WorldDatabaseInfo = “127.0.0.1;3306;root;yourpassword;yoursecondmangosdatabasename”

lastly search for :

WorldServerPort = 8085

and replace it with :

WorldServerPort = 8086

The above step was done because the previous mangos user doesn’t have the privilege to touch that new database name so we need to use root that has global privilege (this is the most quickest and dirtiest way) :P

As a side note, it’d be better for you to create new username for your second database and grant privilege to it for better security (it’s not good to use root account) :)

5. Run the realmd.exe from any of your mangos directory (the first directory which was there before, or the new mangos directory which is created for this purpose), and then run mangosd.exe from the first directory and the second directory

So that result in three new process created … 1 realmd.exe, and 2 mangosd.exe from different directory

6. Now login with your previous username or create a new username and if you’ve done all of the above steps correctly you’ll see two realmd that you can use as shown on below image :

6.1 Realmd Selection Screen

Realmd selection screen

6.2 The first Database With all the characters from before (i think you already saw my character for each screenshot used lol)

First wow realmd

6.3 The Second Realmd which is used for this guide

Second wow realmd

That’s it … i hope you can understand the above explanation … and just like before, if i missed anything just let me know about it :)

Bookmark and Share

Leave a comment

Comments

  1. weiss935 Jan 26, 2008 at 8:50 PM

    when i open the second mangosd it just stood could not connect to mysql database at Ô127.0.0.1: unknown mysql server host ‘Ô127.0.0.1′

    Cannot connect to world database Ô127.0.0.1

  2. Steve Jan 26, 2008 at 10:24 AM

    im having this same problem you create a character in one realm and when u switch realms the character is on the second realm can this be resovled?

  3. Jeremy HELP Jan 24, 2008 at 6:38 AM

    -d unknown command.

    Any reason?

    *******************************
    C:\Documents and Settings\Jeremy>mysql -umangos -pmangos -d realmd
    mysql: unknown option ‘-d’
    ********************************

  4. bloody Jan 22, 2008 at 10:38 PM

    like:
    setgm bloody 3
    for admin =D

  5. bloody Jan 22, 2008 at 10:37 PM

    acount ranks can be changed on 2 ways,
    easy in mangosd.exe or some harder in sqlyog

    -open mangosd.exe and type setgm ‘name’ ‘rank’
    3 = admin
    2 = gm
    1 = moderator
    0 = player

    or the harder way:
    -open sql yog, go to the realmd db,
    then to account and search for the player and set his rank (collum nr. 4)

  6. n1t3 Jan 20, 2008 at 3:07 AM

    having problems with characters in the two realms. the characters from realm 1 are being used in realm 2 is there a way to fix that? or am i missing a step on here…

  7. Aaron Dec 29, 2007 at 8:58 AM

    my server is working fine i just forgot how to change my accounts ranks

  8. Fan of Reaper Dec 29, 2007 at 8:47 AM

    How do you change your gm accounts ranking?

  9. Fan of Reaper Dec 29, 2007 at 8:45 AM

    hey i was just wondering how do you change your gm character’s rank

  10. ryan Dec 26, 2007 at 3:45 PM

    well i did everything it said, but then for some reason when i try to log into the second server it says “cannot connect”
    im lost

  11. Laxen Dec 25, 2007 at 9:56 AM

    For all of you still looking for working DBC files /having problems with extracting your own can do what I did. I downloaded the latest ASCENT server and used the DBC files for the reaper-x-mangos server. worked perfectly.

    Thanks reaper and a merry christmas!

  12. bassman Dec 19, 2007 at 3:43 AM

    hey reaper i am having trouble with getting my world friends on my server my server is up and running but my netherlands friends can’t get on it what am i doing wrong please help me thank you

  13. Oskii Nov 29, 2007 at 9:30 PM

    hello reaper, first of all i want to ty for all the guides u have posted. and second if possible i need some help with the account site for others to create their own accounts instead of me doing manually. email= s457l9a1321@hotmail.com

  14. Crono Nov 24, 2007 at 10:58 AM

    How can i make 2 mangosd.exe to run in one Mangos Restarter? I made 2 realms…but i need to make the restarter to work for both…what shoul i do?

  15. Omfgimanoob Nov 23, 2007 at 6:26 PM

    sorry..lol i meant server not website :P

  16. Omfgimanoob Nov 23, 2007 at 6:26 PM

    yo..reaper, i have stared a web site using shadowhunters repack (mangos) my problem is that when i use the speed commands i get stuck i cant move at all.. u know what this is or how i can fix it? =:)

  17. SauronTheGreat Notavailableyet Nov 16, 2007 at 9:46 PM

    Ok, now I found anything, it says error, that mysql server isnt correct :/

  18. SauronTheGreat Notavailableyet Nov 16, 2007 at 3:42 AM

    Also: Realm shows to be offline -.- and this WorldDatabaseInfo = “127.0.0.1;3306;mangos;mangos;mangos” cannot be found, even if you uses WORLD as key word -_- …

  19. SauronTheGreat Notavailableyet Nov 15, 2007 at 8:55 PM

    :S Ok, thanks great guide, but :S how can I remove realm ? Coz I have one incorrect ;S out of three ;S thx again ;S

  20. EZ-Mouse Nov 15, 2007 at 8:00 PM

    A really short (and proudly hard to understand guide) about to connect internet realms to your logon server

    first stem, in the logon server db, create a list whit all Id Names and IP (and ports if necesary) of your internet realms, i.e:

    (shown as vertical fields)
    ——————————————–
    id: 1
    name: internet server 1
    address:
    port:
    icon: 0
    color: 0
    timezone: 0
    allowedSecurityLevel: 0
    population: 0
    ——————————————–
    Repeat many time how realm u want to mount (changing the ID in ALL cases)

    THEN be sure all your internet realm can work perfect as local realms, if work, ok, we can continue, if all work good, then edit your mangosd.conf and change that configurations parameters only!

    RealmID = 2
    (REMEMBER: must match the realmlist on the db logon serv!!!!!)

    GameType = 1
    (or 0 NORMAL 1 PVP 4 NORMAL 6 RP 8 RPPVP)

    –and—
    LoginDatabaseInfo = “;;;;realmd”

    i.e.:
    LoginDatabaseInfo = “243.45.159.45;3306;mangos;mangospws;realmd”

    the rest of connections can keep being local adresses on each realm

    ok, we are ready, now, we can up our realmlist

    run the REALMD.EXE on the logon server

    then.

    run the MANGOSD.EXE (ONLY don’t run the realmd.exe) on each internet realm.

    if all your connection to the logon db on each realm work then u have a wow serv whit internet_realm_list

    NOTE: make sure your logon serv can see your realms, and your realm can see the logon serv, and their DB (whit te respectives permision for insert, delete, update…etc, u know what permission need ;))

  21. Reaper-XReaper-X Nov 15, 2007 at 7:16 PM

    # Snurro

    Yes, currently i’m working on it .. and hopefully it’ll be not confusing as this one (that’s why it took me a while to write it lol)

    # EZ-Mouse and Sscutlima

    Glad to know it works for you too :)

    # SauronTheGreat

    Lol … ah actually as long as you have mysql installed, then you can do it too

    here’s a manual step on how to do it :

    1. open command prompt
    2. type :

    mysql -umangos -pmangos -D realmd

    INSERT INTO `realmlist` VALUES ( NULL, 'YOUR SECOND REALMD NAME', '127.0.0.1', 8086, 0, 2, 0, 0, 0 );

    to see if you’ve done it correctly type :

    SELECT * FROM `realmlist`;

    and see if you can see your newly created realmd name after typing the above SELECT ;)

  22. SauronTheGreat Notavailableyet Nov 15, 2007 at 3:48 AM

    lol luckers, all I got is giant list of mistakes, and wtf this programm needed in 2nd step ? -_-

  23. Sscutlima Nov 14, 2007 at 11:29 PM

    Ya, finally got mine to work, have the same sort of set up as EZ-Mouse, with one logon db.

  24. EZ-Mouse Nov 14, 2007 at 9:26 PM

    I mount 2 local realm + 1 remote realm (internet on another city) (3 realms) whit only 1 logon db, and work perfect!!!!

  25. SauronTheGreat Notavailableyet Nov 14, 2007 at 8:02 PM

    Lol, the whole thing I was trying to make this damnit second realm, I didnt get anything with this step one, omfg ! Do I have to download it !? And what is it querty pfft … From all understendable so easy guides I found this one the most hardable to understend, and I still dont get first step with this damn programm sql or something, on how this working and etc !! What is it actually ? And can you share download link ???? Would be perfect -.- … Anyway thanks for ‘ good ‘ guide.

Comments Navigation 1 2 3 4

Trackbacks/Pingbacks

    You may use these HTML tags and attributes:

    <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>