Commit Graph

791 Commits

Author SHA1 Message Date
Winfidonarleyan
33783f4e14 Guild 2021-03-18 23:23:57 +07:00
Winfidonarleyan
6448bf3869 feat(GlobalMethods/AzerothCore): switch to new threading system
Part https://github.com/azerothcore/azerothcore-wotlk/pull/4821
2021-03-15 21:57:19 +07:00
55Honey
688857b0f2 Added guid returns from SendMail
Previously only AC received guid returns from this PR.
This commit adds a return for all cores.
2021-03-15 12:15:38 +01:00
55Honey
620cb0ff15 new approach: multiple variables
Return the guid of items created by SendMail for Azerothcore.
Syntax:
item1, item2, item3, ... = SendMail(subject, text, receiverGUIDLow, senderGUIDLow, stationary, delay, money, cod, entry1, amount1, entry2, amount2, entry3, amount3...)
2021-03-13 20:55:25 +01:00
55Honey
2074daf065 Dont change the whole block. just the required line.
Co-authored-by: Francesco Borzì <borzifrancesco@gmail.com>
2021-03-11 20:58:14 +01:00
55Honey
9941dc1ba3 added definition for different cores
added definition for Azerothcore and Trinity.
Other cores do not return a value.
2021-03-11 20:48:47 +01:00
55Honey
ce0c5bdc26 changed condition of mailGUID 2021-03-11 11:05:46 +01:00
55Honey
c04b0d1c4a added return of first sent items guid
- get the guid of the first item generated in the mail and return it to lua

- declaration of mailGUID to check if data was already pushed to lua in a previous walkthrough of the while loop, in case there are multiple items added
2021-03-11 10:46:46 +01:00
Foereaper
5ce4b51ac2 Added missing include for Mangos timer rewrite 2021-03-05 00:43:34 +01:00
Foereaper
84ebbd181f Added Discord link to readme 2021-03-04 22:18:18 +01:00
Foereaper
ba7eea4e40 Remove special case for Mangos in preparation of internal timer rewrite 2021-03-02 21:47:38 +01:00
Rochet2
5e6226e096 Fix build (#343) 2020-12-25 00:29:45 +02:00
Francesco Borzì
6d7ab9c35e fix(ObjectMethods.h): GetUInt64Value return value (#340) 2020-12-02 19:43:59 +02:00
Rochet2
f117491095 Merge pull request #338 from Elmsroth/rename-defines
Rename some defines
2020-11-22 21:19:02 +02:00
Rochet2
b5374c7d8d Merge pull request #339 from FrancescoBorzi/fix-guild-methods
fix(AzerothCore): correct mistake in GuildMethods.h
2020-11-22 20:15:30 +02:00
FrancescoBorzi
a44e773146 fix(AzerothCore): correct mistake in GuildMethods.h 2020-11-22 16:51:00 +01:00
Rochet2
91ef336690 Fix CI 2020-11-16 00:00:15 +02:00
Rochet2
520034c1ff Merge branch 'master' of github.com:ElunaLuaEngine/Eluna into Elmsroth-rename-defines 2020-11-15 23:27:16 +02:00
Rochet2
b036d96176 Try fix CI 2020-11-15 23:18:45 +02:00
Elmsroth
8e3b74e9b1 Rename some defines 2020-11-14 17:30:47 +01:00
Rochet2
a143a65c19 fix fatal warning (#337) 2020-10-29 01:44:36 +02:00
Rochet2
9d6b018efe Remove CI for TC ELUNA=OFF 2020-10-25 03:13:09 +03:00
Rochet2
6f4438ea2c Document undocumented return values of bound event functions (#335) 2020-10-02 23:16:08 +03:00
Rochet2
419563c0bf Merge branch 'master' of github.com:ElunaLuaEngine/Eluna into Creature_event_on_spawn 2020-09-15 23:59:58 +03:00
Rochet2
5a29f0a9ea Try PCH=ON CCACHE=OFF (#329)
This should make AC build faster for us. (new: 23 min, old: 39 min)
2020-09-15 22:51:51 +03:00
Rochet2
5f28a2fc82 Fix most CI problems (#328)
Thanks to H0zen at 23daeb6a0d for helping comments.
2020-09-15 21:38:35 +03:00
Rochet2
2a6663f6d7 Add CI (#327) 2020-09-14 23:55:12 +03:00
Rochet2
0959a8d022 Delete cmake.yml 2020-09-14 19:01:31 +03:00
Rochet2
1d4c44441f Create cmake.yml 2020-09-14 19:00:45 +03:00
Foereaper
23daeb6a0d Quick fix for GetAITarget, this really should be cleaned up 2020-09-12 18:23:27 +02:00
Foereaper
126976b647 Merge branch 'master' of https://github.com/ElunaLuaEngine/Eluna 2020-09-12 18:05:14 +02:00
Foereaper
9c821527eb Add GetRealmID 2020-09-12 18:05:11 +02:00
Foereaper
dad6dba284 Merge pull request #324 from iThorgrim-Hub/master
Add SetAchievement to Eluna
2020-09-12 18:02:58 +02:00
Foereaper
4c7ad83e06 Forgot a define check 2020-09-12 15:47:56 +02:00
Foereaper
b6a450569e Required changes for latest TC 2020-09-12 15:44:02 +02:00
iThorgrim
3dba4036d0 Add SetAchievement to Eluna 2020-08-24 11:42:23 +02:00
Rochet2
31f4cfd98c Fix TC build 2020-06-29 13:58:03 +03:00
Elmsroth
69a7b14d72 Add GameObjectAI Support 2020-05-29 09:47:14 +02:00
Oliver M
d1bed467b9 Fixed Creature_Event_On_Spawn getting called twice
On Trinity, ElunaCreatureAI called JustAppeared() while the core also called JustAppeared, resulting in two events getting triggered.
2020-04-13 00:39:47 +02:00
Rochet2
f7adf33028 Merge pull request #310 from Kitzunu/fix-acore-build
Update CreatureMethods.h to fix ACore build
2020-04-10 01:16:31 +03:00
Kitzunu
243cdf98f4 Update CreatureMethods.h 2020-04-10 00:14:12 +02:00
Rochet2
acd2ce4bbf Merge pull request #308 from RedSkull-666/master
Update GlobalMethods and PlayerMethods
2020-04-10 00:18:34 +03:00
RedSkull-666
ab4b5eebde Update CreatureMethods.h 2020-04-09 21:51:44 +02:00
Rochet2
c83e3a33a0 Merge pull request #309 from Kitzunu/fix-wanderdistance-acore
Update CreatureMethods.h for ACore PR
2020-04-09 21:10:52 +03:00
Kitzunu
2b031bdea6 Update CreatureMethods.h 2020-04-09 19:56:31 +02:00
RedSkull-666
2cdf63d45f Update GlobalMethods and PlayerMethods
Add KickPlayer reason for Trinity
2020-04-09 11:07:47 +02:00
Rochet2
7f5387806f Merge pull request #307 from RedSkull-666/patch-3
Trinity SQLTransaction
2020-04-03 01:28:05 +03:00
RedSkull-666
082be57c01 Merge pull request #1 from RedSkull-666/patch-3
Trinity SQLTransaction
2020-04-01 22:55:56 +02:00
RedSkull-666
c58135b161 Trinity SQLTransaction
Ungroups Trinity from AzerothCore when necessary
Replaces SQLTransaction by CharacterDatabaseTransaction
2020-03-31 19:29:24 +02:00
Rochet2
3d9ce1911e Merge pull request #306 from RedSkull-666/patch-2
Update PlayerMethods.h
2020-03-02 19:50:38 +02:00