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
Shocker
f3c6904096
Core/Quests: Fix exploits with banked quest items while trying to complete quests
2011-12-18 16:24:10 +02: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
Nay
af5474c959
Core/Petitions: Fix a typo in a sql query ( d59c5e627f)
2011-12-15 21:30:11 +00:00
Spp
d59c5e627f
Fix warnings
2011-12-15 11:12:15 +01:00
Machiavelli
203d4a4952
Core/Commands: Show time left until shutdown in .server info. (Aokromes' Suggestions)--;
2011-12-14 13:42:57 +01:00
Venugh
7e43bae94e
Core/Server: Fix typo from previous commit.
2011-12-11 16:02:37 +01:00
Machiavelli
c7cdd786fe
Core/Vehicles: In CMSG_ATTACKSWING check if current vehicle seat flags permit attacking before updating standstate etc. Client also checks this.
...
Furthermore, removed incorrect vehicle_seat_flag_b definition and added an unknown vehicle_seat_flag that was found in the client.
2011-12-11 14:44:58 +01:00
Shocker
d4921e0f25
Core/Misc: Small english fix
2011-12-10 20:05:51 +02:00
kaelima
39be215811
Core/Protocol: Add debug output when receiving auction house packets.
2011-12-10 16:26:04 +01:00
kaelima
100bcd6aec
Core/Protocol: Fixed unprocessed tail data for opcodes CMSG_QUEST_POI_QUERY, CMSG_SHOWING_HELM, CMSG_SHOWING_CLOAK and CMSG_AUCTION_LIST_BIDDER_ITEMS.
2011-12-10 13:42:22 +01:00
Nay
5a4636c145
Core|DB/Quests: Rename and re-order fields in quest_template table, for the sake of consistency
...
Order should match SMSG_QUEST_QUERY_RESPONSE
2011-11-26 03:00:06 +00:00
kaelima
a919265623
Core/DB: Fix character creation in Player::SaveToDB.
...
And some misc comments/whitespaces
2011-11-26 01:53:44 +01:00
Machiavelli
72675d55d8
Core/DBLayer: Use prepared statements in Player::SaveToDB. Also split the function up between an INSERT part (new character creation) and UPDATE part (existing character).
2011-11-25 15:14:00 +01:00
Shauren
358b33239a
Core: Fixed remaining C6246: Local declaration of 'x' hides declaration of the same name in outer scope. from previous commit
2011-11-23 19:17:33 +01:00
megamage
98be413ce0
Clean up very some confusing MapManager functions (create/find map/base map).
2011-11-23 12:45:59 -05:00
Spp
99ad58233b
Core/Opcodes: Change status of CMSG_MOVE_SET_COLLISION_HGT_ACK to Unhandled to kill spam log
2011-11-22 13:26:54 +01:00
Machiavelli
367122dd62
Core/Packets: Allow CMSG_MOVE_SET_COLLISION_HGT_ACK to be received from the client (currently unhandled)
2011-11-22 06:02:53 +01:00
Shauren
6cd78a520a
Core/World
...
* Update character name cache after player rename
* Add character name data for characters loaded with PlayerDump
Closes #3653
Closes #3970
2011-11-16 10:31:38 +01:00
megamage
07cf71fdd4
Some cleanup of add/remove to/from map.
2011-11-11 17:50:26 -05:00
Shocker
c2a2a4f713
Merge pull request #3872 from Bootz/master
...
Codestyle clean-up
2011-11-09 02:31:18 -08:00
megamage
462a2b9876
Change more ace_guard to trinity_guard
2011-11-08 10:48:49 -05:00
Bootz
d1334624da
Core: Codestyle clean-up
...
"pl"->"player"
Note: codestyle methods needs maintained, Player* player.
still to do properly clean-up chat.cpp.
2011-11-07 11:18:00 -06:00
Bootz
f75ec5ba2b
Core: Codestyle clean-up
...
"plr"->player
Note: codestyle methods needs maintained, Player* player.
2011-11-07 11:06:39 -06:00
Yelvann
75edf63341
Revert commit ab023e8 (Add GM tag to gms in Who)
...
Closes #3783
2011-11-03 18:10:11 +01:00
megamage
e3fa04823d
Use TRINITY_GUARD to replace ACE_GUARD. ASSERT(false) if failed to acquire the lock.
2011-10-31 17:25:12 -04:00
megamage
c9c5c2a355
Use read/write thread mx guard instead of general guard for HashMapHolder.
2011-10-21 17:29:09 -04:00
kaelima
be0b2fcf97
Core/Grid:
...
- Simplified CellArea calculation (Original author: SilverIce)
- Removed unused code in Cell class (Original author: SilverIce)
- Improve some Visit functions.
2011-10-19 17:40:44 +01:00
megamage
c29ff41001
Rename some classes in grid system.
...
Note: The naming of classes is still confusing. "cell" usually refers to class "Grid", and "grid" usually refers to class "NGrid". But it requires a lot of changes to clean this up.
2011-10-18 10:53:34 -04: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
Spp
b5e8a192b1
Core/Calendar: Send map raid reset only once
...
Also some minor changes here and there
2011-10-18 14:23:08 +02:00
Spp
ee69fc940e
Core/Items: Split SetSoulboundTradeable in two functions (Set and Clear)
...
Note: this is mostly for clarify action being done: ClearSoulboundTradeable better than SetSoulboundTradeable(..., ..., false)
2011-10-18 10:44:45 +02:00
kaelima
3fd58b7b30
Core/Group: Fix recent issues with displaying group members on minimap.
...
Update GroupMemberOnlineStatus enum (creds to TOMRUS)
Also fix reduant GetVehicle() check in BuildPartyMemberStatsChangedPacket
2011-10-11 23:09:49 +02:00
megamage
8ce5177f74
Pass low guid instead of guid to DeleteCharaceterNameData.
...
Thanks to Studioworks for pointing out.
2011-10-10 18:03:19 -04: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
d156e066cf
Rename "SetPosition" to "UpdatePosition".
...
Replace CreatureRelocation in scripts with new Creature::SetPosition.
2011-10-10 17:08:01 -04:00
megamage
765a6f2e19
Remove duplicated code for SendNameQueryOpcode
2011-10-10 12:47:33 -04:00
megamage
45de1f01e0
Update char name data when create/delete char.
2011-10-08 16:24:07 -04:00
megamage
0bb86a3e97
Update code related to character name data.
...
Note: need to add/delete data when character is created/deleted.
2011-10-08 16:09:12 -04:00
megamage
1e44044a8f
Merge pull request #3281 from n4ndo/master
...
Fix Crash in ProcessQueryCallbacks
2011-10-07 15:19:21 -07:00
Bootz
81c0a3a847
REPO: code-style clean-up
...
* Fixed pPlayer->player
* Fixed pCreature->creature
~DevNote: codestyle for Player should be (*player), not *plr or *p...
same goes for Creatures (*creature)... more cleaning needed.
We've way too many codestyles happening here.
2011-10-07 11:08:09 -05: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
Shauren
cde2427cab
Core/Movement: Players should not get instantly teleported to graveyard when falling under map
2011-09-30 18:40:09 +02:00
Shauren
da54fb92d5
Core/Movement: Fixed knockback visibility for other players (no more "teleport") and knockback strength from creature spells (this does not fix knocking creatures back)
2011-09-30 18:24:12 +02:00
n4ndo
49afe79ddf
code style
2011-09-30 11:02:17 -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
8b820baa73
Core/Battleground: Use a general solution for MSG_BATTLEGROUND_PLAYER_POSITIONS
2011-09-29 10:21:33 +02:00
Spp
9e517c963b
Cosmetic: Replace "* )" with "*)" and "* /*" with "* /*"
2011-09-29 09:32:55 +02:00