#31 Joining Players are Untextured to Server

closed-fixed
nobody
opengl (6)
5
2011-04-25
2011-04-16
Enness
No

When a local (LAN) player joins my server, they appear untextured, and thus completely white. My player model appears correctly for the other player. If the other player hosts and I join, my player model appears untextured to them, while theirs looks correct to me. (Connecting two instances on the same machine has the same issue.)

A player corpse is textured correctly after the player respawn, though incorrectly ccolored, and the new (live) instance of the player is still untextured. Monster and object models render properly.

Other player is running a different version of Windows with different hardware. Haven't noticed any change after fiddling with GL settings. The problem rights itself after a few map chages, and remains intact as long as the server runs.

Discussion

  • Enness
    Enness
    2011-04-16

    • priority: 5 --> 1
     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-16

    Is this with coop or deathmatch? Is this restricted to opengl or does it happen with the software renderer, too?

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-16

    Another question: how is the server hosted? Do you run a listen server or do you use the dedicated server application (h2ded)?

     
  • Enness
    Enness
    2011-04-17

    Haven't had any problems with sofware. In OpenGL, however, both coop and deathmatch games will appear glitchy.

    We've been starting server games from the in-game Multiplayer menu.

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-17

    • priority: 1 --> 5
     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-17

    OK, thanks for the info. Bumped severity to normal. Looking into this.

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-22

    Analyzed this and observed that the problem arises from the glDeleteTextures() call before overwriting a changed texture: without deleting an old texture, things seem fine. (see the attached testing.patch file for the source changes.)

    Attached win32 and win64 test builds: can you please test whichever of them is suitable for you and see that the issue is fixed and there are no regressions? Upon your confirmation, I can apply the changes to the source code.

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-22

    Not exactly happy with the solution I suggested, though. Looking for a better solution in the meantime...

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-22

    • status: open --> open-accepted
     
  • Enness
    Enness
    2011-04-24

    The test build does indeed display joining players properly. I've only tested so with a local server (two instances on one machine), but it is helpful. (Reverting to the release build restored the issue, so it was definitely your tested method working.)

    Interestingly, in the release version, our loaded games from a few maps into the Blackmarsh hub have been behaving between reloads. Perhaps due to a "dummy player" being present at load, which is subsequently retaken by the connecting player? Colors are even working well. So the problem is mostly limited to new games.

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-24

    (test build of 1.5.0-rc2 for win32)

     
    Attachments
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-24

    (test build of 1.5.0-rc2 for win64)

     
    Attachments
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-24

    • status: open-accepted --> open-fixed
     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-24

    Thank you very much for testing.

    I made new code changes in the source in order to fix this in a better way, but of course it needs a little more testing than I already did. Attached new builds here. Can you please test them? If they are OK and there are no regressions, then I will formally release version 1.5.0-rc2.

    Thanks again.

     
  • Enness
    Enness
    2011-04-24

    Indeed, it works. :)

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-25

    Thank you for testing! Just released 1.5.0-rc2 version. Closing this bug item as fixed.

     
  • Ozkan Sezer
    Ozkan Sezer
    2011-04-25

    • status: open-fixed --> closed-fixed