PDA

View Full Version : [Tutorial] How to setup your server for public and have a 2nd realm on a 2nd computer


luke9511
11-26-2007, 06:10 PM
i hope this tutorial helps out alot of people, also this is being done without hamachi

Step 1: Download a repack, i suggest ac web repack 7.3 which is what im using for this tutorial.

Step 2:Once downloaded double click on the ac-web repack.exe and install it to your C:\ drive(or which ever drive your windows install is on)

Step 3:Goto My Computer>C: drive>AC Web Ultimate Repack>Ascent.

Step 4:Open the Map extracter file and extract the contents to your world of warcraft folder and run ad.exe, remember to extract the one thats for your version of the game, enGB for euro and enUS for those with the US version.

Step 5:Open ascent.conf and look for the following line(s)
<Listen Host = "0.0.0.0"
WorldServerPort = "8129">
make sure its set to 0.0.0.0 like above then close and save your changes if any.

Step 6:Open logonserver.conf and edit the following line(s)
<Listen Host = "0.0.0.0"
ISHost = "0.0.0.0"
RealmListPort = "3724"
ServerPort = "8093">

<Client MinBuild = "6739"
MaxBuild = "7561">

Now make sure the Listen Host and ISHost are both set to 0.0.0.0, now set the Client MinBuild to 1 and the MaxBuild to 9999.

Step 7:Open realms.conf and edit the following line(s)
<LogonServer Address = "127.0.0.1"
Port = "8093"
Name = "logon"
RealmCount = "1">

make sure its set to 127.0.0.1, now scroll down to the bottom and edit the following line
<Realm1 Name = "Realm 1 - Low Xp"
Address = "127.0.0.1:8129"
Icon = "Normal"
Colour = "1"
Population = "1.0"
TimeZone = "1">
give the Realm name a name of your choice like i did above and set the Address to your external IP, to find your external IP go to http://www.whatismyip.com

and thats it realm 1 is now setup.

ok now that the first realm is set up lets move on to realm 2.

Step 1:Install the repack on a 2nd computer and then copy the maps folder from your first realm to your 2nd by burning them to a cd or using a usb drive or something like that.

Step 2: Download and install either navicat sql or hedisql and install it and open it, under connection put 127.0.0.1 and put in login as root and password as ascent(im using navicat for this tutorial).

Step 3:In navicat right click on the ascent database and choose manage users, now click Add User and put in a user name and password and for host put in the internal ip of the computer that realm 2 is going to be on, to find out the internal ip of the computer, goto start>run>type in cmd and a command window will come up, just type in ipconfig /all and your internal ip will look something like this 192.168.0.101, now take that and put it in the host box for the user in navicat, once the new user has been made make sure to check all the check boxes for that user and then click save.

Step 4:Right click in the left hand window in navicat and click New Database and give it a name like logon2, next right click on the logon database and click dump sql file and name it logon2, now right click on the logon2 database and choose execute batch file, when the new window comes open under the file box click the little box with the 3 ... in it and goto the sql file we made and choose ok.

Step 5:Once that is done click the + symbol next to the logon2 database and click on tables and then open the character table and delete the characters in there(NOTE:this will not delete the characters from the other logon database).

Step 6:Minimize navicat and go back to your ascent folder and open ascent.conf and edit the following lines.
<WorldDatabase Hostname = "localhost" Username = "root" Password = "ascent" Name = "ascent" Port = "3306" Type = "1">
<CharacterDatabase Hostname = "localhost" Username = "root" Password = "ascent" Name = "logon" Port = "3306" Type = "1">

now set the host name to the internal ip of the computer with the first realm, set the username and password to the new user we made in navicat, now scroll down a bit and edit the following lineWorldServerPort = "8129"> change the 8129 to something else and make sure you forward the port for it in your router to that computer or else this wont work, also change the name in characterdatabe Name = "logon" to Name = "logon2",close and save the changes.

Step 7:Now open logonserver.conf and edit the following lines
<LogonDatabase Hostname = "localhost"
Username = "root"
Password = "ascent"
Name = "logon"
Port = "3306"
Type = "1">

change the hostname to the ip where the first realm is, now scroll down and edit this line <Client MinBuild = "6739"
MaxBuild = "7561"> like before change the minbuild to 1 and the maxbuild to 9999.

Step 8:Last step yay, open realms.conf and edit the following lines
<LogonServer Address = "127.0.0.1"
Port = "8093"
Name = "logon"
RealmCount = "1">
change the logonserver address to the ip of the computer with the first realm.

<Realm1 Name = "Realm 2 - High Xp"
Address = "127.0.0.1:8130"
Icon = "Normal"
Colour = "1"
Population = "1.0"
TimeZone = "1">
first change Realm1 to Realm2 and change the name like above and set the address to your external ip and the port to the new port like above, startup the server that realm 1 is on first and once its fully up just run the ascent server on realm 2 and thats it, if you have any questions or problems please feel free to post here and also i will be makeing a better version of this sometime later, anyway goodluck and have fun.

p.s.dont forget to forward the following ports in your router
3036
3724
6881-6999
8129
2093
6112
8050
8245
3306
80

jespere
11-26-2007, 06:14 PM
nice... i think

Remus
11-30-2007, 09:21 PM
... now do one that uses multi realms on ONE computer, some of us dont have more than 1 computer capable of using so much memory, it is easier for it all to be on one computer, in my opinion.

Timidoes
12-24-2007, 09:46 PM
Very nice it's worked by me !

bdrumm
12-30-2007, 03:23 PM
Thanks!

und3ad
12-31-2007, 11:35 AM
cheers we need more people like you

Crysis
01-21-2008, 01:18 PM
Nice thx!

Raman
01-31-2008, 01:48 AM
... now do one that uses multi realms on ONE computer, some of us don't have more than 1 computer capable of using so much memory, it is easier for it all to be on one computer, in my opinion.

Sometimes, for big servers, it's better to have 2 dedicated hosts for 2 realms, so if you had both realms on one computer, and the computer had 1gb of memory, each realm can only hold 500 players each. If you have 2 dedicated hosts, each realm will be able to hold 1000 players. Of course, this is for the BIG servers, and I'm just making a point. This is my opinion, it's not a fact. And I respect everyone's opinions.

BTW, nice guide +rep!

PS: Mind if I use this guide in my All in One Guide? You'll get credited.

achawk
06-04-2008, 05:00 PM
KaN iT bE dOnE wItHoUt HaMaChi ?????

prince1209
06-05-2008, 03:10 AM
tanx that was nice

shuggee
06-05-2008, 05:20 AM
does this work if the computers have different ips?

jackbn3211
06-05-2008, 02:33 PM
HELP ME ANY ONE I CANT do it to work here is my email plz help me jackl-bn123@hotmail.com

die255
06-11-2008, 09:49 PM
i did every ting u told me and it dosent work =( help me plz

nvm i got it working TY SO MUCH!!!!!!!

derrick1123
06-13-2008, 05:27 AM
I don't understand why this is not working. Does the MAP folder make 100% of the difference? I am serious...does the maps folder REALLY make that big of a difference?

derrick1123
06-14-2008, 05:32 AM
Well I got another realm up, thank you.
Is there a rule to have only up to 2realms at a time? Every time I do:
<Realm3 Adre...
>
It won't let me connect, and gives my ascent an error. How can this be possible?

Still coming back to this topic, why would you put 120.0.0.1?
If I were using 2 computers I would at least use it on the same network (192.168.0.103:1830)
If I wanted to allow multiple computers from around the world for my realms, what would I enter in as the IP?

Tyle
03-30-2009, 08:38 PM
i gatta say...

Blizzard has the servers on 1 computer for EU and 1 computer for US. or atleast plenty of them.

how come we cant do it. and btw.. there are allot of private servers that got 2 realms on 1 computer. jsut go to Xtremetop100 and look for some server like.. Epic WoW, they got 4 realms on 1! computer..