Commit Graph

570 Commits

Author SHA1 Message Date
megamage fc0e8a251b [8084] Correctly show spell icon disabled state at relogin for spells with cooldown delayed until expire. Author: VladimirMangos
--HG--
branch : trunk
2009-06-27 18:28:26 -05:00
megamage 7c8f37abea [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.

Author: VladimirMangos

--HG--
branch : trunk
2009-06-27 17:50:28 -05:00
megamage e5b982b0ef [8074] Fixed typo in money save. Author: nos4r2zod
--HG--
branch : trunk
2009-06-27 17:42:00 -05:00
megamage d9ec2d2196 [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.

--HG--
branch : trunk
2009-06-27 17:39:51 -05:00
megamage a363df1836 *Fix a crash caused by player saves with incorrect instance id.
--HG--
branch : trunk
2009-06-27 16:18:08 -05:00
Drahy 548f857d97 *Fix crash in AV
--HG--
branch : trunk
2009-06-27 17:29:12 +02:00
QAston e7e79ff8a4 *Merge.
--HG--
branch : trunk
2009-06-27 16:37:29 +02:00
QAston da3569402d *Merge tc1 1591 - 1599, skip 1596
--HG--
branch : trunk
2009-06-27 15:51:36 +02:00
QAston a74ae18739 *Merge tc1 commits 1582-1590
--HG--
branch : trunk
2009-06-27 15:29:06 +02:00
krz 10ac2b73b8 Better check to prevent exploiting in BuyItemFromVendor
--HG--
branch : trunk
2009-06-26 20:58:39 +02:00
krz a494b0436c Fix exploit in BuyItemFromVendor
--HG--
branch : trunk
2009-06-26 18:20:42 +02:00
krz 8334693fe7 Backported from TC2: *Fix typo causing problems with buying items.
--HG--
branch : trunk
2009-06-25 17:14:56 +02:00
QAston d234b35a0c *Fix typo causing problems with buying items.
--HG--
branch : trunk
2009-06-25 13:50:11 +02:00
Machiavelli 7fd26a5fee * Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets (Backported from TC2)
* Another crash exploit prevention using the same method in Bag::StoreItem, by Visagalis

--HG--
branch : trunk
2009-06-24 19:58:01 +02:00
Machiavelli 3c568253dc * Fix a crash in Player::BuyItemFromVendor caused by player spoofing packets
--HG--
branch : trunk
2009-06-24 19:46:54 +02:00
QAston 33b2917bb7 *Fix Ferocious Bite energy to dmg conversion
*Remove duplicated AP coefficients for Hammer of Wrath and Avengers Shield
*Correctly do effectaddcombopoints for spells which take them.
*Do not proc spelleffects on player login.

--HG--
branch : trunk
2009-06-24 15:58:44 +02:00
QAston f2ec641e42 [8056] Move SMSG_CLEAR_COOLDOWN into function and use it. Other cleanups. Author:XTZGZoReX
[8060] Store spell_pet_auras for auraeffects instead of by whole aura Author:hunuza.

--HG--
branch : trunk
2009-06-23 14:05:37 +02:00
QAston ad91c6b1e2 [8052] Fixed typo in error log output. Author: The_Game_Master
[8049] Added energize effect after last heal tick for 33763 and ranks. Author: bobaz
[8053] At character talents reset using chat command also reset talents
for all character pets. Author: VladimirMangos

--HG--
branch : trunk
2009-06-23 13:05:15 +02:00
krz dd52461d40 * Allow spells to trigger ItemCombatSpells if spell is melee/ranged damage based. Original patch by freegajnja
* Tabs to spaces.

--HG--
branch : trunk
2009-06-23 04:47:46 +02:00
megamage 2940aeb681 [8048] Fixed typo in HandleBuyItemInSlotOpcode. Author: nos4r2zod
[8047] Little cleanup in C++ manner. Author: ApoC

--HG--
branch : trunk
2009-06-19 19:01:25 -05:00
megamage 07c59aeff5 *Fix a crash caused by item
--HG--
branch : trunk
2009-06-19 17:01:45 -05:00
megamage 64bb4bce04 *Fix a crash in 4181. sorry
--HG--
branch : trunk
2009-06-19 12:11:16 -05:00
megamage 15a753351c *Fix or add debug message for crash caused by controlled creatures
--HG--
branch : trunk
2009-06-19 11:19:23 -05:00
Iskander 0bef9c2e59 * Correct group reward distance check
--HG--
branch : trunk
2009-06-19 13:14:33 +02:00
D_Skywalk abe4388eeb *Fixed gain reputation and xp reward between group mates in
--HG--
branch : trunk
2009-06-19 12:53:09 +02:00
megamage e5d56a23d4 *Fix the bug that player turn is not updated in server side.
--HG--
branch : trunk
2009-06-18 20:53:32 -05:00
megamage 4f0ae79036 [8041] Avoid send talent info many times at loading. Small cleanups. Author: VladimirMangos
--HG--
branch : trunk
2009-06-18 17:06:59 -05:00
Machiavelli 660f8219c8 * Fix Player::SaveToDB()
--HG--
branch : trunk
2009-06-18 22:05:56 +02:00
Machiavelli 9fd9031918 * More updating of iterator data types in loops. (Player.cpp fully done now)
--HG--
branch : trunk
2009-06-18 21:34:21 +02:00
Machiavelli 3c3a4a303d * More updating of iterator data types in loops, and fix a crash (sorry)
--HG--
branch : trunk
2009-06-18 21:16:25 +02:00
Machiavelli eaad0ed0c8 * Fix typo
--HG--
branch : trunk
2009-06-18 19:04:17 +02:00
Machiavelli d0ab817a04 * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:53:09 +02:00
Machiavelli 6b13edd6d1 *Merge
--HG--
branch : trunk
2009-06-18 18:30:11 +02:00
Machiavelli a4dafbf8ec * More updating of iterator data types in loops
--HG--
branch : trunk
2009-06-18 18:29:28 +02:00
megamage c52e7e801c *A temp fix of the bug that player sometimes cannot save inventory.
--HG--
branch : trunk
2009-06-18 11:24:33 -05:00
megamage 4f10fa008d *Call item::removefromworld after unit::removefromworld to prevent crash.
--HG--
branch : trunk
2009-06-18 10:45:38 -05:00
megamage e405e6f9ed *Fix a crash caused by mailed item deconstructor.
--HG--
branch : trunk
2009-06-17 09:57:22 -05:00
megamage c6765f9365 *Allow to force to respawn creatures.
*Save creature data for vehicles.
*Change some visibility update sequence of respawned creatures.
*Fix bugs of quest 12687: dark rider may not be on horse / horse cannot be used twice / horse does not respawn at correct phase

--HG--
branch : trunk
2009-06-17 01:01:39 -05:00
megamage 3cf2be6042 [8026] Obtain object's map directly by calling appropriate WorldObject::GetMap()/GetBaseMap() functions instead of accessing MapManager. Code cleanups. Big thanks Infinity for tests. Author: Ambal
--HG--
branch : trunk
2009-06-16 11:19:59 -05:00
QAston 2e6db5421e *Fix aura type 280.
--HG--
branch : trunk
2009-06-16 15:29:07 +02:00
megamage 00f4a31b73 [8016] Work at npc click table data use. Author: VladimirMangos
* 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

*Also add target position of 51852. By Roland

--HG--
branch : trunk
2009-06-15 23:07:43 -05:00
megamage 572a9191d9 *Some creature display id update. By VladimirMangos and GriffonHeart
--HG--
branch : trunk
2009-06-15 18:02:12 -05:00
megamage b9610f27dd *Check movementflag to interrupt casting instead of checking position.
*Also some other fixes about movement flags.

--HG--
branch : trunk
2009-06-15 12:02:55 -05:00
megamage d861941477 *Remove some redundent code in spell.cpp
--HG--
branch : trunk
2009-06-14 21:06:45 -05:00
megamage 16be2ac9bb *Teleport player to home if player falls under the map and no close grave is available.
--HG--
branch : trunk
2009-06-14 12:22:24 -05:00
megamage 4e005c3070 [8013] Fixed SMSG_RAID_INSTANCE_INFO opcode, some other fixes. Author: tomrus88
--HG--
branch : trunk
2009-06-14 10:19:44 -05:00
megamage c748c642cb [8012] Fixed rage decay rate to 1 rage per second. Author: domingo
--HG--
branch : trunk
2009-06-14 10:17:30 -05:00
megamage 314a4f8f00 [8008] Fixed SMSG_RAID_INSTANCE_MESSAGE opcode. Author: tomrus88
--HG--
branch : trunk
2009-06-14 10:06:41 -05:00
megamage 85a50c7ce2 [8007] Do not create empty maps while sending packets. Author: Ambal
--HG--
branch : trunk
2009-06-14 10:06:01 -05:00
megamage 8a2098d108 [7997] Fixed crash at recursive call remove same spell. Author: VladimirMangos
--HG--
branch : trunk
2009-06-13 09:42:08 -05:00