URL:
  <http://gna.org/bugs/?24169>

                 Summary: Player observer sees ghost unit when shared vision
removed
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sat 12 Dec 2015 09:56:50 AM EET
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

One kind of "Ghost unit seen" error:
- Client is player observer
- I've checked from the server side that the unit still exist on the tile
- Server side backtrace from sending the tile_info making tile unseen:

#0  send_tile_info (dest=<optimized out>, ptile=ptile@entry=0x1461730,
send_unknown=send_unknown@entry=false)
    at server/maphand.c:672
#1  0x00000000004a857e in send_tile_info (send_unknown=false, ptile=0x1461730,
dest=<optimized out>)
    at server/maphand.c:1069
#2  map_change_seen (pplayer=pplayer@entry=0x2897200, ptile=0x1461730,
change=change@entry=0x7fffffffde80, 
    can_reveal_tiles=can_reveal_tiles@entry=false) at server/maphand.c:1047
#3  0x00000000004aa45c in remove_shared_vision (pfrom=pfrom@entry=0x19e9d90,
pto=pto@entry=0x2897200)
    at server/maphand.c:1641
#4  0x0000000000516aec in dai_diplomacy_actions (ait=0x9d6220 <ai_types>,
pplayer=0x19e9d90)
    at ai/default/advdiplomacy.c:1704
#5  0x000000000043a85e in begin_phase (is_new_phase=<optimized out>) at
server/srv_main.c:1004
#6  srv_running () at server/srv_main.c:2367
#7  srv_main () at server/srv_main.c:2950
#8  0x0000000000431c29 in main (argc=5, argv=0x7fffffffe0f8) at
server/civserver.c:454




    _______________________________________________________

Reply to this item at:

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

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


_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to