pre cw with probe and a bunch script to read game behavior
This commit is contained in:
1 parent
5120219ae2
commit
da8a32f60d
310 files changed
+219693
-872
No files matched your search
@@ -8,6 +8,8 @@ import (
|
||||
|
||||
// Loaded from the shared runtime configuration before the gateway accepts sessions.
|
||||
var playerUID uint32
|
||||
var playerName string
|
||||
var playerWorldLevel uint32
|
||||
|
||||
func init() {
|
||||
handle("PlayerGetToken", func(s *Session, req *goproto.PlayerGetTokenCsReq, rsp *goproto.PlayerGetTokenScRsp) error {
|
||||
@@ -24,9 +26,9 @@ func init() {
|
||||
rsp.ServerTimestampMs = uint64(time.Now().UnixMilli())
|
||||
rsp.Stamina = 240
|
||||
rsp.BasicInfo = &goproto.PlayerBasicInfo{
|
||||
Nickname: "GaySR",
|
||||
Nickname: playerName,
|
||||
Level: 70,
|
||||
WorldLevel: 6,
|
||||
WorldLevel: playerWorldLevel,
|
||||
Stamina: 240,
|
||||
Mcoin: 9999999,
|
||||
Hcoin: 9999999,
|
||||
|
||||
Reference in new issue
Block a user