Commit Graph

401 Commits

Author SHA1 Message Date
Patman64
e84a123e39 Fix Global: appearing in docs where it isn't wanted.
Also fix a broken font.
2015-03-08 19:31:31 -04:00
Rochet2
7cb61f6259 Fix mangos GetDist methods - no exact dist methods on mangos based 2015-03-08 16:33:56 +02:00
Rochet2
210f36ba54 Fix a warning on linux 2015-03-07 21:28:33 +02:00
Rochet2
2034509b15 Add more guid documentation 2015-03-07 17:12:23 +02:00
Rochet2
6badad938d Add more GUID documentation 2015-03-07 17:12:09 +02:00
Rochet2
2d672d8828 Add methods to get exact coordinate distances 2015-03-06 17:18:38 +02:00
Tommy
947c3a3b10 Corrected invalid information give on :SpawnCreature 2015-03-06 04:20:53 -05:00
Rochet2
dc157b6f49 Fix typo in GossipSendPOI
Thanks to Valkryst
2015-02-25 20:37:11 +02:00
Patman64
cda4607493 Allow clear events functions to clear events of all types. 2015-02-21 23:05:12 -05:00
Asandru
5f6417663e New player method unbind all instances 2015-02-15 14:12:35 +02:00
Rochet2
166dacee83 Revert 340fe17f4f partially
The UpdateUInt32Value method is not identical to Set and Set screws up gossip on TC based
2015-02-15 13:52:15 +02:00
Rochet2
32e7a5e065 Fix mangos and TC differences 2015-02-15 03:22:13 +02:00
Rochet2
721355b670 Eluna fix merge 2015-02-15 03:00:24 +02:00
Rochet2
6b5fed561c Eluna fix problem with reloading timed events 2015-02-15 02:45:29 +02:00
Rochet2
4e787924e2 Change AH hooks to work with TC 2015-02-15 02:45:29 +02:00
Rochet2
1b9a2ae018 MangosTwo change fixes 2015-02-15 02:44:24 +02:00
Rochet2
849651d4c0 Change player access from sessions to players 2015-02-15 02:44:23 +02:00
Rochet2
bdba6bd9bd Eluna fix cppcheck warnings and errors 2015-02-15 02:44:22 +02:00
Rochet2
e7019de059 Eluna fix problem with reloading timed events 2015-02-15 02:09:16 +02:00
Rochet2
6a731d24ea Change AH hooks to work with TC 2015-02-15 02:09:15 +02:00
Foereaper
cd217f9490 Added MANGOS define
Since Mangos Two also has the new weather system, add definition. Entire block should be refactored as soon as possible.
2015-02-14 10:35:46 +01:00
Rochet2
0701980561 Eluna fix cppcheck warnings and errors 2015-02-13 21:29:02 +02:00
Salja
3ad7d9a767 Merge pull request #144 from ElunaLuaEngine/auctionshouse
Auctionshouse Hooks Updates
2015-01-28 10:46:36 +01: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
e6e4ecdab1 Fix push and taxi crashes and add new taxi changes 2015-01-24 02:29:11 +02:00
Tommy
9fe397aaf5 Fix RemoveCorpse and RemoveCorpse return values
Small bracket clean up
2015-01-20 23:23:58 -05:00
Tommy
7b94cc4eed Fix GetHonorStoredKills and NearTeleport return values
Corrected line indent
2015-01-20 23:17:27 -05:00
Rochet2
92a924e722 Fix tbc and classic 2015-01-20 18:50:04 +02:00
Rochet2
22e2195d00 Fix build 2015-01-20 18:36:35 +02:00
Rochet2
f2e71c181c Merge pull request #142 from ElunaLuaEngine/learn_talents
Eluna OnLearnTalents hook and player:LearnTalent function
2015-01-20 17:18:01 +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
3f9251fef9 Merge pull request #137 from ElunaLuaEngine/reformat_reload
Add StackTracePlus, Rewrite not to recreate eluna on reload
2015-01-20 17:07:00 +02:00
Rochet2
3d645d8048 Add StackTracePlus, Rewrite not to recreate eluna on reload 2015-01-20 17:05:41 +02:00
Rochet2
e8d840ace9 Merge pull request #141 from ElunaLuaEngine/hook_boyscouting
Move hooks to separate files.
2015-01-20 16:37:04 +02:00
Patman64
58c1cf0ae2 Remove Hooks.cpp. 2015-01-19 00:39:56 -05:00
Patman64
d0efb8f94f Fix Linux build. 2015-01-19 00:39:01 -05:00
Patman64
9575a970f3 Move hooks to separate files. 2015-01-19 00:32:52 -05:00
Patman64
18a165268e Add include guards to ElunaIncludes.h. 2015-01-19 00:20:22 -05:00
Rochet2
044b014476 Fix GetStandState
Wrong return amount
2015-01-17 15:05:11 +02:00
Patman64
c486e02d10 Move ElunaCreatureAI into a separate file. 2015-01-16 17:11:27 -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
882eb40acb Add method GetItemByGUID 2015-01-09 23:13:31 +02:00
Rochet2
e1230126ab Eluna fix Gossip hooks, possible crash, typo, lua open hook and make some base documentation about return value changes to source 2015-01-09 21:45:21 +02:00
Rochet2
cc71273277 Fix item use not working - Return value changed from false to true 2015-01-07 12:12:51 +02:00
Patman64
f38591565f Move On_Reset calls in HookMgr.
On_Reset should be called whether or not the hooks that call it have
events.
2015-01-06 20:03:00 -05:00