Commit graph

90 commits

Author SHA1 Message Date
tomrus88
ca2a2195be Merge commit 'origin/master' into 320 2009-07-17 13:26:56 +04:00
GriffonHeart
cbfbd13146 [8190] Update killing quest objectives base at creature_template KillCredit fields.
Note: for avoid double counting must be removed C++ scripts and EventAI scripts that do same thing in old way.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also implement KillCreditN field check at loading.
2009-07-17 03:45:40 +04:00
tomrus88
02bcc56919 Added placeholders for new battlegrounds, some other stuff. 2009-06-25 19:08:53 +04:00
hunuza
517697768a [8073] Use new database fields in offline player answer to CMSG_NAME_QUERY.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 19:47:54 +02:00
Ambal
b76c4c2f3c [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-16 12:47:02 +04:00
VladimirMangos
08fe4933c5 [8015] More dislpay id selection fixes...
* Allow have only A2 or H2 display ids for less strincted DB field data.
* Check model data existance for all provided display ids atserver startup.
* Avoid explicit access to creature info display fields but use display selection functions.
* Rename GetTaxiMount to more clear for returned value GetTaxiMountDisplayId.
* Check display ids in `creature_model_info` at server load.
2009-06-14 21:57:56 +04:00
tomrus88
8a0f9f61f9 Fixed typos, merge errors. 2009-06-07 22:04:45 +04:00
tomrus88
b96643b8df Merge commit 'origin/master' into 310 2009-06-05 15:00:17 +04:00
VladimirMangos
ddda332ca6 [7961] Use more fast code into HandleCorpseQueryOpcode.
Also small changes in send data (if corpse exist data send always).
2009-06-05 14:58:50 +04:00
tomrus88
e454cb693d Merge branch 'master' into 310
Conflicts:
	src/game/GameObject.h
	src/game/MiscHandler.cpp
	src/game/Player.cpp
	src/game/QueryHandler.cpp
	src/game/QuestHandler.cpp
	src/game/SkillHandler.cpp
	src/game/SpellAuras.cpp
	src/game/SpellEffects.cpp
	src/game/Unit.cpp
	src/game/WorldSession.h
2009-05-29 19:15:43 +04:00
tomrus88
42f8ce5f3e [7911] Applied coding style. 2009-05-29 19:07:28 +04:00
tomrus88
885d1256b2 Added new fields to database. 2009-05-27 16:44:50 +04:00
tomrus88
ec4928008c Some coding style fixes. 2009-05-26 14:41:57 +04:00
tomrus88
5e26a2a152 Just a few renames. 2009-05-09 16:01:31 +04:00
tomrus88
d4323e0071 Merge commit 'origin/master' into 310
Conflicts:
	src/game/CharacterHandler.cpp
	src/game/Player.cpp
2009-04-29 11:51:15 +04:00
zhenya
8144f30199 [7730] Some optimizantion and code style.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-04-29 01:05:21 +04:00
tomrus88
abae3cac91 Merge branch 'master' into 310
Conflicts:
	src/game/Unit.cpp
	src/shared/Database/SQLStorage.cpp
2009-03-30 15:01:04 +04:00
NoFantasy
036a74b284 [7560] Implement IconName for gameobject
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also small fix for 7558 sql update (for re-apply support)
2009-03-28 05:59:55 +03:00
tomrus88
31b3ee95ad Merge branch 'master' into 310
Conflicts:
	src/game/Level2.cpp
	src/game/PetHandler.cpp
	src/game/Player.cpp
	src/game/Player.h
	src/game/SkillHandler.cpp
2009-03-11 12:22:58 +03:00
balrok
54f2dbefa0 [7403] much more unneeded includes removed
now i extended my script:
NAME="Chat"; ack -c $NAME | ack ":1$" | sed 's/:1//' | xargs /usr/bin/ack-grep -l "include \""$NAME".h\"" | xargs /bin/sed -i '/include "'$NAME'.h"/d'

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-08 02:22:17 +03:00
tomrus88
6aadc16d7d Merge branch 'master' into 310
Conflicts:
	src/game/Player.cpp
	src/game/QueryHandler.cpp
2009-03-06 08:03:34 +03:00
NoFantasy
167b192ff2 [7382] Add 2 unknown field to creature_template sent in SMSG_CREATURE_QUERY_RESPONSE to client
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-05 16:17:43 +03:00
tomrus88
2197da6407 Fixed player name response (chat now working) 2009-03-03 12:38:16 +03:00
tomrus88
ffca6c8c57 Fixed some opcodes 2009-02-27 19:25:11 +03:00
zhenya
8dc3586889 [7285] More code cleanups in static data structures use.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-16 17:10:24 +03:00
arrai
c6f48843ad [7017] Updated copyright notice for new year 2009-01-03 18:09:51 +01:00
Wyk3d
07394d45da [6977] Fixed a crash caused by incorrect use of GetMap for corpses in other maps, and another one caused by SelectHostilTarget failing to notice the target is not in world, due to a fauly InSameMap check. 2008-12-29 22:24:05 +02:00
tomrus88
d4ab3ca463 Merge branch 'master' into 303 2008-11-04 18:28:39 +03:00
VladimirMangos
3e43600c3b Correct check for ACE_BIG_ENDIAN. Warning fixed and code cleanups. 2008-11-03 23:59:06 +03:00
tomrus88
9cc6f1f3ec Merge branch 'master' into 303
Conflicts:
	src/game/Level2.cpp
	src/game/Pet.cpp
	src/game/Player.cpp
2008-11-03 14:44:58 +03:00
VladimirMangos
166007525e More fixes for wrong format arg/value pairs. 2008-11-03 01:48:16 +03:00
tomrus88
715df4e28c No real changes
(cherry picked from commit 80e8f17627db58b3d275407547687aec6d10362b)
2008-11-01 22:23:35 +03:00
tomrus88
5d79048e68 No real changes 2008-11-01 08:42:49 +03:00
tomrus88
cffc766fb6 Merge commit 'origin/master' into 303
Conflicts:
	src/game/SpellEffects.cpp
	src/game/World.cpp
2008-11-01 08:10:24 +03:00
VladimirMangos
41b876b395 [2008_10_31_01_mangos_creature_template.sql] Creature related code and DB cleanups.
* Rename 2 creature_template fields to more clean names and related code update also.
* Use enum values instead raw values for type_flags, use halper functions instead code repeating.
* Move tamed pet creating code to new function.
2008-10-31 20:45:22 +03:00
tomrus88
6707038cfc Crash fix 2008-10-31 00:13:56 +03:00
tomrus88
5ca92eddd7 Fixed MSG_CORPSE_QUERY for dungeons/raids, fixed SMSG_ATTACKERSTATEUPDATE 2008-10-30 23:02:48 +03:00
tomrus88
e6115cdd55 Updated handlers 2008-10-26 10:21:37 +03:00
TheLuda
800ee76535 Imported MaNGOS revision 6767 from http://mangos.svn.sourceforge.net/svnroot/mangos/trunk/ 2008-10-14 00:29:20 +02:00
tomrus88
28dc20c6e2 Small code cleanup and partial merge with dev branch 2009-03-21 19:07:38 +03:00