View Issue Details

IDProjectCategoryView StatusLast Update
0008940Multi Theft Auto : San AndreasServerpublic2015-07-18 13:35
ReporterarranTuna Assigned Toccw  
Status resolvedResolutionfixed 
Target Version1.5.1Fixed in Version1.5.1 
Summary0008940: Debug spam: Already an account using a case variation of that name ('x')

People keep trying to register accounts that already exist with a different case and there is no way scripters can stop them from causing this debug warning spam without a hack fix:

  1. Lower case the account name they want.
  2. Loop every single account and lower case it.
  3. Check if they match.

This debug warning should be removed.

TagsNo tags attached.



2015-07-18 12:11

manager   ~~0023657

local t1 = getTickCount()
local accLower = string.lower("afdgfdghtjh")
for i, acc in ipairs(getAccounts()) do
if (string.lower(getAccountName(acc)) == accLower) then
return false
local t2 = getTickCount()
outputDebugString("Time taken to check for matching account name: "..t2 - t1)

It took 737ms to do this check, just to block this debug warning.


2015-07-18 13:35

manager   ~~0023662

Issue History

Date Modified Username Field Change