Project

General

Profile

Bug #2172

Actor.Effect[query freezes the instance (crash)

Added by Kannkor almost 3 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
Crash
vbulletin_issue_id:

Description

PM me on discord if you need any additional information.

In the code below, just target something that has an effect (I used an NPC inside of a zone that has a detrimental out of combat, but you can use any actor, such as another player)

 

variable int64 MobID=${Target.ID}

    variable int iCounter=0

 

    for ( iCounter:Set[1]; ${iCounter} <= ${Actor[id,${MobID}].NumEffects} ; iCounter:Inc )

    {

        echo MainIconID: ${Actor[id,${MobID}].Effect[${iCounter}].MainIconID}

    }

    ; Results: MainIconID: 696

    ; Above works, now lets try with query

    wait 10

    

    ; This line will freeze the session.

    echo ${Actor[id,${MobID}].Effect[query,MainIconID = 696]}

No data to display

Also available in: Atom PDF