#41123: Counter ruleset network packet Open Date: 2021-01-08 16:08 Last Update: 2022-09-08 01:02 URL for this Ticket: https://osdn.net//projects/freeciv/ticket/41123 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41123 --------------------------------------------------------------------- Last Changes/Comment on this Ticket: 2022-09-08 01:02 Updated by: lachu Comment: Reply To cazfi - Just handle the packet in packhand.c like all the others, no point in creating new module for a single packet (there would be a point to split packhand.c a bit, but then we should do it for some bigger group) Done. I will publish patch later. - I don't see you adding 'num_counters' to ruleset_control, though you try to validate it on packet receive I added it into: PACKET_RULESET_CONTROL = 155; sc, lsend - Function headers missing for the new functions I must check, what do you mean. There is client_counter.h file. I known, it should be called client_counters.h --------------------------------------------------------------------- Ticket Status: Reporter: cazfi Owner: (None) Type: Patches Status: Open Priority: 5 - Medium MileStone: 3.2.0 Component: General Severity: 5 - Medium Resolution: None --------------------------------------------------------------------- Ticket details: Introduce a new network packet containing ruleset information about one counter. Send these packets to client when rulesets have been loaded. -- Ticket information of Freeciv project Freeciv Project is hosted on OSDN Project URL: https://osdn.net/projects/freeciv/ OSDN: https://osdn.net URL for this Ticket: https://osdn.net/projects/freeciv/ticket/41123 RSS feed for this Ticket: https://osdn.net/ticket/ticket_rss.php?group_id=12505&tid=41123