MatthewL246 / pretendo-docker

An unofficial Docker Compose setup for self-hosting a Pretendo Network server.
https://matthewl246.github.io/pretendo-docker/
GNU Affero General Public License v3.0
54 stars 9 forks source link

Help with MK8 implementation #125

Open Takabrycheri opened 3 months ago

Takabrycheri commented 3 months ago

Hi, I'm trying to implement the server for Mario Kart 8, I think it's apparently set up correctly but when I try to go online from the game I get this error in the secure server log:

[func (*KerberosEncryption).Decrypt() github.com/PretendoNetwork/nex-go/kerberos.go:32] : Keberos hmac validation failed
[func (*PacketV1).Decode() github.com/PretendoNetwork/nex-go/packet_v1.go:167] : PRUDPv1 calculated signature did not match

I can't figure out where the problem might be coming from since in the setup-environment.sh I create the password the same way as in other games and it is uploaded to both the secure and authentication servers... Could you give me some pointers on where the problem might be coming from? Thanks

MatthewL246 commented 3 months ago

Sorry, I'm not very experienced with the internals of NEX, so I'm not sure what's going wrong here. It might be a bug in the server, since I see that Mario Kart 8 is still using nex-go v1.

Takabrycheri commented 3 months ago

Sorry, I'm not very experienced with the internals of NEX, so I'm not sure what's going wrong here. It might be a bug in the server, since I see that Mario Kart 8 is still using nex-go v1.

Ok, thanks anyway. I thought it was related to the Kerberos password that is set as an environment variable in the config and instead it seems to be an "internal" problem to the server. I'll try to investigate :)

MatthewL246 commented 3 months ago

I took a look at your fork, and as far as I can tell you're setting up the Kerberos password in the same way as the other servers, which should be correct.

Takabrycheri commented 3 months ago

That's exactly what I can't understand, anyway I haven't pushed all the changes yet, but in the end the situation isn't changing much... I'm trying to understand what's happening by also looking at the version of nex-go used in the mk8 server, but for now I still have no idea why it fails...

Also, regarding the nex-go version, I think it is irrelevant, I think. Because it uses the version that was there when the last push of the mk8-secure repo was made, but since it is still an internal system to the server itself, it should not interact with the other servers that have the new version. So either we are missing something or that repo was published in a non-functional state (?)

Dr-Wily commented 2 months ago

@Takabrycheri Hello, can you share your compose.yml with us to help to setup a MK8 server ?

EDIT : Oh sorry I'am just figure out that I can find it on your pretendo-docker fork on your profile... sometimes I get a bit distracted.

ReynoldsCahoon commented 1 month ago

Any updates on your project @Takabrycheri ?

I've recently set up pretendo-docker and hadn't realized there's no Mario Kart 8 server included. Are there any guides or suggestions for adding Mario Kart 8 support?

AToska21 commented 1 month ago

Pretty sure you can run it separately and just add it to the servers collection in the pretendo_account db.