ID:79854
 
Resolved
After losing connection to the server, Dream Seeker would not properly clear the map, and when in software mode would also fail to draw even blank space, causing screen artifacts to appear.
BYOND Version:452
Operating System:Windows XP Home
Web Browser:Firefox 3.5.2
Applies to:Dream Seeker
Status: Resolved (465)

This issue has been resolved.
Descriptive Problem Summary:
When your connection dies for any reason (Host leaves, etc.), in some games, the map will then fail to draw. You'd think the map would go black or something, but instead you get mirror syndrome. It's nothing much, but sometimes when it happens you're not sure if the seeker is crashing, or your connection just died.

Numbered Steps to Reproduce Problem:
1.) Join a game with a map control
2.) Kill your connection (Unplugging your internet wire is an easy way to test this)
3.) See if map then fails to draw

Expected Results:
Map would go black, or something.

Actual Results:
Map becomes mirror syndrome, failing to draw. Transparent and all of that stuff.

Does the problem occur:
Every time? Or how often? Every time on some games
In other games? Yes
In other user accounts? Yes
On other computers? Not sure

When does the problem NOT occur?
Depends on the game, really.

Workarounds:
I don't know of any.

Here's a game I know of that it happens on: http://www.byond.com/games/UnknownDuelist/ DuelMonstersUnlimited

happens every day when a server dies, host leaves, you get kicked, etc.

You need to provide at least one game or source it happens on so it can be tested.
Done. An easy method of testing this is to simply disconnect your internet wire when you're logged into someone elses games. I linked to a game that does this
I've checked that game out, but I am unable to control the server going up/down so I would need a reliable test case in which I can have the server go up and down at will.

At best, probably something the creator did wrong considering it doesn't happen in all games.

Anyways, I tried with both a default map control and non-default map control, and they both work as expected, I was at first thinking maybe the interface was the key, but i'm not sure.

It still could be, i'm going to try and copy their interface to a new project and see the results, it may prove to be the interface still.
I did what you said, and it only had a few small issues, but the output did read Connection Failed after a while when I disconnected my network cable and then all went black, I had a small few issues where it had weird effect when moving and resizing the window, but trivial at best. Also, going to and changing from hardware rendering and back again fixed this small issue as well, as a work-around.

Maybe a screenshot would help best to see exactly what your seeing.
I am not able to reproduce this issue, though it could be a matter of DirectX behaving differently on your system or perhaps a timing issue. For me the map goes black after disconnection. I'll need to look into this more.

I recommend for future bug reports that you do not make up terms like "mirror syndrome", but instead simply describe what you are seeing in detail. I know from having observered similar things that what you mean is that the section of the screen where the map was isn't redrawing anymore and it shows artifacts like ghost images, but you're better off saying it the long way.
Bug happens for me, if you want to consider this a bug.
If anyone is looking for an easier way to test this, just host something in one seeker then connect to it from the pager. That will forcibly disconnect you from the first seeker.
Falacy wrote:
Bug happens for me, if you want to consider this a bug.

Then why is this still unverified? >_>;

Mista-mage123 wrote:
Then why is this still unverified?

Because no member of the development team has yet reproduced it. What can't be reproduced is difficult to fix.
If it helps...not sure what Falacy's setup is, but here's mine;

DirectX Version: DirectX V9.0c
Video Card: ATI RADEON Xpress 200 Series
Here is a screenshot for what i am experiencing

http://img.photobucket.com/albums/v316/redsonic/ clipboard-4.jpg
Mine does similar, it helps when you change it from hardware rendering to non-hardware, and back again.

I fixed it in my game by if server is going down then the map control becomes invisible, and the black square that was behind it comes visible.

It can be fixed by coding, but, it would be better if it was fixed to begin with.
Verified with BYOND 454.1036 on Windows XP Home SP3.

When using graphics hardware to display maps, the map simply becomes black when disconnected.

When using the software to render the map, the image stays and artifacts appear from windows being dragged over it.