Menu

#1 prboom-game-server does display the remote name

open-wont-fix
nobody
None
1
2001-11-13
2000-11-23
No

Compiler: gcc 2.95.2
Host: UltraSPARC (solaris 2.6)
prboom 2.1.1

For each connected member of a network game,
the server prints a line
'Join by '
without a name.

As far as I see, the name of the client
was not transmitted at all. Indeed the
structure initpacket.myaddr was not
filled with anything useful.

insert in d_client.c, line 105, D_InitNetGame():
if (gethostname(initpacket.myaddr, 200)<0)
strcpy(initpacket.myaddr, "too.long");

I think, this bug applies to all unix versions.

Oli

Discussion

  • Colin Phipps

    Colin Phipps - 2000-11-24

    Applies to all versions AFAIK, I just never got around to fixing it.

     
  • Colin Phipps

    Colin Phipps - 2000-11-24
    • assigned_to: nobody --> cph
    • labels: 103844 --> 100100
    • priority: 5 --> 3
     
  • Colin Phipps

    Colin Phipps - 2000-11-25

    Obsolete feature, removed in CVS.

     
  • Colin Phipps

    Colin Phipps - 2000-11-25
    • status: open --> open-fixed
     
  • Oliver Kraus

    Oliver Kraus - 2000-11-28

    It still does not display anything because
    void I_PrintAddress(FILE* fp, UDP_CHANNEL *addr)
    in i_udp_sdl.c
    does not contain any code.

    Oli

     
  • Colin Phipps

    Colin Phipps - 2000-12-30
    • assigned_to: cph --> nobody
    • priority: 3 --> 1
    • status: open-fixed --> open-wont-fix
     
  • Colin Phipps

    Colin Phipps - 2000-12-30

    SDL_net doesn't have any API for showing the remote machine; I'm planning to drop SDL_net when I rewrite this stuff.

     
  • Colin Phipps

    Colin Phipps - 2001-11-13
    • labels: 100100 -->
    • milestone: 100100 -->
     

Log in to post a comment.