Non-posted plugin list [+5 plugins] - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Releases (https://forum.cuberite.org/forum-2.html) +--- Thread: Non-posted plugin list [+5 plugins] (/thread-1622.html) |
RE: Non-posted plugin list [+5 plugins] - Seadragon91 - 04-23-2015 (04-23-2015, 08:53 AM)xoft Wrote: What kind of mob? I guess there's a mismatch between the mob's class and the Lua API class used. We don't export explicit mob classes, such as "cCreeper", but perhaps the code is trying to push such a class to Lua, which I know causes crashes. I don't do any cast here. Here is a test plugin. If it's running right-click an entity and the server will crash. function Initialize(Plugin) Plugin:SetName("TestPlugin") Plugin:SetVersion(1) -- Hook cPluginManager:AddHook(cPluginManager.HOOK_PLAYER_RIGHT_CLICKING_ENTITY, OnPlayerRightClickingEntity); LOG("Initialised " .. Plugin:GetName() .. " v." .. Plugin:GetVersion()) return true end function OnPlayerRightClickingEntity(Player, Entity) local world = cRoot:Get():GetDefaultWorld() world:DoWithEntityByID( Entity:GetUniqueID(), function(Entity) end ) end RE: Non-posted plugin list [+5 plugins] - xoft - 04-24-2015 I've implemented a nice fix: https://github.com/mc-server/MCServer/pull/1894 RE: Non-posted plugin list [+5 plugins] - tonibm19 - 04-24-2015 Thanks! RE: Non-posted plugin list [+5 plugins] - tonibm19 - 04-26-2015 DisguiseCraft has been updated to v0.1 beta The main changes are the improved mob movement (now you can fly or swim as a mob), credits to STR. Then, I also included a lot of bugfixes and redistributted plugin files. |