Commit graph

613 commits

Author SHA1 Message Date
shutterbug2000
64b6ab825f
Fix prudp fragment issues
Fixes friends failing to load when the friend list gets too long
2021-12-01 00:48:10 -06:00
Jonathan Barrow
3446447596 Changed counter type to uint32 2021-11-21 20:58:29 -05:00
Jonathan Barrow
af513d18c0 Moved connection ID counter to nex-go 2021-11-21 20:55:45 -05:00
Jonathan Barrow
529b2dd243 connectionId should be Connection ID 2021-11-21 20:48:47 -05:00
Jonathan Barrow
47a0b52b7f Added SetFragmentSize 2021-11-21 00:53:15 -05:00
Jonathan Barrow
0587c5d8ce Changed kick timer to AfterFunc 2021-11-20 02:55:41 -05:00
Jonathan Barrow
4fc1ab819c moved ping timeout timer ti Go Timer channel 2021-11-18 08:43:20 -05:00
Jonathan Barrow
dc6058d27c NEX version now set automatically for v1 2021-11-14 05:35:17 -05:00
Jonathan Barrow
7386599b73 Added WriteListInt64LE 2021-11-14 03:47:44 -05:00
Jonathan Barrow
9ee262532c Added signed methods 2021-11-12 00:31:14 -05:00
Jonathan Barrow
13ee75a2bb Added a ping timeout 2021-11-02 10:59:58 -04:00
Jonathan Barrow
c5ce72ce26 remove redundant SendPing 2021-11-02 10:04:28 -04:00
Jonathan Barrow
3b4aeefc36 Added DataHolder type 2021-10-30 00:07:57 -04:00
Jonathan Barrow
6aaec63fa8 Updated RMCRequest to be more dynamic 2021-10-30 00:07:46 -04:00
Jonathan Barrow
07d6e7d12e Updated DateTime 2021-10-28 09:07:19 -04:00
Jonathan Barrow
7462a7f43f Added FindClientFromPID 2021-10-28 09:06:21 -04:00
SuperMarioDaBom
8fafab3fb1
Merge pull request #12 from shutterbug2000/master
Changes for MK7
2021-10-21 16:09:50 -07:00
shutterbug2000
74456b629b ReadBool for StreamIn 2021-10-15 09:23:26 +01:00
shutterbug2000
202a288ecd Changes for MK7 2021-10-13 20:38:44 +01:00
Jonathan Barrow
c0354ef79e added WriteListQBuffer 2021-10-03 02:59:47 -04:00
Jonathan Barrow
44a7a69ac5 ReadListQBuffer 2021-10-01 21:35:01 -04:00
Jonathan Barrow
24a4f22d93 use fragmentID 2021-09-29 19:16:38 -04:00
Jonathan Barrow
b7a12dac4e Added RMC error mask check 2021-09-28 19:14:53 -04:00
Jonathan Barrow
1f688c3d95 PID is uint32 2021-09-12 20:57:57 -04:00
Jonathan Barrow
97e779088e Added PID methods to NEX client 2021-09-06 21:45:48 -04:00
Jonathan Barrow
a32b6bbebb Added Result type 2021-09-05 08:28:55 -04:00
Jonathan Barrow
fafb1caeb4 Added WriteQBuffer 2021-09-05 08:28:47 -04:00
Jonathan Barrow
186a048e25 Changed CONN packet connection sig 2021-08-22 18:31:28 -04:00
Jonathan Barrow
2596545e51 Fixed WriteBuffer and added WriteListString 2021-08-22 18:31:01 -04:00
Jonathan Barrow
3cc36373a6 Added StreamIn.ReadListString 2021-08-22 18:30:20 -04:00
Jonathan Barrow
caecee00e9 removed commented code and whitespace 2021-08-22 18:29:58 -04:00
Jonathan Barrow
318e881bf3 Added ResultRange type 2021-08-22 18:29:09 -04:00
Jonathan Barrow
8c59df405c
Merge pull request #11 from SuperMarioDaBom/master
Added missing getters and setters for the StationURL struct.
2020-05-01 11:15:09 -04:00
SuperMarioDaBom
40f1e3a170 Added missing getters and setters for the StationURL struct. 2020-04-28 11:53:06 -07:00
Jonathan Barrow
1f152b8a67
Merge pull request #10 from SuperMarioDaBom/master
Add normal V0 packet signature handling.
2020-04-24 13:47:35 -04:00
SuperMarioDaBom
f997319f56 Add normal V0 packet signature handling.
Note that this has been tested, but not incredibly thoroughly.
2020-04-23 13:01:45 -07:00
Jonathan Barrow
25e1297b17 Add variant reading and basic map reading
Added reading of variant types and just enough of the map type to get read MatchmakeParam
2020-04-20 19:34:00 -04:00
Jonathan Barrow
2c77b483c9 Exported stream server 2020-04-19 22:54:47 -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
49762a9957 Renamed nexMinorVersion
Renamed nexMinorVersion since NEX versions are more specific in reality
2020-04-19 21:32:02 -04:00
Jonathan Barrow
3469a4893a Moved unreachable code 2020-04-19 12:01:43 -04:00
Jonathan Barrow
7eb473a621 Added data check to RMC response
Some nex methods return no data
2020-04-19 12:01:13 -04:00
Jonathan Barrow
f90728baa9 Revert "remove usage of reflect. improve efficiency. don't use abstracted methods internally. add go module support"
This reverts commit 75511a1ecb.
2020-04-17 13:16:03 -04:00
superwhiskers
75511a1ecb
remove usage of reflect. improve efficiency. don't use abstracted methods internally. add go module support 2020-04-06 20:42:26 -05:00
Jonathan Barrow
420de12c89 Update stream_out.go 2020-03-22 13:20:41 -04:00
Jonathan Barrow
9498401f0f Added Value method to DateTime
Added a method to DateTime to get the stored value
2020-03-17 21:44:39 -04:00
Jonathan Barrow
4021d2c32f Added basic list reading/writing support to streams
Streams now have basic methods for reading and writing lists of all number types as well as writing a list of Structure types. Reading Structure types is currently done by the protocol lib where those types are defined
2020-03-17 21:44:07 -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
122938e712 Change StreamIn method names to match StreamOut
Streams are not an abstraction rather than an extension of crunch, so we now use our own naming convention
2020-02-16 17:43:59 -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