297 Commits

Author SHA1 Message Date
ecbd67e8d1 Merge branch 'drone_ci' of jake/libpso into master 2019-09-07 23:07:37 -04:00
ca37115985 name ci build 2019-09-07 19:56:52 -07:00
5923648df0 separate build and test ci tasks for real this time 2019-09-07 19:46:10 -07:00
3fcee7f67e separate build and test ci tasks 2019-09-07 19:34:30 -07:00
2ce7f85e1e set nightly in ci config 2019-09-07 19:31:48 -07:00
4a37f03abb drone.yml 2019-09-07 14:58:51 -07:00
jake
47b8d06037 andy why 2019-09-07 12:40:24 -07:00
Jake Probst
4e43c0e36d actually include things 2019-09-05 15:16:10 -07:00
Jake Probst
419db62ad5 add character/guildcard structs 2019-09-05 14:36:08 -07:00
Jake Probst
a37856ddcf PSOPacket::from_bytes &Vec<u8> -> &[u8] 2019-09-04 09:09:01 -07:00
Jake Probst
5fbfce058c charselect pkts 2019-09-03 16:48:48 -07:00
Jake Probst
f77d990228
Merge pull request #1 from andynewjack/master
added packets 0x1E8, 0x2E8 (BBChecksum and BBChecksumAck)
2019-09-01 18:26:29 -07:00
ebaef31bcc tests passed yay i quit 2019-09-01 22:25:48 -03:00
ad8930fcb0 . 2019-09-01 22:20:36 -03:00
4edb95d247 assert.to_le_bytes to assert.as_bytes 2019-09-01 14:57:08 -03:00
0d80bb58aa dropped BB prefix. Have ChecksumAck::new take an argument to set ack. Added basic test to check le_bytes. 2019-09-01 14:28:20 -03:00
89c217731f added packets 0x1E8, 0x2E8 (BBChecksum and BBChecksumAck) 2019-08-31 02:38:53 -03:00
Jake Probst
03efcee742 pkt E2 key settings 2019-08-25 04:48:48 -07:00
Jake Probst
aa2adaf629 make more vars pub 2019-08-25 04:47:49 -07:00
Jake Probst
e83aae2b4b usersettings struct 2019-08-22 20:37:22 -07:00
Jake Probst
0feee1c0a2 fix test 2019-08-21 23:07:39 -07:00
Jake Probst
5300907e2c some login packets 2019-08-21 17:23:16 -07:00
Jake Probst
529690165d psocipher.block_size 2019-08-21 17:22:21 -07:00
Jake Probst
e2965699d3 turns out we gotta pad it out a bit to 8byte blocks 2019-07-30 22:24:44 -07:00
Jake Probst
a8b5559ac0 serialize any type that provides information on how to 2019-07-28 23:27:24 -07:00
Jake Probst
7ae27273b4 cloning packets is helpful 2019-07-16 13:44:53 -07:00
Jake Probst
ae0b909685 move packet source files to one directory 2019-07-14 00:48:45 -07:00
Jake Probst
6704a9a653 bb cipher 2019-07-14 00:43:54 -07:00
Jake Probst
222f3c38da have cipher specify header size
Really it is more about mimimum cipher block size.

 Please enter the commit message for your changes. Lines starting
2019-07-14 00:43:05 -07:00
Jake Probst
de87b2f89e why did I make these iterators? 2019-07-14 00:40:56 -07:00
Jake Probst
10db8888c2 the rest of the patchserver packets 2019-06-29 09:54:17 -07:00
Jake Probst
43cb98db54 HAHAHAAHHHJRFEHGJRHETHFGTERTJFEHJKTHjrekgthrejkghlre
in unrelated news it turns out newserv's pc cipher implementation is
incorrect.
of course given that it just goes redirects to the login server
immediately it never had to do an update_stream to update after 56 bytes
were sent.
2019-06-27 23:04:59 -07:00
Jake Probst
148f002cb3 bunch of patchserver related packets 2019-06-23 17:07:27 -07:00
Jake Probst
f5c19ad66b utf16 handling when parsing string bytes 2019-06-23 17:07:02 -07:00
Jake Probst
67b56be4f6 PSOPacket is Debug, more parse errors 2019-06-23 15:52:54 -07:00
Jake Probst
a1485dd8e7 make cipher pub 2019-06-23 15:52:28 -07:00
Jake Probst
f9b2567d8e null pso cipher 2019-06-23 15:52:09 -07:00
Jake Probst
17cf4bb056 make sure packet len is divisible by 4 2019-06-23 15:51:29 -07:00
Jake Probst
8caa48a1e6 check that the entire packet was read 2019-06-23 15:51:11 -07:00
Jake Probst
47a07a63ae handle String objects in pso_packet 2019-06-23 15:47:53 -07:00
Jake Probst
c6ad5f4be6 don't need this enumerated 2019-06-23 15:47:21 -07:00
Jake Probst
7cac700dd5 turns out not everything has a flag, putting it in the struct will be easier at this point 2019-06-12 18:25:07 -07:00
Jake Probst
7c246f5446 silence warnings, print strings in packets 2019-06-08 18:16:07 -07:00
Jake Probst
2a95dacb57 psopc cryto 2019-06-08 18:06:10 -07:00
Jake Probst
2181aced53 did that 2019-06-06 16:47:42 -07:00
Jake Probst
53ef5a8efc pso_packet proc_macro for misc things 2019-06-06 16:46:23 -07:00
Jake Probst
ffca6f8b58 init 2019-05-29 22:34:00 -07:00