Rochet2
dcd0a0e89c
Fix linux build and warnings
2014-12-20 18:24:54 +02:00
Rochet2
631e220b31
Eluna changes
...
* Attempt fix VS 2010 pow error
* Tweak the doc parser a little to work with variable arugments ... and show
enum names and similar.
* Change push and check to work with more types like size and time (fix osx)
* Add errors to using not implemented operations on eluna objects
* Change some SQL comments to work with documentation better
* Add functions to create uint64 and int64 values (may need rename)
* Change doc generation documentation a little to make it clearer how proto is used
2014-12-20 18:24:53 +02:00
Rochet2
809a0ac2bc
Fixes #130
2014-12-20 18:15:59 +02:00
Patman64
8c40dd1692
Allow temporary event handlers for all events.
...
This allows you to register a handler to only fire N times.
Dynamic event handler binding/unbinding is now possible.
For backwards compatibility, if the number of shots is missing, the event
handler will never be removed from the event.
2014-12-18 22:09:34 -05:00
Rochet2
662babc806
Eluna Fix checking of objects with varying types
2014-12-16 01:21:42 +02:00
Rochet2
cb7f9d5145
Eluna add int64 datatype, rename functions for osx, enhance object checking code
2014-12-15 23:29:49 +02:00
Rochet2
7671054425
Eluna fix TC errors from previous commits, fix merge and fix a crash on osx
2014-12-15 23:25:09 +02:00
Rochet2
6268216a64
Eluna implement changes from new_mthread to master ~ Does not add multithread support
2014-11-30 01:37:45 +02:00
Rochet2
a7f4954fbe
Eluna implement functions from #121 , implement hidden file ignoring closes #122 , enhance documentation in places, change requiring some now only allowing unique filenames
2014-11-22 17:16:41 +02:00
Rochet2
93982a16c1
Correct error messages to be clearer
2014-11-10 14:17:52 +02:00
Rochet2
02316cd182
Revert changes to extension from 2343f1b2d6
2014-11-09 23:03:57 +02:00
Rochet2
2343f1b2d6
Eluna fix require path to lua script folder structure. Implement .ext.lua and comment them in the ext files that exist.
2014-11-09 17:16:47 +02:00
Rochet2
d7920b4bb7
Fix loading debug messages to avoid confusion
2014-10-23 14:54:57 +03:00
Rochet2
4784c2052a
Eluna: Correct whitespace
2014-09-20 22:07:24 +03:00
Rochet2
7e99514fed
Eluna: Separate eluna init and running scripts for startup load orders
2014-09-16 19:51:34 +03:00
Rochet2
61551494e8
Merge branch 'master' of https://github.com/ElunaLuaEngine/Eluna into luaevents
2014-09-13 16:05:30 +03:00
Rochet2
06be9650bb
Eluna fix crash in timed events and prepare some for future changes. Ditched EventProcessor
2014-09-13 16:05:16 +03:00
Foereaper
731682708f
Added more BG hooks, fixed a few issues
2014-09-10 23:42:20 +02:00
Foereaper
29385c63b1
Fix for event register in previous hook
2014-09-10 22:40:53 +02:00
Foereaper
0bfdf632e7
Added base BG methods and hooks
...
This has only been tested on Mangos Zero and will definitely need tweaking on Trinity
More methods will be added SHORTLY
2014-09-10 22:38:21 +02:00
Foereaper
7be917335a
Added new hook for post reload
2014-09-10 01:28:52 +02:00
Patman64
540fa9ca18
Fix possible panic in Eluna::ExecuteCall.
...
The panic shouldn't actually be possible due to checks in the different
Register functions, but more checks doesn't hurt.
2014-08-11 00:53:01 -04:00
Rochet2
f5c3326ed5
Eluna fix error reporting nonsense and popping stack. Closes #102
2014-08-10 00:11:42 +03:00
Rochet2
594f38c73b
Eluna fix freeze on reload. Closes #99
2014-08-09 23:35:59 +03:00
Rochet2
9790a2af56
Eluna fix VS warning
2014-08-09 21:37:08 +03:00
Patman64
2e1ed8c1e9
Fix possible size issues.
2014-08-03 23:42:42 -04:00
Patman64
ac754aeffa
Fix issues with negative values and uint32.
2014-08-02 21:18:31 -04:00
Patman64
b2bebc006e
Add overflow checking for CHECKVAL.
2014-08-02 03:51:33 -04:00
Patman64
64c26969b7
Move some unused includes.
2014-08-02 02:31:19 -04:00
Patman64
49698169c7
Clean-up some unnecessary CHECKVAL templates.
2014-08-02 02:21:07 -04:00
Rochet2
38c516c527
Eluna add boost support and fix warnings
2014-07-24 23:37:42 +03:00
Rochet2
62db0c601b
Update LuaEngine.cpp
2014-07-21 22:57:07 +03:00
Rochet2
94528114c9
Eluna fix typo in filename thanks Antz :3
2014-07-17 16:41:48 +03:00
Rochet2
816134b60e
Eluna add ace include for mangos
2014-07-16 23:09:41 +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
965d511d52
Eluna fix load order
...
_ext in file name and .ext as extension can both be used to mark files as extensions that are loaded first. Otherwise all is loaded alphabetically. Everything is loaded as modules, which means that they cant be loaded twice with require.
closes #85
2014-07-03 20:23:06 +03:00
Rochet2
873d6a9537
Eluna fix crash on shutdown, closes #71
2014-07-03 19:08:58 +03:00
Rochet2
5a40cc5dea
Eluna fix linux
2014-07-02 01:24:07 +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
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