Follow-up Comment #4, bug #13557 (project freeciv):

ai_manage_buildings() of ai/aicity.c is the function that chooses the wonder
city.



This is the server for Freeciv version 2.2.3+
You can learn a lot about Freeciv at http://www.freeciv.org/
2: Loading rulesets

Breakpoint 1, ai_manage_buildings (pplayer=0x1b06780) at
../../ai/aicity.c:1293
1293      struct ai_data *ai = ai_data_get(pplayer);
(gdb) print player_name(pplayer)
$1 = 0x1b06781 "Philippe le Hardi"
(gdb) bt
#0  ai_manage_buildings (pplayer=0x1b06780) at ../../ai/aicity.c:1293
#1  0x0187924c in game_load_internal (file=0xfffd8bf0)
    at ../../server/savegame.c:5148
#2  0x01877bfc in game_load (file=0x1b06780) at ../../server/savegame.c:4218
#3  0x01812f64 in load_command (caller=0x20, filename=0xfffd8bf0 "(¬¥À", 
    check=32) at ../../server/stdinhand.c:3355
#4  0x0180ae04 in srv_prepare () at ../../server/srv_main.c:2159
#5  0x0180b7c8 in srv_main () at ../../server/srv_main.c:2424
#6  0x01803b04 in main (argc=3, argv=0xfffdad74)
    at ../../server/civserver.c:359
(gdb) cont
Continuing.
2: Philippe le Hardi choosing new wonder city (cause 1).
2: Philippe le Hardi chose no city as wonder city.

Breakpoint 1, ai_manage_buildings (pplayer=0x1b07368) at
../../ai/aicity.c:1293
1293      struct ai_data *ai = ai_data_get(pplayer);
(gdb) 



    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?13557>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to