02.02.2013, 10:29
Ok, now this is just weird - MAX_PLAYER_NAME is 24, yup? So s[25] should suffice, yup? BUT current code causes runtime error for me - why? No idea - probably stack corruption or something. So I changed it to 26 - no dice, owner wasn't loaded. So I tried 24, and guess what:
![](http://i.minus.com/izkAMRWABIzpO.jpg)
Now - it works, but I have no idea what will happen if the name will be 24 characters long (so in fact 24 + \0 NUL).
![](http://i.minus.com/izkAMRWABIzpO.jpg)
Now - it works, but I have no idea what will happen if the name will be 24 characters long (so in fact 24 + \0 NUL).