rgbkrk / pipboyrelay

:zap: Pip boy relay for Fallout 4
79 stars 6 forks source link

A place for research? #1

Open mattbaker opened 8 years ago

mattbaker commented 8 years ago

Any thoughts on a place to log findings?

You've probably seen this yourself, but I noticed the console is sending a "ping" of 5 bytes of zeros. As long as the client responds back with the same, the server keeps the connection open (I confirmed it with a toy client).

Just thought I'd share this small tidbit. Fantastic blog post!

rgbkrk commented 8 years ago

Hmmm, it would be nice to be able to post somewhere easily. GitHub isn't the easiest place to comment on/annotate binary dumps, though it will be the easiest place to collab on code.

Options:

That's great that you were able to get a standalone client working. I did the same with Go earlier but even with the 5 byte NULL packets I was responding with, my PS4 would close the connection. Wonder what I'm doing wrong (difference with the node setup - connections are kept half-open).

nelix commented 8 years ago

Perhaps github pages + jekyll? A bunch of markdown files. Or maybe gitbook?

@rgbkrk if you send a keep_alive before you get a connect_accept the server will disconnect you it seems, the client also seems to drop its connection through certain actions. A go port might be pretty fun to play with.

mattbaker commented 8 years ago

Another repo? pipboyspec?

I love that idea! It can be platform agnostic in its spec, and we can link to it from various repos (as can anyone else working on this).

I created https://github.com/mattbaker/pipboyspec and added you both as collaborators.

@rgbkrk if you send a keep_alive before you get a connect_accept the server will disconnect you it seems, the client also seems to drop its connection through certain actions. A go port might be pretty fun to play with.

Nice tip, I didn't realize that