• 0

    posted a message on Merchants RPG Full House Bug

    FIXED IT!

    So i filled the game with bots, then I loaded it so make sure its a full house bug. It was

    Then i GUTTED IT, all triggers gone. NOT FIXED THEN I GUTTED IT: All variants gone: NOT FIXED THEN I GUTTED IT! All attributes and custom images and imports gone!: NO FIX! THEN I GUTTED OTHER SHIT!. Took out ALL the points in my map: WORKED!

    This meant that there was a problem with a point in the map. Tried some points, found it. Had to do with player start locations. Not sure what it was, but i deleted all of them and then tested the map online with a full house, WORKED.

    Common sense fix that you guys let me to, thanks.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Merchants RPG Full House Bug

    The thing is, I don't think it can be a trigger. None of my triggers fire off at map initialization, therefore its not pre-loading anything and hasn't tried any of the triggers. If it were a trigger it would shut out our game after we all loaded (am i right?). Imported are a few icons, a short song, and a loading screen, so It cant be any of these.

    Any other ideas?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Merchants RPG Full House Bug

    I think it has to do with variants maybe. What if i post pictures of all my variants and stuff? I'll try that.

    I really, REALLY don't want to post my map. Nor will I. I posted a previous map and it was hijacked in a month. Not worth it.

    Let me know if you guys see anything fishy here.

    Posted in: Miscellaneous Development
  • 0

    posted a message on Merchants RPG Full House Bug

    Hi guys. Haven't been here for a while, but I know I can count on you for anything :)

    My map Merchants RPG is starting to get popular again after my recent update.

    Problem is, my full house bug still exists and because Blizz auto starts a map with a full house (no way to stop it, and no way to kick the last player) everyone crashes before they can play.

    This has existed ever since my first release and its very irritating and very hard to find the source of the error.

    Here are all the details I can give you:

    With a house that is almost full (just missing a single player) the map starts fine with no error messages or loading issues (great!) With a full house the map loads and stops loading about half way (the loading bar) could be different for others, but this is where it stops for me.

    Things I have tried:

    -Reducing the amount of maximum players (did nothing, when it filled up to max, even though less players in total, it still freezes) -Adding a AI to take the last spot (does nothing as above) -Remove all map initialization triggers (set all to start with a game time trigger instead, still fails to load)

    Im really at a loss, im here because I'm hoping you guys can throw out some suggestions. My map popularity is going to go right back down if people cant play a full house.

    Suggestions? Ideas? Thank you

    -ViG

    Posted in: Miscellaneous Development
  • 0

    posted a message on TriggerErrorin: Negative array indexes not supported

    @LinkD: Go

    LinkD!! Good catch, geez', I'm glad i re-posted the trigger, there needs to be a point system of something here, good eye man!

    As far as changing the trigger goes, just tried it with "damaging unit" and I get the same trigger error

    TriggerErrorin
    'gt_ConjureFireballDamage_Func':
    Trying to access an element past the end of an array

    Here's the new code

    Conjure Fireball Damage
        Events
            Unit - Any Unit takes Fatal or Non-Fatal Spell damage (from Ethereal -  Conjure Fireball (Level 1) (FakeDamage) effects)
        Local Variables
        Conditions
            (Triggering damage amount) == 0.0
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    Or
                        Conditions
                            Level of Conjure Fireball[(Owner of (Damaging unit))] == 1
                            Level of Conjure Fireball[(Owner of (Damaging unit))] == 2
                Then
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            Level of Conjure Fireball[(Owner of (Damaging unit))] == 1
                        Then
                            UI - Display "Fireball is Level 01" for (All players) to Subtitle area
                            Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (2 RealDamage) on (Triggering unit) from (Damaging unit) with 0.0 extra damage
                            Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 1.2)) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                                Actions
                                    Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (2 RealDamage) on (Picked unit) from (Damaging unit) with 0.0 extra damage
                            General - Wait 2.0 Game Time seconds
                            UI - Display "  " for (All players) to Subtitle area
                        Else
                            UI - Display "FIREBALL IS <c " for (All players) to Subtitle area
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            Level of Conjure Fireball[(Owner of (Damaging unit))] == 2
                        Then
                            UI - Display "Fireball is Level 02" for (All players) to Subtitle area
                            Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (5 RealDamage) on (Triggering unit) from (Damaging unit) with 0.0 extra damage
                            Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 1.2)) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                                Actions
                                    Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (5 RealDamage) on (Picked unit) from (Damaging unit) with 0.0 extra damage
                            General - Wait 2.0 Game Time seconds
                            UI - Display "  " for (All players) to Subtitle area
                        Else
                            UI - Display "FIREBALL IS <c " for (All players) to Subtitle area
                Else
                    UI - Display "FIREBALL IS <c " for (All players) to Subtitle area
    

    I have a question, when the error pops up or when the shot doesn't give me a "fireball is level one" nothing actually happens. I mean, shouldn't my trigger cause the game to always say one of the following: "Fireball is level 1" "Fireball is not level 1" "Fireball is level 2" "Fireball is not level 2" "Fireball is neither level 1 or level 2" I mean I added those actions into the "else" categories yet i occasionally get a blank attack that does 0 damage and no chat message.

    Thanks for the continuing help,

    Posted in: Triggers
  • 0

    posted a message on TriggerErrorin: Negative array indexes not supported

    Thanks for the reply LinkD

    I tried your method (smart by the way, i don't know why i went around in a circle like that to get the player number)

    However im still getting an error.
    Now it says:

    TriggerErrorin
    'gt_ConjureFireballDamage_Func':
    Trying to access an element past the end of an array

    Here's my code edited, notice I added a line in the "else" to say that fireball is neither level 1 or level 2, Not level 1, or not level 2. The game occasionally returned a message saying "Fireball is not level 2" and that's when it does no damage (it gives the trigger error code at random times). I'm pretty much really lost on this one.

    Conjure Fireball Damage
        Events
            Unit - Any Unit takes Fatal or Non-Fatal Spell damage (from Ethereal -  Conjure Fireball (Level 1) (FakeDamage) effects)
        Local Variables
        Conditions
            (Triggering damage amount) == 0.0
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    Or
                        Conditions
                            Level of Conjure Fireball[(Owner of (Triggering unit))] == 1
                            Level of Conjure Fireball[(Owner of (Triggering unit))] == 2
                Then
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            Level of Conjure Fireball[(Owner of (Triggering unit))] == 1
                        Then
                            UI - Display "Fireball is Level 01" for (All players) to Subtitle area
                            Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (2 RealDamage) on (Triggering unit) from (Damaging unit) with 0.0 extra damage
                            Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 1.2)) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                                Actions
                                    Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (2 RealDamage) on (Picked unit) from (Damaging unit) with 0.0 extra damage
                            General - Wait 2.0 Game Time seconds
                            UI - Display "  " for (All players) to Subtitle area
                        Else
                            UI - Display "FIREBALL IS <c " for (All players) to Subtitle area
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            Level of Conjure Fireball[(Owner of (Triggering unit))] == 2
                        Then
                            UI - Display "Fireball is Level 02" for (All players) to Subtitle area
                            Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (5 RealDamage) on (Triggering unit) from (Damaging unit) with 0.0 extra damage
                            Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 1.2)) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                                Actions
                                    Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (5 RealDamage) on (Picked unit) from (Damaging unit) with 0.0 extra damage
                            General - Wait 2.0 Game Time seconds
                            UI - Display "  " for (All players) to Subtitle area
                        Else
                            UI - Display "FIREBALL IS <c " for (All players) to Subtitle area
                Else
                    UI - Display "FIREBALL IS <c " for (All players) to Subtitle area
    

    Also another thing to note: The integer "Level of Fireball" is an integer array of 13, and its default is set to 1

    Thanks

    -ViG

    Posted in: Triggers
  • 0

    posted a message on TriggerErrorin: Negative array indexes not supported

    Edit: I've been messing around with the trigger.

    I changed:
    Level of Conjure Fireball[(Player (Owner of (Damaging unit)) from Human Players)] == 1

    To:
    Level of Conjure Fireball[(Player (Owner of (Damaging unit)) from All Players)] == 1

    And I no longer get the "Negative array indexes not supported" Error. Instead I now get:

    TriggerErrorin
    'gt_ConjureFireballDamage_Func':
    Trying to access an element past the end of an array

    Any ideas?

    (Human players was a player group that was created with all active human players at the start of the map, I had a testing mode trigger that added player 1 to Human players at map initiation)

    Posted in: Triggers
  • 0

    posted a message on TriggerErrorin: Negative array indexes not supported

    Hi guys. I have a hero who shoots out a fireball. That fireball flies until it hits a unit, upon doing so, either hitting the target or an innocent bystander, deals "fake damage" then a trigger gets notified of that "fake damage" and dishes out "real damage" to that unit and all units around to resemble being hit by a ball of fire. The reason I did this is to be able to level up the skill for the hero.

    My issue is that occasionally the game will spit out:

    TriggerErrorin
    'gt_ConjureFireballDamage_Func':
    Negative array indexes not supported

    I have the game say "fireball lev 1" just so i know that the trigger ran for that shot, but when this error pops up no damage or text is given.

    Here is the code for my trigger that it's returning

    Conjure Fireball Damage
        Events
            Unit - Any Unit takes Fatal or Non-Fatal Spell damage (from Ethereal -  Conjure Fireball (Level 1) (FakeDamage) effects)
        Local Variables
        Conditions
            (Triggering damage amount) == 0.0
        Actions
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    Level of Conjure Fireball[(Player (Owner of (Damaging unit)) from Human Players)] == 1
                Then
                    UI - Display "Fireball is Level 01" for (All players) to Subtitle area
                    Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (2 RealDamage) on (Triggering unit) from (Damaging unit) with 0.0 extra damage
                    Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 1.2)) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                        Actions
                            Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (2 RealDamage) on (Picked unit) from (Damaging unit) with 0.0 extra damage
                    General - Wait 2.0 Game Time seconds
                    UI - Display "  " for (All players) to Subtitle area
                Else
            General - If (Conditions) then do (Actions) else do (Actions)
                If
                    Level of Conjure Fireball[(Player (Owner of (Damaging unit)) from Human Players)] == 2
                Then
                    UI - Display "Fireball is Level 02" for (All players) to Subtitle area
                    Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (5 RealDamage) on (Triggering unit) from (Damaging unit) with 0.0 extra damage
                    Unit Group - Pick each unit in (Any units in (Region((Position of (Triggering unit)), 1.2)) owned by player 13 matching Excluded: Missile, Dead, Hidden, with at most Any Amount) and do (Actions)
                        Actions
                            Environment - Deal damage using Ethereal -  Conjure Fireball (Level 1) (5 RealDamage) on (Picked unit) from (Damaging unit) with 0.0 extra damage
                    General - Wait 2.0 Game Time seconds
                    UI - Display "  " for (All players) to Subtitle area
                Else
    

    Any ideas? I can post the Fireball ability code if needed as well.

    As always, thanks for the assistance.

    Posted in: Triggers
  • 0

    posted a message on GUI Basic collision detection.

    (Edited cauuuussseeeee' i figured it out, works now. Thanks Vexal!)

    Posted in: Miscellaneous Development
  • 0

    posted a message on GUI Basic collision detection.

    Hi Vexal, thanks for the reply!

    So i was looking through the behavior tab, and realized I don't know how to make a behavior with a periodic search effect. Could you elaborate please?

    Hoping it isn't terribly complicated, ill keep searching around and trying things out. Thanks.

    Posted in: Miscellaneous Development
  • 0

    posted a message on GUI Basic collision detection.

    Rise from the grave, i am in need of assistance.

    Hey TECGhost, I really wanna use this type of trigger in my map to detect my hero's attack. Its currently shooting a normal fireball as its basic attack which moves slowly toward the enemy, my issue is that once the unit is dead my hero has another 2 fireballs flying into empty space, i figured i could make use of them by adding a collision detection trigger like you have here.

    If you don't want to explain the trigger that's fine I'll figure out how it functions with time, but my concern is your "position of Missles[I]" part of the code. How did you obtain that unit-group/form it? There should be more to your trigger...right?

    Thanks for the help

    Posted in: Miscellaneous Development
  • 0

    posted a message on Map Crashes With Full House!

    Hey guys ; (

    So i went through and changed ALL of my triggers to start only after like .1 and 1 and 5 seconds of map time, so NOTHING is at map initiation.

    No luck, full house crashes

    Turned off map preloading in settings

    No luck full house crashes

    I cant try the trigger debug because i never actually get into the game to see the error messages when its full

    Someone once mentioned that while loading, the map took up 2 gigs of memory then crashed. Would that have anything to do with it?

    Any other ideas on how i can trouble shoot this thing? I feel really bad when people trying to play my map freeze all the time, really turns em off.

    thanks for the help

    -ViG

    Posted in: Galaxy Scripting
  • 0

    posted a message on Map Crashes With Full House!

    Thank you guys for the nice detailed responses. Tomorrow (or in, eh 10 or so hours when i get home from school) ill give both of your well thought out suggestions a try and report back.

    Posted in: Galaxy Scripting
  • 0

    posted a message on Map Crashes With Full House!

    hi thanks for reading and hopefully helping.

    In my map Merchants RPG, I have 9 heroes, 3 merchants, and one evil (bot). I've noticed that when my map gets full (12/12 human players) the map goes to load but gets frozen and everyone is forced to alt-f4 out of SC2. If i start the round before the lobby is full, say when its 11/12 or 10/12 the freeze doesn't occur. I'll admit my map takes a while to load even when it is with 11/12 but its a pretty large map. The "size" of the map doesn't even come to half the allotted size on the publish screen when uploading though.

    Any ideas how to fix this? It's really a pain for people playing my map.

    thanks,

    -ViG

    Posted in: Galaxy Scripting
  • 0

    posted a message on Neural Parasite (Captured isn't treated as enemy)

    Its day 6, I'm still stranded with the issue, as I'm sure others like myself are.

    Any help / ideas appreciated.

    Posted in: Miscellaneous Development
  • To post a comment, please or register a new account.