Making A Realm

GrUnGe

Member
Joined
Jul 19, 2003
Messages
13
Reaction score
0
Location
WI, USA.
Website
Visit site
I was wondering, if someone could post a guide (Yes it will be pretty big and lots of people with lots of questions) on how to make your own realm. I think all of us here would be very thankful, ~Peace~
 

Guru

Premium Member
Joined
Dec 5, 2002
Messages
4,530
Reaction score
0
Location
North Carolina
Website
Visit site
I've never made a realm before, but I'm sure it wouldn't be easy. If some one were to make a guide it would defiantly get a sticky.
 

YeoKeh

Battleforums OG
Joined
Dec 22, 2002
Messages
2,332
Reaction score
0
Location
Hayward
Download the latest version of PvPGN from here. The setup, described below, will allow you to play Warcraft II Battle Net Edition, Warcraft III Reign of Chaos, Starcraft, Starcraft Brood War & Diablo. You will be unable to play Diablo II or Diablo II Lord of Destruction since they require d2cs, d2dbs and / or d2gs / D2Closed which is not discussed in this section.

I suggest getting your PvPGN server to work first before pursuing the d2* programs since you will be unable to use those programs unless PvPGN is setup & working properly. Also, make sure that a Warcraft III loader is being used to connect to non-official Battle.net servers, when connecting with Warcraft III.

To install PvPGN:


Simply run the exe file by double/single (depending how your system is setup) clicking on it.


Follow the instructions in the installer & click on finish to exit the installer when it's complete.

If you are using Windows XP, 2000, ME, or NT, you might want to consider installing PvPGN as a service instead, though this is not required.

To install PvPGN as a service, run the install program using the "-s install" switch. Example:


c:\pvpgn1.4.4.exe -s install

Setup will say that it is "Installing as a Service".

To start the PvPGN service, click on:


Start

Settings

Control Panel

Administrative Tools

Services

Select the PvPGN service & click on the play like looking button to start the service

If your experiencing problems, the exe file that you want to use as the service may need to be renamed to PvPGNEliteService.exe .

If you want to uninstall the PvPGN service, run the install program again using the "-s uninstall" switch. Example:


c:\pvpgn1.4.4.exe -s uninstall



Now that PvPGN is installed. We need to configure PvPGN correctly before we can use it. Go to the location where you installed PvPGN. All of your configuration files, such as the bnetd.conf & log files are located there in sub-directories.

The default installation path is:


c:\program files\the player -vs- player gaming network\pvpgn



Go to c:\program files\the player -vs- player gaming network\pvpgn\etc & edit the bnetd.conf file with a text editor such as Notepad or Wordpad.

Their really are only 3 things that must be changed in the bnetd.conf file to get PvPGN running. For now, leave all other settings alone, PvPGN should work just fine without changing any other settings. Only change the settings specified below:

In the bnetd.conf file, look for the "Message Logs" section. Change the loglevel to the following:


loglevels = fatal,error,warn,info,trace,debug
This tells PvPGN to log all possible errors including initialization, MySQL & connection errors.

Scroll down until you get to the "Server Network Info" section. Change the servaddrs to the following:


servaddrs = "0.0.0.0:6112"
This will tell PvPGN to listen on port 6112 for both the TCP & UDP ********s, for all IP addresses on your computer.

For the last line that needs to be changed in the bnetd.conf file, simply scroll down a few lines and change the w3routeaddr, which is also under the "Server Network Info" section, to the following:


w3routeaddr = "X.X.X.X:6200"
Replace X.X.X.X with your IP address. This must be a specific IP address or a domain name such as www.pvpgn.org, 0.0.0.0:6200 won't work. This tells the PvPGN Warcraft III router to listen on port 6200 for the TCP ********. This will route Warcraft III data to PvPGN.

Scroll down once again & until you get to the w3routeshow line. Enable & change this only if your using NAT, behind a router, gateway, etc. If your not sure, just leave this alone.

Try using w3routeaddr first, if your having problems connecting with Warcraft III, then enable w3routeshow.


W3routeshow is disabled by default & should be left that way unless your experiencing problems.


#w3routeshow = "127.0.0.1:6200"
This tells PvPGN to listen on port 6200 for the TCP ********, on localhost (127.0.0.1), on your computer. If you enable this, change this to your internet IP address or domain name, followed by the colon and port number.

Save & close your text editor.



Now, open ports 6112 & 6200 if your using a firewall. If your behind a router, forward ports 6112 & 6200 to your computer or register the internal IP address of the computer running PvPGN as a DMZ in the router. If your using Windows XP, it has a firewall that is installed by default. Make sure to allow incoming & outgoing access to ports 6112 & 6200, if the firewall is enabled, or you will be unable to connect to your PvPGN server.



Now your ready to start PvPGN.

On your taskbar, click on:
Start

Programs

Player -vs- Player Gaming Network

PvPGN

After starting PvPGN, open your bnetd log file. It should look something like this:

Exert from the bnetd log
Mar 25 22:57:14 [info ] eventlog_startup: logging event levels: fatal,error,warn,info
Mar 25 22:57:14 [info ] pvpgn_greeting: PvPGN version BnetD Mod 1.4.4 /w MySQL process 744
Mar 25 22:57:14 [info ] db_check: mysql connection failed, lets try to build the db
Mar 25 22:57:14 [info ] pvpgn_mysql: Creating Database PVPGN
Mar 25 22:57:14 [info ] dbcreator_createdatabase: Database Created...creating Tables..
Mar 25 22:57:14 [info ] server_set_name: set servername to "localhost"
Mar 25 22:57:14 [info ] war3_ladders_init: initializing war3 ladders
Mar 25 22:57:14 [info ] output_init: initializing output file
Mar 25 22:57:14 [info ] accountlist_create: started creating accountlist
Mar 25 22:57:14 [error] db_get_accounts: error query db (query:"SELECT DISTINCT uid FROM BNET")
Mar 25 22:57:14 [error] storage_account_getfirst: could not get the account list
Mar 25 22:57:14 [error] accountlist_create: unable to start users read
Mar 25 22:57:14 [info ] war3_ladder_update_all_accounts: updating ranking for all accounts
Mar 25 22:57:14 [info ] ladderlist_create: created 8 local ladders
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to current ladder "STAR":1
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to active ladder "STAR":1
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to current ladder "SEXP":1
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to active ladder "SEXP":1
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to current ladder "W2BN":1
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to active ladder "W2BN":1
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to current ladder "W2BN":3
Mar 25 22:57:14 [info ] ladderlist_create: added 0 accounts to active ladder "W2BN":3
Mar 25 22:57:14 [info ] realm_create: created realm "D2CS"
Mar 25 22:57:14 [info ] tracker_set_servers: tracking packets will be sent to 64.234.45.320:6114
Mar 25 22:57:15 [info ] server_process: listening for bnet connections on 0.0.0.0:6112 TCP
Mar 25 22:57:15 [info ] server_process: listening for w3route connections on 64.234.45.320:6200 TCP
Mar 25 22:57:15 [info ] output_write_to_file: flushing output to disk
Mar 25 22:57:15 [info ] sd_accept: [7] accepted connection from 64.234.45.320:32768 on 64.234.45.320:6112
Mar 25 22:57:15 [info ] conn_create: [7][5] sessionkey=0x550a799c sessionnum=0x00000000
Mar 25 22:57:15 [info ] handle_init_packet: [7] client initiated d2cs_bnetd connection
Mar 25 22:57:15 [info ] handle_d2cs_init: sent init packet to d2cs (sessionnum=0)
Mar 25 22:57:15 [info ] on_d2cs_authreply: d2cs 64.234.45.320 authed
Mar 25 22:57:15 [info ] realm_active: realm D2CS actived
Mar 25 22:58:15 [info ] output_write_to_file: flushing output to disk

All done, have fun!!!

Return to Contents



doNE
 

New threads

Top