Results 1 to 3 of 3

Thread: onSelfEquipStart Bugged

  1. #1
    Ranger Devrix's Avatar
    Join Date
    Jun 2017
    Location
    Sorcery Discord
    Posts
    304
    Rep Power
    1

    Exclamation onSelfEquipStart Bugged

    The onSelfEquipStart trigger is bugged for worn Armor/Clothing/Mods, resulting in double/triple/quadruple proccing of Buffs, CVars and related triggered actions.

    Problem #1: onSelfEquipStart triple/quadruple fires on entering a game for worn Armor/Clothing/Mods
    Expected Behavior: onSelfEquipStart is fired off once on entering a game for all Armor/Clothing/Mods

    Problem #2: onSelfEquipStart double fires when manually equipping Armor/Clothing/Mods (vs shift-click)
    Expected Behavior: onSelfEquipStart is fired off once on equipping a piece of Armor/Clothing/Mods

    Testing and Confirmation
    Attach the ModifyCVar action to onSelfEquipStart within an Armor/Clothing/Mod piece then manually equip/unequip > repeat:
    Code:
    <!-- BUGGED: onSelfEquipStart --><!-- EXPECTED: Add 1 on EquipStart, Subtract 1 on EquipStop when manually equipping Armor/Clothing/Mods -->
    <!-- ACTUAL: Add 2 on EquipStart when manually placing Armor/Clothing or Armor/Clothing/Mods -->
    <triggered_effect trigger="onSelfEquipStart" action="ModifyCVar" cvar=".onSelfEquipStartCount" operation="add" value="1"/>
    <triggered_effect trigger="onSelfEquipStart" action="CVarLogValue" cvar=".onSelfEquipStartCount"/>
    <triggered_effect trigger="onSelfEquipStop" action="ModifyCVar" cvar=".onSelfEquipStartCount" operation="subtract" value="1"/>
    <triggered_effect trigger="onSelfEquipStop" action="CVarLogValue" cvar=".onSelfEquipStartCount"/>


  2. #2
    Guppycurian Forum Whore Guppycur's Avatar
    Join Date
    Apr 2014
    Location
    Enemy for life
    Posts
    22,504
    Rep Power
    1
    Can confirm.

    Dragging the item onto the wear slot has a different outcome than clicking the item onto the wear slot.

    https://youtu.be/cxw45tnwpak

  3. #3
    Ranger Devrix's Avatar
    Join Date
    Jun 2017
    Location
    Sorcery Discord
    Posts
    304
    Rep Power
    1
    Directly related onSelfEquip bug demo and confirmation by xyth:


    @TFP faatal madmole any ETA on a fix?
    We know you're super busy, but ready to sacrifice a goat if needed.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •