Have u wrote load_gfxfile ? Have u loaded it ?
Use magic combination:
- find what u need in working client
- mark code, press ctrl+c
- press ctrl+v in tao-client
Freeciv-tao-client
Re: Freeciv-tao-client
I have now segfault in viewing player's information code:
nation_of_player(pplayer) returns 0(NULL).
Code: Select all
Thread 1 "freeciv-tao" received signal SIGSEGV, Segmentation fault.
nation_adjective_for_player (pplayer=0x4686f60) at nation.c:170
170 return nation_adjective_translation(nation_of_player(pplayer));
Re: Freeciv-tao-client
>> nation_of_player(pplayer) returns 0(NULL).
Because player is observer maybe or detached.
There is something like client_has_player() I think.
Because player is observer maybe or detached.
There is something like client_has_player() I think.