4-6-2016

Discussion in 'Changelog' started by robregen, Apr 6, 2016.

  1. robregen

    robregen Administrator Staff Member

    Messages:
    8,386
    Code:
    Cavedude

    * Charmed NPCs can no longer summon.
    * Fixed the error message when an item is sold to a full merchant caused by the recent bazaar changes.
    * Charmed NPCs will no longer flurry or rampage.
    * Damage spells will no longer produce double messages.
    * Player casters and targets of spells will now always see the spell message regardless of filter or range.
    * Added and replaced IsCharmed() with IsCharmedPet(). IsCharmed() by itself will return true for all NPCs, because the default typeofpet is 3. IsCharmedPet() does the IsPet() for us to avoid this issue.
    * Debuffs will no longer fade on players when they charm the NPC that cast the debuffs.
    * Added rule AlKabor:HighLvlCorpsesAlwaysSpawn to force NPCs 55 and over to always leave a corpse. Default is disabled until we can work out the remaining faction wars issues.
    * Clicking on a NPC will now force an HP update. This "fixes" NPCs that are in a bugged (-HP) state immediately which is what happened on Al'Kabor in this situation.
    * Charmed NPCs and their NPC spell targets will now have debuffs faded when the charm wears off to further prevent faction wars. Players and their spells are unaffected by this.
    * NPC pets will now stay spawned and continue to attack until their hatelist is empty when their master dies or is charmed.
    * Moved where hate is added to the pet when its master is attacked until after the master has checked to see if it is dead. This will cause pets to poof if their master dies in a single hit and nothing else is on the hate list.
    * Added rule Character:SacrificeCorpseDepop if true, new empty sacrificed corpses will have their decay timer set to 3 minutes and rez timer disabled in pok, nexus, and bazaar. (Defaults to false)
    * Some minor code support for the recent corrections made to items.lua.
    * /tgb should now always hit the caster as well as the target group.
    * If a player changes targets during the casting of a group spell, the spell will no longer land on the new target and instead will use the original target.
    * Added DepopPet() to the client deconstructor to hopefully prevent pets from staying up forever in a couple different cases.
    * Added some additional checks when charm wears off of a player's summoned pet to make sure the player is still in a valid state to relcaim ownership of the pet. If the checks fail, the pet will depop.
    * If a damage shield deals all of the damage to a NPC, the player will no longer receive XP and the NPC won't leave a corpse (unless the level 55+ rule is enabled.)
    * A minor adjustment to how damage shield damage is counted to avoid overlap.
    * NPCs will no longer flee if they have allies nearby that are mezzed or feared.
    Haynar
    * Fixed pathing for pets and mobs getting stuck.
    * Pathing fixes for pets following
    * Adding raid members will no longer clear the list of looters on everyone in the raid.
    * Updated some pathing that would cause mobs to get stuck sometimes.
    * Added size compensation to hazard checks, so very large mobs like giants, are not stuck trying to step over a pebble.
    * Fixed a group bug, where if you do not accept an invite to a group (or decline) and zone, then you are unable to be invited to other groups.
    * Changed where packets are caught up on zoning. This should help not bug out groups.
    * Changed how its determined which mobs/clients get spawn packets sent to clients, to help prevent some clients not appearing when zoning together.

    Database:
    Robregen

    * Sarnak Casters in Chardok should no longer see invisible.
    * change brownie faction to indifferent for wolf form.
    * Undead Jailor in karnor's castle should now see invisible vs undead.
    * Add a missing faction for Gizzleknot in South Karana.
    * Kly Impecator #3 should drop viscal dagger everytime but reduce spawn chance to be more rare.
    * added missing factions for most merchants in HighKeep.
    * adjust spawntimer or Captain Boshinko in HighKeep
    * Adjust spawntimer for bards.
    * add Noble to Lozani spawngroup and adjust spawntimer.
    * Enabled Sac in PoK, Nexus, and Bazaar.
    * Set rule to true for sac corpse to depop after 3 minutes in PoK, Nexus, and Bazaar.
    Torven
    * sebilis: sebilite golem MR increased.
    * Bolt spells removed from default magician NPC spell sets.(should have been in patchnote 2 weeks ago)
    Cavedude
    * Torpor will no longer be castable on non group members.

    Script:
    Robregen

    * Correct the Shadowknight reward item for Plane of Sky
    Cavedude
    * Corrected a couple of issues that would incorrectly cause items to be eaten in the MQ code.

    Misc:
    Haynar

    * Update Soldunga path file.
     
    Last edited by a moderator: Apr 6, 2016
  2. Bum

    Bum I Feel Loved

    Messages:
    2,647
    After patch, if you charm a mob and gate(or maybe die) the mob poofs instead of walks off
     
  3. cavedude

    cavedude Administrator Staff Member

    Messages:
    1,893
    Small oversight on my part. It will be fixed next patch, thanks!
     
  4. Bum

    Bum I Feel Loved

    Messages:
    2,647
    and the mob doesn't repop
     
  5. cavedude

    cavedude Administrator Staff Member

    Messages:
    1,893
    Yeah, we actually want that to happen in this case because the method was only supposed to despawn summoned pets, not charmed. We don't want them to respawn, obviously. The problem was I changed how the code identifies charmed pets and by the time this code hits, the pet no longer had an owner (cause they left.) This resulted in the code feeling it was no longer a charmed pet so it was depopped instead of fading the charm. I changed how this method does the charm check to the way it was before and all is well now. I'm not sure when this will go in.
     
  6. cavedude

    cavedude Administrator Staff Member

    Messages:
    1,893
    I merged the fix to master, so it should be put in as a hotfix at some point.