Commit Graph
63 Commits
Author SHA1 Message Date
Gyx 5b7493fc66 Core/Misc: Code style and remove unused define.
Signed-off-by: Gyx <[email protected]>
2012-03-29 14:43:34 +08:00
Gyx 360014856d Core/Game: Code style.
Signed-off-by: Gyx <[email protected]>
2012-03-29 13:42:04 +08:00
click c65cabb33c Core: Fix some type-errors in the Petitionshandler. Fixes #5916.
Also fixes charterhandling for arenateams, mentioned in #5907.
2012-03-29 05:08:32 +02:00
Gyx 1544b208da Core/Game: Code style again.
Signed-off-by: Gyx <[email protected]>
2012-03-28 20:00:29 +08:00
Gyx 72cdcbfced Core/Game: Code style.
Signed-off-by: Gyx <[email protected]>
2012-03-28 19:11:50 +08:00
kaelima 6613cbafa6 Core/Protocol:
- Correct the use of first byte in SMSG_NAME_QUERY_RESPONSE
- Send guid and name in SMSG_CHAR_RENAME for failing results too
2012-03-28 04:02:02 +02:00
kaelima 820f45c424 Core/Protocol:
- Correct and rename response message from creating/updating a ticket
- Prevent some trailing data in CMSG_GMTICKET_CREATE and add comment on stuff missing from its structure.
- Random cleanup
2012-03-28 03:59:03 +02:00
Shocker 13e071195d Core/Groups: Remove redundant check in WorldSession::HandleLootRoll 2012-03-27 03:50:53 +03:00
leak b1ca1ee5ec Core/DBLayer: Convert PAppend() queries to prepared statements No.4 NOTE:
Most of the cores queries have been converted to prepared statements now. If your code contains queries, please either use the exiting or implement new statements.
The only exclusions are one-time queries (e.g. for core startup) and queries that can't be prepared due to limitations.
2012-03-26 15:47:37 +02:00
leak eb1af30399 Core/DBLayer: Convert PAppend() queries to prepared statements No.3 2012-03-25 20:20:25 +02:00
leak 71c02fb54d Core/DBLayer: Convert PAppend() queries to prepared statements No.2 2012-03-25 18:32:26 +02:00
leak c6cbe4c77c Core/DBLayer: Convert PAppend() queries to prepared statements No.1 2012-03-25 16:25:06 +02:00
leak 12e55a04bb Core/DBLayer: Convert PQuery() queries to prepared statements 2012-03-24 01:25:08 +01:00
Machiavelli 41cc704bf8 Core/Movement:
- Don't abort relocation if movementflag restrictions were violated. There might be lag between client and server and even different parts of the core that made this approach improper.
- MOVEMENTFLAG_ROOT cannot be used in conjunction with MOVEMENTFLAG_MASK_MOVING, but it's a valid flag to receive from client.
- Fix falling to ground when unapplying fly/waterwalk aura. NOTE: This is a client-side initiated fall, in the future this should be initiated and updated by the server. (Working on it)
- Rename MOVEMENTFLAG_FALLING to MOVEMENTFLAG_FALLING_FAR
- Rename MOVEMENTFLAG_JUMPING to MOVEMENTFLAG_FALLING

Closes #5751
2012-03-17 20:36:12 +01:00
Shauren 01f3620d45 Core/Movement: Corrected movement info structure written in WriteMovementInfo 2012-03-17 18:01:56 +01:00
Gyx 1e94ab8d51 Core/Game: Code style and remove unused core.
Signed-off-by: Gyx <[email protected]>
2012-03-17 20:13:37 +08:00
Machiavelli 65453620e8 Core/Movement: Do not process server side relocation if reading movementinfo from client resulted in violations (= hacking). 2012-03-16 18:15:08 +01:00
leak 2a5caef4a6 Revert "Core: more more cleanup" - Build test anyone?
This reverts commit 20cd4c71ee.
2012-03-14 18:51:51 +01:00
thomas33 20cd4c71ee Core: more more cleanup 2012-03-14 17:51:11 +01:00
Shauren 1dde22394c Core: Corrected conflicting variable names 2012-03-14 00:21:46 +01:00
Spp f1949b20a6 Some random cleanup here and there 2012-03-09 13:42:52 +01:00
Spp f495e0efe4 Warning fixes and some random cleanup here and there 2012-03-07 14:09:18 +01:00
click a153e0ca06 Core: Remove some whitespace and tabs 2012-03-07 00:05:34 +01:00
Kandera 680a7083ff Core/Misc: add level to login/logout logs, it will help to find xp exploits (aokromes) 2012-03-05 10:58:52 -05:00
Elron103 c044eb5711 Core/Auction House: Delete item_instance entries correctly, prevent invalid entries 2012-02-27 23:41:19 +01:00
Spp d38bc3a178 Core: Rename GetCreatureInfo to GetCreatureTemplate and minor cleanup here and there 2012-02-27 14:58:47 +01:00
Spp 3e622ee7ac Core: Minor cleanup in ObjectMgr and warning fixes 2012-02-27 11:08:34 +01:00
Shocker 7e4fa9174d Core/Auction House: Fix item loss issue when inserting multiple stacks (by Elron103)
Closes #5428
2012-02-26 02:16:45 +02:00
Discovered c10e6708ed Core: Add some more output in HandleSetActionButtonOpcode (show playername/guid as well)
Signed-off-by: click <[email protected]>
2012-02-25 21:40:05 +01:00
Nay a813e6f579 Core/Calendar: Use defines when sending holiday data
Update some comments
2012-02-25 16:17:23 +00:00
Shauren 7b2672b17b Core/Calendar: Fix compile without PCH 2012-02-25 15:32:55 +01:00
Shauren 1f373c0f37 Scripts/Icecrown Citadel: Removed obsolete workaround for Ice Tomb LoS 2012-02-25 11:42:00 +01:00
Nay 7885e2066a Copy-paste typos in previous commit (0f1bd50) :( 2012-02-25 05:33:27 +00:00
Nay 0f1bd50ae0 Core/Calendar: Holiday.dbc -> SMSG_CALENDAR_SEND_CALENDAR 2012-02-25 05:28:22 +00:00
Nay ad78d44da8 Core/Calendar: Change (revert) CalendarFlags vars to ints
P.S I'd like to have type safe enums (C#-like, also [Flags] attr)
2012-02-25 04:16:17 +00:00
Nay d6c0a67a7c Core/Calendar:
- Fix build
- Use enums where possible
- Renaming
2012-02-25 04:00:32 +00:00
Shauren 8945d115b2 Core/Calendar: Added some checks & error responses for calendar actions, many more to do still 2012-02-25 00:14:39 +01:00
Shauren 0e86b3a578 Core/Calendar: Corrected structure of SMSG_CALENDAR_COMMAND_RESULT 2012-02-24 23:40:06 +01:00
Shauren ae5ecb6ac0 Core/Calendar: Code refactoring/removed obsolete functions 2012-02-24 22:04:29 +01:00
Spp 32eab3dca7 Core/Calendar: WIP Calendar. 2012-02-24 20:11:29 +01:00
Shauren a934abbbb7 Core/Calendar
* Added sending SMSG_CALENDAR_RAID_LOCKOUT_REMOVED when instance save is removed
* Refactored sending SMSG_CALENDAR_RAID_LOCKOUT_ADDED/REMOVED into separate method
2012-02-24 19:31:40 +01:00
Nay a09310244f Core/Calendar: Use enums
Source: WPP
2012-02-24 18:22:31 +00:00
Shauren 9c3357c1de Core/Calendar
* Fixed raid resets display in calendar
* Active instance locks will now be added to calendar as soon as they are created (not after login)
2012-02-24 19:06:53 +01:00
Nay c4b6dc3a15 Core/Calendar: Initial work for calendar
Original author: Silinoron
(from calendar branch)
2012-02-24 16:46:29 +00:00
Shauren dc28b92415 Core: Random cleanup + compile fix 2012-02-23 13:01:16 +01:00
kaelima c15f7bfc19 Core/Pet: Fixed possible crash after swapping pet with stable master. Closes #5177 2012-02-21 16:50:45 +01:00
Machiavelli 7c84500b9d Update src/server/game/Handlers/PetHandler.cpp 2012-02-21 11:12:10 +01:00
Machiavelli 1aceab6b62 Core/Pets: Fix stay command if pet is currently processing spline movement 2012-02-21 10:41:48 +01:00
leak 8e3a4b956e Core/Warden: Base implementation for Warden functionality
Note: The default config file action for clients failing the checks can be changed for each check via the characters.warden_action table

Credits to TOM_RUS
2012-02-19 13:51:16 +01:00
Nay 0a0233b215 Core/Packets: Use a single method to send SMSG_ACTIVATETAXIREPLY
Also fix a typo introduced in 703ad4889
2012-02-18 23:03:41 +00:00