gopenfusion/config/config.go
CPunch 1357de99aa server: started ShardServer
- protocol: added GenSerialKey() which securely generates an EnterSerialKey
- login server accepts a shard via LoginServer.AddShard()
- login server will pass LoginMetaData to the selected shard via ShardServer.QueueLogin()
- misc. refactoring
2023-03-17 16:27:47 -05:00

20 lines
263 B
Go

package config
var (
SPAWN_X = 632032
SPAWN_Y = 187177
SPAWN_Z = -5500
AEQUIP_COUNT = 9
AINVEN_COUNT = 50
ABANK_COUNT = 119
LOGIN_PORT = 23000
SHARD_PORT = 23001
SHARD_IP = "127.0.0.1"
)
func GetMaxHP(level int) int {
return (925 + 75*(level))
}