![]() |
FIX: same named bots when no detailnames
Well I just found out that if there are no detailnames the bots still end up getting the same names.
in bot.cpp in function BotCreate Code:
if (strstr (szUsedBotNames[index], szBotNames[name_index]) != NULL) Code:
if ((strstr (szUsedBotNames[index], szBotNames[name_index]) != NULL) || (strcmp (szUsedBotNames[index], szBotNames[name_index]) == 0)) damn after the tests I thought it worked.. Appearently I got lucky and none of the names repeated but they still repeat... time to try to fix this again.. [/edit] [edit2] strange no wonder I thought what i thought in the first edit.. only my linux DS repeats names... so so strange... [/edit2] [edit3] this seems to be a linux only error that I cannot fix... if anyone knows whats wrong please help :( [/edit3] |
All times are GMT +2. The time now is 13:31. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.