Open The-Grim-Sleeper opened 2 years ago
Are you sure that the door wifi messages not reaching to the mainframe is not simply due to them having an extremely small broadcast range?
Oof, it's been ages. Iirc I tried various devices and radio messages: doors, buddy-bots, PDA-messages. But I haven't played since november 2022, i have no idea what the current state is.
I think this happened around this commit: https://github.com/goonstation/goonstation/pull/6437. The mainframe radio now only seems to record packets that are directly addressed to it or sent to a group. It could probably be fixed by calling update_all_hearing(TRUE)
on frequencies added here.
I wouldn't want to make the change without doing some profiling, as this would reintroduce a massive amount of packets being recorded, and I'm not sure what the performance implications are.
Labels
[BUG] [MINOR]
Description
Many auto-generated PDA messages, as well as the wifi-messages of doors and airlocks (141.1) are not found in the wired network or the mainframe radio logs.
Steps to reproduce
The mainframe
/mnt/radio/####
folders contain text files of all radio traffic on the station. Eg, if the directory/mnt/radio/1149
exists and you use the PDA->messages->scan(for new PDA addresses), the there will be a file/mnt/radio/1149/WT07241325
, which contains the textcommand=report_pda\nsender=0202bcaf\n_freq=1149
. Normally, there should also be a bunch of a whole bunch of files of similar XX######## name, containingcommand=report_reply; address_1=0202bcaf; owner=Captain; sender=02038a1e;
These auto-generated PDA messages, as well as the wifi-messages of doors and airlocks (141.1) are not present. If my quick tests are correct (rough round) the guardbuddy status messages are also not logged if /mnt/radio/1219/ exists.To reproduce the (lack of) Door Wifi messages:
ls /mnt/radio/1411/
; the reply could beNo files.
ls /mnt/radio/1411/
; there SHOULD be an new file, containing the door address, a timestamp, a ID-card name etcTo reproduce the (lack of) PDA messages
mkdir /mnt/radio/1149/
ls /mnt/radio/1411/
; the reply will beNo files.
scan
; this will update the PDA SpaceMessenger list with numerous 'Detected PDAs'ls /mnt/radio/1411/
; the reply will have 1 file, but there SHOULD BE many files (1 file for every PDA that send/recieve turned on)command=report_reply
messages as expected.Expected Behavior
The auto generated PDA messages should also show up in the mainframe radio logs.
Additional Information & Screenshots
No response