Multiboard Row's Question

anvio

New Member
Reaction score
1
Quick Note:
After searching through about 15+ posts; and possibly working on this for about 2+ hours I pretty much give up lol...

Alright now that I blasted out some random rantings onto the real problem. I have been using a simple multiboard that took me about 10 minutes or so to make; and I have decided to expand on it because I added AceHarts Save/Load system to my map. I'm saving two variables one of them is an integer array that is named "totalLevel"; and the other one is also an integer array that is named "totalDeaths". My map is a Mazing map like Area of Ice Escape; and what the totalLevel variable does is records every time a player beats a level and sets it in, and the totalDeaths variable records every time a player dies to a unit/snow/or anything else. Now this is where the multiboard comes in, I have the multiboard all set up but all I want to do is remove a picked row from it when a player leaves/or gets kicked; I would love to have this work because having a multiboard with 15 rows gets pretty annoying when playing a maze. Anyway I figured out a decent system that works partially but bugs after removing 4+ rows... this is the trigger.

Triggers:
Trigger:
  • MultiBoardFix
    • Events
    • Conditions
    • Actions
      • Multiboard - Change the number of rows for multiboard to (14 - PLAYERSLEFT)
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 5
          • (Player 2 (Blue) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (5 - PLAYERSLEFT) to (|c000000ff + Blue)
          • Multiboard - Set the text for multiboard item in column 2, row (5 - PLAYERSLEFT) to (( + (String(totalLevel[2]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (5 - PLAYERSLEFT) to (( + (String(totalDeaths[2]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 6
          • (Player 3 (Teal) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (6 - PLAYERSLEFT) to (|c0000ffff + Teal)
          • Multiboard - Set the text for multiboard item in column 2, row (6 - PLAYERSLEFT) to (( + (String(totalLevel[3]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (6 - PLAYERSLEFT) to (( + (String(totalDeaths[3]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 7
          • (Player 4 (Purple) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (7 - PLAYERSLEFT) to (|c008000ff + Purple)
          • Multiboard - Set the text for multiboard item in column 2, row (7 - PLAYERSLEFT) to (( + (String(totalLevel[4]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (7 - PLAYERSLEFT) to (( + (String(totalDeaths[4]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 8
          • (Player 5 (Yellow) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (8 - PLAYERSLEFT) to (|c00ffff00 + Yellow)
          • Multiboard - Set the text for multiboard item in column 2, row (8 - PLAYERSLEFT) to (( + (String(totalLevel[5]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (8 - PLAYERSLEFT) to (( + (String(totalDeaths[5]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 9
          • (Player 6 (Orange) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (9 - PLAYERSLEFT) to (|c00ff8040 + Orange)
          • Multiboard - Set the text for multiboard item in column 2, row (9 - PLAYERSLEFT) to (( + (String(totalLevel[6]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (9 - PLAYERSLEFT) to (( + (String(totalDeaths[6]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 10
          • (Player 7 (Green) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (10 - PLAYERSLEFT) to (|c0000ff00 + Green)
          • Multiboard - Set the text for multiboard item in column 2, row (10 - PLAYERSLEFT) to (( + (String(totalLevel[7]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (10 - PLAYERSLEFT) to (( + (String(totalDeaths[7]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 11
          • (Player 8 (Pink) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (11 - PLAYERSLEFT) to (|c00ff00ff + Pink)
          • Multiboard - Set the text for multiboard item in column 2, row (11 - PLAYERSLEFT) to (( + (String(totalLevel[8]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (11 - PLAYERSLEFT) to (( + (String(totalDeaths[8]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 12
          • (Player 9 (Gray) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (12 - PLAYERSLEFT) to (|c00c0c0c0 + Gray)
          • Multiboard - Set the text for multiboard item in column 2, row (12 - PLAYERSLEFT) to (( + (String(totalLevel[9]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (12 - PLAYERSLEFT) to (( + (String(totalDeaths[9]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 13
          • (Player 10 (Light Blue) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (13 - PLAYERSLEFT) to (|c0000aaff + Light Blue)
          • Multiboard - Set the text for multiboard item in column 2, row (13 - PLAYERSLEFT) to (( + (String(totalLevel[10]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (13 - PLAYERSLEFT) to (( + (String(totalDeaths[10]))) + |r)
        • Else - Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • LEAVER Less than 14
          • (Player 11 (Dark Green) slot status) Equal to Is playing
        • Then - Actions
          • Multiboard - Set the text for multiboard item in column 1, row (14 - PLAYERSLEFT) to (|c00008000 + Dark Green)
          • Multiboard - Set the text for multiboard item in column 2, row (14 - PLAYERSLEFT) to (( + (String(totalLevel[11]))) + |r)
          • Multiboard - Set the text for multiboard item in column 3, row (14 - PLAYERSLEFT) to (( + (String(totalDeaths[11]))) + |r)
        • Else - Actions


This is the multiboard trigger that is updated with the trigger from above.

Trigger:
  • MultiBoard
    • Events
      • Time - Elapsed game time is 5.00 seconds
    • Conditions
    • Actions
      • Multiboard - Show (Last created multiboard)
      • Multiboard - Create a multiboard with 3 columns and 14 rows, titled |c0000ffffArea of I...
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 1 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 1 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 1 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 2 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 2 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 2 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 3 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 3 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 3 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 4 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 4 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 4 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 5 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 5 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 5 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 6 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 6 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 6 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 7 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 7 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 7 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 8 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 8 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 8 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 9 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 9 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 9 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 10 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 10 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 10 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 11 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 11 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 11 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 12 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 12 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 12 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 13 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 13 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 13 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 1, row 14 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 2, row 14 to 8.00% of the total screen width
      • Multiboard - Set the width for (Last created multiboard) item in column 3, row 14 to 8.00% of the total screen width
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 1 to |c00ffff00Highest P...
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 1 to |c00ffff00Current...
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 1 to |c00ffff00Time Pl...
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 2 to ( + Tied)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 2 to ( + (String(Level)))
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 2 to ( + ((hourstring + : ) + ((minutestring + : ) + secondstring)))
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 3 to |c00ffff00Player C...
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 3 to |c00ffff00Levels...
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 3 to |c00ffff00Total D...
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 4 to (|c00ff0000 + Red)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 4 to (( + (String(totalLevel[1]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 4 to (( + (String(totalDeaths[1]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 5 to (|c000000ff + Blue)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 5 to (( + (String(totalLevel[2]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 5 to (( + (String(totalDeaths[2]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 6 to (|c0000ffff + Teal)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 6 to (( + (String(totalLevel[3]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 6 to (( + (String(totalDeaths[3]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 7 to (|c008000ff + Purple)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 7 to (( + (String(totalLevel[4]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 7 to (( + (String(totalDeaths[4]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 8 to (|c00ffff00 + Yellow)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 8 to (( + (String(totalLevel[5]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 8 to (( + (String(totalDeaths[5]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 9 to (|c00ff8040 + Orange)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 9 to (( + (String(totalLevel[6]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 9 to (( + (String(totalDeaths[6]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 10 to (|c0000ff00 + Green)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 10 to (( + (String(totalLevel[7]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 10 to (( + (String(totalDeaths[7]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 11 to (|c00ff00ff + Pink)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 11 to (( + (String(totalLevel[8]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 11 to (( + (String(totalDeaths[8]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 12 to (|c00c0c0c0 + Gray)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 12 to (( + (String(totalLevel[9]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 12 to (( + (String(totalDeaths[9]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 13 to (|c0000aaff + Light Blue)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 13 to (( + (String(totalLevel[10]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 13 to (( + (String(totalDeaths[10]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 1, row 14 to (|c00008000 + Dark Green)
      • Multiboard - Set the text for (Last created multiboard) item in column 2, row 14 to (( + (String(totalLevel[11]))) + |r)
      • Multiboard - Set the text for (Last created multiboard) item in column 3, row 14 to (( + (String(totalDeaths[11]))) + |r)
      • Multiboard - Set the display style for (Last created multiboard) item in column 0, row 0 to Show text and Hide icons
      • Multiboard - Maximize (Last created multiboard)
      • Multiboard - Minimize (Last created multiboard)
      • Set multiboard = (Last created multiboard)


And this is the trigger that I'm using to kick players and update the LEAVER and PLAYERSLEFT variable.

Trigger:
  • KickBlue
    • Events
      • Player - Player 1 (Red) types a chat message containing -kick blue as An exact match
    • Conditions
      • (Name of Player 2 (Blue)) Not equal to Anvio
      • (Name of Player 2 (Blue)) Not equal to Bob33
      • (Player 2 (Blue) slot status) Equal to Is playing
    • Actions
      • Set LEAVER = 5 - "5 = 5TH ROW ON THE MULTIBOARD"
      • Set PLAYERSLEFT = (PLAYERSLEFT + 1)
      • Trigger - Run MultiBoardFix <gen> (checking conditions)
      • Game - Defeat Player 2 (Blue) with the message: You Have Been Kicke...
      • Game - Display to (All players) for 10.00 seconds the text:
      • Game - Display to (All players) for 10.00 seconds the text: ((|c000000ff + (Name of Player 2 (Blue))) + |r |c00ffff00has just been kicked!|r)
      • Game - Display to (All players) for 10.00 seconds the text:
      • Game - Grant shared vision and full shared unit control of Player 2 (Blue) units with his/her allies
      • Multiboard - Show multiboard
      • Custom script: call DestroyTrigger( GetTriggeringTrigger() )


Final Note:
In the end all I'm getting at is that I need to figure out how to fix up my system or I need to find something else that is able to remove a row from my multiboard while tracking which row has been moved where; Example: I kick Blue then all the players under Teal move up on the multiboard while removing the last row; and at the same time moving the levels and death variables up a row also in the process.

Heres a Picture of the Multiboard:

random.jpg


Extra Note:
If you guys didn't get I was going at; which is most likely going to happen lol... just download the map I attached and you can see for yourself what I mean; I kinda recommend this instead of reading the giant wall of text rofl.

1) Play Map
2) Kick a color EX: -kick purple

My system works most of the time; such as if you kick from the color Blue to the color Dark Green; but if you skip around from like Light Blue to Orange and so on thats where it starts bugging and updating the wrong rows.

I'm sure the 20 minutes I spent making this post has like a 1 minute answer that I didn't come close to thinking of; also I know this multiboard issue is not even that important, but it just irritates the heck outta me for not being able to figure it out lol.

Thanks ahead of time for anyone that is willling to help.

PS: Sorry for the wall of text... ;)

Anvio :)
 

Attachments

  • MultiboardTest.w3x
    33.6 KB · Views: 333

anvio

New Member
Reaction score
1
Hah if this only was a resource...

But seriously to be clear this is just a question because this bugs when you kick a player in a different order then "Blue","Teal","Purple" and so on...

Lol this could be a resource if I just get that single updating problem fixed because I don't think I was able to find another post on how to remove a picked row from a multiboard during a game; without making a completely new multiboard. "Unless i'm just blind :eek:".

Anvio :)
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • 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!
  • 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

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top