Commit Graph

58 Commits

Author SHA1 Message Date
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
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
4784c2052a Eluna: Correct whitespace 2014-09-20 22:07:24 +03:00
Rochet2
5b337c7f2b Eluna remove WorldObject::GetWorldObjct, use Map::GetWorldObject 2014-09-20 18:04:34 +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
7c0d2cb523 Eluna merged with TC
Certain chat methods had parameter changes. Most of these changes will be updated soon to lift the conflict between versions.
2014-09-15 00:22:03 -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
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
b6663ba2d1 Eluna fix previous commit (tested TC wotlk) 2014-08-23 15:41:19 +03:00
Patman64
6a44dab525 Add Creature documentation. 2014-08-20 22:32:46 -04:00
Rochet2
ce2637e322 Eluna Implement [] to parser, change all & to [] in documentation and fix a bug with CastCustomSpell 2014-08-13 17:02:21 +03:00
Easelm
b16879e622 Group Documentation
Corrected spacing in GameObject documentation

Removed Group documented methods in LuaFunctions.cpp
2014-08-12 18:52:48 -04:00
Rochet2
f76470c7c8 Eluna fix forgotten luafunction link 2014-08-12 20:45:38 +03:00
Easelm
e829b650b4 GameObject Documentation
Removed all documented methods from LuaFunctions.cpp. This excludes commented out code.
2014-08-11 18:04:06 -04:00
Easelm
af9bdac9d4 Corpse Method Documentation
Removed corpse documented methods from LuaFunctions.cpp.
2014-08-09 17:50:58 -04:00
Easelm
02ed184f13 Eluna; Removed Documented methods from LuaFunctions.cpp 2014-08-09 17:34:56 -04:00
Rochet2
30e5c418ba Eluna fix doc style and prepare merge a PR 2014-08-09 01:26:14 +03:00
Patman64
ddc9f9f46b Remove old documentation and reference to GetCharges. 2014-07-31 20:26:41 -04:00
Rochet2
f0bf49148f Update Ban() documentation 2014-07-31 17:36:57 +03:00
Rochet2
38c516c527 Eluna add boost support and fix warnings 2014-07-24 23:37:42 +03:00
Rochet2
1bfaf5a44b Update LuaFunctions.cpp 2014-07-17 22:00:13 +03:00
Rochet2
cec3174b38 Eluna fix TC 2014-07-17 21:18:49 +03:00
Rochet2
94528114c9 Eluna fix typo in filename thanks Antz :3 2014-07-17 16:41:48 +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
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
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
1f75dc7843 Eluna change definition checks from mangos to tc 2014-06-29 21:29:03 +02:00
Rochet2
c2a3ea5043 Eluna remove unused method bodies, Rename method bodies correctly, enable some methods implemented on mangos and TC already.. 2014-06-29 21:29:02 +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
2764a915a1 Add a little more documentation to source. #24
There should now be enough information in the comment to be able to use the methods to create a taxi path.
Also added the comment for mountid being npc entry.
2014-06-29 21:28:58 +02:00
Rochet2
98aa2d18ef Add UpdateEntry method for creature. Closes #67
Fix optional arg

Fix mangos code
2014-06-29 21:28:58 +02:00
Rochet2
2d81bd23eb Update LuaFunctions.cpp 2014-06-29 21:28:56 +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
37a0161f29 Eluna add GetWorldObject by guid to map methods. Closes #64 requires use of guid 2014-06-29 21:28:55 +02:00
Rochet2
eeb348e48a Eluna fix some methods 2014-06-29 21:28:54 +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
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
6751208eb2 Eluna create workaround for SetReactState 2014-06-29 21:28:45 +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
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
f013e2a9fa Eluna add get expansion 2014-06-29 21:28:38 +02:00
Rochet2
389ed8a80e Eluna implement SendShowMailbox for all cores 2014-06-29 21:28:36 +02:00