Added support for clients up to 2018-03-07bRagexeRE (#2975)

Thanks to @4144 as always
Credits to @dastgir and the leaked 2015 dump for the quest packets
Thanks to @idamonli for testing and feedback
This commit is contained in:
Lemongrass3110
2018-03-14 23:05:01 +01:00
committed by GitHub
parent c1b9ee8694
commit f338d53c2c
5 changed files with 227 additions and 31 deletions

View File

@@ -2064,10 +2064,14 @@ int char_loadName(uint32 char_id, char* name){
safestrncpy(name, data, NAME_LENGTH);
return 1;
}
#if PACKETVER < 20180221
else
{
safestrncpy(name, charserv_config.char_config.unknown_char_name, NAME_LENGTH);
}
#else
name[0] = '\0';
#endif
return 0;
}