HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Selection events bugging out?

08-15-2006, 01:54 PM#1
Vexorian
I've heard many times that selection events cause issues in multiplayer, but was never able to confirm them myself, I also heard versions of the story in which the specific unit selection event was bugged and the player selects a unit one wasn't.

I am asking this because, in order to fix InvX' little problem with Stores, I thought that detecting when the player deselects a hero would help me, but I'd want to know if using that event can cause issues.
08-15-2006, 06:54 PM#2
Vexorian
Well if no one replies until the day I release InvX I will assume this bug does not exist.
08-15-2006, 07:02 PM#3
Blade.dk
I never experienced a bug with it, it is just incredibly slow, and even slower in multiplayer because of the latency (I've experienced 2 seconds delays).
08-15-2006, 07:55 PM#4
Vexorian
2 seconds delays are gonna be ok for that system
08-15-2006, 08:09 PM#5
PipeDream
I've seen a hero selection system based on unit selection where it was possible for several people to simultaneously select and manage to get more than the limits allowed. I never checked if it used SyncSelections, but it would seem to imply it's necessary even on the event. If a race condition can't cause any harm to your code then it's nothing to worry about.
08-15-2006, 08:41 PM#6
Vexorian
well you see, it is just gonna detect if the hero is unselected, then change the current page to one with one free slot and that way stores would always be able to sell correctly as long the hero has free space