mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-12 19:20:06 +00:00
CPunch
1357de99aa
- 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
20 lines
263 B
Go
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))
|
|
}
|