arrai
027a3ab0bc
[6901] Fixed uninitialized variables
2008-12-12 14:41:27 +01:00
hunuza
0f12997ef1
[6899] Pass const reference instead of value for some strings in some functions.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-12 14:17:37 +01:00
hunuza
ac2748a141
[6897] Avoid DB access on uninvite from group.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-11 21:37:24 +01:00
arrai
bc816b70fc
[6896] Fixed fall damage after teleports
2008-12-11 17:19:32 +01:00
VladimirMangos
3da9f3f4cc
[6889] Backport some not client version specific changes and fixes from 303 branch.
2008-12-09 14:08:29 +03:00
balrok
2e08a63da7
[6884] Replaced iterator++ with ++iterator in for-loop-headers
...
i used this script
for i in ls *.[ch]*; do cat $i | sed -r 's/(.*for.*iterator.*;\
*)([a-z0-9\_\*]+)\ *\+\+(.*)/\1++\2\3/' > /tmp/mangos/$i; done
for i in ls *.[ch]*; do cp /tmp/mangos/$i $i; done
and rechecked it with my eyes, if everything is right
i took only for-loops cause they can be gathered easier with a script
Signed-off-by: hunuza <hunuza@gmail.com>
2008-12-07 19:49:45 +01:00
hunuza
818c378854
[6868] Don't load data field from DB to save money or arena team id.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2008-11-30 18:31:17 +01:00
ApoC
571221148a
[6867] Optimized working with DB in Guild code. No need of parsing/saving players data fields anymore.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2008-11-30 17:31:44 +01:00
hunuza
e19433fa73
[6863] Arena team related clean ups and adding parts of w12x's arena patch.
2008-11-30 11:41:16 +01:00
dythzer
7ea5f922ea
[6862] Some additional mangosd.conf options for player startup and gameplay customizing.
...
Signed-off-by: dythzer <micke223@gmail.com>
Some implementations rewrited. And suggested option names changed.
Also now gm not allowed logout instant in case fight/duel to prevent unexpected death.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-30 10:21:10 +03:00
VladimirMangos
9fc7dd9ead
[6853] [2008_11_27_01_mangos_playercreateinfo_item.sql] Use DBC data for creating initial character items.
...
Thanks to WCell team for DBC structure research.
`playercreateinfo_item` content removed from mangos.sql and table can be used now only for custom additional initial items.
2008-11-28 02:20:02 +03:00
SeT
c978b80be2
[6844] Daily quest fixes.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-11-23 12:34:34 +03:00
hunuza
809bd7392f
Avoid sending some unnecessary group updates.
2008-11-21 18:07:05 +01:00
hunuza
ac00eee418
Replace some MapManager::Instance().GetMap() calls with WorldObject::GetMap()
2008-11-17 17:24:53 +01:00
arrai
5905aec683
[6819] [2008_11_12_01_character_character_aura.sql] Fixed storing stacked auras
2008-11-12 22:23:17 +01:00
arrai
8e54a3c1cf
[6815] Allowed switching INVTYPE_HOLDABLE items during combat, used correct spells for triggering global cooldown at weapon switch. Original patch provided by mobel/simak
2008-11-09 20:44:53 +01:00
VladimirMangos
4476d483d4
Fixed comment text and code indentifiers spelling.
...
GetFieldNames part provided by Paradox.
2008-11-06 19:22:23 +03:00
hunuza
90828fa699
Cache highest arena team/guild ids. Some code clean up.
2008-11-05 16:58:57 +01:00
VladimirMangos
88b1974df6
Fixed warnings, unused code and typos.
...
Including fix _SCallback for 3 params, triggred mode correct call for .cast back and .cast target.
Remove outdated code for support old 19421 (and ranks) implementation in client data.
2008-11-05 05:06:35 +03:00
hunuza
2c9eae7599
Fixed memory leak by adding missing delete of query result.
2008-11-03 11:11:27 +01:00
hunuza
2cdd7dcfce
Improve some arena team related DB access.
...
Reduce number of queries for adding a new arena team member.
Merge two queries in Player::GetArenaTeamIdFromDB() into one.
2008-11-03 10:58:29 +01:00
VladimirMangos
166007525e
More fixes for wrong format arg/value pairs.
2008-11-03 01:48:16 +03:00
VladimirMangos
d54e53c709
Better check client inventory pos data received in some client packets to skip invalid cases.
2008-11-01 21:18:36 +03:00
VladimirMangos
6f6ec21b72
Avoid access to bag item prototype for getting bag size, use related item update field instead as more fast source.
2008-11-01 21:10:54 +03:00
VladimirMangos
a26b72411a
Use characters.guid instead low guid value from characters.data in charcter enum data prepering for client.
2008-10-30 21:00:19 +03:00
VladimirMangos
74ddd38af3
Prevent crash at access to deleted social data for player.
...
Remove social data at logout instead ~Player that called also for temporary Player object for Player::MinimalLoadFromDB call.
2008-10-27 18:47:13 +03:00
VladimirMangos
697fafd2f5
Fixed: crash after prev commit.
2008-10-23 17:41:52 +04:00
Reiner030
0d4f770811
Implement low character expirience level in group with high character.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2008-10-23 07:29:53 +04:00
arrai
406ac0abe5
* [sql/updates/2008_10_22_01_mangos_quest_template.sql] Implemented honor rewards from quests
2008-10-22 01:20:18 +02:00
vladimir-mangos
606f5c0f6a
* [2008_10_18_01_characters_characters.sql] Rename field characters.gmstate to extra_flags base at new stored value meaning. Testing also new sql updates naming scheme.
2008-10-18 05:25:59 +04:00
arrai
a4d3269140
* Updated Player::InitVisibleBits
2008-10-15 22:33:33 +02:00
TheLuda
adc46ef907
Applied new coding standard, see http://github.com/mangos/mangos/wikis/codingstandards for more.
2008-10-15 18:26:08 +02:00
TheLuda
800ee76535
Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/
2008-10-14 00:29:20 +02:00