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
prevent catbomb triggered by poor networking #1904
Comments
One way to do it is to create a script to send short burst ping to dmm/KC server, short enough to get an immediate response. When the ping doesn't get any response then it will proceed to freeze the flash process and notify the player whether the connection is being interrupted. Of course I'm not sure if it's possible to freeze the flash process. |
@richarddoge8079 Which could result in an IP ban from DMM's end. There's no way to retroactively check the network connection without active intervention in the connection itself with DMM's servers, from multiple users, which could be mistaken for Denial of Service attacks. I'm not even sure you can freeze the flash object anyway. Especially if you're on DMM's website. You'd probably have to manually stop the page like The Great Suspender extension. |
While researching on this particular feature, I think we can use AJAX call request to detect connection to the internet, which sounds a bit similar to the ping server method but I'll have to determine if multiple players doing AJAX call would cause request flooding to the server and if that would risk the player being banned. I'm still figuring the failsafe to prevent that from happening. For flash object freezing, I'm figuring out a more subtle solution to it, like a warning or a pop up notification of sorts if freezing it is impossible. P/S: Get me assigned to this task so I wouldn't forget it later |
@richarddoge8079 I'm trying to assign you, but it seems that your name isn't appearing in the list. |
I just want to point out that target site doesn't have to be DMM itself, the purpose is just to have a quick way of detecting connectivity. so you can even ping |
Just passing through and I see this. I see its a bit old but there's a point I feel the need to make. Just want to bring up that I very strongly discourage using anything DMM as your test endpoint. There is direct evidence of the devs banning regular pings to the server that the game client did not make. My mind is a little fuzzy but believe it was KanColleTool but whatever the app was it had a feature that pinged the server every 60 minutes for something. The devs handed out a banwave and everything pointed to anyone using this feature was hit with a ban. |
As for the ping target, I suggest to use Google DNS (8.8.8.8 and 8.8.4.4), since Google themselves encourage Internet users to ping them in order to test the connection. So in this case, flooding Google DNS with Pings won't bear much problems. However, keep in mind regarding the freezing of flash or stopping the page from loading. |
could be a really weird idea.
say when a player is playing the game, have some background services that keeps pinging to some common sites (could be DMM itself, google, whatever, or other means of keep detecting whether the network is fine), if there are consecutive disconnection detected, we pop up a
alert
orconfirm
, it will completely freeze the game, which is the purpose: user will have a chance to troubleshot the problem before dismissing the dialog instead of waiting for the ultimate catbomb to come (especially when user are in battle animations).The text was updated successfully, but these errors were encountered: