mirror of
https://github.com/psforever/PSF-LoginServer.git
synced 2026-01-19 18:44:45 +00:00
Fix bad ServerType encoding and change server type
This commit is contained in:
parent
aa0b895f4b
commit
43a403174f
|
|
@ -14,7 +14,8 @@ object WorldStatus extends Enumeration {
|
|||
val Up, Down, Locked, Full = Value
|
||||
}
|
||||
|
||||
object ServerType extends Enumeration {
|
||||
// this enumeration starts from one and is subtracted from before processing (0x005FF12A)
|
||||
object ServerType extends Enumeration(1) {
|
||||
type Type = Value
|
||||
val Development, Beta, Released = Value
|
||||
|
||||
|
|
|
|||
|
|
@ -112,7 +112,7 @@ class LoginSessionActor extends Actor with MDCContextAware {
|
|||
def updateServerList = {
|
||||
val msg = VNLWorldStatusMessage("Welcome to PlanetSide! ",
|
||||
Vector(
|
||||
WorldInformation(serverName, WorldStatus.Up, ServerType.Development,
|
||||
WorldInformation(serverName, WorldStatus.Up, ServerType.Released,
|
||||
Vector(WorldConnectionInfo(new InetSocketAddress(InetAddress.getByName("127.0.0.1"), 51000))), EmpireNeed.TR)
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue