hunuza
8a32a19bad
[8072] First step to get rid of data blob.
...
Adds new fields gender, level, xp, money, playerBytes, playerBytes2 and playerFlags to characters table.
The update will not work if your database contains characters with an old data field (not fitting to the actual client version).
It's recommended to backup your character database before applying this patch.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 17:51:48 +02:00
hunuza
7448aaa37e
[8060] Fix 56314 and ranks.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 12:33:52 +02:00
XTZGZoReX
9b9fe55981
[8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 03:07:54 +04:00
VladimirMangos
d56de2cd77
[8053] At character talents reset using chat command also reset talents for all character pets.
...
This applied to .reset talents and .reset all talents commands.
2009-06-21 00:29:46 +04:00
ApoC
7f3be4ae6a
[8047] Little cleanup in C++ manner.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 01:48:39 +02:00
VladimirMangos
3e2b810376
[8041] Avoid send talent info many times at loading. Small cleanups.
2009-06-18 22:01:34 +04: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
309ac7ead0
[8023] Move guardian list at Unit level and unsummon guardians at owner-creature death/unload.
...
This expected to fix well known crash at intances unload with creature with summoned guardians.
Note: this "fix" special case but not original source of problem in general.
2009-06-15 23:46:13 +04:00
VladimirMangos
5254a498df
[8016] Work at npc click table data use.
...
* New fields in `npc_spellclick_spells` for allow set npc spell click mode from quest to infinity
or to another quest, or from reward quest.
* Not expect (and forbid set UNIT_NPC_FLAG_SPELLCLICK in DB and set it at `npc_spellclick_spells` loading.
* Apply some speedups for creature checks affected by spel click state
2009-06-15 01:01:38 +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
25140ea3cc
[8013] Fixed SMSG_RAID_INSTANCE_INFO opcode, some other fixes.
2009-06-14 19:24:56 +04:00
domingo
55e9e6b04a
[8012] Fixed rage decay rate to 1 rage per second.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-14 12:23:49 +02:00
tomrus88
55836df62f
[8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode.
2009-06-14 14:00:00 +04:00
Ambal
6a5b6f08e0
[8007] Do not create empty maps while sending packets.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-14 11:11:27 +04:00
VladimirMangos
fd1f47c88c
[7997] Fixed crash at recursive call remove same spell.
2009-06-12 01:33:41 +04:00
nos4r2zod
31957a22d6
[7990] Trigering "on hit" combat spell only at related to current hit weapon.
...
Also check at loading that only weapon item templates have "on hit" spell triggers.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-11 01:29:33 +04:00
tomrus88
8a0f9f61f9
Fixed typos, merge errors.
2009-06-07 22:04:45 +04:00
tomrus88
1f87157edf
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/UpdateData.cpp
2009-06-07 21:42:02 +04:00
VladimirMangos
5ac6b2f34b
[7971] Implement support exotic pets limtations related to hunter telent 53270.
...
Note: before this commit hunters can tame exotic pets like any other.
After patch like not propertly contriolled pets will auto-dismiss at loading
if talent not learned.
2009-06-06 21:21:27 +04:00
tomrus88
cffbb8661b
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
src/game/SpellAuras.cpp
2009-06-02 15:01:26 +04:00
yad02
afdcc2bbfe
[7944] Replace 10 by MAX_UNIT_ACTION_BAR_INDEX in packet size of SMSG_PET_SPELLS.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:42:39 +02:00
yad02
469e8713b2
[7942] Fixed typo: proffesion->profession
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-02 12:27:45 +02:00
tomrus88
907cc45b44
Fixed compile error.
2009-05-31 13:48:51 +04:00
tomrus88
cae3f0a532
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
2009-05-31 12:16:25 +04:00
VladimirMangos
af54fbf715
[7927] For achievement criteria type ACHIEVEMENT_CRITERIA_TYPE_EQUIP_ITEM check also items equip at loading.
2009-05-31 10:29:38 +04:00
VladimirMangos
6e9339b093
[7924] Not teleport player to non-player caster at ressurection.
2009-05-31 06:28:13 +04:00
VladimirMangos
2a27a44e2a
[7918] Improve portability in work with uint64 string format specifiers and in code literals.
...
* Replace platform seelction MaNGOS code for select format descriptor for uint64 by using ACE define.
I64FMTD renamed to UI64FMTD for more clear name.
* Add new define UI64LIT (base at ACE seelction) for build portables uint64 literals.
Please always use UI64LIT(0x00001) instead less portable 0x00001LL
2009-05-30 22:44:20 +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
84ed071e16
Merged and fixed some whitespaces.
2009-05-29 10:40:13 +04:00
VladimirMangos
b83f32fc19
[7905] Implement ACTION_T_SET_SHEATH for creature event ai make possibility set ranged fire state.
...
Also related cleanup code in field cases and player Player::SetSheath.
2009-05-29 01:05:39 +04:00
tomrus88
f6e2b55e2c
Merge branch 'master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-28 10:16:02 +04:00
VladimirMangos
4d8adefe70
[7901] Refactoting pet action bar related code. Fixed some related bugs.
...
* Correctly update action bar at loading and other cases when listed unlearned/not existed spells
* Avoid send data by PetSpellInitialize() many times while pet loading
2009-05-27 19:43:57 +04:00
VladimirMangos
1abe4c0d79
[7900] Now really allow recieve account bounded items by mail reciver.
2009-05-27 10:58:23 +04:00
VladimirMangos
d2e25491a2
[7898] Improve client error output at different mail send errors, cleanup code.
2009-05-27 01:14:17 +04:00
tomrus88
2f15546120
Merge commit 'origin/master' into 310
2009-05-25 21:57:59 +04:00
VladimirMangos
32a66d2bd2
[7890] Fixed memory leak in result one from my old commits.
2009-05-24 23:00:20 +04:00
tomrus88
afd82229d7
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/SpellAuras.cpp
src/game/SpellEffects.cpp
2009-05-24 10:11:26 +04:00
VladimirMangos
3d1b055e9e
Fixed bank bag slot amount achievement statistic. Cleanup related code.
2009-05-23 18:50:46 +04:00
VladimirMangos
f72a8bc6dc
Merge commit 'origin/master' into 310
2009-05-23 01:55:33 +04:00
VladimirMangos
bc4611e8c0
[7877] Correctly set totem PvP state at loading and owner PvP state change, including GM totem case.
...
* Also set PvP state in proper way at pet loading if owner in PvP state.
2009-05-23 00:37:49 +04:00
tomrus88
c802504304
Applied coding style.
2009-05-21 19:45:18 +04:00
tomrus88
ebb03b7b9f
Merge commit 'origin/master' into 310
...
Hope it works with live 3.1.2.9901 client
2009-05-20 10:53:55 +04:00
DonTomika
ab3eb09669
[7842] Set and stop combat for pets at player enter to GM-mode.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-05-17 22:48:06 +04:00
SilverIce
b7f09eb37c
[7841] Fixed: Prevent loading maps/vmaps when building enum.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-05-17 19:58:43 +04:00
xILOSWag
8cf9dc035b
[7837] Implement missed item enchant type (stat mana, stat health)
...
Signed-off-by: DiSlord <dislord@nomail.com>
2009-05-16 12:35:43 +04:00
tomrus88
6734694a90
Merge commit 'origin/master' into 310
...
Conflicts:
src/game/Player.cpp
2009-05-16 00:47:37 +04:00
VladimirMangos
7a7ee86f97
[7835] Store structures (with size = uint32) insteed pointer to structure in PetSpellMap.
2009-05-15 17:22:44 +04:00
VladimirMangos
b722e75d90
[7832] Better check at petcreateinfo_spell loading for errors and redundend data.
2009-05-15 06:19:11 +04:00
VladimirMangos
e134b5383b
[7831] Prevent have hunter pet with level greater player levels at level changes. Propertly set hunter pet xp values at level update.
2009-05-15 05:33:46 +04:00