• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Strangest bug I've ever seen (video)

Status
Not open for further replies.
Level 8
Joined
Oct 2, 2013
Messages
288
The bug is showed in the video below.
Please inform me if the video is not working.


Information:
- The bug ONLY occurs when a unit PASSES BY at that EXACT distance (that is why I use peons in the video to adjust distance).
- All forces have shared vision and control but are not allied.
- The sorc is triggered to cast Forked Lightning on first attack.
- At the end of the video I press "stop" on the sorc, causing it to unbug.

Well... Does anyone know how the Sorc got completely stuck upon casting?
 
Last edited:

EdgeOfChaos

E

EdgeOfChaos

Give Forked Lightning much more range. Should do it.
 
Level 8
Joined
Oct 2, 2013
Messages
288
Thank you all for looking into this.

I just tried using a standard Sorc with standard Forked Lightning (Neutral Hostile).
Same bug happened :/

This is how the trigger looks
  • Attacked Unit
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Attacking unit) is in UG_Sorcs) Equal to True
        • Then - Actions
          • Unit - Order (Attacking unit) to Neutral Naga Sea Witch - Forked Lightning (Attacked unit)
        • Else - Actions
I think I should try making the same bug happen in a new map, to see if maybe one of my other triggers interfere. All though it seems very unlikely with the triggers I have from my point of view.

Either way. I would be happy to know if anyone knows a solution? :)
Even if the bug is present, I could make counter functions.
 
Last edited:

EdgeOfChaos

E

EdgeOfChaos

Either way. I would be happy to know if anyone knows a solution? :)
Even if the bug is present, I could make counter functions.

Try adding range to Forked Lightning, as I suggested, and say if that worked or not. I'm pretty confident that will fix it.
 
Last edited by a moderator:
Level 8
Joined
Oct 2, 2013
Messages
288
Try adding range to Forked Lightning, as I suggested, and say if that worked or not. I'm pretty confident that will fix it.

Sorry I totally forgot.

Anyway, I just tried with 2000 range and the outcome was the same :S

Edit: I just tried making the same bug happen in a whole new map.

Seems to me I may have found a tiny glitch in the very game... Its not unfixable though.

I can always add an "order stop" function to prevent the stuckness. But the "stop" must happen at least 1 second after the cast.

I need some advice for this trigger though.

If I have multiple Sorcs running around the map casting Forked Lightning, I dont want one stuck Sorc to "stop" an unstuck Sorc.

Any suggestion on a stop/fix-trigger is much appreciated! :)
 
Last edited by a moderator:

EdgeOfChaos

E

EdgeOfChaos

Hmmm... You could always just simulate a forked lightning via triggers. This is pretty tough if you're a beginner with triggers though. If you want to know more about this, I'd be happy to help.

I had this same problem in my map where my skeletons would fail to cast a melee-range Shadow Strike when you ran past them; I changed it to a longer range skill and it worked, so that's why I thought it was range.

Here's an odd thought; maybe it's a conflict with the Attack order and Cast order. Try ordering her to "Stop" first and then order to Lightning. Or, do it when a unit enters range, not when she attacks.
 
Level 8
Joined
Oct 2, 2013
Messages
288
Thank you all again for looking into this.

First things first: I tried using the "Order Stop" function like you said to see if Cast and Attack conflicted with each other. However, the outcome was still the same :(

When you say Triggering Forked Lightning, do you mean it is a part of the attack and not an actual spell?

I'm very open to the idea, but I wanna make sure my Sorc at least casts a spell, since my map has mechanics like Mana Coil in it.

Is it optional to use a dummy as well? I could make the Sorc cast a spell on itself like "Channel - Instant (No Target)" (I tested, and it doesn't bug) which then will create a dummy to shoot the Forked Lightning for it.

... Unless of course, the dummy will bug as well. But thats very unlikely right? :S
 

EdgeOfChaos

E

EdgeOfChaos

You could try that; if a dummy fails, you can always make it look like she casts it by using the Lightning effects and UnitDamageTarget.
 
Level 8
Joined
Oct 2, 2013
Messages
288
Very well.

Btw I just tested out a few more things and it turns out that the Attack function may actually be causing the bug. So I guess you were right, the attack and spell function does conflict with each other.

I figured this out by using 'Unit Comes Within Range'. That doesn't bug at all.

Anyway, I'll be posting later about my approaches now that I have a few. I know I will need some help on that, so I hope you guys will stick around.

Thank you all again for your great help! :)
 
Level 8
Joined
Oct 2, 2013
Messages
288
Just a short update. I have transitioned the trigger into using Damage Taken instead of Attacking - and it works just fine.

I consider my problem solved for now. I'm sorry I didn't think of this sooner.
Thank you all for your help and advice.

This is such a nice forum!
 
Level 14
Joined
Aug 30, 2004
Messages
909
Is it possible that your creating an infinite loop because when you order her to cast the spell, that spell counts as an attack? Hence she's constantly interrupting herself by trying to cast the spell over and over again. That would explain why when you tell her to stop she casts it...maybe.

Also, you could try modifying the orb of lighting ability so that the lightning attack happens with her normal one. Or just give her a lightning ability (like the chimera has).
 
Status
Not open for further replies.
Top