チケット #41123

Counter ruleset network packet

登録: 2021-01-08 16:08 最終更新: 2022-09-14 11:42

報告者:
担当者:
チケットの種類:
状況:
完了
コンポーネント:
マイルストーン:
優先度:
5 - 中
重要度:
5 - 中
解決法:
修正済み
ファイル:
4

詳細

Introduce a new network packet containing ruleset information about one counter. Send these packets to client when rulesets have been loaded.

チケットの履歴 (21 件中 3 件表示)

2021-01-08 16:08 更新者: cazfi
  • 新しいチケット "Counter ruleset network packet" が作成されました
2021-11-08 14:04 更新者: cazfi
  • 詳細が更新されました
2022-08-19 21:33 更新者: lachu
コメント

@cazfi: Can you look on my patch?

(編集済, 2022-08-19 21:34 更新者: lachu)
2022-08-19 22:19 更新者: cazfi
コメント

Reply To lachu

@cazfi: Can you look on my patch?

Yea, I try to get closer to winter time work habits during this weekend, if not yet to full steam.

2022-08-21 14:28 更新者: 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)
- I don't see you adding 'num_counters' to ruleset_control, though you try to validate it on packet receive
- Function headers missing for the new functions

2022-08-21 14:30 更新者: cazfi
コメント

Reply To cazfi

- I don't see you adding 'num_counters' to ruleset_control, though you try to validate it on packet receive

Sorry, I forgot the ticket reordering. So this will come in a a dependency ticket #41122

2022-09-06 06:18 更新者: cazfi
コメント

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)

...

- Function headers missing for the new functions

Any progress with this?

2022-09-07 21:56 更新者: lachu
コメント

Reply To cazfi

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)

...

- Function headers missing for the new functions

Any progress with this?

0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch(8KB)
Apply this

Aughhh..... Sory.. I miss some of your comment. I must address three problems yet.

(編集済, 2022-09-07 21:57 更新者: lachu)
2022-09-08 01:02 更新者: lachu
コメント

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

2022-09-08 01:16 更新者: lachu
コメント

2022-09-08 01:14 Updated by: lachu File 0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch (File ID: 10270) is attached

Moved client-related function around counter and network handling into packhand.c

2022-09-08 01:20 更新者: lachu
コメント

Reply To [comment:12505:41123:63885

- I don't see you adding 'num_counters' to ruleset_control, though you try to validate it on packet receive[[

Ok. I added num_counters to control packet in other patch: 5d85fc89fdaaead8ad7bb3f6835d206bc3fd3208 . What do now?

2022-09-08 01:38 更新者: cazfi
コメント

Reply To lachu

2022-09-08 01:14 Updated by: lachu File 0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch (File ID: 10270) is attached

Moved client-related function around counter and network handling into packhand.c

- client/Makefile.am still refers to those removed source files, causing build to fail in lack of them
- Space before ";" in "packet.checkpoint = pcount->checkpoint ;"
- For counter_target and counter_behavior enum definitions in fc_types.h, now part of network protocol, add the standard "/* Used in the network protocol. */" -comment

2022-09-08 23:45 更新者: lachu
  • 添付ファイル 0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch (File ID: 10272) が付加されました
2022-09-08 23:45 更新者: lachu
  • 添付ファイル 0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch (File ID: 10272) が削除されました
2022-09-08 23:45 更新者: lachu
コメント

Reply To cazfi

Reply To lachu

2022-09-08 01:14 Updated by: lachu File 0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch (File ID: 10270) is attached

Moved client-related function around counter and network handling into packhand.c

- client/Makefile.am still refers to those removed source files, causing build to fail in lack of them
- Space before ";" in "packet.checkpoint = pcount->checkpoint ;"
- For counter_target and counter_behavior enum definitions in fc_types.h, now part of network protocol, add the standard "/* Used in the network protocol. */" -comment

Done.

0001-OSND-41123-S-awomir-Lach-slawek-lach.art.pl.patch(6KB)
In reply to: 2022-09-08 01:38 Updated by: cazfi
2022-09-09 06:32 更新者: cazfi
  • 担当者(未割り当て) から cazfi に更新されました
  • 解決法なし から 受領 に更新されました
コメント

Reply To lachu

Done.

Thanks

2022-09-14 11:42 更新者: cazfi
  • 状況オープン から 完了 に更新されました
  • 解決法受領 から 修正済み に更新されました

添付ファイルリスト

編集

このチケットにコメントを追加するには、ログインが必要です » ログインする