Commit graph

265 commits

Author SHA1 Message Date
shutterbug2000
236d8f159b Add implementations for notification data methods 2024-07-02 22:13:45 -05:00
Daniel López Guimaraes
e1957bbca9
fix: Tidy go modules 2024-05-19 18:59:28 +01:00
Daniel López Guimaraes
06dc3fbc05
chore: Update go modules 2024-05-19 18:55:09 +01:00
Jonathan Barrow
66a942a388
Merge pull request #30 from ashquarky/patch1 2024-05-03 10:00:28 -04:00
Jonathan Barrow
b169655951
Merge pull request #31 from ashquarky/patch2 2024-05-03 09:58:45 -04:00
Ash Logan
785f021ffa feat!(datastore): Add requesting PID to GetObjectInfosByDataStoreSearchParam
This is required for PUYOPUYOTETRIS, which doesn't use the perfectly good ownerPID
field and instead sets a search target to mean "your own account".
Very cool.

Breaking API change.
2024-05-03 22:27:09 +10:00
Ash Logan
3ca998f820 fix(matchmake-extension): Fix result type from AutoMatchmake.. to be AnyDataHolder
feels awfully reminiscent of the contentWriteable bugs of the past
2024-05-03 17:39:10 +10:00
Daniel López Guimaraes
8e8e2bdbeb
Merge pull request #29 from ashquarky/main 2024-04-20 02:20:05 +02:00
Ash Logan
1fd823034b ticket-granting: Set the StructureVersion for NEX >3.5
Fixes Minecraft: Wii U Edition
2024-04-18 16:42:51 +10:00
Jonathan Barrow
95a9481cc9
Merge branch 'main' of https://github.com/PretendoNetwork/nex-protocols-common-go 2024-04-09 12:16:32 -04:00
Jonathan Barrow
b782903fd9
secure-connection: update station identifing logic 2024-04-09 10:59:51 -04:00
Daniel López Guimaraes
d435690ad0
match-making: Send notification on UpdateSessionURL 2024-04-08 20:36:24 +01:00
Daniel López Guimaraes
112d27947c
Merge pull request #26 from PretendoNetwork/nex-go-rewrite 2024-04-08 00:57:11 +02:00
Daniel López Guimaraes
dfe7dba66b
chore: Update module version to v2 2024-04-07 23:56:20 +01:00
Daniel López Guimaraes
67fb7c2dd3
match-making: Set original owner on ownership change notification 2024-04-06 18:19:25 +01:00
Daniel López Guimaraes
e4fcbbbd97 match-making: Update ParticipationCount with ConnectionIDs size 2024-03-26 23:34:08 +00:00
Daniel López Guimaraes
469c77a247 match-making: Change the host if the owner is leaving 2024-03-26 23:33:57 +00:00
Daniel López Guimaraes
68d4aa6873
match-making: Fix race condition on FindOtherConnectionID 2024-03-23 23:04:34 +00:00
Daniel López Guimaraes
8208e97bc2
secure-connection: Fix public station flag check 2024-03-23 20:38:23 +00:00
Daniel López Guimaraes
656fa0fafb
match-making: Use MutexSlice for connection IDs 2024-03-23 19:25:10 +00:00
Daniel López Guimaraes
34f42e501d
chore: Use nex-go constants 2024-03-17 22:37:34 +00:00
Daniel López Guimaraes
93a6c5d0f5
match-making: Decrement ParticipationCount when leaving a session 2024-03-17 22:34:44 +00:00
Daniel López Guimaraes
cef643aed0
match-making: Remove "Leaving" print
In case something fails here, this can be logged on the server directly for debugging
2024-03-06 16:28:09 +01:00
PabloMK7
a8cc302e32
Remove unneeded import 2024-03-06 14:11:47 +01:00
PabloMK7
3d22887dc8
Removing lingering "Leaving" print 2024-03-06 14:04:04 +01:00
Daniel López Guimaraes
4c2b1506be
matchmake-extension: Implement JoinMatchmakeSessionEx
And some bugfixes.
2024-02-24 00:28:26 +00:00
Daniel López Guimaraes
7f33824207
match-making: Fix wrong session ownership check 2024-02-22 16:12:18 +00:00
Jonathan Barrow
9ef1a27cf2
matchmake-extension: rename postpone method handlers 2024-02-13 16:35:10 -05:00
Jonathan Barrow
2728968441
update: added OnAfter event handlers for common methods 2024-02-13 16:34:03 -05:00
Jonathan Barrow
87d7dc43b6
nat-traversal: fixed ReportNATTraversalResultDetail method ID 2024-02-13 16:18:17 -05:00
Jonathan Barrow
a97b74843a
nat-traversal: fixed comment 2024-02-13 16:14:51 -05:00
Daniel López Guimaraes
b6c8028476
refactor: Remove common protocols global variables 2024-02-11 14:51:26 +00:00
Daniel López Guimaraes
410ca40c01
refactor: Update ServerInterface to EndpointInterface
Also update method handlers to use the new nex.Error return.
2024-02-11 00:33:30 +00:00
Daniel López Guimaraes
bbb4872e89
Fix typos and use account getters from endpoint 2024-01-25 17:39:32 +00:00
Jonathan Barrow
d15b82cc12
chore: nex.Errors -> nex.ResultCodes 2024-01-24 16:51:45 -05:00
Jonathan Barrow
2f6d8445c6
ticket-granting: update to use new account methods 2024-01-24 13:11:35 -05:00
Jonathan Barrow
ce83fe9720
chore: update to new types 2024-01-22 12:40:37 -05:00
Daniel López Guimaraes
33c6ccc225
Update RMC method creation 2023-12-16 15:46:55 +00:00
Daniel López Guimaraes
6fab5521a7
README: Don't update all commonTicketGrantingProtocol fields 2023-12-14 23:27:42 +00:00
Daniel López Guimaraes
6aa24a9ccf
Rename common protocols to CommonProtocol
This reduces the redundancy and follows better the Go style.
2023-12-14 23:21:01 +00:00
Daniel López Guimaraes
1a22244675
README: Update according to latest changes 2023-12-14 21:35:11 +00:00
Daniel López Guimaraes
5168b5c3d4
Update PRUDP cast comments
Now that the websockets server is integrated into PRUDPServer, we have
to question if we even want to remove these casts, since it doesn't make
much sense for HPP.

Also updaete SecureConnection::Register to support TCP addresses on the
client for websocket implementations.
2023-12-14 21:33:25 +00:00
Daniel López Guimaraes
bca1304ade
ticket-granting: Clear StationURLSpecialProtocols
This field doesn't have a station URL set usually.
2023-12-14 21:30:30 +00:00
Jonathan Barrow
2f18d58d87
ticket-granting: fix ineffectual assignment to userPID 2023-12-14 14:51:45 -05:00
Jonathan Barrow
a00ab245bf
ticket-granting: fix RVConnectionData 2023-12-14 14:50:28 -05:00
Jonathan Barrow
a5300196f8
match-making: spacing issue in protocol.go 2023-12-14 14:46:03 -05:00
Jonathan Barrow
365fe3f1e3
renamed matchmaking and matchmaking-ext to match protocol lib 2023-12-14 04:16:59 -05:00
Jonathan Barrow
612033c7ee
Merge branch 'nex-go-rewrite' of https://github.com/PretendoNetwork/nex-protocols-common-go into nex-go-rewrite 2023-12-14 04:08:59 -05:00
Jonathan Barrow
63102b9e20
ticket-granting: update RVConnectionData 2023-12-14 04:08:52 -05:00
Daniel López Guimaraes
aab72d6f17
matchmaking: Use Interface for common protocol creation 2023-12-10 19:33:28 +00:00