Commit graph

730 commits

Author SHA1 Message Date
hunuza
0f7f7c5ada [9354] Add spell efffects for dual spec.
Actual dual spec still not implemented.

Credits to EnderGT for original patch.

Signed-off-by: hunuza <hunuza@gmail.com>
2010-02-10 20:54:45 +01:00
tomrus88
1aa6c8eac9 Simplify code. 2010-02-10 21:14:04 +03:00
AlexDereka
df457c3ff5 [9352] Remove unused varibles 2010-02-10 20:59:29 +03:00
hunuza
acf507fd5a [9349] Add posssibility for one action button set per talent spec. 2010-02-10 18:00:30 +01:00
LordJZ
c49771337c [9341] Fixed loading chosen player title 2010-02-09 14:37:13 +01:00
VladimirMangos
c9c578b5c3 [9339] Use group ids for indexing groups in DB
* Use group ids in DB
* Pack used group ids at server startup
* Finaly drop group search by leader guid.
2010-02-09 14:36:20 +03:00
NoFantasy
8465d95d9f [9331] Implement DB storage of new quest fields RewRepValueIdN
Value can be -9 to 9. Value point to actual rewarded value in dbc store.
This id can then fully replace current use of RewRepValueN, as this field will most likely be reserved for custom reputation rewards (override RewRepValueId).
Old system/DB data will still work like normal, but be aware this may change in not too far away future.

Signed-off-by: NoFantasy <nofantasy@nf.no>
2010-02-08 23:41:34 +01:00
AlexDereka
696cba9c37 [9330] Fixed msvc compile warnings. 2010-02-08 16:27:35 +03:00
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