Cuberite Forum

Full Version: WorldEdit
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
You should be using cItem.m_ItemDamage, of course. m_ItemHealth is no longer in the API (but in Lua it means that it is nil, which converts to a valid number, zero)
(06-20-2013, 12:45 AM)xoft Wrote: [ -> ]You should be using cItem.m_ItemDamage, of course. m_ItemHealth is no longer in the API (but in Lua it means that it is nil, which converts to a valid number, zero)

Ah then the wiki is outdated Wink I'll update it.
Can't use //undo.

Because of this error:

[19:21:32] LUA: Plugins/WorldEdit-master/Commands/Selection.lua:52: attempt to index field '?' (a nil value)
[19:21:32] LUA error in HandleCommand. Stack size: 3
[19:21:32] Player "Marvin" issued an unknown command: "//undo"
(06-23-2013, 03:22 AM)catboy5 Wrote: [ -> ]Can't use //undo.

Because of this error:

[19:21:32] LUA: Plugins/WorldEdit-master/Commands/Selection.lua:52: attempt to index field '?' (a nil value)
[19:21:32] LUA error in HandleCommand. Stack size: 3
[19:21:32] Player "Marvin" issued an unknown command: "//undo"

It works fine for me. Does a reload fix it?
7 commits in the last 3 days. Seems reasonable. I can't believe how many tables I created even though it wasn't necessary. That is now mostly fixed Wink

(06-23-2013, 03:22 AM)catboy5 Wrote: [ -> ]Can't use //undo.

Because of this error:

[19:21:32] LUA: Plugins/WorldEdit-master/Commands/Selection.lua:52: attempt to index field '?' (a nil value)
[19:21:32] LUA error in HandleCommand. Stack size: 3
[19:21:32] Player "Marvin" issued an unknown command: "//undo"

I think I fixed it.
Hurray. I created an plugin that automaticly creates a README.md for me. It took quite some testing to see how github responded but now it works Smile
Also I created a logo.. in paint Wink When my brother comes back i'll ask him if he can create a better logo since he knows how to create nice looking logos.
Ok now it also generates the main page of this thread Smile
Got an update. Lots of small speed ups. Also I added the right click compass feature thanks to the new blocktracer class. thanks xoft Wink
Sounds great new updates.
i have a bug
[21:33:23] Malformed plugin, use cPluginManager.AddHook(HOOK_TYPE, CallbackFunct
ion). Fixing the call for you.
[21:33:23] Stack trace:
[21:33:23] [C](-1): AddHook
[21:33:23] Plugins/WorldEdit-master/main.lua(16): ?
[21:33:23] Stack trace end
[21:33:23] cPluginManager.AddHook(): bad parameters. Expected HOOK_TYPE and Call
backFunction, got TNIL, TFUNCTION, TNONE. Hook not added.
[21:33:23] Stack trace:
[21:33:23] [C](-1): AddHook
[21:33:23] Plugins/WorldEdit-master/main.lua(16): ?
[21:33:23] Stack trace end
i had that in the console
Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18