Jump to content
TrinityCore

bnet and ip for login question


abelard
 Share

Recommended Posts

Hi, I have master 8.0.1 running and would like the option to login via 127.0.0.1 and LAN IP.  It varies depending on where I am located.  Server runs on a laptop and can be part of LAN or solo.  Presently I change the LoginREST.localaddress= 192.XXX.XX.XXX OR 127.0.0.1 and EDIT auth.realmlist.address either 192.xxx.xxx.xxx or 127.0.0.1. Of course I change the client wtf also.

I presently just change the files and dbase record. 

1. Is there a way or settings to allow both configurations to run?

2.  Is there a way to make it so I only have to change just the realmlist ip and keep the client on 127.0.0.1 and allow the laptop client to log in for either local or LAN configuration?

thanks for your thoughts.

 

Link to comment
Share on other sites

Try this:

In your bnetserver.conf
LoginREST.ExternalAddress=192.x.x.x
LoginREST.LocalAddress=192.x.x.x

In the database (realmlist)
address 192.x.x.x
localAddress 127.0.0.1

And in the client files (WTF/Config.wtf)
On your computer with server:
SET portal "127.0.0.1"
Others LAN clients:
SET portal "192.x.x.x"

That's how I play Lan with my girlfriend :P

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...