-
Notifications
You must be signed in to change notification settings - Fork 86
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
It takes 3+ minutes to enter the Multiplayer mode #37
Comments
Honestly I have never had this issue.
With all the information I see right now I would suggest the following:
Thank you for filing your issue, please respond with your findings, whether it worked or not. ~ Thimo. |
Hi Thimo (thibmo), Thanks for your reply. It seems strange to me as well. To answer your questions:
I did all the procedures that you asked me to, however all have resulted in the same manner. However, I tried another thing: I waited. I know it sounds something rational to have had done from the beginning already, however on my first computer it goes to the multiplayer mode immediately after pressing the button, but on my second computer it took roughly 2-3 minutes --> which of course isn't normal, but now it appears as it is working normally. So strange... If the problem reoccurs and something strange happens, I'll write again. Thanks again for all the help provided! p.s.: my first computer is Lenovo Win 8.1, my second is HP Win 7. -> no idea why such a lag on the 2nd one! |
Hi again, Actually, the interesting thing that happens now is that every single time that you wanna go to the initial screen of the mutliplayer mode, you have to wait. So for example, I waited 2 min from the Main menu to Multiplayer mode. Then I have joined to a game. When I decided to go back to the servers room, I had to wait again for 2-3 min to return from lobby. Later I tried to just "Refresh the Server List" and yet again it took 2-3 min to do so. Such an annoyance! What do you think the reason would be behind this issue? I mean, apparently there are some protocols running in the background and reeeeeaaaaallllly taking their time. If you have any ideas, please let me know. Thanks, |
Good to know that it takes time, that's a lead. |
Ok, so yeah, around 2-3 minutes maybe even more, I'm not entirely sure. The processor is: AMD Phenom(tm) II N660 Dual-Core 3.0 GHz. And about the logs, I have no idea which ones to provide, so I'm gonna add a few from the last couple of days. Please follow this link to access the log file: https://www.dropbox.com/sh/gwhxdku5xal1zg0/AAAq_6AVOpkiUTUDCMiOEfWIa?dl=0 Let me know if you couldn't access, and if so, please advise how can I share other types of files besides png, gif or jpg. Brgs, |
Maybe it would be a good idea to try an earlier version, r5503. Also, are they connected over WIFI or cable? Please let us know the results. |
Now, when I tried the previous version, it worked slightly faster. It took roughly 5 secs to enter the multiplayer mode. However the problem is that no one still uses this version and I can't play against the rest (which would be the point of multiplayer mode :) ) I haven't tried the step 2 however, what does it do? If it makes it possible to connect with others who use the newer version, then that might be a temporary solution (fixing only the symptoms not the underlying problem). Both my laptops connect via WiFi. Should I try to apply 2> and then report back? Please meanwhile, let me know what this hotfix makes? Thanks in advance! |
No, not yet, step 2 is only a fix for the scripted game play(Nothing to do with networking) Please be patient, we will work as fast as we can. :) |
Of course, please take your time and we'll stay in touch. If you ever need another test, let me know. :) Unchien51 |
Michal1324, that is a negative. |
Hi, I don't think defragging the hdd would be a bad idea, however I also What could possibly be wrong in my network settings....hmmm....
|
Michal1324, |
Michal1324, you misunderstand how the log works. The time deltas are simply the time difference between one log entry and the previous. It is not the amount of time it took to complete each item. Obviously it's not taking him 42 minutes to load the game or he would have mentioned it... |
oh ok sorry |
No worries, Michal. |
Marking commits will cause more trouble than help. Many times commits might change parts that are loosely related, but still connected. |
@Kromster80 Got it, and true. I am able to start private dedi server matches without KM_SecureAuth. |
There is no need to start private server. So far it looks that the pure act of sending/receiving messages from master server (e.g. asking for servers list) freezes the game. |
Thanks guys for putting in so much effort. I am constantly checking the Best regards, 2015-05-26 14:13 GMT+02:00 Krom Stern notifications@github.com:
|
Hello, oke. So first off, I would really much like you to test our most recent version, to see if the update of OverByte ICS might have solved the issue already. With replies, please do send feedback using the exe's name, that would help us a lot. :) I will give all the required files in the zipped files, if it is only the exe file I will leave it as an exe and not zip it. |
Tiny detail change, r5900 will be r5899 due to UI issues at r5900, the UI looks rather odd in r5899 as well, please use maximized screen or buttons might be missing. I hope you don't mind testing them for us, as, to speak only for myself, I can't reproduce the error on my system. One hint, start with the most recent version first, this due to r5700 changing a lot with fonts and texts. |
Hi Thimo, Please let me know which .exe should I use [first] as I'm not so sovereign Sorry for asking for more help, it's just that I'm not so advanced in such 2015-05-26 17:53 GMT+02:00 Thimo notifications@github.com:
|
Sure, no problem mate. :) The zip files you can open with a tool that is standard to Windows, no need to download anything for that. :) |
Hi, To be current, as I'm already on way to resolving the problem.
|
Yes, indeed. :) |
Ok, so far I have stopped at step 4 which seems to have worked on the original issue which was a huge lag when trying to enter the Multiplayer mode and now that lag is gone. :) Please advise as to what to do next from my side. :) |
Then the issue lies between r6300 and r6100, now we narrow it even further. :) |
Hey, I know exactly how it is with the studies. I am just a couple of weeks away from the "exam-after-exam" period. :) So no worries, take your time, meanwhile I'll just use the other computer for MP, and the "troubled-one" for SP only ;) Cheers! |
Well, that was quick... :P One note why r6250 is missing: There have been a huge amount of new bugs and bug fixes in-between r6225 and r6275 which prevent me from compiling a working copy that's close enough to r6250 to be worth the try, I tried to combine tiny fixes that might have made it possible to fix the issues until I ran against the big fix for wave sound files, then I stopped, it would look a lot alike r6275 were I to implement that fix as well. |
I'd guess it was caused when I added scanning the LAN for local servers via a UDP broadcast, which was r6234: Maybe test the version before that first? I have no idea why it would cause lag though... |
@lewinjh Might be true. Edit: I would find it odd that a UDP protocol would slow down everything.. |
It's been a while now, I hope you are alright. :) I hope to be able to receive a reply soon, on which versions do work and which do not. |
Hi, Sorry for not writing back now in a while. To be honest, and this may sound slightly stupid, I was sure I was waiting for your reply and that it was your move and not mine. Since it's so late right now, I will try the new files on DB tomorrow first thing in the morning and report back. Sorry for the confusion! Brgs :) |
Ghe, no worries, my bad then. :) |
Ok, so.. I started from top down, as previously:
Was the "Maybe check if fUDP is even listening" meant to me? If so, how do I do that? Sorry again for the confusion, I hope all's fine :) :) |
Hey, yes indeed it would in between those two. :) I will make a few more versions ASAP and I will make a new commend upon the addition to Dropbox. :) Thanks again. :) |
Hehe, super that you guys can cooperate so well together. I'm on stand-by for further instructions! ;) |
Both uploaded to Dropbox, r6233 and r6234. :) |
So, This time the results are as follows:
I have a feeling we're getting closer, however still lot of work to be done? :) |
Ghe. Lewin was 100℅ right. |
So it was the UDP, ok. Yes, every time I pressed on MP it popped up a dialog for exception in the firewall. Only I chose "never show this dialog again" so that's why it didn't show when I tried the same version the second time. But for every new version I had to accept an exception. Hmm...what is the upside of the UDP update that you put in the newer version. And also, how come that for example my primary lap top isn't making any troubles, meanwhile the secondary is - where is the big difference? |
Which means you need to go to Firewall rules list and unblock r6720. AFAIK UDP update is meant for LAN networks to discover local KaM Remake games, but I could be wrong and Lewin can correct me. You probably have UDP allowed and saved on your other laptop or it's just in the "allow all UDPs" mode. |
Hi, I did that. Already prior to even commenting here. I went to the Windows firewall and added r6720 to the allowed programs list, and just to be sure I also did the same with an external provider (in my case: Comodo: https://www.comodo.com/). Perhaps I will re-check everything. Thanks for the explanation. |
Ok something interesting. So, I tried to add all possible exceptions, I even looked for more detailed settings and allowed all UDP and TCP in any directions etc etc ... I did this both on Win Firewall and Comodo. -> Then I opened the game, and the same issue appeared when trying to go MP. Secondly...I turned off BOTH firewalls for the time. I tested again, and yet again it failed. If both firewalls were turned off, could it still be firewall problem, or would it be something else? |
Then perhaps it is something else. |
Oke... The version is called KaM_Remake_r6830.exe and is in the Dropbox folder right now. |
@unchien51: Did you reboot your PC after changing the settings? Usually this is not required, but that could help. |
Sounds like it freezes up whenever it tries to open a listen socket. When you first enter the multiplayer lobby it opens a UDP port to listen for local servers. And when you create a server it opens a TCP port to listen for clients. You said it freezes in both of these cases. I don't think it's specifically related to the UDP listening for local servers since you said it also happens in the old versions when you try to create a server. This could be related to your firewalls. It may block KaM Remake from opening listen sockets while it asks you to allow or deny it, causing KaM Remake to freeze. As Krom suggested you could try disabling the firewalls and rebooting. You could also try (temporarily) uninstalling 3rd party firewalls (anything other than Windows firewall) since that's something specific to your setup (but most users will have Windows firewall). Did you try running KaM Remake as administrator to see if that makes a difference? (from the right click menu) It might also be a port clash, if you have some other program running which is already using the ports used by KaM Remake (56789 and 56788). |
Uninstall comodo install some other antivirus or disable firewall and use default one |
Hey guys, sorry for not being active, I had loads of work yesterday, which will continue today. I think maybe today in the late evening or tomorrow morning, I'll be able to make more tests. Thanks for your patience. I will try to apply all of your propositions. |
Hi, Me again. After a tough day I found an opportunity window to make some tests. So, please, read carefully as I believe there was some misunderstanding due to my expression (dis)abilities: Ok, as for today's tests, the results:
No idea what's happening with my UDP ports :/ Are you guys running out of options, or do you think there is still something we could try? On an unrelated note, I am about to download PANDA and use it as my third party firewall. Oh, and, how could I check if "It might also be a port clash, if you have some other program running which is already using the ports used by KaM Remake (56789 and 56788)." might be true? |
Hey, thanks for testing yet again. Then you will recieve a list(That might take a time to create itself) looking like this:
Though there is a little trick within netstat to speed this up. :)
There, try to see if you can find anything using ports 56789 and 56788, if so try closing that program and retry. |
Have you tried updatin to win 10? or trying to launch kam remake in virtual machine to see if the problem occurs too? |
Closed as not reproducible. |
Hey guys,
I have two computers. On each I have a copy of KAM Remake. On my first computer I've been playing the game for a long time now, including the multiplayer games with the whole community.
However, on my second computer the singleplayer works normally, like it was supposed to, but I am having difficulties with the multiplayer mode. When I'm in the main menu (main screen) and try to press the "Multiplayer mode" button, the game freezes all over! Then I have to kill it with the task manager. And no matter how many times I restart my computer, or uninstall and reinstall the game the problem doesn't seem to go away. It just reoccurs everytime.
Has anyone ever encountered a similar issue and how did you solve it? Is there a solution to it? I really don't know what to do. :| :( :?
Hope you guys can help me out.
unchien51
The text was updated successfully, but these errors were encountered: