Menu

#213 Hardcoded "Player 1"

open
None
5
2006-08-13
2006-06-22
yarrt
No

void ePlayerNetID::ReadSync(nMessage &m){
nNetObject::ReadSync(m);

CodeSnippet from ePlayer.cpp:
---
else
{
// or replace it by a default value
// TODO: VERY BAD NO LOCALISATION //
add variable for local user name and localise
remoteName = "Player 1";
}
---

Suggestion: Introduce variable like \g for the default
user name or set remoteName by default to the lokal
player name.

Discussion

  • Manuel Moos

    Manuel Moos - 2006-08-13
    • assigned_to: nobody --> z-man
     
  • Manuel Moos

    Manuel Moos - 2006-08-13

    Logged In: YES
    user_id=34808

    This is only the fallback name for players who leave an
    empty or otherwise illegal name. It never is used for
    anyone with half a mind :) I wouldn't say it's a bug.

    The actual player name that players get when they start the
    game for the first time is something different. I'll see
    what I can do to delay the name picking as much as
    possible.

     
MongoDB Logo MongoDB