View Single Post
  #1  
Old 09-05-2014, 12:35 AM
Drajor's Avatar
Drajor
Developer
 
Join Date: Nov 2012
Location: Halas
Posts: 355
Default Surname_Struct unknown

Code:
struct Surname_Struct
{
/*0000*/	char name[64];
/*0064*/	uint32 unknown0064;
/*0068*/	char lastname[32];
/*0100*/
};
In UF, unknown0064 is a success/failure flag.
0 = "Your new surname was rejected. Please try a different name."
1 = "Congralulations, <first_name> <last_name>, your surname was approved."

Currently only 1 is being used.

There are a bunch of string IDs being used in Client::Handle_OP_Surname for UF at least, these are not needed - they are actually hacker detection spots because the client checks these conditions. Not sure on earlier clients.
__________________
Drajor regards you indifferently -- what would you like your tombstone to say?
Reply With Quote