Sign in to follow this  
V2C

[Game Update] - (BETA) 205399

Recommended Posts

NeddoFreddo    1075
48 minutes ago, minespatch said:

That hat sounds magical.

"Amplify the magical power of your Top Hat! Only $69.99 at participating retailers."

1 hour ago, V2C said:

Moon Dial now has a global minimap icon, like all other structures crafted from Moonlenses.

So when you join a server, you can see it from the start or does someone have to find it first?

  • Like 1

Share this post


Link to post
Share on other sites
V2C    5952
9 minutes ago, NeddoFreddo said:

So when you join a server, you can see it from the start or does someone have to find it first?

You can see it at the start.

  • Like 2

Share this post


Link to post
Share on other sites
NeddoFreddo    1075
3 minutes ago, V2C said:

You can see it at the start.

Oh hang on... I thought it was the Moon Stone that was revealed on the map, but turns out it's the Moon Dial. My bad lol.

  • Like 1

Share this post


Link to post
Share on other sites
PanAzej    2051

Please change back the last function in componentactions.lua from:

function EntityScript:HasActionComponent(name)
    local id = ACTION_COMPONENT_IDS[name]
    if id ~= nil then
        for i, v in ipairs(self.actioncomponents) do
            if v == id then
                return true
            end
        end
    end
    for modname,modtable in pairs(MOD_ACTION_COMPONENT_IDS) do
        id = modtable[name]
        if id ~= nil then
            for i, v in ipairs(self.modactioncomponents[modname]) do
                if v == id then
                    return true
                end
            end
        end
    end        
    return false
end

To:

function EntityScript:HasActionComponent(name)
    local id = ACTION_COMPONENT_IDS[name]
    if id ~= nil then
        for i, v in ipairs(self.actioncomponents) do
            if v == id then
                return true
            end
        end
    else
        for modname,modtable in pairs(MOD_ACTION_COMPONENT_IDS) do
            id = modtable[name]
            if id ~= nil then
                for i, v in ipairs(self.modactioncomponents[modname]) do
                    if v == id then
                        return true
                    end
                end
            end
        end
    end
    return false
end

Current function can crash the game for clients when some mods are enabled:

20170204164652_1.jpg

  • Like 2

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this