mirror of
https://github.com/2revoemag/PSF-BotServer.git
synced 2026-01-30 15:21:00 +00:00
Remove hardcoded IP address
This commit is contained in:
parent
3729c2af52
commit
d857a436f3
|
|
@ -90,7 +90,7 @@ class LoginSessionActor extends Actor with MDCContextAware {
|
|||
}
|
||||
|
||||
val serverName = "PSForever"
|
||||
val serverAddress = new InetSocketAddress("192.168.0.2", 51001)
|
||||
val serverAddress = new InetSocketAddress(InetAddress.getLocalHost.getHostAddress, 51001)
|
||||
|
||||
def handleGamePkt(pkt : PlanetSideGamePacket) = pkt match {
|
||||
case LoginMessage(majorVersion, minorVersion, buildDate, username,
|
||||
|
|
|
|||
Loading…
Reference in a new issue