URL:
<http://gna.org/patch/?931>
Summary: BUG fix for player name
Project: Warzone Resurrection Project
Submitted by: buginator
Submitted on: Thursday 01/10/2008 at 04:23
Category: Fix
Priority: 7 - High
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Issue was that for player name:
A) we could use spaces in it, and if we did that, we would have issues with
the loading of the file.
Quick fix now is to change the spaces to "_".
B) saved the player name that we picked/created back to config file.
C) ***** Delete your *.sta files *****
While this wasn't really 100% necessary, right now, I think it is better to
return FALSE for anything we read in under the 6 values that we need.
Otherwise, we would have more code that would basically be useless & never
used except for one time.
So instead of something like
if ( num == 5 ) played = 0; //fix it
else if (num < 5 ) return FALSE;
we have
if (num < 6) return FALSE;
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 01/10/2008 at 04:23 Name: PnameFIX.patch Size: 1kB By:
buginator
<http://gna.org/patch/download.php?file_id=3566>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?931>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev