-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
bug when scripts recognizes a new serverVersion #34
Comments
@lubocode I update 10 minutes ago the script with major changes for that exact part of the script, could you try with the new version? (since it's worthless solving a problem if it does not exist anymore ahaha) |
|
I have only encountered this problem on Windows for now. |
Same error, but this time without any version detection. Still running under Win 10.
|
The same seems to have happened before the other two crashes |
aaaaa ok ok... because on linux it works normally i'll try to reproduce the issue |
so, we know that it works until "server version found!"... you could try to remove the part after and see what happens? Does it always throw this error or just sometimes? |
Yes and no. As stated above, I had one instance, where there was no server version detected and it still crashed. I will try out removing some code tomorrow. |
keep in mind that the message is shown only the firt time and if the captured version is different from the json data
i remind you that when
ok but i would not count a lot on that since is not very repetible... still it's worth trying |
Ah, ok, that would explain that.
Useful info. After leaving the server, that would indeed happen every time as one is coming back to the server overview window for which the info gets requested automatically. Judging by the error message, the problem occurs on line 317 And again, as said before: The docker problem is indeed quite a fatal problem, but not pressing, as it does not impact the working state of the latest released docker version. This problem right here however, might impact more people that try downloading the script from the repository directly instead of from the release page and run it on Windows. |
now that is a very brilliant interpretation! I completely agree and i hope it's just this because in this case should be an easy fix
I know I will open an issue regarding documentation ahah (#36) |
this is the log (with capture of the first packet the server is responding with (for an info request)) i really cannot reproduce the issue you are having but I modified a small parameter (commit: d862466)... can you just check if the problem persist now? |
in this way only the first 1024 bytes of a connection with serverStatus == "online" are considred
in this way only the first 1024 bytes of a connection with serverStatus == "online" are considred
The issue seems to be resolved after some quick testing, though now the server keeps sending information, even though there is no player remaining on the server. At the end I stopped the script with |
very good... let's hope mojang does not change the protocols
Yes i know thanks it's actually an attempt at not cutting off the conncetion abruptly but letting the minecraft server close it...
it's actually 4'000 bytes/s, not 4'000'000 bytes/s... how can i write it better in your opinion? |
Well, I use the dot to denounce thousands and the comma for decimals, but since this is different everywhere in the world, we should probably keep with the "english" way of doing it with a dot for decimals. Other than that, I think this issue can now be closed. Go ahead if you think so as well @gekigek99 |
ok i' ll see if i can make it more readable
have you verified if this works for you? |
Yes it does. Takes about 25-26 seconds. |
I am currently testing some different configurations and encountered a different bug in the main go script.
@gekigek99 should I open a new issue for this?
I am using 1.16.2 and with the current code and only changed debug to true.
Originally posted by @lubocode in #31 (comment)
The text was updated successfully, but these errors were encountered: