Jonathan Barrow
1d93125098
Update PRUDPv1 magic comment
2023-06-07 23:13:41 -04:00
Jonathan Barrow
0c4508e64f
All relevant methods now return errors, and all errors are now checked
2023-06-07 23:12:13 -04:00
Jonathan Barrow
86eb9b08e0
Removed SetNexVersion and added methods for setting specific NEX protocol versions
2023-04-05 19:28:18 -04:00
Jonathan Barrow
4bb09fd0ea
Track client PRUDP minor version and supported functions
2022-09-05 09:45:36 -04:00
Jonathan Barrow
55b5f287ec
Properly encode supported functions in V1 packets
2022-09-05 09:43:34 -04:00
Jonathan Barrow
92e596657f
Added (Set)PRUDPProtocolMinorVersion methods on V1 packets
2022-09-05 09:42:41 -04:00
Jonathan Barrow
4d1c7455d8
Properly decode supported functions option
2022-09-05 09:19:39 -04:00
Jonathan Barrow
003b4c2baa
Added (Set)PRUDPProtocolMinorVersion methods and corrected misuse of server NEX version
2022-09-05 08:57:56 -04:00
Jonathan Barrow
655d59f4ae
Added plogger logging
2022-04-15 16:51:05 -04:00
Jonathan Barrow
0f54daac27
Removed unused code found only in the original Rendez-Vous library
2022-04-10 16:07:00 -04:00
Jonathan Barrow
8be2d8bca2
Moved all source files back to root
2022-03-29 00:15:55 -04:00
Jonathan Barrow
a2d673a235
Moving to Go modules
2022-03-27 19:59:17 -04:00
Jonathan Barrow
dc6058d27c
NEX version now set automatically for v1
2021-11-14 05:35:17 -05:00
Jonathan Barrow
6aaec63fa8
Updated RMCRequest to be more dynamic
2021-10-30 00:07:46 -04:00
Jonathan Barrow
f78cd960d8
Changed getters to be more Go-like
...
Removed "Get" prefix from getters to conform to effective Go standards
2020-04-19 21:40:04 -04:00
Jonathan Barrow
db9e11b15c
fixed type issues and extra Grow call
...
Fixed some typing issues and removed an extra Grow call which broke packet encoding
2020-02-16 18:30:10 -05:00
Jonathan Barrow
1d690de84d
New StreamOut API
...
StreamOut now has an abstraction layer to clean up some method calls from crunch
2020-02-16 17:42:03 -05:00
Jonathan Barrow
667f4a07e9
New StreamIn API
...
StreamIn now has an abstraction layer to clean up some method calls from crunch
2020-02-16 17:18:17 -05:00
Jonathan Barrow
14a29f1b5c
Added missing export comments
2020-02-16 16:59:47 -05:00
Jonathan Barrow
17208659c4
Error handling and data validation
...
Now validates data before passing it to crunch in order to avoid buffer read/write out of bounds panics. This API update is breaking and all code using it will need to be updated
2020-01-31 02:50:23 -05:00
Jonathan Barrow
8ab25b0f16
new stream implementation and Structure type handling
...
Split the Stream struct into 2 separate stream types for clearer intent. Also now pass them a reference to the server pointer to access server config (namely the NEX minor version)
Structure NEX types are now being implemented (a push to nex-protocols-go will follow shortly). However the implementation is pretty jank and could use some work. Currently uses emulated inheritance
2020-01-26 21:38:33 -05:00
Jonathan Barrow
11bd735033
PRUDPv1 and goroutines
...
Added goroutines to packet handlers and added just enough of PRUDPv1 to get Super Mario Maker connecting
2020-01-24 18:14:04 -05:00
Jonathan Barrow
8e489e4165
Complete rewrite
2020-01-17 12:42:59 -05:00
Adele Reed
6d516d160d
Replace used bytes.Buffers with crunch buffers
2019-08-11 22:21:10 -07:00
Adele Reed
c31644abca
Refactor packet_v1 to use crunch instead of streams
2019-08-11 15:59:57 -07:00
RedDuckss
ffb2e1fb5d
Made v0 stream-based like v1
2018-10-02 18:01:03 -04:00
RedDuckss
a8e90ad38b
Some small code clean up
2018-10-02 17:18:54 -04:00
RedDuckss
2b0a8d8ea6
Added GoDoc comments on exported values
2018-10-02 17:10:59 -04:00
RedDuckss
24ee0aad2b
Basic v1 implementation (still kinda broken)
2018-10-02 17:02:36 -04:00