• 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.

Fatal error!

Status
Not open for further replies.
Level 7
Joined
Apr 13, 2012
Messages
110
FATAL ERROR!
Program:c:\program files\warcraft iii\War3.exe
Exception: 0xC0000005(ACCESS_VIOLATION) at 001B:6F0CD86D
The instruction at '0x6F0CD86D' referenced memory at '0x00000000'
The memory could not be 'read'

Here are the triggers they are full of leaks but i dont think thats the problem:

  • Trigger 1
    • Events
      • Unit - A unit enters RegionA <gen>
    • Conditions
      • (Triggering unit) Equal to UnitA <gen>
    • Actions
      • Set lifeofwall = (Current life of WALL1)
      • Destructible - Pick every destructible in RegionA <gen> and do (Actions)
        • Loop - Actions
        • Destructible - Remove (Picked destructible)
  • Trigger 2
    • Events
      • Unit - A unit leaves RegionA <gen>
    • Conditions
      • (Triggering unit) Equal to UnitA <gen>
    • Actions
      • Destructible - Create a WALL1 at (Center of RegionA <gen>) facing (Random angle) with scale 0.70 and variation 0
      • Set WALL1 = (Last created destructible)
      • Destructible - Set life of WALL1 to lifeofwall
You understand its a wall system you enter the region the wall disappears,you leave the region the wall reappears

The ERROR is when an enemy unit attacks the wall and the same time
you enter the region to disappear the wall...

Ideas welcomed
 
just show and hide your destructables, dont remove it...

^This is what you want.

As for why it happens: the error occuring when a unit tries to attack the destructible tree wall is because -suddenly- the unit has lost its target - the tree, but it's not dead or anything it just suddenly -doesn't exist-

It's one of those funny game-crashing errors, like giving gold on an attack and then attacking the ground.
 
Level 7
Joined
Apr 13, 2012
Messages
110
I tried it the pathing textures stay like they are so no unit can pass through...
i guess that needs a trigger that changes pathing texture or walkability..

But thanks to Tank-Commander i figure it out
its just needs a
  • Destructible - Kill (Picked destructible)
before
  • Destructible - Remove (Picked destructible)
ty.
 
Status
Not open for further replies.
Top