andy/floor-limit #29

Merged
jake merged 3 commits from andy/floor-limit into master 2023-02-15 19:59:43 -05:00
Collaborator
No description provided.
andy added 2 commits 2023-02-07 20:54:48 -05:00
very important packet data
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
eff9fba20a
andy added 1 commit 2023-02-08 18:36:06 -05:00
rename to match the rest of the code
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
2dd1161ae7
Owner

why is C3 changed here? its being used already and works fine?

why is C3 changed here? its being used already and works fine?
Author
Collaborator

why is C3 changed here? its being used already and works fine?

The struct missed the amount being dropped if you dropped a partial stack of an item

> why is C3 changed here? its being used already and works fine? The struct missed the amount being dropped if you dropped a partial stack of an item
Owner

thats covered in the followup message 0x29, is that duplicated in both packets?

also if that packet had that extra u32 and we weren't parsing it, it would error out about mismatched pkt length.

thats covered in the followup message 0x29, is that duplicated in both packets? also if that packet had that extra u32 and we weren't parsing it, it would error out about mismatched pkt length.
Author
Collaborator

sega duplicated it.

[recv buf] [32, 0, 96, 0, 0, 0, 0, 0, 195, 6, 0, 0, 0, 0, 0, 0, 206, 254, 94, 67, 184, 255, 125, 67, 16, 0, 1, 0, 4, 0, 0, 0]
modify: epoll_fd=4, fd=6, ev=Event { key: 18446744073709551615, readable: true, writable: false }
[recv buf] [20, 0, 96, 0, 0, 0, 0, 0, 41, 3, 0, 0, 16, 0, 1, 0, 4, 0, 0, 0, 0, 0, 0, 0]
[recv buf] [12, 0, 96, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 0]
main_loop: sleeping for 75 us
[recv from ClientId(1)] Message(
    Message {
        msg [GameMessage]: DropCoordinates(
            DropCoordinates {
                client [u8]: 0,
                target [u8]: 0,
                map_area [u16]: 0,
                room [u16]: 0,
                x [f32]: 222.99533,
                z [f32]: 253.9989,
                item_id [u32]: 65552,
                amount [u32]: 4,
            },
        ),
    },
)
[recv from ClientId(1)] Message(
    Message {
        msg [GameMessage]: PlayerNoLongerHasItem(
            PlayerNoLongerHasItem {
                client [u8]: 0,
                target [u8]: 0,
                item_id [u32]: 65552,
                amount [u32]: 4,
            },
        ),
    },
)
sega duplicated it. ``` [recv buf] [32, 0, 96, 0, 0, 0, 0, 0, 195, 6, 0, 0, 0, 0, 0, 0, 206, 254, 94, 67, 184, 255, 125, 67, 16, 0, 1, 0, 4, 0, 0, 0] modify: epoll_fd=4, fd=6, ev=Event { key: 18446744073709551615, readable: true, writable: false } [recv buf] [20, 0, 96, 0, 0, 0, 0, 0, 41, 3, 0, 0, 16, 0, 1, 0, 4, 0, 0, 0, 0, 0, 0, 0] [recv buf] [12, 0, 96, 0, 0, 0, 0, 0, 45, 1, 0, 0, 0, 0, 0, 0] main_loop: sleeping for 75 us [recv from ClientId(1)] Message( Message { msg [GameMessage]: DropCoordinates( DropCoordinates { client [u8]: 0, target [u8]: 0, map_area [u16]: 0, room [u16]: 0, x [f32]: 222.99533, z [f32]: 253.9989, item_id [u32]: 65552, amount [u32]: 4, }, ), }, ) [recv from ClientId(1)] Message( Message { msg [GameMessage]: PlayerNoLongerHasItem( PlayerNoLongerHasItem { client [u8]: 0, target [u8]: 0, item_id [u32]: 65552, amount [u32]: 4, }, ), }, ) ```
jake merged commit e1a8ad7fc5 into master 2023-02-15 19:59:43 -05:00
jake deleted branch andy/floor-limit 2023-02-15 19:59:47 -05:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: jake/libpso#29
No description provided.