01-13-2013, 09:13 PM
Just found out that I'm stupid. I forgot to commit half of the merged files. Hopefully all's fixed in rev 1140.
Lua hooks needed!
|
01-13-2013, 09:13 PM
Just found out that I'm stupid. I forgot to commit half of the merged files. Hopefully all's fixed in rev 1140.
01-14-2013, 05:37 AM
Just a few suggestions about the settings,ini file.
You have hooknotify enabled. Shouldn't that be for devleopers only? Also the debuggers plugin is in twice, once commented out and once not.
01-14-2013, 06:10 PM
Fixed in rev 1141. It got there from the branch by accident.
01-14-2013, 11:42 PM
OK, cool
01-19-2013, 02:51 AM
Source Wrote:cPluginManager.HOOK_PLAYER_LEFT_CLICKWHAAAAAAT?! I suggest using HOOK_PLAYER_LEFTCLICK & HOOK_PLAYER_RIGHTCLICK.
01-19-2013, 02:52 AM
Yeah, that is a bit inconsistent
Must've been asleep when writing that
The question is, do we consider "leftclick" and "rightclick" single words? Because all the other hooks use underscores between each word. I'm going with underscore, since we also have pre-crafting transcribed as HOOK_PRE_CRAFTING. Thanks given by: Taugeshtu
01-20-2013, 07:32 PM
Ok, it seems the current hooks are stable enough, so now it's time to go crazy about the new hooks. And since forum isn't really an efficient way of doing this kind of stuff, how about we use the bugtracker for this?
So I invite anyone having an idea for a hook to write it down in the bugtracker, possibly as a "feature request" task type and start the summary with "New hook: ..."; use one issue for one hook or one group of related hooks (for example, "inventory window hooks"); try to describe what the hooks should cover, when exactly they should fire, what parameters you'd recommend, what actions to take if the hook callback returns true (what kind of cleanup should MCServer do, if any at all), maybe some example usage, etc. The more information you provide, the more attractive it will be to us developers and thus more likely to get implemented soon Thank you all in advance.
01-20-2013, 08:24 PM
Maybe FakeTruth can create a new project in the bugtracker for hook requests
01-21-2013, 01:40 AM
Maybe not specifically hook requests, the API as a whole?
|
« Next Oldest | Next Newest »
|