WorldEdit
#41
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)
Reply
Thanks given by:
#42
(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.
Reply
Thanks given by:
#43
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"
Reply
Thanks given by:
#44
(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?
Reply
Thanks given by:
#45
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.
Reply
Thanks given by:
#46
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.
Reply
Thanks given by:
#47
Ok now it also generates the main page of this thread Smile
Reply
Thanks given by:
#48
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
Reply
Thanks given by:
#49
Sounds great new updates.
Reply
Thanks given by: NiLSPACE
#50
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
Reply
Thanks given by:




Users browsing this thread: 8 Guest(s)