• 0

    posted a message on Desync

    I made a map, Undead Assault 3, and since patch 1.5 I've been having problems with desyncs. At the start of the game, it seems like 70% of the time it desyncs. I suspect it's from a certain player (and getting re-invited etc.), but how exactly I don't know.

    Can anybody help me on this?

    Posted in: Miscellaneous Development
  • 0

    posted a message on Black Bar Behind UI

    I love you.

    Posted in: UI Development
  • 0

    posted a message on Black Bar Behind UI

    Anybody got a clue?

    Posted in: UI Development
  • 0

    posted a message on Black Bar Behind UI

    I'm trying to make my UI transparent. When I set the alpha, however, it leaves this black bar behind the UI. How do I get rid of it?

    http://www.freeimagehosting.net/jegtf

    Posted in: UI Development
  • 0

    posted a message on Ability Skipping Levels
    Quote from DrSuperEvil: Go

    Remember the level integer starts at 0.

    Yes I know. And yet it still skips 1 level at level 3.

    At level 1 and 2 it's fine.

    Here is my trigger:

    At level 3, the game messages: 2 3

    Before that it's: 1 1

    and

    0 0

    Learn Marksman Skills
        Events
            Unit - Any Unit uses  Marksman Skills at Generic6 - Complete stage (Ignore shared abilities)
        Local Variables
        Conditions
        Actions
            Unit - Set level for (Triggering unit) ability Binoculars (SDM) to ((Current level for ability Marksman Skills on (Triggering unit)) - 0)
            UI - Display (Text((Current level for ability Marksman Skills on (Triggering unit)))) for (All players) to Subtitle area
            UI - Display (Text((Current level for ability Binoculars (SDM) on (Triggering unit)))) for (All players) to Subtitle area
    
    Posted in: Triggers
  • 0

    posted a message on Ability Skipping Levels

    I have a hero ability that, when learned, is triggered to set another ability to it's level. So as you level up one ability, it levels up another.

    The trigger sets the 2nd ability to the same level of the learned one.

    The problem is that, for some weird reason, at level 3 the ability button says "Level 4" and at level 4 the button says "Level 5". It doesn't even have 5 levels.

    I added a debug msg, and for some weird reason it's just skipping level 3 and jumping to level 4, although the learned ability is not. So I basically cannot set it's level to level 3 - I tried triggering that, too, and it just jumps to level 4 again. I do not understand how this is possible. Any idea how to fix this?

    Posted in: Triggers
  • 0

    posted a message on [3ds max] Particles That Use Half Material Image

    Nevermind I found the problem.

    Posted in: Artist Tavern
  • 0

    posted a message on [3ds max] Particles That Use Half Material Image

    I'm trying to change the Immortal Impact effect to be firey and explosive.

    I ran into a bit of trouble, though. 2 of their particles use an 8x8 image, however the bottom 8x3 are firey, and the top 8x5 are blue and plasma-like.

    How do I switch it to use the bottom 8x3 instead? I cannot find any fields within the particles that change this. In the columns and rows, it says 8x8 but it's only using the top 8x5.

    When I say 8x3, I mean columns x rows (rows being vertical).

    Posted in: Artist Tavern
  • 0

    posted a message on Resource Sharing When Player Leaves

    I've been trying for a long time to turn off resource sharing when a player leaves the game.

    I have a loop that sets them to "neutral" when they leave and all their resources to 0, but that doesn't work.

    What is the easiest way to do this?

    Posted in: Triggers
  • 0

    posted a message on Bank Unverified Sometimes On Bnet

    Thank you ahli. I'll try to reduce my bank sizes.

    Posted in: Triggers
  • 0

    posted a message on Bank Unverified Sometimes On Bnet

    Let's stay on topic, please!

    Quote from Hookah604: Go

    You get message that "Biometric ID not recognized"? Are you sure its the bank signature? btw I suggest using double bank for safety save...: http://www.sc2mapster.com/forums/resources/tutorials/28875-trigger-bank-facts/#p1

    Actually, I don't think it is the signature. I think the bank itself is simply not loading period (as in, they are NOT getting the message). Could it be a compatibility issue with the 1.5 beta patch?

    Or do I have too many variables getting saved? I can easily turn those decal and camo unlocks into 2 strings rather than like 20 booleans.

    Posted in: Triggers
  • 0

    posted a message on Bank Unverified Sometimes On Bnet

    I have a bank system for my map that saves a couple of integers/booleans for players. The problem is that it sometimes is unverified on battle.net. A player will play a game, join another, and sometimes their bank resets or is unverified. Any idea what is wrong with my code? Do I have too many variables?

    I have 3 triggers, one that preloads the bank, one that loads and sets the variables from them, and one that saves the banks.

    Bank
        Events
            Game - Map initialization
        Local Variables
        Conditions
        Actions
            Bank - Preload and synchronize bank "UA3" for player 1
            Bank - Preload and synchronize bank "UA3" for player 2
            Bank - Preload and synchronize bank "UA3" for player 3
            Bank - Preload and synchronize bank "UA3" for player 4
            Bank - Preload and synchronize bank "UA3" for player 5
            Bank - Preload and synchronize bank "UA3" for player 6
            Bank - Preload and synchronize bank "UA3" for player 7
            Bank - Preload and synchronize bank "UA3" for player 8
            Bank - Preload and synchronize bank "UA3" for player 9
            Bank - Preload and synchronize bank "UA3" for player 10
            Bank - Preload and synchronize bank "UA3" for player 11
            Bank - Preload and synchronize bank "UA3" for player 12
            Bank - Open bank "UA3" for player 1
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[1] = (Last opened bank)
            Bank - Open bank "UA3" for player 2
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[2] = (Last opened bank)
            Bank - Open bank "UA3" for player 3
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[3] = (Last opened bank)
            Bank - Open bank "UA3" for player 4
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[4] = (Last opened bank)
            Bank - Open bank "UA3" for player 5
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[5] = (Last opened bank)
            Bank - Open bank "UA3" for player 6
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[6] = (Last opened bank)
            Bank - Open bank "UA3" for player 7
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[7] = (Last opened bank)
            Bank - Open bank "UA3" for player 8
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[8] = (Last opened bank)
            Bank - Open bank "UA3" for player 9
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[9] = (Last opened bank)
            Bank - Open bank "UA3" for player 10
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[10] = (Last opened bank)
            Bank - Open bank "UA3" for player 11
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[11] = (Last opened bank)
            Bank - Open bank "UA3" for player 12
            Bank - Set Option Signature for Bank (Last opened bank) to Enable
            Variable - Set banks[12] = (Last opened bank)
    
    Banks Vars
        Events
            Timer - Elapsed time is 0.0 Game Time seconds
        Local Variables
            loopint = 1 <Integer>
            int = 1 <Integer>
        Conditions
        Actions
            General - For each integer loopint from 1 to 12 with increment 1, do (Actions)
                Actions
                    General - If (Conditions) then do (Actions) else do (Actions)
                        If
                            (Bank banks[loopint] is verified) == True
                        Then
                            Variable - Set Player Experience[1][loopint] = (Load "experience" of section "enlisted" from bank banks[loopint] as integer value)
                            Variable - Set Player Experience[2][loopint] = (Load "experience" of section "warrant officer" from bank banks[loopint] as integer value)
                            Variable - Set Player Experience[3][loopint] = (Load "experience" of section "officer" from bank banks[loopint] as integer value)
                            Variable - Set Player Games Played[loopint] = (Load "games played" of section "general" from bank banks[loopint] as integer value)
                            Variable - Set Player Games Played[loopint] = (Player Games Played[loopint] + 1)
                            Variable - Set player camo unlocked[1][loopint] = True
                            General - For each integer int from 2 to 10 with increment 1, do (Actions)
                                Actions
                                    Variable - Set player camo unlocked[int][loopint] = (Load player camo string[int] of section "camo" from bank banks[loopint] as boolean)
                            General - For each integer int from 1 to 6 with increment 1, do (Actions)
                                Actions
                                    Variable - Set player decal unlocked[int][loopint] = (Load player decal string[int] of section "decals" from bank banks[loopint] as boolean)
                            Variable - Set Player Avg Game Time[loopint] = (Load "avg game time" of section "general" from bank banks[loopint] as integer value)
                            UI - Display (Combine ("Biometric ID recognized. XP:")) for (Player group(loopint)) to Debug area
                            UI - Display (Combine ("Enlisted:", (Text(Player Experience[1][loopint])))) for (Player group(loopint)) to Debug area
                            UI - Display (Combine ("WO:", (Text(Player Experience[2][loopint])))) for (Player group(loopint)) to Debug area
                            UI - Display (Combine ("Officer:", (Text(Player Experience[3][loopint])))) for (Player group(loopint)) to Debug area
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    Player Experience[1][loopint] >= Rank XP Min[1][3]
                                Then
                                    Tech Tree - Set PFC upgrade level to 1 for player loopint
                                Else
                            General - If (Conditions) then do (Actions) else do (Actions)
                                If
                                    Player Experience[1][loopint] >= Rank XP Min[1][6]
                                Then
                                    Tech Tree - Set SGT upgrade level to 1 for player loopint
                                Else
                        Else
                            Variable - Set player camo unlocked[1][loopint] = True
                            UI - Display (Combine ("Biometric ID not recognized. XP: ", (Text(Player Experience[1][loopint])))) for (Player group(loopint)) to Debug area
                    Variable - Set loopint = (loopint + 1)
    
     Save Bank
        Events
            Game - Player Any Player types a chat message containing "-save", matching Exactly
        Local Variables
            loopint = 1 <Integer>
        Conditions
        Actions
            General - For each integer loopint from 2 to 10 with increment 1, do (Actions)
                Actions
                    Bank - Store boolean player camo unlocked[loopint][(Triggering player)] as player camo string[loopint] of section "camo" in bank banks[(Triggering player)]
            General - For each integer loopint from 1 to 6 with increment 1, do (Actions)
                Actions
                    Bank - Store boolean player decal unlocked[loopint][(Triggering player)] as player decal string[loopint] of section "decals" in bank banks[(Triggering player)]
            Bank - Store integer Player Experience[1][(Triggering player)] as "experience" of section "enlisted" in bank banks[(Triggering player)]
            Bank - Store integer Player Experience[2][(Triggering player)] as "experience" of section "warrant officer" in bank banks[(Triggering player)]
            Bank - Store integer Player Experience[3][(Triggering player)] as "experience" of section "officer" in bank banks[(Triggering player)]
            Bank - Store integer Player Games Played[(Triggering player)] as "games played" of section "general" in bank banks[(Triggering player)]
            Bank - Store integer Player Avg Game Time[(Triggering player)] as "avg game time" of section "general" in bank banks[(Triggering player)]
            Bank - Save bank banks[(Triggering player)]
            UI - Display (Combine ("Biometric ID saved. Enlisted XP: ", (Text((Load "experience" of section "enlisted" from bank banks[(Triggering player)] as integer value))))) for (Player group((Triggering player))) to Debug area
            UI - Display (Combine ("Biometric ID saved. WO XP: ", (Text((Load "experience" of section "warrant officer" from bank banks[(Triggering player)] as integer value))))) for (Player group((Triggering player))) to Debug area
            UI - Display (Combine ("Biometric ID saved. CO XP: ", (Text((Load "experience" of section "officer" from bank banks[(Triggering player)] as integer value))))) for (Player group((Triggering player))) to Debug area
    
    Posted in: Triggers
  • 0

    posted a message on [Texture] How to change resource icon

    Anyone know how to change supply?

    Posted in: Tutorials
  • 0

    posted a message on Move Resource To Center Of Screen

    @Helral: Go

    Ah thank you very much!

    Posted in: UI Development
  • 0

    posted a message on Move Resource To Center Of Screen

    Can someone do this for me:

    I want to move the resource icons from the top right corner of the screen to the middle of screen, above the hotkeys. I can make the document myself, I just need the code lines :P Thank you!

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