Gyx
360014856d
Core/Game: Code style.
...
Signed-off-by: Gyx <2359980687@qq.com >
2012-03-29 13:42:04 +08:00
leak
847b4366f3
Core/DBLayer: Convert PExecute() queries to prepared statements
2012-03-19 16:48: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
Machiavelli
87a121425c
Update src/server/game/Server/WorldSession.cpp
2012-03-17 11:54:56 +01:00
Machiavelli
5d2d2a5ac7
Update src/server/game/Server/WorldSession.cpp
2012-03-17 11:54:21 +01:00
Machiavelli
80975faba2
Core/Movement: Add debug output to Worldsession::ReadMovementInfo to find out which movementflag restriction was violated. Please use this to give feedback.
2012-03-17 11:50:30 +01:00
Machiavelli
85da463686
Core/Movement: Fix brackets in macro
2012-03-16 23:37:50 +01: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
Machiavelli
cca93c7a22
Minor typo, major consequences.
2012-03-16 17:27:24 +01:00
Machiavelli
df31af5b4f
Core/Movement: Add server-side check for movementflag correction in previous commit. This effectively prevents (most if not all) flyhacking.
2012-03-16 17:21:15 +01:00
Machiavelli
e17a9cfb85
Core/Movement: Add server side filters for MOVEMENTFLAG_WATERWALKING, _FALLING_SLOW and _HOVER depending on required aura types. Fixes exploiting when aura unapply packets (such as corrected in previous commit) are blocked/altered before reaching the client.
2012-03-15 10:12:43 +01:00
Spp
f1949b20a6
Some random cleanup here and there
2012-03-09 13:42:52 +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
leak
abb017dbeb
Core/Warden: Various cleanups and warning fixes
2012-02-19 18:49:38 +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
kaelima
03b2717931
Core/Map:
...
- Fixed crash when a player was disconnected during a transfer to another map.
- Only call OnPlayerLeaveMap if player is removed from map. (Ty QAston)
2012-02-10 12:43:13 +01:00
danik
b35f831f2b
Core/PacketIO: Prevented excessive WhoOpcode spam - solves possible crash/lag method
2012-01-06 19:36:17 +01:00
leak
ced346076b
Merge pull request #4567 from Kiperr/master
...
Happy new year!
2011-12-31 16:13:28 -08:00
leak
cdbeb42e0f
Core/DBLayer: Refactor prepared statement defines to new format (char db)
2012-01-01 01:09:38 +01:00
kiper
8299627ed9
Update headers for 2012. HAPPY NEW YEAR!!!
2012-01-01 00:32:13 +01:00
leak
8adac3f246
Core/DBLayer: Convert PExecute() queries to prepared statements No. 3
2011-12-31 00:32:05 +01:00
leak
ef17c05dec
Core/DBLayer: Convert PExecute() queries to prepared statements No. 1
2011-12-25 18:13:21 +01:00
leak
08bd2f1a54
Core/DBLayer: Convert callback queries to prepared statements No. 3
2011-12-25 01:27:44 +01:00
leak
e1afd79b1e
Core/DBLayer: Convert callback queries to prepared statements #2
2011-12-20 09:12:43 +01:00
Machiavelli
6c03bf9535
Core/Misc: Some random meaningless Engrish to English conversion in a method name because Discovered is too lazy to do it himself.
2011-12-19 22:06:29 +01:00
Machiavelli
8e0be985fd
Core/Netcode: Fix a possible infinite loop after 829be0b82 (which was accidentally merged in this morning)
2011-12-19 21:12:35 +01:00
Machiavelli
16df950fdb
Merge branch 'master' of github.com:TrinityCore/TrinityCore
2011-12-19 11:14:26 +01:00
leak
7052fbf5cc
Core/DBLayer: Convert callback queries to prepared statements
2011-12-18 20:56:38 +01:00
Machiavelli
829be0b82b
Core/Netcode: Re-enqueue packets with STATUS_LOGGEDIN requirement that are sent before the server recognizes the player as logged in. They will be processed later.
...
Fixes #208
Fixes #1434
Fixes #2338
2011-12-16 15:36:03 +01:00
megamage
07cf71fdd4
Some cleanup of add/remove to/from map.
2011-11-11 17:50:26 -05:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
Spp
e3f8588a22
Minor changes here and there:
...
- Cosmetic changes
- 'Engrish fix'
- Initialization of some vars
- Remove some not needed includes
2011-10-18 14:59:23 +02:00
megamage
3ba22d0d06
Rename Map::Add to Map::AddToMap, Map::Remove to Map::RemoveFromMap for better management.
2011-10-10 17:39:34 -04:00
megamage
1e44044a8f
Merge pull request #3281 from n4ndo/master
...
Fix Crash in ProcessQueryCallbacks
2011-10-07 15:19:21 -07:00
Bootz
96d7a1e970
REPO: code-style clean-up
...
* Fixed pGuild->guild
* Fixed pGroup->group
* Fixed pOwner->owner
2011-10-07 10:54:53 -05:00
n4ndo
d1370a5e0a
Fix Crash in ProcessQueryCallbacks
2011-09-30 10:57:02 -05:00
Spp
b16d2245bb
Cosmetic: Multiple cosmetic changes
...
- Added missing space to 'if', 'for', 'while' and 'switch' when it's followed by '('
- Added missing space after a comma and remove space before comma (with some exceptions)
- Remove trailing spaces
- Convert tab to spaces
Note: Only affects files with extension "cpp" and "h" under /src/server
2011-09-29 12:43:05 +02:00
Spp
6c943bfb08
Core: Cleanup in MiscHandler::SendAreaTriggerMessage and warning fixes
2011-09-16 10:53:24 +02:00
Spp
af05915b9e
[Cosmetic] Apply codestyle "XXX * " and "XXX *" changed to "XXX* " (with some exceptions)
2011-09-15 14:12:57 +02:00
Spp-
14b3ed9164
Addons/AddonMgr: converted from singleton to namespace with free functions
2011-09-09 15:22:52 +02:00
Silinoron
76fe596160
Core/Refer-a-Friend: Finish base work for Refer-a-Friend.
...
Any testing would be very much appreciated.
2011-08-03 09:28:12 -07:00
Spp-
1e95341827
Cosmetic: Remove trailing whitespaces
2011-06-30 11:30:36 +02:00
Machiavelli
5864a2e151
Core/Packets: Add some additional movementflag filtering to eliminate some packet spoof attempts.
2011-06-27 00:10:53 +02:00
Machiavelli
ad81d4132c
Core/Packets: Remove MOVEMENTFLAG_ROOT flag from movementinfo that is sent from client to server. This flag is not valid in this case and is a packet spoofing attempt. When used in conjunction with any of the moving movement flags such as MOVEMENTFLAG_FORWARD this will freeze surrounding clients that receive the cheater's movementinfo.
...
Thanks to Dvlpr for help with research.
2011-06-26 21:27:10 +02:00
click
f7b0e58a14
Core: Remove a few warnings (unused variables), clean up tabs whitespaces
2011-06-23 09:13:58 +02:00
Machiavelli
9b17b9c3ba
Core/DBLayer: Fix possible crashes from fe8cb7
2011-06-22 18:04:12 +02:00
Machiavelli
fe8cb75bf1
Core/DBLayer: Make database interaction after create character packet completely asynchronous. This is more performant and fixes a DoS loophole and possible data desynchronisation caused by spamming this packet.
...
Closes #584
Closes #2089
2011-06-22 14:22:08 +02:00
click
da03bbbdab
Core: Yet more cleanups in codestyle...
2011-06-12 02:06:07 +02:00
leak
ea06dcf418
Core/ObjectMgr: Refactor guild related functions into dedicated class
2011-05-04 10:08:09 +02:00