Commit Graph

150 Commits

Author SHA1 Message Date
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
517685f65d Fix messing up optional args and a warning 2014-12-19 17:48:15 +02:00
Rochet2
5e27ac24aa Fix linux build and warnings 2014-12-19 15:16:02 +02:00
Rochet2
88dcea9cb7 Fix previous commits to be more efficient overall and have better logic. Also try fix clang error. 2014-12-19 14:19:00 +02:00
Rochet2
2c694bb4d4 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-19 13:02:44 +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
f819245308 Eluna Fix Print functions 2014-12-16 01:54:12 +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
525e108b83 Implement log print functions 2014-12-15 23:25:08 +02:00
Rochet2
e683f48fbb Expose time diff functions 2014-12-15 23:25:08 +02:00
Patman64
967a8045eb Fix calling Eluna functions from coroutines.
Fixes #126.
2014-12-15 00:33:46 -05: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
Foereaper
69177843b6 Fixed RegisterPacketEvent typo 2014-10-07 15:33:49 +02:00
Rochet2
4784c2052a Eluna: Correct whitespace 2014-09-20 22:07:24 +03:00
emudevs
ea6f6bcff2 Global methods documentation
All methods should be documented, but some still need to be updated with appropriate explanation

Updated LuaFunctions.cpp and removed the comments from documented methods. Hooks comments can stay if need be
2014-09-19 00:11:20 -04:00
emudevs
6819a7db45 Updated Spell and Global Documentation
Fix whitespace in HookMgr
2014-09-17 22:16:12 -04:00
Rochet2
d9ff37d78d Eluna: Add cod and money to sendmail, add missing spawn types for mangos and tc for SpawnCreature 2014-09-14 00:32:25 +03:00
Rochet2
42ffd8aff8 Eluna: Implement utility GetRow() 2014-09-13 21:39:48 +03:00
Rochet2
10c81df2cd Eluna add asserts for typename 2014-09-13 21:37:54 +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
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
Rochet2
846b9c7f6d Enhance GlobalMethod documentation 2014-08-15 00:03:21 +03:00
Easelm
d078e00d68 Global Documentation; Last capital fix 2014-08-13 14:56:06 -04:00
Easelm
0ea68b4750 Global Documentation; Corrected capitalization 2014-08-13 14:54:29 -04:00
Easelm
af7a75596c Global Documentation; Documented most of the methods 2014-08-13 14:50:43 -04:00
Rochet2
30e5c418ba Eluna fix doc style and prepare merge a PR 2014-08-09 01:26:14 +03:00
Rochet2
7607ef66aa Allow banning without who banned player 2014-07-31 17:35:56 +03:00
Rochet2
2a2e5b56d8 Remove the lua utility functions and use our own 2014-07-28 18:34:09 +03:00
Rochet2
1f75dc7843 Eluna change definition checks from mangos to tc 2014-06-29 21:29:03 +02:00
Rochet2
423619b652 Eluna switch to Lua 5.2.3 2014-06-29 21:29:01 +02:00
Rochet2
2318149d7a Eluna fix cata merge 2014-06-29 21:29:00 +02:00
Rochet2
580b3f7a25 Fix linux warnings Implement #72 2014-06-29 21:28:59 +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
417bb6d017 Eluna 2014-06-29 21:28:53 +02:00
Rochet2
8acf303652 Eluna fix build 2014-06-29 21:28:52 +02:00
Rochet2
40774d0c5c Eluna fix opcode definitions 2014-06-29 21:28:51 +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
74aaea30d5 Eluna fix RegisterEvent and other unexpected arguments 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
Easelm
bae4bd18be Updated GetAreaName with locale being an optional argument
WIKI: http://wiki.emudevs.com/doku.php?id=eluna_global_method_getareaname
2014-06-29 21:28:45 +02:00
Easelm
89dc95a746 Added Global Method
* GetAreaName(area or zone ID) - Returns area or zone (string) name by area or zone ID (WIKI: http://wiki.emudevs.com/doku.php?id=eluna_global_method_getareaname)
2014-06-29 21:28:44 +02:00
Rochet2
f013e2a9fa Eluna add get expansion 2014-06-29 21:28:38 +02:00
Rochet2
fc0e9a1a78 Eluna change sendmail not req sender 2014-06-29 21:28:32 +02:00
Rochet2
4dd716015b Eluna update 2014-06-29 21:28:30 +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