Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to join some servers #1

Open
VapourUK opened this issue Jun 24, 2021 · 8 comments
Open

Unable to join some servers #1

VapourUK opened this issue Jun 24, 2021 · 8 comments

Comments

@VapourUK
Copy link

Some servers give this message

`ParseGamestate: bad command byte

at JKClient.JKClient.ParseGamestate (JKClient.Message msg) <0x1029ab6e0 + 0x00538> in <562819ea416f4ec7b28904a828b8da40#292ada85d3b0bbfd350a324c511caba2>:0
at JKClient.JKClient.ParseServerMessage (JKClient.Message msg) <0x1029ab4d0 + 0x0017f> in <562819ea416f4ec7b28904a828b8da40#292ada85d3b0bbfd350a324c511caba2>:0
at JKClient.JKClient.PacketEvent (JKClient.NetAddress address, JKClient.Message msg) <0x1029a7600 + 0x00133> in <562819ea416f4ec7b28904a828b8da40#292ada85d3b0bbfd350a324c511caba2>:0
at JKClient.NetClient.GetPacket () <0x1029bbcd0 + 0x000bf> in <562819ea416f4ec7b28904a828b8da40#292ada85d3b0bbfd350a324c511caba2>:0
at JKClient.JKClient.Run () <0x1029ad050 + 0x00193> in <562819ea416f4ec7b28904a828b8da40#292ada85d3b0bbfd350a324c511caba2>:0 `

tried both on iOS and Android both the same error

@entdark
Copy link
Owner

entdark commented Jun 25, 2021

Hi.

What exact servers did you try to connect to?

List them or just show a screenshot, please.

@VapourUK
Copy link
Author

900BA37D-29E3-40AD-9CDB-DAC426507F31

half of the mb2 servers

@entdark
Copy link
Owner

entdark commented Jun 25, 2021

Yeah, I know about that issue.
The problem is in encoding game entities. And it's different in MBII.

Fixing it is very simple but some of MBII devs asked me to not add that because:

  1. they think it's illegal (which is wrong since encoding data is publicly available);
  2. they fear people will exploit the app to fill servers with bots or do some other bad things.

I respect their request so I did not add that special encoding, but maybe I will add the feature eventually in the future. That is a dilemma for me now.

Sorry for having the negative experience.

Though if you are a programmer I can tell you what you should do to fix it so you could build an app for yourself.

@VapourUK
Copy link
Author

VapourUK commented Jun 25, 2021

Oooh i see now, It's not a problem but why does some of the MB2 work though, for example AOD Honor Duels? is it because its not loading Open mode assets?

I haven't developed in long time for mobile but would like to have a look at it.

@entdark
Copy link
Owner

entdark commented Jun 25, 2021

You are close. That depends on maps and maps configuration.
In the very beginning some special entities are parsed out anyways if they are presented in the map data. That's where it fails.
If the map doesn't have those special entities then initial parsing (GameState) passes and everything works.

@entdark
Copy link
Owner

entdark commented Jun 25, 2021

Actually I could try to make some changes yet to please the MBII devs' request. I will try that on this weekend, so don't bother fixing it yourself for now.

@VapourUK
Copy link
Author

VapourUK commented Jun 25, 2021

Ok not a problem let me know how it goes, my plan for this was just to create an app for inner clan members and who ever has admin role on the server they can just go into the app and deal with any problems there, but normal normal members won't have access. as you can perform smod commands in the chat and only see selected servers.

@entdark
Copy link
Owner

entdark commented Jun 28, 2021

Unfortunately there is no way to make it working without adding support for MBII explicitly. So I won't make it.
We discussed everything in PM though, just reporting here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants