<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39710 >

I got this log errors when I ran a server:

1: In file civgame-1000.sav.gz, there is no entry in the registry for 
u1.orders_length (or the entries are out of order. This means a 
less efficient non-tabular format will be used. To
avoid this make sure all rows of a table are filled
out with an entry for every column.  This is surely
a bug so if you're reading this message, report it
at http://bugs.freeciv.org/
1: In file civgame-1000.sav.gz, there is no entry in the registry for 
u2.orders_length (or the entries are out of order. This means a 
less efficient non-tabular format will be used. To
avoid this make sure all rows of a table are filled
out with an entry for every column.  This is surely
a bug so if you're reading this message, report it
at http://bugs.freeciv.org/

No idea why...

And:
1: Trying to send ruleset choices to unprivileged client.
server/gamehand.c:
/************************************************************************** 
opens a file specified by the packet and compares the packet values with
the file values. Sends an answer to the client once it's done.
**************************************************************************/
void handle_single_want_hack_req(struct connection *pc,
                                 const struct packet_single_want_hack_req
                                 *packet)
{
  struct section_file file;
  char *token = NULL;
  bool you_have_hack = FALSE;

  if (section_file_load_nodup(&file, get_challenge_fullname(pc))) {
    token = secfile_lookup_str_default(&file, NULL, "challenge.token");
    you_have_hack = (token && strcmp(token, packet->token) == 0);
    section_file_free(&file);
  }

  if (!token) {
    freelog(LOG_DEBUG, "Failed to read authentication token");
  }

  if (you_have_hack) {
    pc->access_level = ALLOW_HACK;
  }

  dsend_packet_single_want_hack_reply(pc, you_have_hack);

  send_ruleset_choices(pc);
  send_conn_info(pc->self, NULL);
}
send_ruleset_choices(pc) is not under condition (you_have_hack) or
(pc->access_level == ALLOW_HACK).


_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to