VladimirMangos
5a8640a69b
[8091] Check bag size at item protos loading and item slots at invetory loading.
...
This is single not safe places in work with bag slots in current code.
2009-07-02 09:18:34 +04:00
VladimirMangos
fad9c4c0b3
[8090] Fixed build problems.
2009-07-02 09:18:34 +04:00
VladimirMangos
cceb334533
[8089] Implement SPELL_EFFECT_CHARGE2(149), more correct monster flags use in charge effects.
...
Last fix let for example correct charge for flight creatures...
2009-07-02 09:18:33 +04:00
ApoC
ed8a3a39cc
[8088] Fixed min_range checking for spell casts.
...
Skip in check values 0.0f from DBC, this spells
do not have min range limitation.
This should fix some inappropriate target too close messages.
Signed-off-by: ApoC <apoc@nymfe.net>
2009-07-02 09:18:32 +04:00
NoFantasy
55a383cbd0
[8087] Cleanup code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:32 +04:00
Maxxie
b7f699d89b
[8086] Restore work spell 11196.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:30 +04:00
duckman
d7a4665aaf
[8085] Apply talent rate to all talents points.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:30 +04:00
VladimirMangos
a656bc36fa
[8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire.
2009-07-02 09:18:29 +04:00
VladimirMangos
34d5620a91
[8083] New debug command: .debug setaurastate for test target/caster aura states.
...
Also fix wrong (!args) checks in debug commands.
2009-07-02 09:18:28 +04:00
Lightguard
7eef6d2638
[8082] Update Diminishing Returns.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:28 +04:00
Ambient
d23f80924c
[8081] Remove player only targeting limitation for spell 25899, 20911 for triggering part.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:18:27 +04:00
VladimirMangos
cc23cf4653
[8080] Portability fixes for some Unix platforms.
...
* Add #include <stdio.h> to some fiels where related functions call.
* Avoid template dependent lookup for fields in class LockedQueue.
2009-07-02 09:18:26 +04:00
VladimirMangos
0a8f9ac6e9
[8079] Fixed build errors at use old ACE versions (without ace/Stack_Trace.h).
2009-07-02 09:18:26 +04:00
VladimirMangos
fc5dde85c4
[8078] Fixed typos in character data loading after recently added new field.
...
* Really use race/class/gender fields instead `data` field values.
* Load extra flags (gm mode onm gm fly mode, gm invisibility and etc) from proper field.
NOTE: recommedned reset characters.extra_flags field to 0 for all characters.
It can be corrupted in time login/logout before this fix.
2009-07-02 09:18:25 +04:00
VladimirMangos
48caaaffcf
[8077] Resolve mixed store and use 2 different flags values types in single field.
...
* Create new monster move field in Creature class and use it in all cases when expected use MONSTER_MOVE_* flags.
* Store and use MOVEMENTFLAG_* values in field in MovementInfo structure of Player class.
* Cleanups and fix related code.
NOTE: DB in creature_addon store values similar MONSTER_MOVE_* flags, scritps also expected set only this flags.
2009-07-02 09:18:24 +04:00
thenecromancer
9bc57c8512
[8076] Fixed well known walk-after-taxi bug.
...
Also thanks to jolan, yad02, nos4r2zod for deep reseach problem.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:30 +04:00
NoFantasy
4baf32d05f
[8075] Effect at remove for aura of spell 42783.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:29 +04:00
nos4r2zod
93d3edfc15
[8074] Fixed typo in money save.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-07-02 09:17:28 +04:00
hunuza
517697768a
[8073] Use new database fields in offline player answer to CMSG_NAME_QUERY.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-23 19:47:54 +02:00
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
VladimirMangos
f34ce077c0
[8071] Restore work .modify tp command. Allow apply it to selected character's pet.
2009-06-23 04:46:13 +04:00
VladimirMangos
7175007aba
[8070] Restore spell casting loot items and recipes.
...
* SPELL_EFFECT_OPEN_LOCK_ITEM (59) effect removed in 3.1.3
* It replaced by SPELL_EFFECT_CREATE_RANDOM_ITEM (59), random item without template replace spells like clam loot spells)
Used by spells that use before SPELL_EFFECT_CREATE_ITEM_2 (157) with itemtype==0
Note: required DB support in `spell_loot_termplate`
2009-06-23 03:46:27 +04:00
Saeba
e455ee7da7
[8069] Fixed copy/paste mistake in achievement error output.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-22 22:21:51 +02:00
SeT
d4017afadd
[8068] Fixed crash from 33201 and ranks, remove outdated rank case.
...
Signed-off-by: SeT <can15@ngs.ru>
(cherry picked from commit e52f1f4e530a435edb156de5083e39b2ef23bbb5)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 15:59:47 +04:00
VladimirMangos
634fda8475
[8067] Fixed tabs and trailing whitespaces in code.
2009-06-22 15:43:47 +04:00
Ambal
c402d3ec26
[8066] Fixed typo in Teleport call.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 13:43:27 +04:00
Rhyll
8f69f19027
[8065] Remove outdated data in spell_proc_event.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:44:07 +04:00
pasdVn
14700e9918
[8064] Implemented dummy procs for spell 47535 and ranks
...
(cherry picked from commit 80d0367959b110cb3daa0c6dd65022f5ecf84ac5)
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-22 00:22:25 +04:00
bobaz
d49d7e74f9
[8063] Fix summon water elemental.
...
Summon type changed in 3.1.0.
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 15:13:33 +02:00
Alez
17a82a063e
[8062] Update triggering spell for talent 51625 and ranks.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 16:27:00 +04:00
hunuza
e2d3a68a48
[8061] Fixed 12834 and ranks stacking behaviour.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 13:17:45 +02:00
hunuza
7448aaa37e
[8060] Fix 56314 and ranks.
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 12:33:52 +02:00
Skirnir
113a492e02
[8059] Fix summon type for 33831 (changed in 3.0.0).
...
Signed-off-by: hunuza <hunuza@gmail.com>
2009-06-21 10:41:39 +02:00
NoFantasy
ec133404ca
[8058] Avoid use error_log in non-scripting DLL code.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 04:13:07 +04:00
NoFantasy
400c110e1f
[8057] Move code from Event AI to class Creature function for reuse in other scripting cases.
...
Also some outdated and wrong checks remove.
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 03:39:43 +04: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
Den
d97f2bb92f
[8055] Now spell 20911 and variations provided only mana percent back.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-21 01:31:07 +04:00
QAston
a8dea60d6e
[8054] First do cleanup then removefromworld for player.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
Thanks to lordinpvp for patch prepering for mangos.
2009-06-21 01:09:16 +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
The_Game_Master
5564346c58
[8052] Fixed typo in error log output.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 03:02:54 +02:00
bobaz
5f81e5bd35
[8051] Fixed some drinking mana regen spells.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:59:04 +02:00
Corfen
f018f4c15c
[8050] Fixed healing from spell 63108.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:52:11 +02:00
bobaz
b2da4b11ce
[8049] Added energize effect after last heal tick for 33763 and ranks.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 02:20:13 +02:00
nos4r2zod
8db10be934
[8048] Fixed typo in HandleBuyItemInSlotOpcode.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 01:48:46 +02:00
ApoC
7f3be4ae6a
[8047] Little cleanup in C++ manner.
...
Signed-off-by: ApoC <apoc@nymfe.net>
2009-06-20 01:48:39 +02:00
NoFantasy
b91f7c9479
[8046] Use float for store AttackDistance as expected by using calls.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-20 01:17:23 +04:00
VladimirMangos
4cbf8e2412
[8045] Cleanup expression.
2009-06-20 00:32:32 +04:00
KAPATEJIb
0beec712e5
[8044] Fixed: group members teleported on BG ending to locations they were before BG start.
...
Signed-off-by: AlexDereka <dereka.alex@gmail.com>
2009-06-18 23:47:20 +04:00
rastikzzz
fada8301f5
[8043] Fixed typo in LoadSkillDiscoveryTable()
2009-06-18 23:18:00 +04:00
Ambal
fe88960e09
[8042] Speedup search creature/pet/vehicle by guid.
...
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
2009-06-18 22:33:23 +04:00