start_time.c

final_realms_fluffos_v1/lib/secure/start_time.c · 283 B

From the archive final_realms_fluffos_v1.zip

Download the archive   « Back to the archive contents

// Radix 1996
// Used by various handlers for player id

int start_time;

int query_start_time(string name)
{
   string file = "/players/"+name[0..0]+"/"+name;
   seteuid("Root");
   start_time = 0;
   if(file_size(file+".o") > 0)
      restore_object(file);
   return start_time;
}

Site Stats

Snippets: 1791
Codebases: 571