Hi!
Thank you for your answers 
It is interesting to speak about all of that 
For BOTs it is not a real MD5 it is something that look custom 
Yeah I have already done a code “like that” to check Omnibot ; example here :
function checkbot(playerguid)
result = string.lower(string.sub(playerguid,1,7))
if result == "omnibot" then
isbot = true
else
isbot = false
end
return isbot
end
in local /cl_guid
With lua by the Server :
getplayerguid = string.upper(et.Info_ValueForKey( et.trap_GetUserinfo( CLIENTSLOTNUMBER ), "cl_guid" ))
What I show (+need to add 32 chars length checking) is based on N!trox source code :
qboolean nitrox_GUIDCheckValid( char *guid ){
int i;
for (i = 0 ; i < 32 ; i++){
if ((guid[i] < 48 || ( guid[i] > 57 && guid[i] < 65) || (guid[i] > 70) {
return qfalse;
}
}
return qtrue;
}
That checking surprise me because some generated GUID (http://etkey.org) look like
3308A8BB58070ECA70BD9937D010D542
and 08 appear to be < 48
[B]
-
What do you think about the N!itrox code ? is it “enough / correct” to check player GUID with no MD5 API ?
-
is it possible to use in W:ET a LUA API ; to check if the 32 bytes MD5 Hash Code is correct ?
[/B]
0 to F is Hexadecimal basis (0-15)
…[ “it permit all”, but as you said it : is not good to authorize all ]
But I search to check only the real authorized GUID ranges… as best as possible
Thank you 