Commit Graph

20 Commits

Author SHA1 Message Date
Rochet2
637ee5fff9 Eluna tweak load order. You can now freely use require() on any script. all lua files are loaded alphabetically (path is taken into account) and the extensions folder is loaded first always 2014-07-02 00:44:54 +03:00
Rochet2
d09b5b04ba Eluna Closes:
#70, #69, #83, http://emudevs.com/showthread.php/3438-Custom-Items-and-On-Item-Use-Events
Fixes Object::~Object crash log from #71
2014-07-01 00:35:06 +03:00
Rochet2
0fd1615887 Eluna add event group type name to the error messages 2014-06-29 21:28:57 +02:00
Rochet2
45c5c876dd Eluna remove crash possibility of using ReloadEluna global function on returning hooks, restrict the use of the reload command 2014-06-29 21:28:55 +02:00
Rochet2
77ff26ac8e Eluna made hook stores use templates to verify right bind store used to prevent human errors. Also fixed an error this system brought up :) 2014-06-29 21:28:52 +02:00
Rochet2
9a1f8c7884 Eluna fix linux warnings 2014-06-29 21:28:50 +02:00
Rochet2
19b03dcbcf Eluna fix mangos build 2014-06-29 21:28:49 +02:00
Rochet2
b1f85bfc21 Eluna
Improved pushing so that a single userdata is used per object pushed.
Made everything use the singleton less, allowing more free code and easier to implement multithreading later.
Made macros for hookmgr and fixed the issue with hooks called inside hooks.
2014-06-29 21:28:49 +02:00
Rochet2
e131f36d39 Eluna add new system for userdata management. single userdata with GC.
Note that this will still need the core side destructors to have the ref remove function used in order to have invalid pointer errors.
2014-06-29 21:28:48 +02:00
Rochet2
c998575221 Eluna fix build 2014-06-29 21:28:44 +02:00
Rochet2
404cbf3d11 Eluna fix mangos build 2014-06-29 21:28:44 +02:00
Rochet2
0fd4fbd945 Eluna fix folder path and add config option possibility for script folder path (default 'lua_scripts') 2014-06-29 21:28:43 +02:00
Rochet2
cdaf38b737 Eluna fix linux script loading - Still require adding a config setting to set a path to allow you to use a fixed path with restarters and shortcuts 2014-06-29 21:28:43 +02:00
Rochet2
be80650625 Eluna fix left out TC logs 2014-06-29 21:28:41 +02:00
Rochet2
924997603f Eluna misc fixes 2014-06-29 21:28:40 +02:00
Rochet2
3cdc08d556 Eluna rewrite file loader 2014-06-29 21:28:39 +02:00
Rochet2
7ed94d3e7a Update eluna 2014-06-29 21:28:34 +02:00
Rochet2
b02cb0f545 Eluna fix crash on return false on chat hooks and fix opt arguments for strings. No longer accept numbers for opt string as valid strings. 2014-06-29 21:28:33 +02:00
Rochet2
191f9ab768 Eluna reimplement lock and improve hook handling 2014-06-29 21:28:32 +02:00
Foereaper
a04de5b194 Truncating history 2014-06-29 21:27:59 +02:00