Commit Graph

48 Commits

Author SHA1 Message Date
Rochet2
38c516c527 Eluna add boost support and fix warnings 2014-07-24 23:37:42 +03:00
Rochet2
c479607104 Eluna fix mangos build (missing enum from player) 2014-07-16 22:16:28 +03:00
Rochet2
a3359062e5 Eluna/Core Refactor code making LuaEngine.h lighter and splitting entities to their own files. Fixed reload crash for timed events 2014-07-16 16:12:07 +03:00
Rochet2
1447e0da57 Eluna improve object variable extension 2014-07-11 00:20:25 +03:00
Rochet2
dc8afa45b2 Eluna add new hook (need to think where to place this) and corrected Power functions 2014-07-09 21:18:20 +03:00
Rochet2
df480f976d Eluna Fix GetObjectType 2014-07-03 18:30:45 +03:00
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
8fe509c838 Eluna add mangos support. Notice that old MANGOS is now CMANGOS 2014-06-29 21:29:03 +02:00
Rochet2
1f75dc7843 Eluna change definition checks from mangos to tc 2014-06-29 21:29:03 +02:00
Rochet2
0f8f37678d Eluna fix crash on InterruptSpell. Make item use and item gossip hooks to be able to return false to stop spell casting. 2014-06-29 21:29:01 +02:00
Rochet2
580b3f7a25 Fix linux warnings Implement #72 2014-06-29 21:28:59 +02: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
a7e87c5de0 Eluna 2014-06-29 21:28:53 +02:00
Rochet2
417bb6d017 Eluna 2014-06-29 21:28:53 +02:00
Rochet2
8acf303652 Eluna fix build 2014-06-29 21:28:52 +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
b7c00ae18f Eluna fix TC wotlk - was missing the include for opcodes 2014-06-29 21:28:51 +02:00
Rochet2
e7b1bdb6a9 Eluna fix typo 2014-06-29 21:28:51 +02:00
Rochet2
40774d0c5c Eluna fix opcode definitions 2014-06-29 21:28:51 +02:00
Rochet2
16e7a71980 Eluna prevent copying of Eluna and fix init order of WorldObjectInRangeCheck 2014-06-29 21:28:50 +02:00
Rochet2
d4dbc2c00e Eluna attempt fix linux 2014-06-29 21:28:50 +02:00
Rochet2
d269acbf8e Eluna fix typo 2014-06-29 21:28:49 +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
18258079b2 Update LuaEngine.h
Made the error to return right amount of nils in any case.
2014-06-29 21:28:48 +02:00
Rochet2
94063c1b7d Eluna Removed mutex lock and forced only one map update thread to be used. Made returning more arguments than pushed to return the return amount of nils instead. Removed a few hooks 2014-06-29 21:28:47 +02:00
Rochet2
f166732b49 Eluna fix TC define changes 2014-06-29 21:28:46 +02:00
Rochet2
6751208eb2 Eluna create workaround for SetReactState 2014-06-29 21:28:45 +02:00
Rochet2
523e6d50e5 Update LuaEngine.h 2014-06-29 21:28:45 +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
7bd0288658 Eluna implement more hooks, remove unnecessary hooks and code. Can now use Reset to reset timed events and on spawn should be used for events that happen on spawn instead of reset. 2014-06-29 21:28:43 +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
16b6514589 Eluna fix mangos wotlk build 2014-06-29 21:28:35 +02:00
Rochet2
191f9ab768 Eluna reimplement lock and improve hook handling 2014-06-29 21:28:32 +02:00
Rochet2
a8a57f8530 Eluna fix mangos tbc 2014-06-29 21:28:31 +02:00
Rochet2
ac39026545 Eluna fix classic 2014-06-29 21:28:31 +02:00
Rochet2
aed0697c27 Eluna fix TC cata 2014-06-29 21:28:31 +02:00
Rochet2
4dd716015b Eluna update 2014-06-29 21:28:30 +02:00
Rochet2
517cd62b51 Eluna fix error report message expected type 2014-06-29 21:28:29 +02:00
Rochet2
3b8d4cbc02 Eluna 2014-06-29 21:28:27 +02:00
Rochet2
fee6f42e2d Eluna classic support 2014-06-29 21:28:26 +02:00
Foereaper
a04de5b194 Truncating history 2014-06-29 21:27:59 +02:00