Commit graph

3098 commits

Author SHA1 Message Date
kolomati
64bd59a11b [9248] Allow mounts at map 595.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 17:50:14 +03:00
yad02
b78df99f42 [9247] Fixed typo: achievment -> achievement
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 17:32:32 +03:00
hunuza
aa14f45e60 [9246] Move more values from data to own fields.
Now possible (need recheck) glyphs still used form `data`.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-24 17:03:54 +03:00
XTZGZoReX
0ff9250de2 [9245] Remove CellLock class and all cell-level thread locking.
* It was wasting CPU power as cell-level locking is not needed.
* Future multithreading will be on map-level.
* CellLock was just a 'proxy' between Cell and CellPair and in some cases carried redundant data.
* Some minor cleanup in Cell::Visit/Map::Visit.
2010-01-23 21:36:15 +01:00
Laise
39b7636094 [9244] Implement talent Rime
And apply SPELLMOD_COST to rune spell cast as part this.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-23 20:19:13 +03:00
VladimirMangos
bf9cccfd5b [9243] Some spell rune code fixes
* Also replace check/take functions for runes by single 2 mode function
* Implement proper check for dead runes case
* Implement proper rune selection for Aura::HandleAuraConvertRune
2010-01-23 20:08:09 +03:00
VladimirMangos
546ee35953 [9242] Fixed inconstence in one from recently added AI events name 2010-01-23 14:46:41 +03:00
VladimirMangos
36d90d6040 [9241] Implement AI/EventAI calls at summoned creature die/despawn
* New CreatureAI::SummonedCreatureJustDie called for owner at temporary summoned creature die.
* New EVENT_T_SUMMONED_JUST_DIE (25) for proccess CreatureAI::SummonedCreatureJustDie event
* New EVENT_T_SUMMONED_JUST_DESPAWN (26) for proccess CreatureAI::SummonedCreatureJustDespawn event
* Some code cleanups.
2010-01-23 14:41:38 +03:00
VladimirMangos
75381e31f8 [9240] Implement spell 24834. 2010-01-23 13:38:04 +03:00
VladimirMangos
40c1e6e772 [9239] Apply second part of spell 50397. 2010-01-23 00:59:54 +03:00
j4r0d
1d305e51d8 [9238] Update spell 15286 work to current funtionality.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-22 20:36:24 +03:00
VladimirMangos
707c36bb73 [9237] Implement spell 12479. 2010-01-22 11:07:39 +03:00
lutik
aab870f9b5 [9236] Set damage division for spells 70492, 72505, 72624 and 72625
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-21 23:54:23 +01:00
HipToday
dce014e887 [9235] Change way call AX_CHECK_OPENSSL.
Original way have many reported problems.
New also maybe not allways working but less problematic.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-22 01:19:41 +03:00
DasBlub
9eaf4beae7 [9234] Remove redundent typecast.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-22 01:07:26 +03:00
VladimirMangos
abce7740f8 [9233] Restore build at *nix after [9228]
Partly undo changes.

Thanks to DasBlub and Lightguard for testing.
2010-01-22 00:34:47 +03:00
VladimirMangos
797dd6d931 [9232] Replace list bool fields with exclusive true values by subtype field in Creature.
Use it in recently added code instead dynamic_cast use.
2010-01-21 22:23:17 +03:00
VladimirMangos
6653539a5e [9231] Update used utf8 cpp library version up to 2.2.4 2010-01-21 21:43:50 +03:00
lutik
cee525f9c8 [9230] Add maxtarget limits for spells 66013, 68509, 67700 and 68510
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-21 19:12:50 +01:00
NoFantasy
0ed769c828 [9229] Add AI function SummonedMovementInform
Informing summoner of summoned when it reach a movement point (MovePoint)
2010-01-21 19:01:16 +01:00
zhenya
4178d5bb6a [9228] Speedup groups store and other code work.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-21 17:43:27 +03:00
VladimirMangos
4995a6d298 [9227] More wide check item looting state at item operations.
Move some checks from packet handlers to Player::Can functions

Patch base at idea suggested originally by zhenya.
2010-01-21 11:35:03 +03:00
Insider
4e6befc43d [9226] Fixed a bug with applying spells 1784,5215,24450 and ranks as debuff.
All non generic spells expected to be cancellable and part of buff abilities.

(based on commit 7f5310b from insider42/mangos).

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-21 07:40:46 +03:00
NeatElves
f706842ab8 [9225] Implement .relaod gossip_scripts
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 14:56:00 +03:00
Anubisss
ce2ecedea1 [9224] Fixed memory leaks in WorldSession::HandleCharCreateOpcode
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 14:33:50 +03:00
VladimirMangos
0a1ed5813a [9223] Implement possibility have 2 weapon by rogue at start. 2010-01-20 14:01:41 +03:00
KiriX
49a3040a56 [9222] New start spell for alow proper use new startup weapon.
After sql update apply new and old charactrs for affected class/race pairs
will receive spell at first/next login.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 13:16:03 +03:00
LordJZ
0375c89347 [9221] Implement minimal area team size for some items arena rating requirements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 11:43:11 +03:00
laise
a20a0a9d5c [9220] Implement talent 53527 and ranks.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 10:48:26 +03:00
HipToday
b61f708a71 [9219] Use ax_check_openssl.m4 for support more ways detected openssl at *nix.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 10:06:37 +03:00
VladimirMangos
13acbefbbf [9218] Fixed check in CMSG_QUEST_POI_QUERY proccessing for max quest amount.
This fix work quest poi for filled quest list
and fix unexpected spam about unreaded packet content.
2010-01-20 07:43:54 +03:00
laise
627d74f192 [9217] Fixed spell 34471 applying from 34692.
(based on commit 7a9dc4e from insider42/mangos)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 07:00:19 +03:00
Lightguard
0088d1300c [9216] Fixed hunter pet XP requirements.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>

Also move calculation to function. And avoid use operator[] for access to per-area base xp table data.
2010-01-20 05:05:23 +03:00
Wowka321
2b891624c6 [9215] Move template function specializations before uses to make gcc happy.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-20 00:53:23 +03:00
NoFantasy
cc5ed7a48b [9214] Add helper function StoreNewItemInInventorySlot
Mainly function for script side store new item, but may also be used to simplify similar task in code.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-19 15:01:42 +01:00
VladimirMangos
64ba6c5714 [9213] Fixed typos in unit states used in waypoint movegen. 2010-01-19 16:15:23 +03:00
VladimirMangos
eaecc467d5 [9212] Implement pet speed synchronization with owner only for follow mode.
* This allow pet use own speed (and all speed affects appiedto pet itself) in combat.
* Apply this speed synhronization to minipets/guardians also.
* Also rename Unit::SetSpeed to SetSpeedRate as more close to real functionality.
2010-01-19 03:56:26 +03:00
Derex
a6a5935406 [9211] Fixed recent build problems at *nix.
Thanks to DasBlub and Lightguard for teating.

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-01-19 01:22:41 +03:00
NoFantasy
de4d8c3a04 [9210] Fix visual bug making npc run-in-same-position in client.
Not send MOVEMENTFLAG_FORWARD (even if expected). As result npc will not run in same position when npc becomes visible at client side.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-18 20:38:36 +01:00
VladimirMangos
e1d0c1cdba [9209] Finish synchonization walk mode for pets.
* Re-sync at follow mode switches
* Support sync for creature pets

Also
* Attempt fix build at *nix
* Drop unused unut state mask with typo in name.
2010-01-18 14:35:19 +03:00
VladimirMangos
6a2e8064f1 [9208] Big cleanup in UNIT_STAT_* use
* Re-number enums by function groups and use where possible new defined masks in code instead raw enum |-lists.
* Avoid use movement generator generic state markers like UNIT_STAT_CONFUSED for mark movement stoped.
  Add special shadow UNIT_STAT_CONFUSED_MOVE/etc states for like use.
  UNIT_STAT_CONFUSED in like case will be safe expect use for normal checks confused state presence
  And UNIT_STAT_CONFUSED_MOVE for check real move in this state
2010-01-18 11:59:10 +03:00
VladimirMangos
7d6b1b292e [9207] Fixed chase/follow functions calls in movegen templates system.
This commit specially made indeepndent from other changes for show problem
in my prev. commit where 2 new movegens added.

For proper call Initilize/Finilize/Reset/Interrupt/Update functions _important_
set second template arg in MovementGeneratorMedium< T, D >
in _last_ class in class chain. In other case in chase/follow instead TargetedMovementGeneratorMedium
In other cases will called referenced functions from TargetedMovementGeneratorMedium
instead proper subclasses.
2010-01-18 10:33:56 +03:00
VladimirMangos
98adbbc3d3 [9206] Some code cleanups.
* UNIT_STAT_SEARCHING not used
* Remove some commented wrong code
* WaypointMovementGenerator<Creature>::Initialize() not have code
2010-01-18 09:13:50 +03:00
NoFantasy
544d396beb [9205] Move script call GOHello to GameObject::Use
This provide more accurate call in case of delay use from spell effects

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 23:44:33 +01:00
NoFantasy
16c0ff3ef7 [9204] Move remaining handling of GO from SendLoot to GameObject::Use
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 23:06:31 +01:00
NoFantasy
925ea7630e [9203] Use CalculateSimpleValue as delay, used in spell effect 86
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 17:05:54 +01:00
VladimirMangos
f94b7b4452 [9202] In attempt make GCC happy with chase/follow movegens code. 2010-01-17 17:58:28 +03:00
NoFantasy
55b6b0eb26 [9201] Fix typo from [9200] and clean up code in function.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 12:02:45 +01:00
NoFantasy
95f9ec5fb2 [9200] Move handling of most GO's from SendLoot() to GameObject::Use()
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 11:45:14 +01:00
NoFantasy
07a5c698ca [9199] Clarify debug log message in GameObject::Use
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-17 10:52:01 +01:00