Pārlūkot izejas kodu

添加初始背包设置.

wanggangzero 4 mēneši atpakaļ
vecāks
revīzija
c94c96f146

+ 1 - 1
Gameserver/App/model/Const/GameConfig.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 17:30:01
+ // 日期: 2025-01-13 10:31:48
 ////////////////////
 
 /**

+ 1 - 1
Gameserver/App/model/Const/sm_activeTask.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 16:10:32
+ // 日期: 2025-01-10 15:14:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_activeTask_type.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 16:10:32
+ // 日期: 2025-01-10 15:14:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 17:20:51
+ // 日期: 2025-01-08 14:21:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gate_unlock.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 17:20:51
+ // 日期: 2025-01-08 14:21:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_gem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-11-20 17:31:21
+ // 日期: 2025-01-13 10:33:03
 ////////////////////
 
 

+ 3 - 3
Gameserver/App/model/Const/sm_globalsettings.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-06 10:33:25
+ // 日期: 2025-01-13 10:12:39
 ////////////////////
 
 
@@ -149,9 +149,9 @@ class sm_globalsettings
     public $sweep_cost_tili;
 
     /**
-    * @var Int32 解锁挑战模块所需的关卡id(废除)  
+    * @var String 背包初始道具(itemId,num;itemid,num;...)  
     */
-    public $unlock_Challenge_need_gateId;
+    public $Init_Packet_Items;
 
     /**
     * @var Int32 爬塔(挑战关卡)每日挑战次数  

+ 5 - 0
Gameserver/App/model/Const/sm_guide.php

@@ -86,5 +86,10 @@ class sm_guide
     */
     public $lightPath;
 
+    /**
+    * @var Int32  是否忽略点击事件 1:忽略(点击下界面就可以了) default(0) 
+    */
+    public $ignoreClickEvent;
+
 }
 

+ 1 - 1
Gameserver/App/model/Const/sm_hero.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 16:51:58
+ // 日期: 2025-01-13 10:21:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_heroType_typeId.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 16:51:58
+ // 日期: 2025-01-13 10:21:58
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_item.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-06 14:28:01
+ // 日期: 2025-01-09 09:59:25
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_plots.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2024-12-06 10:05:55
+ // 日期: 2025-01-10 14:08:42
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_predicate.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 14:57:57
+ // 日期: 2025-01-10 10:05:34
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_skills.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-06 11:21:58
+ // 日期: 2025-01-09 17:42:59
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_waveItem.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 17:01:29
+ // 日期: 2025-01-10 17:36:54
 ////////////////////
 
 

+ 1 - 1
Gameserver/App/model/Const/sm_waves.php

@@ -3,7 +3,7 @@
  // 由CodeGenerator创建。
  // Copyright (C) gwang (wanggangzero@qq.com), Loyalsoft@sjz Inc
  // author: gwang 
- // 日期: 2025-01-07 17:01:29
+ // 日期: 2025-01-10 17:36:54
 ////////////////////
 
 

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

@@ -77,7 +77,7 @@ class Info_Store extends Object_ext {
     public $cuid = 10000;
 
     public function initialize() {
-        
+        StoreProc::AddMultiItemInStore(glc()->Init_Packet_Items, "UsrInit");
     }
 
     public function __construct($arg = null) {

+ 4 - 5
Gameserver/App/process/UserProc.php

@@ -469,11 +469,10 @@ class UserProc {
      */
     static function delRegRole($zoneid, $userID, $nickname) {
         return daoInst()->del('tab_rolename')
-                        ->data(array(
-                            'zoneid' => $zoneid,
-                            'userID' => $userID,
-                            'roleName' => $nickname,
-                        ))->exec();
+                        ->where('`zoneid` = ' . $zoneid)
+                        ->andWhere('`userID` = ' . $userID)
+                        ->andWhere('`roleName` = ' . $nickname)
+                        ->exec();
     }
 
     /**