Follow-up Comment #12, patch #1284 (project freeciv):

an 'reset map' is really a thing for another patch. I tried it using

* map_free(); map_init(): => crash


Program terminated with signal 11, Segmentation fault.
#0  0x0000000000555c32 in player_invention_set (pplayer=<value optimized
out>, tech=0, value=TECH_KNOWN)
    at tech.c:148
148       enum tech_state old = research->inventions[tech].state;
(gdb) where
#0  0x0000000000555c32 in player_invention_set (pplayer=<value optimized
out>, tech=0, value=TECH_KNOWN)
    at tech.c:148
#1  0x000000000041ab4b in init_tech (plr=0x9563a8, update=true) at
techtools.c:586
#2  0x000000000040cfdc in srv_ready () at srv_main.c:2320
#3  0x000000000040d495 in srv_main () at srv_main.c:2466
#4  0x0000000000404529 in main (argc=1, argv=0x7fff11493b28) at
civserver.c:372


* game_reset() => crash


Program terminated with signal 6, Aborted.
#0  0x00007fca6f227645 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x00007fca6f227645 in raise () from /lib64/libc.so.6
#1  0x00007fca6f228c33 in abort () from /lib64/libc.so.6
#2  0x00007fca6f220329 in __assert_fail () from /lib64/libc.so.6
#3  0x0000000000476ba6 in pick_a_nation (choices=0x0, ignore_conflicts=false,
only_available=true,
    barb_type=NOT_A_BARBARIAN) at plrhand.c:1341
#4  0x000000000040ab95 in generate_players () at srv_main.c:1915
#5  0x000000000040d278 in srv_ready () at srv_main.c:2291
#6  0x000000000040d495 in srv_main () at srv_main.c:2466
#7  0x0000000000404529 in main (argc=3, argv=0x7fff4e5c19b8) at
civserver.c:372


so there is more work needed; was something like this available in warserver?

    _______________________________________________________

Reply to this item at:

  <http://gna.org/patch/?1284>

_______________________________________________
  Nachricht geschickt von/durch Gna!
  http://gna.org/


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

Reply via email to