Wow... a real error message

  • Thread starter Thread starter 1stlancer
  • Start date Start date
1

1stlancer

Guest
Okay, these 'dummy' units are killing me. I've got it all set up. I made a custom unit to be the dummy for this move. When I use the ability, it sets off a trigger that goes like this:

Event: Unit casts ability

Condition: Ability is equal to Osmosis

Action: Create first dummy, teach it starfire, and tell it to cast starfire. Create second dummy, teach it earthquake, and tell it to cast earthquake.

All good so far. My hero's channeling, my two dummies are channeling, and with the modifications I've made it makes for one well-blended AoE drain spell + daze. Here's where the problem comes in. I need to get rid of them.

Event: Unit stops casting ability, Unit finishes casting ability (need both in case the player interrupts the hero's channeling)

Condition: Ability is equal to Osmosis

Action: Remove all units in group (units of type(dummy)) from the game.

Seems like it should work, but when I interrupt the spell, the game crashes. That's right, it CRASHES. It said that it was referencing a memory cell of all 0's (0x00000000... or whatever) so it makes me think I might be telling it to look for something that's not there, like a null pointer or something. If anyone has ideas or has run into a similar problem, please do tell.
 
I removed the remove all units action to see what it would do, and replaced it with a text message, so I could be sure that I had the events/conditions right. Funny thing happened.

I could interrupt the spell and I'd get my text message, all well and good. I could then control my hero, and (after removing the locust ability from my dummies) I could move my first dummy. But the second I either left the game after creating the dummies or gave the second dummy any command whatsoever, my game crashed, cue error message.

So I've sort of figured it out. I know where the problem is, I just don't know why it's happening. What I did was separate the dummies into their own independent triggers and handled them that way. Works just fine. I'll just lay low and hope no weird bug pop up again. : /
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    Bot readable, not human usable.
  • The Helper The Helper:
    got it
  • The Helper The Helper:
    Happy Thursday!
  • The Helper The Helper:
    Check out the new Featured Content feature we apparently got with the forum software upgrade! https://www.thehelper.net/featured/
  • The Helper The Helper:
    Also on the bottom right side bar we now have a Trending Content Box!
    +1
  • The Helper The Helper:
    Not on the Headline News page just on the Forums page can we get that Featured and Trending on the home page?
  • Ghan Ghan:
    Since the home page is technically a forum, it now shows on all forum views. Still in the sidebar.
    +1
  • The Helper The Helper:
    Happy Friday! Hope everyone has a fantastic day and an even better weekend!
  • The Helper The Helper:
    Happy Sunday!
  • The Helper The Helper:
    I lovc that I can post webp and X links now! :)
  • The Helper The Helper:
    Happy Thursday!
  • V-SNES V-SNES:
    Happy Friday!
    +1
  • The Helper The Helper:
    we were down for a minute - think a log file or something got too big
    +1
  • Ghan Ghan:
    The alerts say it was down for a while unfortunately.
  • Ghan Ghan:
    Didn't know what was going on while I was at work.
  • Ghan Ghan:
    Disk filled up with logs. Fixed now.
    +1
  • The Helper The Helper:
    not a problem at all thanks for getting us back up
  • The Helper The Helper:
    I think the bots are finding a way to get through the anubis
  • The Helper The Helper:
    Happy Wednesday Everyone! Hope everyone has a Fantastic Day!
    +1
  • The Helper The Helper:
    Yeah, stats are showing big bot influx like 12k page views.
  • Wizard Wizard:
    :wave:
    +1
  • Ghan Ghan:
    TH changed his avatar again. 6 more weeks of summer.
    +3
  • Wizard Wizard:
    lol
    +1
  • The Helper The Helper:
    Guys just a heads up I am going to be shutting the site down soon. I am just waiting on the NUON people to decide whether they want to transfer forum data and keep the discord. My email is [email protected] for anyone that wants to keep in touch and I have a facebook too. I will make an official post later. Love you guys and will miss everyone!
    +1
  • V-SNES V-SNES:
    Sent a pm @The Helper

The Helper Discord

Members online

No members online now.

Affiliates

Hive Workshop NUON Dome World Editor Tutorials
Back
Top