could be something to do with packets... is 'useless' packets enabled by any chance?
|
Hello, thought I've make a thread on this, since it happen's quite often, but random. Sometimes your local player becomes unresponsive to the game. You can't click, talk, do anything and have to close game client or get kicked by a admin to fix it. Not quite sure what could be causing this, as it's random and nothing prints out. Not sure if it's client side related, or server side currently. If you have any tips/hints on what it is, let me know.
Last edited by Natalie; 05-24-2018 at 10:45 AM.
could be something to do with packets... is 'useless' packets enabled by any chance?
Not sure, I can check. If I find a fix or if someone else finds a fix. I'll probably post it here for everyone.
Edit: Checked, nothing is under the useless packets. I was thinking maybe it's more client sided. But that's just me, as I never really seen this before. I'd tried reproducing the issue, no luck and even when it happened nothing printed out in the console. It's like you have a false connection to the server, standing there unable to type, unable to use comments via console. But this is also local, so it's weird cause you can see others play as normal.
Last edited by Natalie; 05-26-2018 at 12:57 AM.
I saw it before, although I won't be able to tell you exactly what is wrong, it was with the packet handler, when I saw that happening, I added a different packet handling system. The packets were probably being offset incorrectly or something
the packet handling is the same as matrix, i just recreated it using netty 4 while i was redoing the network stuff but everything still functions the same. the only suggestion i have is the server might be disconnecting bc of timeout if the player isn't doing anything. that's where i would start. i haven't seen this happen before so i had no idea about it.
edit: do you know if the server prints the logout of the player when this happens?
edit2: can you explain what you were doing in game when this happened? and be as technical and descriptive as possible such as the buttons you clicked, or action you were doing etc.
thanks!
There's a good chance there's a client packet with the wrong size saved in your server, which would result in the issues you're having. It would also only happen when that specific client packet is activated, such as interacting with the second action of an object or interacting with a ground item. Have your client print out all the packet ids (you can do this by searching for the putOpcode method and exclude the ones sent every tick) and then when the client bugs out you will be able to deduce which packet is the cause of this.
The thing is, it's not a disconnect, I dont think. Nothing print's out. It's strange O,o.
Edit: This is what I was doing, but I tried reproducing, but no luck. But I shooting the crystal bow at a npc and it happened. My friend has had it happen to him as well, but he was just switching gear I think, hard to tell from his point of view.
Disable ISAAC if it's enabled. Isaac will cause that type of issues immediately if you don't have packets 100% identified and functional.
If it's not enabled, I suggest you look over packet sizes, ensure there are no invalid sizes and everything matches. -3 is not a valid size FYI, matrix servers use it occasionally, so you'll need to modify those. Make sure you get all the packet sizes fixed; one invalid size would be enough to cause this.
« Previous Thread | Next Thread » |
Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |