Selection Bug

HydraRancher

Truth begins in lies
Reaction score
197
In my map, single player test, everything is fine, works as per normal.

But online, there is a selection bug. Units will often not respond to orders, and sometimes units deselect themselves.

Is this a map problem, or an internet problem?
 

Sicknedly

New Member
Reaction score
0
If there was lag, units will respond to orders with delay(nothing more than 24 second iirc) meaning it wont respond more than 24 sec, means your dc'ed.
and deselecting, no such a thing possible by multi.
I do believe its map problem.
 

HydraRancher

Truth begins in lies
Reaction score
197
It's not lag. I would know if I was being disconnected.

Also there are no triggers that affect selection.
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
How many units are under a player's control? I know in maps with mass units, they will start ignoring orders a lot of the time. I've read the limit is about 60-100 moving units per player.

I don't know about the selection problem.
 

vypur85

Hibernate
Reaction score
803
Have heard and experienced of units disobeying orders but never of deselection (yet).

It could be the map problem. If so, you are very unlucky, or rather 'lucky'. :p

Try rechecking. Not only in terms of selection events. Could be due to selection actions.
 

HydraRancher

Truth begins in lies
Reaction score
197
It only occurs during Battle.Net, so I'm skeptical about it being a map issue.

The the only selection actions are to select your hero once it's created, but that's most likely not the issue.

Also, more information about the disobeying bug, it's not like when you have over 9000 units and your hero takes a while to respond, but I've read that other people occured this problem, where the unit itself cannot be ordered to do anything, until you deselect and reselect.


EDIT: Update, the selection bugs only occur when there is more than me playing. So if I play on B.net by myself, no issue.

Could it possibly be the people I'm playing with? :\
 

Weep

Godspeed to the sound of the pounding
Reaction score
400
where the unit itself cannot be ordered to do anything, until you deselect and reselect.

Oh, I've had that problem when playing maps before. It seemed to be specific to the map, not my connection. I don't know the cause, though...it was a long time ago. :(
 

HydraRancher

Truth begins in lies
Reaction score
197
I'm pretty sure it's not the cause.

Trigger:
  • Unit Created
    • Events
      • Unit - A unit Finishes training a unit
    • Conditions
      • RecruitmentBoolean[(Player number of (Triggering player))] Equal to False
      • (Unit-type of (Triggering unit)) Equal to Spawner
    • Actions
      • Set Hero[(Player number of (Owner of (Triggering unit)))] = (Trained unit)
      • Player - Add 100 to (Triggering player) Current lumber
      • Set RecruitmentBoolean[(Player number of (Triggering player))] = True
      • Selection - Add (Trained unit) to selection for (Owner of (Triggering Unit))
      • Set TempGroup = (Units owned by (Owner of (Triggering unit)) of type Spawner)
      • Player Group - Pick every player in ActivePlayers and do (Actions)
        • Loop - Actions
          • Player - Make (Unit-type of (Trained unit)) Unavailable for training/construction by (Picked player)
      • Unit Group - Pick every unit in TempGroup and do (Actions)
        • Loop - Actions
          • Unit - Remove (Picked unit) from the game
      • Custom script: call DestroyGroup (udg_TempGroup)
 

Azlier

Old World Ghost
Reaction score
461
I've noticed the selection bug crops up when certain methods of creating triggers that fire when units are selected are used. These methods have yet to be pinpointed, but the problem is quite prevalent in RP maps because they are horrendously coded and use pretty much every method possible, which doesn't help at all.

Do you have triggers that fire when units are selected? What method(s) do you use, if so? This problem would benefit many if it was figured out once and for all.
 

HydraRancher

Truth begins in lies
Reaction score
197
Actually, I just added a trigger that is used for double clicking a paused building to remove it, as the self-destruct ability is disabled.

Trigger:
  • Destroy Powerless
    • Events
      • Player - Player 3 (Teal) Selects a unit
      • Player - Player 4 (Purple) Selects a unit
      • Player - Player 5 (Yellow) Selects a unit
      • Player - Player 6 (Orange) Selects a unit
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • DoubleClickYet[(Player number of (Triggering player))] Equal to True
        • Then - Actions
          • Set TempGroup = (Units currently selected by (Triggering player))
          • Unit Group - Pick every unit in TempGroup and do (Actions)
            • Loop - Actions
              • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
                • If - Conditions
                  • (Owner of (Picked unit)) Equal to (Triggering player)
                  • ((Picked unit) is paused) Equal to True
                  • ((Unit-type of (Picked unit)) is A structure) Equal to True
                • Then - Actions
                  • Unit - Kill (Picked unit)
                • Else - Actions
          • Custom script: call DestroyGroup (udg_TempGroup)
        • Else - Actions
          • Set DoubleClickYet[(Player number of (Triggering player))] = True
          • Wait 0.15 seconds
          • Set DoubleClickYet[(Player number of (Triggering player))] = False



But all it does is kill the unit, it isn't triggered to deselect.

I think I might rethink my trigger up there. Perhaps if I simply added Orc Burrows to the towers, so they can't attack.


Is there an ability that can halt unit production and attacks, but still keep spells intact?

If so that would eliminate the need of the above trigger.
 

HydraRancher

Truth begins in lies
Reaction score
197
I disabled the above trigger and the glitch appeared to be nullified. Hmm.

But I was also playing with a man down. So I'd need to test with all three of us again to make sure.
 
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

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top