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

                 Summary: Server crash -  while processing spy sabotage info
from client
                 Project: Freeciv
            Submitted by: mir3x
            Submitted on: Wed 10 Jul 2013 09:28:55 PM CEST
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: Any
         Planned Release: 

    _______________________________________________________

Details:

Server crash when sabotaging improvement with 
modified client

(in gtk2 client change in diplomat_dialog.c
in line 356:
from
diplomat_target_id, sabotage_improvement + 1);

to 
diplomat_target_id, sabotage_improvement);

Load attached save_game, choose acive spy,
sabotage -At spy disrection-  nearest city

client will send B_LAST as improvement number
and server will crash.

Last log from server:
3: got packet type=(PACKET_UNIT_DIPLOMAT_ACTION)84 len=12 from xontastic
3: packet_unit_diplomat_action_100: got info about ()
3:   no old info
3:   got field 'diplomat_id'
3:   got field 'target_id'
3:   got field 'value'
3:   got field 'action_type'
3: packet_processing_started_100: sending info about ()
3: sending packet type=PACKET_PROCESSING_STARTED(0) len=4 to xontastic




    _______________________________________________________

File Attachments:


-------------------------------------------------------
Date: Wed 10 Jul 2013 09:28:56 PM CEST  Name: serv_crash.sav.bz2  Size: 53kB  
By: mir3x

<http://gna.org/bugs/download.php?file_id=18240>

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  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