Jump to content

my friend keeps crashing help please


Recommended Posts

this is another lua error but apparently he keeps crashing

so heres the link to the crash

http://images.akamai.steamusercontent.com/ugc/486767061425203940/0A5515963DC799DB10197B14CC3148EEFEACB168/

when he does something it crashes

last time it didnt crash for him

Thanks for the screen, but more information is needed. Please get your friend to attach their log. The screen only tells us it's something to do with componentactions.lua, which could have various reasons to crash, and the log will automatically show the mods too.

@MrDeepDarkmind This is a mod crash. Here's the code it's coming from:

            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

Specifically, the "t = MOD_COMPONENT_ACTIONS" line. It's crashing because it looks in that table for the entry for a mod, and there's nothing there, but there should be. As you can see in the lines above, it prints out a lot of information in the log that would be helpful for figuring out what mod might be causing it and (probably with the author's help) why.

Archived

This topic is now archived and is closed to further replies.

Please be aware that the content of this thread may be outdated and no longer applicable.

×
  • Create New...