Here's a quick and dirty c# app that you can toy around with. It's not polished, and probably really buggy.
It listens on port 55 on local address 127.0.0.1 all hard coded. Again, this was literally just thrown together. To send bytes, just enter them and click send. Make sure to select the client in the right pane before clicking send or it won't actually send anything.
I am not working on this. I am releasing it into the wild. Hopefully someone will use it as an example or turn it into something more functional.
To get started:
Change your vercfg.cfg to
Code:
0
.
patch\
127.0.0.1 55
0
701 460
www.runuo.com
Then bring up the app, and run patchuo.exe.
Here are some of the experiments I've tried with it. I can get it to save off files into the patch folder, but beyond that I haven't really had much luck.
start 15
server 01 protocol
server 01 command 1= 2= connect on different ip address
Code:
patcher server
00 00 00 15
00 00 00 01
00 00 00 01
00 00 00 00 error message
Code:
00 00 00 15
00 00 00 01
00 00 00 01
00 00 00 01
00 00 00 08 57 69 6E 33 32 5F
4D 4C 00 00 00 00 version string
00 00 00 00 patch session complete
Putting the version binary into a hex editor is a nice lazy way to convert it to ascii:
The first 4 bytes is probably an Int32 specifying the length of the version string.
I downloaded several different installation packages, and they all seam to have a different version string, I don't know if they're unique to versions or unique to installation packages.
Code:
00 00 00 15
00 00 00 01
00 00 00 01
00 00 00 01
00 00 00 08 57 69 6E 33 32 5F
4D 4C 00 00 00 00
00 00 00 01 filename length
44 d filename
00 00 00 01 1 byte file length
00 file contents
00 00 00 01 confirm?
00 00 00 02
00 00 00 01 43 00 00 00 00
00 00 00 01