joschiwald
6c0ff5717f
Scripts/Gnomeregan: moved Blastmaster Emi gossip to db
2014-04-21 21:39:51 +02:00
jackpoz
ba61ec085d
Scripts/Commands: Add comment about 9d58410739 changes
2014-04-13 16:02:41 +02:00
jackpoz
9d58410739
Scripts/Commands: Fix memory leak in ".gobject add" command
...
Valgrind log:
158 (104 direct, 54 indirect) bytes in 1 blocks are definitely lost in loss record 24 of 73
at operator new(unsigned long) (vg_replace_malloc.c:319)
by GameObjectModel::Create(GameObject const&) (GameObjectModel.cpp:152)
by GameObject::Create(unsigned int, unsigned int, Map*, unsigned int, float, float, float, float, float, float, float, float, unsigned int, GOState, unsigned int) (GameObject.cpp:237)
by gobject_commandscript::HandleGameObjectAddCommand(ChatHandler*, char const*) (cs_gobject.cpp:155)
2014-04-13 15:01:20 +02:00
jackpoz
dc58ec0d6c
Scripts/Commands: ".modify speed" targets current Player by default
...
Allow ".modify speed" command to target current Player if there is no target or if the selected Unit is a Creature.
This behavior could be extended to other commands that require target Players.
2014-04-13 14:06:21 +02:00
jackpoz
a07e82530f
Scripts/Commands: Fix .mmap loc wrong coordinates
...
Fix .mmap loc command printing swapped x and y tile coordinates
2014-04-13 13:40:42 +02:00
Warpten
17923c3c44
Scripts/Commands: Ensure gameobject template is valid from .gob add temp [...]
...
As per Aokrome's spamming. "Avoids false positive logs"
2014-04-12 14:45:51 +02:00
jackpoz
f47962f670
Core/Misc: Fix some static analysis issues
...
Add some asserts and additional NULL checks as sanity checks.
2014-03-31 20:59:33 +02:00
jackpoz
4c27c83efa
Core/Misc: Fix some static analysis issues
2014-03-20 21:34:05 +01:00
jackpoz
d357597270
Scripts/Commands: Fix crash in ".kick" command
...
Fix a NULL dereference exception happening when using .kick command caused by a strtok(NULL) call without a previous call to the string to be tokenized.
Issue added in 101cad1f28
2014-03-09 17:09:15 +01:00
joschiwald
3a40d8a887
Core/Player: delete queststatus (weekly/monthly/seasonal) on deleting character thx @Expecto
...
- also rename some prepared statements
Closes #11658
2014-03-02 00:00:39 +01:00
joschiwald
b72273014f
Core/DB/Achievements:
...
- fixed arena season title achievements and rewards
- added mailtemplate support for `achievement_reward` table
- fixed typo in GetBattleMasterBG which causes achievement reward mail expire in 1 day
Ref #8777
2014-02-10 00:14:29 +01:00
joschiwald
b000fdca70
Core/Entities: allow interaction with gameobject questgivers if player can take or return quests
...
Closes #11269
Closes #8898
Closes #10204
Closes #11410
Closes #7053
Closes #6189
Closes #9474
2014-02-06 21:23:18 +01:00
Vincent_Michael
101ac7f511
Misc: Minor cosmetic changes here and there
2014-01-21 20:20:38 +01:00
Discover-
f6264169d8
Merge pull request #11299 from Carbenium/MailboxCmd
...
Core/Command: Add mailbox command
2014-01-19 07:29:11 -08:00
Discover-
c7b78a2b4e
Core/Commands: Using the '.gm vis off' command now instantly makes the GM invisible to non-GM players, instead of waiting until Player::UpdateObjectVisibility was called from a different method.
...
Ref. #11467
2014-01-19 14:03:09 +01:00
Discover-
735cebf7a3
Core/Commands: The .setskill command is now usable even if the player doesn't already have the skill learned.
2014-01-18 01:05:03 +01:00
Zabustak
101cad1f28
Show Kick, Mute and Ban in world
2014-01-17 12:23:36 +01:00
Shauren
619edff196
Misc:
...
* Tools: Fixed a compile warning
* Commands: Fixed npcflag format in .npc info
2014-01-06 13:53:29 +01:00
Vincent_Michael
20004050bc
Update copyright note for 2014.
...
Happy new year.
2014-01-01 00:07:53 +01:00
Nawuko
6d21d33aac
Core: user defined literals need a space in front
2013-12-30 20:35:37 +01:00
jackpoz
c40cdc2968
Core/Chat: Fix assert triggered by .npc add
...
Fix an assert in Aura::_UnapplyForTarget() caused by ".npc add" changing the guid of the spawned Creature.
2013-12-29 19:37:20 +01:00
Shauren
079905e29a
Core/Transports
...
* Fixed transport orientation
* Fixed transport position desynchronization for stoppable transports
* Ignore spawnMask errors for objects spawned on transports
2013-12-29 14:59:06 +01:00
Malcrom
fe95371d9a
Core/Scripting: Replace casted with cast as casted is not a word.
2013-12-25 14:16:55 -03:30
Shauren
107af52853
Core/Chat: Refactored building chat packets
...
* Moved everything into one specialized method instead of being scattered all over the place
* Allow localizing creature names in chat messages (when using $N)
* Send SMSG_GM_MESSAGECHAT for gm messages
2013-12-23 14:23:49 +01:00
Discover-
ec8e94c6ac
Core/AI: Fix an issue where the OnQuestAccept hooks were not called for auto-completed quests.
...
Fixes #11304
2013-12-14 19:39:47 +01:00
joschiwald
eddf1b5a64
Scripts: replace some SetOrientation() calls with spline packets and some random changes
2013-12-10 18:46:11 +01:00
Carbenium
fa2616fe4e
Add mailbox command
2013-12-06 21:37:55 +01:00
Vincent_Michael
6e13263c7a
Core/AI: Good bye, Good bye my beloved EventAI system :(
2013-12-01 01:27:08 +01:00
Spp
94e2b9332a
Core/Logging: Remove LOG_FILTER_XXX defines with it's value (remember logger names are case-sensitive)
2013-11-08 10:50:51 +01:00
Ascathor
e5553cfb78
Core/Command: Fix ban info order for .pinfo
2013-10-27 20:38:33 +01:00
jackpoz
daf5a4b5c3
Core/Chat Commands: Allow to add overlapping teles .
...
Allow to add overlapping teles like "abc" even if "abcde" already exists. This wasn't possible and a "Teleport already exists" error was thrown instead.
2013-10-25 21:50:52 +02:00
Vincent_Michael
9802c7b891
Scripts/Misc: Coding Style unification? (by Aokromes)
2013-10-22 20:24:05 +02:00
Ascathor
193f4ed868
Core/Command: Improve .group list to feature several notes and features to improve handling.
2013-10-17 14:58:37 +02:00
Shauren
59fd2520fc
Core/Creatures: Removed remains of creature_transport table
2013-10-17 00:20:00 +02:00
Shauren
ce55647c41
Core/Transports
...
* Rewritten path generation, now uses splines - timers are a lot more accurate now
* Implemented stopping transports
* Implemented spawning transports in instances
* Implemented spawning gameobjects as transport passengers
* Transport passengers are now stored in creature/gameobject table using gameobject_template.data6 from transport's template as map id
2013-10-16 18:37:29 +02:00
Shauren
a368fae588
Core/Players: Fixed issues with incorrect targets being selected for spells
2013-10-03 17:07:25 +02:00
Spp
ad29676c27
Fix compile under linux and update auth db with latest changes
2013-09-29 14:15:58 +02:00
Spp
ea2fe0217d
Core/RBAC: Simplify RBAC implementation
...
- Drop groups (roles than can have inherited roles) and roles (set of
permissions)
- Permissions can now have inherited permissions (those act as roles)
RBAC DB structure is now limited to four tables
- rbac_permissions: Contains permissions and roles
- rbac_linked_permissions: Contains the relation between permissions and
linked permissions (those permissions that have linked permissions are
called roles)
- rbac_default_permissions: Contains the list of permissions to be granted
to each security level [Added to maintain compatibility in an easy way]
- rbac_account_permissions: Contains the list of permissions granted or
denied for a particular account.
NOTE: IF YOU ARE USING CUSTOM PERMISSIONS, ROLES OR GROUPS CHECK THE SQL
BEFORE APPLYING...
2013-09-29 13:19:05 +02:00
Spp
cfaea769bc
Core/RBAC: Move RBAC code to namespace rbac
2013-09-27 13:35:45 +02:00
jackpoz
6581d7db85
Core/Commands: Fix NULL dereference crash in .account password
...
Fix NULL dereference crash in .account password added in bd8d0cfbce
Fixes #10791
2013-09-13 20:57:53 +02:00
Machiavelli
bd8d0cfbce
Fix build
2013-09-12 16:42:22 +01:00
Nay
4df862dd4c
Merge pull request #10792 from Ascathor/master
...
Core/Command: Fixing .account password to no longer crash
2013-09-12 07:50:07 -07:00
Ascathor
8c596b97bf
Core/Command: Fixing .account password to no longer crash
...
And add some comments to it.
2013-09-12 16:39:41 +02:00
Nay
e4ed64a6b7
Merge pull request #10782 from Ascathor/master
...
Core/Commands: Fixing some problems with .account email
2013-09-11 11:55:31 -07:00
Ascathor
3861ba5a25
Core/Commands: Fixing some problems with .account email
2013-09-11 20:54:04 +02:00
Nay
deb2fb7939
Merge pull request #10781 from jackpoz/create_pet_creaturetemplate
...
Scripts/Commands: Retrieve Creature template in HandlePetCreateCommand f...
2013-09-11 11:52:03 -07:00
Nay
baa159dbd4
Merge pull request #10736 from jackpoz/localtime_race_condition
...
Core/Thread: Fix race condition converting time values to local time
2013-09-11 11:50:18 -07:00
jackpoz
dfc8a092a6
Scripts/Commands: Retrieve Creature template in HandlePetCreateCommand from Creature itself
...
CreatureTemplate can be retrieved directly from the Creature itself instead of using ObjectMgr::GetCreatureTemplate(id) .
2013-09-11 20:31:50 +02:00
Spp
78363e11b5
Core/RBAC: Move titles and wp commands to RBAC (using individual permissions)
2013-09-10 15:26:48 +02:00
Spp
b10241876e
Core/RBAC: Move ticket commands to RBAC (using individual permissions)
2013-09-10 15:13:08 +02:00