52

回帖

2670

金币

1466

积分

积分
1466
发表于 2024-6-9 16:16:11 | 显示全部楼层 |阅读模式

马上注册,下载996引擎,与更多游戏开发者交流。

您需要 登录 才可以下载或查看,没有账号?注册

×
引擎版本:最新版本
问题描述:查看其他玩家装备栏就直接崩溃   怎么回事? 3.png

报错内容:
[LUA-print] ----------------------------------------
[LUA-print] LUA ERROR: target is nil value
[LUA-print] stack traceback:
        [string "scripts/GUI/GUI.lua"]:101: in function 'CheckIsInvalidCObject'
        [string "scripts/GUI/GUI.lua"]:1176: in function 'setVisible'
        [string "GUILayout/PlayerEquip_Look.lua"]:46: in function 'main'
        [string "scripts/game/view/layersui/player_look_layer/PlayerEquipLayer.lua"]:24: in function 'InitGUI'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:53: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:26: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        [string "scripts/GUI/SL.lua"]:1410: in function 'openFunc'
        ...
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:59: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:29: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        [string "scripts/game/proxy/remote/LookPlayerProxy.lua"]:85: in function 'netCB'
        [string "scripts/network/networkUtil.lua"]:11: in function <[string "scripts/network/networkUtil.lua"]:10>
        [C]: in function 'Tick'
        [string "scripts/logic/gameWorldController.lua"]: in function <[string "scripts/logic/gameWorldController.lua"]:0>
[LUA-print] ----------------------------------------
[LUA-print] ----------------------------------------
[LUA-print] LUA ERROR: target is nil value
[LUA-print] stack traceback:
        [string "scripts/GUI/GUI.lua"]:101: in function 'CheckIsInvalidCObject'
        [string "scripts/GUI/GUI.lua"]:1519: in function 'addOnClickEvent'
        [string "GUILayout/PlayerEquip_Look.lua"]:47: in function 'main'
        [string "scripts/game/view/layersui/player_look_layer/PlayerEquipLayer.lua"]:24: in function 'InitGUI'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:53: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:26: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        [string "scripts/GUI/SL.lua"]:1410: in function 'openFunc'
        ...
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:59: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:29: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        [string "scripts/game/proxy/remote/LookPlayerProxy.lua"]:85: in function 'netCB'
        [string "scripts/network/networkUtil.lua"]:11: in function <[string "scripts/network/networkUtil.lua"]:10>
        [C]: in function 'Tick'
        [string "scripts/logic/gameWorldController.lua"]: in function <[string "scripts/logic/gameWorldController.lua"]:0>
[LUA-print] ----------------------------------------
[LUA-print] ----------------------------------------
[LUA-print] LUA ERROR: target is nil value
[LUA-print] stack traceback:
        [string "scripts/GUI/GUI.lua"]:101: in function 'CheckIsInvalidCObject'
        [string "scripts/GUI/GUI.lua"]:1925: in function 'Image_setGrey'
        [string "GUILayout/PlayerEquip_Look.lua"]:135: in function 'RefreshPlayerBestRingsOpenState'
        [string "GUILayout/PlayerEquip_Look.lua"]:62: in function 'main'
        [string "scripts/game/view/layersui/player_look_layer/PlayerEquipLayer.lua"]:24: in function 'InitGUI'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:53: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:26: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        ...
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:59: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:29: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        [string "scripts/game/proxy/remote/LookPlayerProxy.lua"]:85: in function 'netCB'
        [string "scripts/network/networkUtil.lua"]:11: in function <[string "scripts/network/networkUtil.lua"]:10>
        [C]: in function 'Tick'
        [string "scripts/logic/gameWorldController.lua"]: in function <[string "scripts/logic/gameWorldController.lua"]:0>
[LUA-print] ----------------------------------------
[LUA-print] ----------------------------------------
[LUA-print] LUA ERROR: [string "scripts/cocos/cocos2d/deprecated.lua"]:13: attempt to index local 'node' (a nil value)

[LUA-print] stack traceback:
        [string "scripts/main.lua"]:14: in function '__index'
        [string "scripts/cocos/cocos2d/deprecated.lua"]:13: in function 'scheduleOnce'
        [string "GUILayout/PlayerEquip_Look.lua"]:150: in function 'RefreshBestRingBox'
        [string "GUILayout/PlayerEquip_Look.lua"]:63: in function 'main'
        [string "scripts/game/view/layersui/player_look_layer/PlayerEquipLayer.lua"]:24: in function 'InitGUI'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:53: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerEquipLayerMediator.lua"]:26: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        ...
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:59: in function 'OpenLayer'
        [string "scripts/game/mediator/player_look_layer/LookPlayerFrameMediator.lua"]:29: in function 'notify'
        [string "scripts/framework/patterns/observer/Observer.lua"]:85: in function 'notifyObserver'
        [string "scripts/framework/core/View.lua"]:114: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:331: in function 'notifyObservers'
        [string "scripts/framework/patterns/facade/Facade.lua"]:314: in function 'sendNotification'
        [string "scripts/game/proxy/remote/LookPlayerProxy.lua"]:85: in function 'netCB'
        [string "scripts/network/networkUtil.lua"]:11: in function <[string "scripts/network/networkUtil.lua"]:10>
        [C]: in function 'Tick'
        [string "scripts/logic/gameWorldController.lua"]: in function <[string "scripts/logic/gameWorldController.lua"]:0>
[LUA-print] ----------------------------------------

最后回复时间:2024-06-18 10:22:47官方回复了此贴
回复

使用道具 举报

153

回帖

9205

金币

5094

积分

CEO

积分
5094
发表于 2024-6-10 17:23:14 | 显示全部楼层
屏蔽掉前端试试 看报错信息可能是前端文件跟客户端不匹配
可能升级客户端后 前端文件跟客户端不对应导致的
回复

使用道具 举报

52

回帖

2670

金币

1466

积分

积分
1466
 楼主| 发表于 2024-6-10 17:27:45 | 显示全部楼层
我不会技术 发表于 2024-6-10 17:23
屏蔽掉前端试试 看报错信息可能是前端文件跟客户端不匹配
可能升级客户端后 前端文件跟客户端不对应导致的 ...

怎么屏蔽啊??不会呢
回复

使用道具 举报

153

回帖

9205

金币

5094

积分

CEO

积分
5094
发表于 2024-6-12 22:58:01 | 显示全部楼层
8818513 发表于 2024-6-10 17:27
怎么屏蔽啊??不会呢

前端文件夹改名就屏蔽了

评分

参与人数 1金币 +20 收起 理由
口子 + 20

查看全部评分

回复

使用道具 举报

9963

回帖

2万

金币

1万

积分

积分
16228
发表于 2024-6-18 10:22:47 | 显示全部楼层
对 感谢楼上正确回复
回复

使用道具 举报

52

回帖

2670

金币

1466

积分

积分
1466
 楼主| 发表于 2024-6-19 08:36:42 | 显示全部楼层
我不会技术 发表于 2024-6-12 22:58
前端文件夹改名就屏蔽了

不行啊  大哥   按照你的方法  把前端的文件夹改名屏蔽了   还是报错   
回复

使用道具 举报

153

回帖

9205

金币

5094

积分

CEO

积分
5094
发表于 2024-6-19 14:34:52 | 显示全部楼层
8818513 发表于 2024-6-19 08:36
不行啊  大哥   按照你的方法  把前端的文件夹改名屏蔽了   还是报错

你这个提示就是客户端跟**端不匹配 建议看下后端和前端是否对应 还有数据库
回复

使用道具 举报

52

回帖

2670

金币

1466

积分

积分
1466
 楼主| 发表于 2024-6-19 22:48:55 | 显示全部楼层
我不会技术 发表于 2024-6-19 14:34
你这个提示就是客户端跟**端不匹配 建议看下后端和前端是否对应 还有数据库 ...

我用单机架设的
回复

使用道具 举报

153

回帖

9205

金币

5094

积分

CEO

积分
5094
发表于 2024-6-19 22:58:49 | 显示全部楼层
8818513 发表于 2024-6-19 22:48
我用单机架设的

这个和单机不单机没有什么关系
回复

使用道具 举报

52

回帖

2670

金币

1466

积分

积分
1466
 楼主| 发表于 2024-6-20 09:34:43 | 显示全部楼层
我不会技术 发表于 2024-6-19 22:58
这个和单机不单机没有什么关系

大哥    能不能远程帮我搞一下  实在搞不定
回复

使用道具 举报