tomrus88
e75e66063e
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/UpdateData.cpp
2009-05-05 10:44:12 +04:00
zhenya
20ffd7f421
[7761] GuildBankTabPrice vector is replaced by an array.
...
Arrays are significantly faster.
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-04 19:47:14 +04:00
AlexDereka
27fabf7ace
[7745] Fixed gcc warnings.
2009-05-03 20:25:27 +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
VladimirMangos
512c015dc2
[7731] Some code cleanups, warrning fixes.
2009-04-29 04:03:59 +04:00
tomrus88
950a4bf13f
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-28 19:08:53 +04:00
AlexDereka
c9d51a6dc7
[7716] Fixed some typos and possible crashes.
2009-04-26 18:49:07 +04:00
VladimirMangos
c2e6dd20dd
[7715] Provided way for scripts set alternative gameobject state for client show.
...
Also use enum for gsmeobject states.
2009-04-26 07:21:11 +04:00
tomrus88
a9e148edac
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/AchievementMgr.cpp
src/game/BattleGroundHandler.cpp
src/game/CreatureEventAIMgr.cpp
src/game/DBCStructure.h
src/game/Player.cpp
src/game/Spell.cpp
src/shared/revision_nr.h
2009-04-21 15:20:45 +04:00
NoFantasy
ee9ea143d1
[7689] Batter EventAI loading checks and fix one from possible crash cases.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-04-19 23:51:05 +04:00
VladimirMangos
f4adf83cd7
[7688] Move Get*IfCanInteractWith to Player including renamed IsGameObjectOfTypeInRange.
2009-04-19 22:54:40 +04:00
tomrus88
66f554f74d
Merge 'master' into 310
...
Please enter the commit message for your changes. Lines starting
2009-04-18 17:21:29 +04:00
VladimirMangos
650be82030
[7677] Fixed crash at error report attempt at db_script_string loading.
2009-04-17 11:23:19 +04:00
VladimirMangos
748ea8522a
[7674] Fixed check of DB script string ids from db_script_string at loading.
2009-04-16 13:57:25 +04:00
tomrus88
d6f6272f8c
Merge branch 'master' into 310
2009-04-14 15:54:43 +04:00
VladimirMangos
721e005b84
[7666] For heroic mode creature use AIName from normal mode version in same way as done for ScriptName.
...
Also at creature templates loading check that AIName/ScriptName not set for heroic mode creature versions.
2009-04-14 02:28:45 +04:00
arrai
a0ef77af5b
[7659] Added several security checks to prevent cheating using facked packets
2009-04-13 02:16:01 +02:00
tomrus88
9b20869a32
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-04-12 14:37:33 +04:00
VladimirMangos
463e78c872
[7641] Implement check noDamageImmune fields at gameobject templates loading at server startup.
2009-04-09 00:20:52 +04:00
VladimirMangos
f87684bab6
[7640] Move spell and chair height checks to functions for gameobject loading code. Fixed some field ids.
2009-04-08 23:18:17 +04:00
VladimirMangos
6c19590062
[7638] Move linked trap gameobject template checks at gameobject templates loading to function.
2009-04-08 20:45:58 +04:00
VladimirMangos
def4351671
[7636] Move lock id checks at GO templates loading to function and add check for all GO types with similar fields.
2009-04-08 18:20:05 +04:00
tomrus88
963aed5e0b
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/Player.h
src/game/Unit.cpp
2009-03-26 14:28:37 +03:00
VladimirMangos
c33eff13f4
[7540] Move most reputation/force faction reaction code to new ReputationMgr.
2009-03-26 11:28:56 +03:00
VladimirMangos
f4482f247f
[7532] Avoid warnings at use size_t with printf fromat strings.
2009-03-24 06:03:22 +03:00
Fog
f9a2674ce3
[7528] Avoid use same iteration variable for internal loop.
...
This will fix problem with wrong item entry output in error message.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-23 20:36:00 +03:00
tomrus88
9debf4dfc0
Merge branch 'master' into 310
...
Conflicts:
src/game/MiscHandler.cpp
src/game/Player.cpp
src/game/Player.h
src/shared/Database/DBCStores.cpp
2009-03-22 09:41:17 +03:00
VladimirMangos
54acc587da
[7513] Implement currencies tab work. Also check related item data at server startup.
2009-03-22 05:22:03 +03:00
VladimirMangos
38395ac07d
[7512] Implement checks of item bag mask at server startup.
2009-03-22 03:32:10 +03:00
tomrus88
a2d3941588
Merged and updated to latest PTR build 9704
2009-03-19 14:18:17 +03:00
VladimirMangos
7589bf7263
[7489] Update gameobject rotation fields if need.
...
* Fixed update absent in ".gobject turn" command
* Propetly set rotation fields for summoned objects
* Check rotation/coordinates fields values at server loading
2009-03-18 21:04:57 +03:00
VladimirMangos
a7fd57cc74
[7487] Avoid attempt use InstanceSave data for non-dungeons.
...
Also check map existance and correctness at instance data loading.
Removed unused and totally bugged InstanceMap::GetResetTime.
2009-03-18 16:48:54 +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
arrai
fa8b3e17b3
Fixed *nix build
2009-03-10 20:03:58 +01:00
VladimirMangos
a2bb5aa9ed
[7438] My typos in ObjectMgr::LoadAreaTriggerTeleports
2009-03-10 19:06:35 +03:00
VladimirMangos
ebccd69b2f
[7417] Fixed crash at access by unexpected NULL pointer in quest templates map.
...
Never never use operator[] for _access_ to elements std::map.
2009-03-09 05:47:05 +03:00
VladimirMangos
e2e1a9f7d4
[7405] Show loaded 100% for case some player/pet/creature level data skipped as unused.
...
This cases have detail log output, but if detail mode disabled it look like strange not 100% load without reason.
2009-03-08 04:02:22 +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
VladimirMangos
be74937146
[7393] Implement access to client side holiday ids.
...
* src/game/GameEvent.* renamed to src/game/GameEventMgr.* for consistence
* `game_event` now have new `holiday` field for store client side holiday id associated with game event
* Added new enum HolidayIds with existed at this moment holiday ids.
* New function "bool IsHolidayActive(HolidayIds id)" added accessabel from scripts for active holidays check.
2009-03-07 03:00:17 +03:00
NoFantasy
83affb51fd
[7390] Implement heroic instance quest requirement in areatrigger_teleport.
...
Also more fixes for prev. sql update.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-06 18:23:38 +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
VladimirMangos
49322fa20a
Restore save tutorials only at character save and implement this for EquipmentSets
2009-03-04 19:17:59 +03:00
NoFantasy
94de4437f8
[7369] Remove ReqSourceRef in quest_template.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-03-02 03:31:18 +03:00
VladimirMangos
b9326100ea
[7360] Use defines instead harcoded item prototype array sizes.
2009-03-01 00:32:37 +03:00
NoFantasy
dbe15f5e59
[7341] Report about wrongly use CREATURE_FLAG_EXTRA_INSTANCE_BIND for creatures spawned at not dungeon maps.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-26 05:06:18 +03:00
VladimirMangos
9b3daf3933
[7330] Code warnings and style cleanups. Some bugs fixes.
...
1) comparison singed and unsigned values
2) redundent includes
3) wrong constructor :-part field initilization
4) unused not-/*name*/-guarded args in template/virtual functions that not required like args.
5) explicitly list not implemented achievement types.
Also bugs fixed:
1) Drop wrong phase mask 0 check in WorldObject::InSamePhase.
2) ArenaTeamMember::ModifyPersonalRating incorrect work with move points in negative with infinity values in result.
3) ArenaTeam::SaveToDB code send uint64 value to string with arg format %u.
2009-02-24 01:54:53 +03:00
wilibald09
373af9905d
[7329] Fixed CastBarCaption localization data loading from DB.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-02-23 07:40:38 +03:00
VladimirMangos
fb05143311
[7309] Allow creatures has been visible in 2 or more phases as expected for some creature.
2009-02-20 19:56:34 +03:00
VladimirMangos
49255a062b
[7305] Allow use datalong2 not only for set target for DB script cast but also caster (1 bit set target (target/source), 2 bit set caster (source/target))
2009-02-19 19:58:44 +03:00
Neo2003
7d8dc0eeef
Implemented gameobjects and creatures grouping (pools of them)
...
Groups (called pools) can be also member of any game event
Signed-off-by: Neo2003 <neo.2003@hotmail.fr>
Signed-off-by: freghar <compmancz@gmail.com>
2009-02-18 20:19:57 +01:00