饥荒游戏吧 关注:204,149贴子:2,999,503
  • 4回复贴,共1

16-10-24丨【提问】TGP联机版 求老司机解答下

只看楼主收藏回复



1楼2016-10-24 12:18回复
    之前玩都没崩溃 今天玩 到春季后就崩溃了,打的都是TGP模组的mod 没装过别的


    2楼2016-10-24 12:19
    回复
      2025-10-09 17:40:58
      广告
      不感兴趣
      开通SVIP免广告
      存档炸了,回档试试


      IP属地:辽宁来自Android客户端4楼2016-10-24 13:40
      回复
        对应函数为:
        function EntityScript:CollectActions(type, ...)
        local t = COMPONENT_ACTIONS[type]
        if t ~= nil then
        for i, v in ipairs(self.actioncomponents) do
        local collector = t[ACTION_COMPONENT_NAMES[v]]
        if collector ~= nil then
        collector(self, ...)
        end
        end
        if self.modactioncomponents ~= nil then
        --print("EntityScript:CollectActions on ", self)
        for modname,modtable in pairs(self.modactioncomponents) do
        --print("modname ",modname, #modtable)
        if MOD_COMPONENT_ACTIONS[modname] == nil then
        print( "ERROR: Mod component actions are out of sync for mod " .. (modname or "unknown") .. ". This is likely a result of your mod's calls to AddComponentAction not happening on both the server and the client." )
        print( "self.modactioncomponents is\n" .. (dumptable(self.modactioncomponents) or "") )
        print( "MOD_COMPONENT_ACTIONS is\n" .. (dumptable(MOD_COMPONENT_ACTIONS) or "") )
        end
        t = MOD_COMPONENT_ACTIONS[modname][type] <<< 这行挂掉的
        if t ~= nil then
        for i, v in ipairs(modtable) do
        local collector = t[MOD_ACTION_COMPONENT_NAMES[modname][v]]
        if collector ~= nil then
        collector(self, ...)
        end
        end
        end
        end
        end
        else
        print("Type ",type," doesn't exist in the table of component actions. Is your component name correct in AddComponentAction?")
        end
        end
        所以,请收集你的LOG文件,最后结尾处会有类似:
        ERROR: Mod component actions are out of sync for mod XXXX . This is likely a result of your mod's calls to AddComponentAction not happening on both the server and the client.
        self.modactioncomponents is ...
        MOD_COMPONENT_ACTIONS is...
        类似的内容,其中XXXX就是出错的MOD。如果此MOD有新版则更新至新版,如果没有禁用就好了。


        IP属地:日本5楼2016-10-25 11:21
        回复
          兄弟,你设置了不收陌生人信息,改一下才能发私信给你


          IP属地:广东来自Android客户端6楼2020-07-09 03:52
          回复