mirror of
https://github.com/redstrate/Kawari.git
synced 2025-07-23 21:17:45 +00:00
Properly pass the actual content id in more CF packets
This now allows you to visit something *other* than Satasha!
This commit is contained in:
parent
60fcac80c2
commit
2149244670
2 changed files with 9 additions and 10 deletions
|
@ -1178,13 +1178,7 @@ async fn client_loop(
|
|||
1,
|
||||
1,
|
||||
],
|
||||
content_ids: [
|
||||
4,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
],
|
||||
content_ids: *content_ids,
|
||||
unk2: [
|
||||
0,
|
||||
0,
|
||||
|
@ -1246,8 +1240,9 @@ async fn client_loop(
|
|||
0,
|
||||
0,
|
||||
0,
|
||||
4,
|
||||
0,
|
||||
],
|
||||
content_id: content_ids[0],
|
||||
unk2: [
|
||||
0,
|
||||
0,
|
||||
0,
|
||||
|
|
|
@ -474,7 +474,11 @@ pub enum ServerZoneIpcData {
|
|||
unk2: [u8; 10],
|
||||
},
|
||||
#[br(pre_assert(*magic == ServerZoneIpcType::ContentFinderFound))]
|
||||
ContentFinderFound { unk1: [u8; 40] },
|
||||
ContentFinderFound {
|
||||
unk1: [u8; 28],
|
||||
content_id: u16,
|
||||
unk2: [u8; 10],
|
||||
},
|
||||
#[br(pre_assert(*magic == ServerZoneIpcType::ObjectSpawn))]
|
||||
ObjectSpawn(ObjectSpawn),
|
||||
#[br(pre_assert(*magic == ServerZoneIpcType::ActorGauge))]
|
||||
|
|
Loading…
Add table
Reference in a new issue