Commit Graph

28 Commits

Author SHA1 Message Date
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
Rochet2
16b6514589 Eluna fix mangos wotlk build 2014-06-29 21:28:35 +02:00
Rochet2
7ed94d3e7a Update eluna 2014-06-29 21:28:34 +02:00
Rochet2
46a5f4d033 Eluna add uint64 methods 2014-06-29 21:28:34 +02:00
Foereaper
54899419e0 Eluna SendAddonMessage method
Added: SendAddonMessage method.

TODO: Debug, does not work. @Easelm
2014-06-29 21:28:33 +02:00
Rochet2
fc0e9a1a78 Eluna change sendmail not req sender 2014-06-29 21:28:32 +02:00
Salja
f07521a1aa Eluna Classic Support for Honor things (GetHonorStoredKills, GetRankPoints, GetHonorLastWeekStandingPos, SetHonorStoredKills, SetRankPoints, SetHonorLastWeekStandingPos, UpdateHonor, ResetHonor, ClearHonorInfo) 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