소스 검색

Merge branch 'dev' of http://ylsjtt.game7000.com:3000/YLSJ/jzhj2024server into dev

cyzhao 1 년 전
부모
커밋
dbdfff3629
2개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 2
      Gameserver/App/configs/GameConfig.php
  2. 1 1
      Gameserver/App/model/User/Info_Gates.php

+ 1 - 2
Gameserver/App/configs/GameConfig.php

@@ -4,7 +4,7 @@
 // 由CodeGenerator创建。
 // 由CodeGenerator创建。
 // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
 // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
 // author: gwang
 // author: gwang
-// 日期: 2024-05-22 11:03:34
+// 日期: 2024-05-27 09:19:15
 ////////////////////
 ////////////////////
 
 
 namespace loyalsoft;
 namespace loyalsoft;
@@ -83,7 +83,6 @@ class GameConfig {
             }
             }
         } else {
         } else {
             $key = 'gamecfg-' . self::CV() . $modelName . self::zoneid();
             $key = 'gamecfg-' . self::CV() . $modelName . self::zoneid();
-            //echoLine($key . $itemId);
             return gMem()->hget($key, $itemId);
             return gMem()->hget($key, $itemId);
         }
         }
         return null;
         return null;

+ 1 - 1
Gameserver/App/model/User/Info_Gates.php

@@ -82,7 +82,7 @@ class Info_Gates extends Object_ext {
     public $TowerGate;
     public $TowerGate;
 
 
     public function initialize() {
     public function initialize() {
-        $startId = 110011001;
+        $startId = glc()->FirstGateId;                                          # 初始化第一关的关卡id
         $this->CurrentGateId = $startId;
         $this->CurrentGateId = $startId;
         $this->UnlockedGatesMaxId = $startId;
         $this->UnlockedGatesMaxId = $startId;