Setting up multiple realms under single OS?

196 views
Skip to first unread message

Jiri Chaloupka

unread,
Apr 25, 2012, 6:11:50 AM4/25/12
to pvpgn-users
Hello,

i have searched for a long time and did not find anything really
helpful. The official pvpgn forums are down :-( Is there anyone who
have some experience with running multiple Diablo 2 realms under a
single OS with single mysql instance? My vision is to run 3 realms,
one clean 1,13, one slighly patched 1,11b with no resets and one
complex mod (Avalon) under one IP adress. I would like to be able to
change realms after login. If i get this right, I will have only one
instance of PVPGN, D2DBS and MYSQL and multiple D2CS and D2GS. Going
to try it out but would be glad if someone could advise me, if its
even possible to do that and maybe some hints :-)

Thanks
Jiri Chaloupka (likedi)

Mark Parncutt

unread,
Apr 25, 2012, 6:12:50 AM4/25/12
to pvpgn...@googlegroups.com
You need one PvPGN and MySQL, and multiple D2CS, D2DBS and D2GS.
Message has been deleted

Jiri Chaloupka

unread,
Apr 25, 2012, 9:11:47 AM4/25/12
to pvpgn...@googlegroups.com
Hi,
thank you for your response. I have already tried to get 2 D2GS services to work, but it cannot be done using D2GSSVC.EXE -i command. I can do that with sc command in cmd line manually. Do I have to multiply whole D2GS directory? How do I setup paths to D2DBS and D2CS? I have found this batch file  http://naki.info/2011/06/pvpgn-and-d2gs-services-installer/  but I dont know how to separate variables for every D2GS..
About multiple D2CS and DBS, I suppose I need to separe config files, too. Is it enough just to make multiple services, or I have to copy it as well even with the conf folder? Does the service find the right config just by folder from which I run the service?
Or I have all the config files only with pvpgn and only config more instances of CS and DBS? How do I separe? I suppose it has to be done by changing ports. How do I set which service runs on which port?
Thank you very much for helping me, I am no noob with windows server software, but this staff drives me crazy with no "multiple instances" setup documentary..
I know it would be much more simple using more virtual machines, but I find it superfluous to run three times OS just for this matter, since there will already be 2 more virtual machines for other purposes and I am limited to about 2 gigs of ram just for D2.
Likedi

Jiri Chaloupka

unread,
Apr 25, 2012, 10:48:22 AM4/25/12
to pvpgn...@googlegroups.com
I am a little wiser now, I already know how to setup DBS and CS, but my problem now is to setup a port on D2GS, to separate the instances. Anyone knows?

Mark Parncutt

unread,
Apr 25, 2012, 8:28:36 PM4/25/12
to pvpgn...@googlegroups.com

You need to run each D2GS on a separate machine. The port can't be changed, and even if it could be, Diablo 2 would not connect to it.

Benjamin Wooten

unread,
Apr 25, 2012, 9:13:31 PM4/25/12
to pvpgn...@googlegroups.com
Hey if you are running a server of any kind, create virtual machines
with dedicated ips and run them on it.
Creating a new world in gaming and community.
Http://www.BlazingFire.com

Jiri Chaloupka

unread,
Apr 26, 2012, 7:58:57 AM4/26/12
to pvpgn...@googlegroups.com
The thing is I am trying to walkaround this, becouse of system resources, licences needed and lack of internet ip addresses. I was thinking about making virtualswitch in vmware and connect the virtual machine with 3 internal IP's and bind every D2GS to one of them. Gonna try this in few days, will let you know if it worked.

Benjamin Wooten

unread,
Apr 26, 2012, 9:30:54 AM4/26/12
to pvpgn...@googlegroups.com
Well, you can do local ips for the internals, just make sure the
external has a dedicated ip.
You will have to setup different routing in the vmware to make it work
for the ports.

Creating a new world in gaming and community.
Http://www.BlazingFire.com


HarpyWar

unread,
Apr 26, 2012, 3:23:52 PM4/26/12
to pvpgn...@googlegroups.com
It's impossible to run multiple D2GS on the same machine, cause it listen all interfaces on port 4000 and there's no way to change network settings.

2012/4/26 Benjamin Wooten <ben...@gmail.com>



--
C уважением, HarpyWar

Benjamin Wooten

unread,
Apr 26, 2012, 4:54:29 PM4/26/12
to pvpgn...@googlegroups.com
thats why you use vmware.

Creating a new world in gaming and community.
Http://www.BlazingFire.com


Jiri Chaloupka

unread,
Apr 28, 2012, 4:09:27 AM4/28/12
to pvpgn...@googlegroups.com
I have managed to run 2 D2GS by manually adding the second service from copied location run as another user -> different registry = separated settings. Do you say that even though it ignores IP address in registry and listens on all interfaces? What then about forbidding comunication for all but one interfaces with some kind of firewall software ( I know I can forbid the communication with 1 interface, havent try with more of them, but surely there is some software for that ), could that work?

Benjamin Wooten

unread,
Apr 28, 2012, 4:27:42 PM4/28/12
to pvpgn...@googlegroups.com
I have explained a few times lol.
The best and only way to do this on the same machine, is make a
virtual pc on your server with its own IP and run your second one in
there, and so on for more.

Creating a new world in gaming and community.
Http://www.BlazingFire.com


Jiri Chaloupka

unread,
Sep 5, 2012, 8:20:25 AM9/5/12
to pvpgn...@googlegroups.com
Sorry for trying to make it work all this time and thank you for your time spend on answers.

My problem is that I'm limited with 1 external (internet) IP address - cant do anything bout it and the connection is free :-) not willing to take another ISP. My current setup is esxi vmware with SmoothWall instance as a sw router and in separed virtual lan behind the SmoothWall i got 2 instances of WinXP. 

internet --- SmoothWall ---- WINXP1, WINXP2 (both have local IPs with ports routed by SmoothWall from external)

Farthest i got is something like here http://forums.pvpgn.org/index.php?topic=1924 with second realm not hosting games. I can choose realm on screen when choosing character and i get to chat, but cant host a game. Is the problem still with the port of d2gs even when in conf files are distinguished by local ip? 

Ok, if the problem is still in having 2 different d2gs battling for the external ip, is it possible to use an external IP address of physically another server on another place another ISP just to make something like this:

D2 client --- "borrowed IP:4000" -routed to- "myExternalIP:tempport" --- SmoothWall redirect to WinXP2 local ip port 4000

when talking just about pvpgn&d2gs&d2cs settings (i can do the networking), would it be enough to set up the "B" realm on "borrowed" external ip in realm.conf, address_translation.conf and d2cs.conf?

Thank you for your advice.

Dizzy

unread,
Sep 18, 2012, 6:50:38 PM9/18/12
to pvpgn...@googlegroups.com
As already said, there are hardcoded ports in the D2 client (6112 and
4000). The 6112 one you shouldn't care about because that's just bnetd
and multiple realms work fine on the same bnetd. The 4000 one (the
d2gs port) is the problem since you need at least one separate d2gs
instance per realm. Which in turn means you need an IP per realm. You
can host both instances on the same machine but you still need an IP
per d2gs instance/realm.

Get those 3 IPs and then we start talking about the setup.
--
Dizzy
Reply all
Reply to author
Forward
0 new messages