Commit graph

42 commits

Author SHA1 Message Date
tfarley
f11b3d17c0 Packet: ChangeFireModeMessage
* Add ChangeFireModeMessage packet

* Add ChangeFireModeMessage test

* Add ChangeFireModeMessage handler stub
2016-07-23 20:07:44 -04:00
Chord
7cf4d00376 Document PSPacket.scala 2016-07-20 00:12:19 -04:00
tfarley
dd2f205d37 Add tests for ChatMsg encoding and decoding 2016-07-19 11:17:10 -07:00
tfarley
8411af17d3 fixup: Addressed comments 2016-07-17 23:35:17 -07:00
tfarley
aa45ea8e84 Add ChatMsg decoder and stubbed handler 2016-07-17 21:13:50 -07:00
Chord
3729c2af52 Stub out PlayerStateMessageUpstream to prevent spam 2016-07-15 02:52:26 -04:00
Chord
5fa0610208 Working login to TR Sancuary!
Packet: SetCurrentAvatarMessage

Lots of hacks to get here, but wow, what a milestone.
2016-07-15 01:45:10 -04:00
Chord
e0fa3c49a2 Merge in new Game packet opcodes from the latest tool
See http://psforever.net/wiki/Game_Packets
2016-06-18 12:47:04 -04:00
Chord
78ace06516 Packet: ObjectCreateMessage
Still tons of decoding to due (it a streaming type). More hardcore RE
required.
2016-06-04 19:14:05 -04:00
Chord
c83132f21b Improve packet CharacterInfoMessage and char select 2016-06-04 13:23:59 -04:00
Chord
9f66602298 Packet: ActionResultMessage 2016-06-04 13:22:25 -04:00
Chord
f6d84791e6 Packet: CharacterCreateRequestMessage 2016-06-04 03:33:11 -04:00
Chord
8b8194cb44 Packet: CharacterRequestMessage naming from RE 2016-06-04 03:15:02 -04:00
Chord
8ba34fec03 Fix missing decoder in GamePacketOpcode 2016-06-03 23:45:04 -04:00
Chord
d4c414df36 Packet: CharacterInfoMessage 2016-06-03 23:08:25 -04:00
Chord
50fb65ac57 Version bump scodec and specs2
Also fix assorted casting errors and improve test case readability
2016-06-03 21:47:45 -04:00
Chord
372a88bb6e Packet: Improve sizeCodec for MultiPacketEx
Was completely unreadable before. Now it's not.
2016-06-03 21:06:49 -04:00
Chord
7b82491d0e Packet: MultiPacketEx, CharacterRequestMessage
Rename AggregatePacket -> MultiPacketEx as it makes more sense
2016-06-03 20:25:20 -04:00
Chord
5ed40e73b3 Fix LoginMessage and ConnectToWorldReqMsg token
The decoding was wrong. ASCII was the wrong choice. We needed a cstring
and to add padding instead of assuming a fixed size.

Fixes and closes #2
2016-05-19 03:11:15 -04:00
Chord
f1fae83548 Fixed enumeration bounds check bug 2016-05-19 01:55:43 -04:00
Chord
362e923c8f Reorganize control packet opcodes and add defaults 2016-05-19 01:55:22 -04:00
Chord
e8031f0109 Packet: KeepAliveMessage and add all game packet opcodes 2016-05-19 01:54:51 -04:00
Chord
6b02d2faab Add doc to ConnectToWorldMessage about hostname 2016-05-17 20:40:17 -04:00
Chord
b210df904a Packet: ConnectToWorldRequestMessage 2016-05-14 15:38:34 -04:00
Chord
034dadc96c Packet: ConnectToWorldMessage and fix VNL test 2016-05-14 14:50:33 -04:00
Chord
43a403174f Fix bad ServerType encoding and change server type 2016-05-14 14:31:30 -04:00
Chord
aa0b895f4b Discovered name for Unknown3 (ConnectToWorldRequestMessage) 2016-05-14 12:25:32 -04:00
Chord
11298c1a46 Stub out ControlSync to prevent client from leaving
Still have no idea what these packets are actually doing...
2016-05-14 03:17:51 -04:00
Chord
6ea1d157af Packet: Unknown{7,8} -> ControlSync{,Resp}
Used IDA to figure out packet fields. Not sure what these fields
actually mean yet. Something to do with the meta / relatedA/B packets.
2016-05-14 02:54:42 -04:00
Chord
cdf240cf66 Handle meta packet and return ack. server scroller
The scroller isn't usable in production as the client will deselect the
server listing each time the list is updated. This prevents you from
selecting a server.
2016-05-04 23:03:30 -04:00
Chord
c7f70e3543 Finish coding for SlottedMetaPacket and wrote test 2016-05-04 02:36:47 -04:00
Chord
ff4ea792ce Organize packets in to their own packages
Also remove legacy CryptoStateManager
2016-05-03 20:11:45 -04:00
Chord
df1d222df8 Refactor package naming scheme and line endings (CRLF) 2016-05-03 03:58:58 -04:00
Chord
83da72e50e Refactor all packet definitions out of PSPacket 2016-05-03 03:37:55 -04:00
Chord
1318ebd751 New SLF4J logger log4s. ANSI colors
Used jANSI for Windows console color support. Log4s for a Scala logging
facade (which uses SLF4J). Using logback as the logging driver.
2016-05-01 04:37:36 -04:00
Chord
36d9f5134c Revert change to LoginMessage tokenPath 2016-04-30 23:54:10 -04:00
Chord
30a94a0725 Remove extra logging and discord bot test 2016-04-24 21:13:52 -04:00
Chord
6711786f44 CryptoInterface cross platform, UDP listen public 2016-04-22 23:00:39 -04:00
Chord
a3de62db90 Add copyrights to top of all files 2016-03-04 15:14:50 -05:00
Chord
f762aa8e1f [Packet] VNLWorldStatus message - added IP port
Found out that the hidden fields were an array of IP and ports
2016-03-04 14:49:26 -05:00
Chord
b8ff34c0f9 [packet] VNLWorldStatusMessage
Added VNL packet type from IDA. Moved definition in to its own file.
Refactored PacketCoding MarshalPacket. The whole structure needs a
rework.

Now able to get a PlanetSide client to the server screen with a server
of choice.
2016-03-04 13:00:03 -05:00
Chord
d96fce6299 Initial Commit 2016-02-05 03:19:13 -05:00