Rochet2
6a731d24ea
Change AH hooks to work with TC
2015-02-15 02:09:15 +02:00
Salja
540c351460
add bid to AUCTION_EVENT_ON_ADD
...
Signed-off-by: Salja <salja8840@gmail.com >
2015-01-25 23:44:26 +01:00
Salja
81b049cdcd
use auctionHouseEntry for all auctions hooks add buyout, etime to AUCTION_EVENT_ON_ADD
...
Signed-off-by: Salja <salja8840@gmail.com >
2015-01-25 23:22:45 +01:00
Salja
734f720aca
add player and item to auctionshouse hooks, not sure is better move back to player events ?
...
Signed-off-by: Salja <salja8840@gmail.com >
2015-01-25 22:47:16 +01:00
Rochet2
22e2195d00
Fix build
2015-01-20 18:36:35 +02:00
Salja
ed0d7dd415
eluna OnLearnTalents hook and player:LearnTalent function
...
Signed-off-by: Salja <salja8840@gmail.com >
2015-01-20 17:17:02 +02:00
Rochet2
3d645d8048
Add StackTracePlus, Rewrite not to recreate eluna on reload
2015-01-20 17:05:41 +02:00
Patman64
9575a970f3
Move hooks to separate files.
2015-01-19 00:32:52 -05:00
Patman64
5492a68e7b
Add GAMEOBJECT_EVENT_ON_USE.
2015-01-15 00:09:47 -05:00
Rochet2
54c82280cd
Merge pull request #139 from ElunaLuaEngine/weather_changes
...
Remove Weather functions and type, add Map:SetWeather
2015-01-12 19:25:23 +02:00
Patman64
dd39592ddd
Allow binding event handlers to individual Creatures.
...
Because GUIDs are, in fact, not globally unique on mangos, the actual
unique identifier is the GUID/instance ID pair of the Creature.
On Trinity Creatures in instances are assigned new GUIDs. This means that
the instance ID part is redundant but must be used anyway for consistency.
2015-01-11 18:48:38 -05:00
Rochet2
d42cb350fe
Remove Weather functions and type, add Map:SetWeather
...
Weather hook changes
2015-01-11 20:17:09 +02:00
Rochet2
5e7b0ee0f7
Fix TC build, analysis warnings and triggering addon message hooks
2015-01-06 12:43:53 +02:00
Patman64
15f161fa1e
Clean-up Eluna lock macro.
2015-01-05 22:52:46 -05:00
Patman64
e2f81b7336
Make the Eluna mutex static.
...
It was previously unsafe to reload Eluna because it had to be reloaded
with the mutex unlocked. This is because the mutex's lifespan was shorter
than the Eluna instance it was guarding.
2015-01-05 22:50:51 -05:00
Patman64
1194074fb2
Simplify ReplaceArgument.
2015-01-05 21:20:14 -05:00
Rochet2
0e7367e23d
Fix hookmgr rewrite
...
Fix:
- crash on reload
- crash on error in call
- a warning from type change
2015-01-05 16:38:19 +02:00
Patman64
4349a80d8e
Allow updating argument values between handler calls.
...
This allows handlers that return values to see the returned values of previous
handlers. E.g. if Handler A modifies the value from 10 to 20, Handler B
will receive 20 as an argument instead of the original 10.
2015-01-04 21:38:18 -05:00
Patman64
717d1b698d
Re-write HookMgr macros into functions and clean-up HookMgr.cpp.
2015-01-04 20:30:31 -05:00
Rochet2
092c61c20b
Eluna add mutex lock for hook calls
2015-01-03 22:20:30 +02:00
Tommy
803a835668
Happy New Year 2015
2015-01-01 13:59:33 -05:00
Rochet2
07d25f5031
Eluna Fix static analysis noted warnings and errors
2014-12-23 23:21:13 +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
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
Patman64
3f08b37fd0
Make ReactorAI the default AI on mangos and allow overriding.
...
All AI event handlers (except OnReset) can now override the default AI
behavior on both mangos and Trinity by returning true.
For default behavior, return false or nothing.
Fixes #124 .
2014-12-14 23:24:41 -05:00
Rochet2
7f496959f5
Eluna fix (c)mangos build for mthread changes
2014-12-01 19:56:44 +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
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
emudevs
0dfa5b3968
Added missing parameter OnQuestReward
...
Cleaned commented code
2014-09-15 16:00:06 -04:00
Rochet2
28a06b88fc
Eluna: Remove on quest end hook because it doesnt function correctly and there is a replacement
2014-09-15 10:04:42 +03:00
Rochet2
9add43bf2a
Implement BG methods for TC and do other fixes
2014-09-13 23:18:53 +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
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
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
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