*sigh* I've been trying to find out if there is a way to get the memory usage of a lua state. After a long search I found that there is even a function for it in Lua.. "collectgarbage('count')". You can even use it with cPluginManager:CallPlugin.
Just wondering, is there actually any way for MCServer to protect land from sand cannon/anvil cannons? Its pretty easy to grief something like spawn with that.
(04-11-2015, 10:25 PM)NiLSPACE Wrote: [ -> ]*sigh* I've been trying to find out if there is a way to get the memory usage of a lua state. After a long search I found that there is even a function for it in Lua.. "collectgarbage('count')". You can even use it with cPluginManager:CallPlugin.
Sounds like you're rolling a new plugin very soon. Can we expect webadmin access to this?
(04-12-2015, 12:20 AM)DiamondToaster Wrote: [ -> ]Just wondering, is there actually any way for MCServer to protect land from sand cannon/anvil cannons? Its pretty easy to grief something like spawn with that.
Now that you mention it, probably not. No hook is being called when a falling block entity converts back to a block, and even if there was, there would be no way to distinguish between a sand cannon shot by a griefer, and a proper player digging in an allowed area.
Well, I was thinking of expanding the PerfPages plugin to see how much memory a plugin uses, but I first have to figure out how PerfPages works

I do not have an developer acc there. :/
EDIT:
the warning is generated by cmake
I'm getting closer.

Error 1 error MSB6006: "app-javac-dependencies.exe" exited with code 2. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\Android++.DeployViaMsBuild\AndroidJava.targets 113 5 sdl-demo
I Use Android++
http://android-plus-plus.com/