Fatal Error problems.

SkyXyden

New Member
Reaction score
3
Theres someone wrong with my map. Whenever I fight this particular boss, mostly likely during the time the boss casted a trigger-based spell. It will cause a fatal error. It was fine before I added additional creep spawn to aid the boss. I also realise the fatal error happen near the area where the boss's creep spawn region but that my observation.



The error code might tell us something or two I don't know, I'm not pro in this field >.>

So.. can anyone help out? People keep getting this bug when I host the game.
 

saw792

Is known to say things. That is all.
Reaction score
280
Can you post the triggers for the boss's spells and the creep spawn trigger?
 

SkyXyden

New Member
Reaction score
3
Supposed bugged skill, the boss will disappear and creates 5 copies of him around the real one(hidden), after 3 seconds it will cast a powerful froze attack in the circle.

Code:
Frozen Lord Illusion Strike
    Events
        Time - Every 40.00 seconds of game time
    Conditions
    Actions
        Game - Display to (All players) for 3.00 seconds the text: |cff995500Frozen He...
        Special Effect - Create a special effect attached to the origin of Boss[6] using Abilities\Spells\Orc\MirrorImage\MirrorImageCaster.mdl
        Unit - Hide Boss[6]
        Unit - Pause Boss[6]
        Unit - Create 1 Frozen Hell Overlord for Player 7 (Green) at ((Position of Boss[6]) offset by 1000.00 towards 0.00 degrees) facing (Position of Boss[6])
        Unit - Turn collision for (Last created unit) Off
        Unit - Add Ice Beam (Frozen Over lord EFX) to (Last created unit)
        Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of Boss[6])
        Unit - Change color of (Last created unit) to Light Blue
        Unit Group - Add (Last created unit) to Frozen_Lords
        Unit - Create 1 Frozen Hell Overlord for Player 7 (Green) at ((Position of Boss[6]) offset by 1000.00 towards 60.00 degrees) facing (Position of Boss[6])
        Unit - Add Ice Beam (Frozen Over lord EFX) to (Last created unit)
        Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of Boss[6])
        Unit - Change color of (Last created unit) to Light Blue
        Unit - Turn collision for (Last created unit) Off
        Unit Group - Add (Last created unit) to Frozen_Lords
        Unit - Create 1 Frozen Hell Overlord for Player 7 (Green) at ((Position of Boss[6]) offset by 1000.00 towards 120.00 degrees) facing (Position of Boss[6])
        Unit - Turn collision for (Last created unit) Off
        Unit - Add Ice Beam (Frozen Over lord EFX) to (Last created unit)
        Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of Boss[6])
        Unit - Change color of (Last created unit) to Light Blue
        Unit Group - Add (Last created unit) to Frozen_Lords
        Unit - Create 1 Frozen Hell Overlord for Player 7 (Green) at ((Position of Boss[6]) offset by 1000.00 towards 180.00 degrees) facing (Position of Boss[6])
        Unit - Turn collision for (Last created unit) Off
        Unit - Add Ice Beam (Frozen Over lord EFX) to (Last created unit)
        Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of Boss[6])
        Unit - Change color of (Last created unit) to Light Blue
        Unit Group - Add (Last created unit) to Frozen_Lords
        Unit - Create 1 Frozen Hell Overlord for Player 7 (Green) at ((Position of Boss[6]) offset by 1000.00 towards 240.00 degrees) facing (Position of Boss[6])
        Unit - Turn collision for (Last created unit) Off
        Unit - Add Ice Beam (Frozen Over lord EFX) to (Last created unit)
        Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of Boss[6])
        Unit - Change color of (Last created unit) to Light Blue
        Unit Group - Add (Last created unit) to Frozen_Lords
        Unit - Create 1 Frozen Hell Overlord for Player 7 (Green) at ((Position of Boss[6]) offset by 1000.00 towards 300.00 degrees) facing (Position of Boss[6])
        Unit - Turn collision for (Last created unit) Off
        Unit - Add Ice Beam (Frozen Over lord EFX) to (Last created unit)
        Unit - Order (Last created unit) to Undead Crypt Lord - Impale (Position of Boss[6])
        Unit - Change color of (Last created unit) to Light Blue
        Unit Group - Add (Last created unit) to Frozen_Lords
        Wait 3.00 seconds
        Game - Display to (All players) for 4.00 seconds the text: |cff995500Frozen He...
        Wait 2.00 seconds
        Unit - Unhide Boss[6]
        Unit - Unpause Boss[6]
        Unit Group - Pick every unit in Frozen_Lords and do (Unit - Remove (Picked unit) from the game)

This the trigger for the single line of beam launched by a copy. But its just added animation.

Code:
Freeze of Death EFX
    Events
        Unit - A unit Begins channeling an ability
    Conditions
        (Ability being cast) Equal to Ice Beam (Frozen Over lord EFX)
    Actions
        Set temp_point[4] = ((Position of (Triggering unit)) offset by 250.00 towards ((Facing of (Triggering unit)) - 0.00) degrees)
        Special Effect - Create a special effect at temp_point[4] using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
        Set temp_point[3] = ((Position of (Triggering unit)) offset by 500.00 towards (Facing of (Triggering unit)) degrees)
        Special Effect - Create a special effect at temp_point[3] using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl
        Set temp_point[1] = ((Position of (Triggering unit)) offset by 800.00 towards ((Facing of (Triggering unit)) + 0.00) degrees)
        Special Effect - Create a special effect at temp_point[1] using Abilities\Spells\Demon\DarkPortal\DarkPortalTarget.mdl

Creep spawning

Code:
Gate Spawn TD 1
    Events
        Time - Every 4.00 seconds of game time
    Conditions
        (Number of living Berdark units owned by Player 8 (Pink)) Less than 15
    Actions
        Unit - Create 3 Berdark for Player 8 (Pink) at (Center of Malice Dark Lord Throne <gen>) facing Default building facing degrees
        Unit Group - Pick every unit in (Last created unit group) and do (Unit - Change color of (Picked unit) to Black)
        Unit Group - Order (Last created unit group) to Attack-Move To (Center of Left Lane 2 <gen>)
Code:
Gate Spawn TD 2
    Events
        Time - Every 6.00 seconds of game time
    Conditions
        (Number of living Soul Taker units owned by Player 8 (Pink)) Less than 15
    Actions
        Unit - Create 3 Soul Taker for Player 8 (Pink) at (Center of Malice Dark Lord Throne <gen>) facing Default building facing degrees
        Unit Group - Order (Last created unit group) to Attack-Move To (Center of Left Lane 2 <gen>)

Theres 3 more but they are the same except the periodic timming..
 

Exide

I am amazingly focused right now!
Reaction score
448
Your triggers leak a lot.
You should clean that up! :p
-Search for a memory leak tutorial here, and you'll find what you need.
 

SkyXyden

New Member
Reaction score
3
Hmm... Okay so I tried cleaning 1 spawn trigger up.

Code:
Gate Spawn TD 1
    Events
        Time - Every 4.00 seconds of game time
    Conditions
        (Number of living Berdark units owned by Player 8 (Pink)) Less than 15
    Actions
        Set Temp_Point = (Center of Malice Dark Lord Throne <gen>)
        Unit - Create 3 Berdark for Player 8 (Pink) at Temp_Point facing Default building facing degrees
        Set Temp_Group = (Last created unit group)
        Unit Group - Pick every unit in Temp_Group and do (Unit - Change color of (Picked unit) to Black)
        Unit Group - Order Temp_Group to Attack-Move To (Center of Left Lane 2 <gen>)
        Custom script:   call DestroyGroup (udg_Temp_Group)
        Custom script:   call RemoveLocation (udg_Temp_Point)

Hows it? Is there any leaks?
 

Artificial

Without Intelligence
Reaction score
326
Code:
Unit Group - Order Temp_Group to Attack-Move To (Center of Left Lane 2 <gen>)
->
Code:
Set Temp_Point2 = (Center of Left Lane 2 <gen>)
Unit Group - Order Temp_Group to Attack-Move To Temp_Point2
Custom script:   call RemoveLocation(udg_Temp_Point2)

Edit: Oh, btw. Just realized that you shouldn't destroy any group set to Last created unit group (it's kinda like with All players).

> You should 'set Temp_Group' to a value, not (Last created unit group).
What's wrong with setting it to Last created group? o_O Last created group is the only way to refer to the 3 created Berdarks. And you save one function call that way. \,,/
 

Exide

I am amazingly focused right now!
Reaction score
448
Code:
Gate Spawn TD 1
    Events
        Time - Every 4.00 seconds of game time
    Conditions
        (Number of living Berdark units owned by Player 8 (Pink)) Less than 15
    Actions
        Set Temp_Point = (Center of Malice Dark Lord Throne <gen>)
        Unit - Create 3 Berdark for Player 8 (Pink) at Temp_Point facing Default building facing degrees
        [COLOR="Red"]Set Temp_Group = (Last created unit group)
        Unit Group - Pick every unit in Temp_Group and do (Unit - Change color of (Picked unit) to Black)[/COLOR]
        Unit Group - Order Temp_Group to [COLOR="Red"]Attack-Move To (Center of Left Lane 2 <gen>)[/COLOR]
        Custom script:   call DestroyGroup (udg_Temp_Group)
        Custom script:   call RemoveLocation (udg_Temp_Point)

Leaks and error colored in red.
You should 'set Temp_Group' to a value, not (Last created unit group).
For example:

Code:
Set Temp_Group = (All units in (Playable Map))
 

SkyXyden

New Member
Reaction score
3
Hey thanks for the info about the leaks, but does this really helps my fatal error problem?
 

Exide

I am amazingly focused right now!
Reaction score
448
It might.
Usually leaks only lag the game, but they might cause server splits as well.
Usually faulty JASS codes are the cause of crashes..
 

SkyXyden

New Member
Reaction score
3
It might.
Usually leaks only lag the game, but they might cause server splits as well.
Usually faulty JASS codes are the cause of crashes..

A question here. I tried setting variable unit to (entering unit), but it seems theres an error. Can anyone help?

Code:
Gate of TD Creep Push
    Events
        Unit - A unit enters Left Lane Malice <gen>
        Unit - A unit enters Right Lane Malice <gen>
        Unit - A unit enters Left Lane 2 <gen>
        Unit - A unit enters Right Lane 2 <gen>
        Unit - A unit enters Mid Path Region <gen>
        Unit - A unit enters Fort Left <gen>
        Unit - A unit enters Btm Right Entrance <gen>
        Unit - A unit enters BR Check Point <gen>
        Unit - A unit enters BL Check Point <gen>
        Unit - A unit enters Main Fort Entrance <gen>
        Unit - A unit enters Main Fort Check Point <gen>
        Unit - A unit enters Middle Portal <gen>
    Conditions
        (Owner of (Entering unit)) Equal to Player 8 (Pink)
        ((Entering unit) is A Hero) Not equal to True
    Actions
        Set Temp_Point = (Center of Heroic Ground <gen>)
        Set Temp_Unit = (Entering unit)
        Unit - Order (Entering unit) to Attack-Move To Temp_Point
        Custom script:   call RemoveLocation (udg_Temp_Point)
        Custom script:   call RemoveLocation (udg_Temp_Unit)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though
  • Ghan Ghan:
    Heard Houston got hit pretty bad by storms last night. Hope all is well with TH.
  • The Helper The Helper:
    Power back on finally - all is good here no damage
    +2
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    New recipe is another summer dessert Berry and Peach Cheesecake - https://www.thehelper.net/threads/recipe-berry-and-peach-cheesecake.194169/

      The Helper Discord

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top