Server freeze on plugin loading
#4
(04-04-2014, 03:03 PM)xoft Wrote: I'm working on ZeroBrane integration, so I'd like to hear some more about this. So you've found out that running the server under ZBS causes the freezes on startup? Would you mind doing a few experiments for me?

I suppose you've followed the ZBS setup guide, http://mc-server.xoft.cz/LuaAPI/SettingUpZeroBrane.html . You should know then about the mcserver.lua file, the ZBS plugin in the "packages" folder. Open that file in an editor and locate the following code (should be on line 55):
-- Create the @EnableMobDebug.lua file so that the MCS plugin starts the debugging session, when loaded:
local EnablerPath = wx.wxFileName(wfilename)
EnablerPath:SetName("@EnableMobDebug")
EnablerPath:SetExt("lua")
local f = io.open(EnablerPath:GetFullPath(), "w")
if (f ~= nil) then
	f:write([[require("mobdebug").start()]])
	f:close()
end

Comment out the line "f:write([[require("mobdebug").start()]])" in it, save and restart ZBS. Does the server still experience the startup freeze? I would expect not; but then, debugging is not working in the plugin. Is that so?

You seem to be correct about that, i commented out that line and the server seems to startup fine.
Reply
Thanks given by:


Messages In This Thread
Server freeze on plugin loading - by gv1222 - 04-04-2014, 07:22 AM
RE: Server freeze on plugin loading - by gv1222 - 04-04-2014, 12:32 PM
RE: Server freeze on plugin loading - by xoft - 04-04-2014, 03:03 PM
RE: Server freeze on plugin loading - by gv1222 - 04-05-2014, 02:43 AM
RE: Server freeze on plugin loading - by xoft - 04-05-2014, 06:08 AM
RE: Server freeze on plugin loading - by gv1222 - 04-05-2014, 10:20 AM
RE: Server freeze on plugin loading - by gv1222 - 04-07-2014, 07:20 AM
RE: Server freeze on plugin loading - by xoft - 04-07-2014, 03:47 PM
RE: Server freeze on plugin loading - by gv1222 - 04-08-2014, 02:05 AM
RE: Server freeze on plugin loading - by xoft - 04-08-2014, 03:11 AM
RE: Server freeze on plugin loading - by gv1222 - 04-08-2014, 05:55 AM
RE: Server freeze on plugin loading - by xoft - 04-09-2014, 04:06 AM



Users browsing this thread: 1 Guest(s)