Commit graph

922 commits

Author SHA1 Message Date
AlexDereka
4338c9105d [9324] Fix some gcc warnings 2010-02-08 02:27:34 +03:00
tomrus88
db547a008a Get rid of monster movement flags, since it's really spline flags.
Thanks to Ralek for research.
2010-02-07 15:03:36 +03:00
NoFantasy
883bdbf799 [9312] Implement DB storage of new quest_template field RewHonorMultiplier
Also rename an existing field to RewHonorAddition.
Note: calculation of real reward must be corrected accordingly.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-06 12:17:42 +01:00
Daveh
cb33736a5a [9308] Fix SMSG_CHAR_ENUM opcode
Signed-off-by: Lightguard <Lightguard@tauri.hu>
2010-02-05 01:34:51 +01:00
laise
aac24092c2 [9306] Implement glyph 43385.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-05 00:18:06 +03:00
reno138
f157b101fb [9294] Fixed typo in function name.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2010-02-03 22:43:22 +03:00
VladimirMangos
1f1f414d76 [9287] Prevent weapon skill grow at player's pet hit. 2010-02-03 00:00:00 +03:00
tomrus88
b85417df73 Movement packets cleanup. 2010-02-01 17:03:04 +03:00
VladimirMangos
904995c024 [9274] Implement SPELL_EFFECT_SUMMON_ALL_TOTEMS
This implement work spells 66842, 66843, 66844.

Patch originall writed by Arthorius, with additional fixes from darkstalker
and hack removes from me.
2010-01-31 18:40:59 +03:00
NoFantasy
bfa86a0d4d [9270] Send pointOfInterest (if exist) to client before sending gossip menu.
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-30 15:10:28 +01:00
NoFantasy
13dee34689 [9267] Correct mixed up typeid check for gossip scripts
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-30 11:56:05 +01:00
XTZGZoReX
ceefebf187 [9264] Fix build. Add ITEM_MOD_FERAL_ATTACK_POWER to deprecated list. 2010-01-29 19:52:11 +01:00
VladimirMangos
e3978a908c [9252] Fixed crash in result typo in arena points loading.
Also small cleanups in PLAYER_FIELD_WATCHED_FACTION_INDEX use.
2010-01-24 19:51:59 +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
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
VladimirMangos
0a1ed5813a [9223] Implement possibility have 2 weapon by rogue at start. 2010-01-20 14:01:41 +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
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
cc062f16ac [9187] Fixed problem with non-attackable pes/totems at arenas
... and other FFA areas. Problem is result chnages in related flags work after old 3.x switch.

* Added high-level functions for FFAPvP state set for unit
* Apply FFA PvP to all controlled units also at set, and at summon/load
2010-01-16 05:41:42 +03:00
VladimirMangos
6704929d56 [9186] Templated functions for apply some code to all controlled units.
Also fix some related problems with not updates totems/etc
2010-01-16 04:41:44 +03:00
VladimirMangos
7272b52daf [9185] Auto-leave player at login back to bg/arena when bg/arena finished. 2010-01-16 03:13:26 +03:00
VladimirMangos
1def2a0977 [9173] Remove character_queststatus_daily data at character delete.
Data deleted anyway at next daily status update so just more early and expected cleanup.
2010-01-14 08:10:15 +03:00
VladimirMangos
324772283f [9144] Propertly update combat ratings fields.
* Implemented proper combat rating fields update like other stats fields.
  This will prevent reset combat ratings at .reset stats for example.
* Skill loading moved after InitStatsForLevel for prevent reset fields setup
  as part of aura apply from skill set triggered spell casts.
  This fix for example talent 53125 work (combat rating set at skill loading)
2010-01-11 05:03:54 +03:00
VladimirMangos
6769171a1d [9142] Move start outfit items check to server loading.
Also drop one not needed now hack.
2010-01-11 01:18:08 +03:00
VladimirMangos
63709fdc49 Use PVPDificulty.dbc for bg/arena bracket selection (levels and difficulty) 2010-01-09 03:36:27 +03:00
VladimirMangos
75c81894b2 Merge branch 'master' into 330 2010-01-09 00:53:31 +03:00
VladimirMangos
3e3c090348 [9129] Rename BG/arena queue_id to bracket_id and related functions/etc
This is more consistent to wide used terms

Also some other cleanups.
2010-01-08 22:40:34 +03:00
VladimirMangos
e15f548bed Merge branch 'master' into 330 2010-01-08 16:03:27 +03:00
VladimirMangos
fe6e2e1746 [9122] Updated copyright notice for new year.
Also fix some lost in past cases.
2010-01-08 00:02:21 +03:00
DasBlub
ebb063beb9 [9107] Fix most of the gcc warnings
* use UI64FMTD instead of "%u" for uint64 output
* on most *NIX systems, I64FMT is "%016lX" and not "%016llX"
* also fix typo: renamed GridMap::loadHeihgtData to GridMap::loadHeightData

Note: there are still many warnings from the 3rd party libraries g3dlite and ACE. Those warnings won't be fixed with that commit.
Also, a few warnings from MaNGOS are left, they'll be fixed later.

Signed-off-by: XTZGZoReX <xtzgzorex@gmail.com>
2010-01-03 15:30:22 +01:00
NoFantasy
80b9e58106 [9105] Add missing argument in error message, _LoadSkills()
Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-01-02 19:10:33 +01:00
VladimirMangos
305b54d242 [9087] Fixes in pet unsummons
* Not unsummon warlock pets at logout.
* Prevent overwrite current saved pet at save secondary pet (with temporary unsummoned first).
  This possible at arena for example.
* Not fixed: in char list at login pet don't must be show with character if character saved at mount in game.
  Not critical and maybe not need fix as feature ;)
2009-12-30 21:56:20 +03:00
tomrus88
33cd1a0aca Merge remote branch 'origin/master' into 330 2009-12-30 01:16:15 +03:00
Lightguard
9c98bd92e2 [9077] Fixes for pet work in case mounted owner.
* No unsummon temporary pet at non-fly mounting.
* Implement client side disable pet's action bar for mountted owner time

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

* implement server side action disabled case (action bar modify, aggro reaction and autocast)

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-12-28 16:00:55 +03:00
tomrus88
d98300b500 Merge remote branch 'origin/master' into 330 2009-12-24 15:52:11 +03:00
VladimirMangos
391133cb8f [9052] Fixed possible crash at fake items swap packet. 2009-12-24 01:24:30 +03:00
tomrus88
af9318ffa1 Fixed/updated some enums/packets. 2009-12-22 05:12:40 +03:00
tomrus88
d69abfcae1 Merge remote branch 'origin/master' into 330 2009-12-21 17:06:32 +03:00
VladimirMangos
15de428242 [9037] Cleanups in spellmode apply code.
* Add constructores for spellmode creating instead explcit fields init
* Use uint32 for family mask 2 instead unneded uint64

Also drop one from manual applies for uno-existed now spell.
2009-12-20 19:47:14 +03:00
tomrus88
370c6bbd4b Fixed some structs. 2009-12-20 06:11:51 +03:00
tomrus88
7d285c5ed4 Removed useless code. Mail loading triggered at login by client anyway. 2009-12-18 00:10:48 +03:00
tomrus88
57126880cf Guild bank hopefully fixed. 2009-12-17 18:57:35 +03:00
tomrus88
eba214eb8a Merge remote branch 'origin/master' into 330 2009-12-17 16:13:37 +03:00
balrok
0502de55af [9013] shapeshift spells
some shapeshift forms will give the player spells
so we need to tell the server that the player has those new
spells else he can't cast them since the server is thinking the player is
cheating

ps forms with spells:
FORM_GHOUL
FORM_THARONJA_SKELETON
FORM_TEST_OF_STRENGTH
FORM_BLB_PLAYER
FORM_TEST
FORM_ZOMBIE

--
so this mostly won't affect any ingame experience.. but good to have this
feature anyway.. :)

also changed errormessage if player has no reagents for spell..
thx to nofantasy
2009-12-17 14:02:59 +01:00
tomrus88
c745c5072f Merge remote branch 'origin/master' into 330 2009-12-16 02:45:05 +03:00
NoFantasy
98dd3296e8 [8990] Correctly return DEFAULT_GOSSIP_MESSAGE and never 0 as gossipTextId
Fixes problem with summoned and gossip and where no textId is defined in database

Signed-off-by: NoFantasy <nofantasy@nf.no>
2009-12-14 10:45:54 +01:00
VladimirMangos
b109d0886a [8979] Remove unexpected added lines in prev. commit. 2009-12-12 22:28:32 +03:00
VladimirMangos
1d608c482f [8978] Fix wrongly apply weapon damage mods to broken weapon. 2009-12-12 21:12:43 +03:00