-
-
Notifications
You must be signed in to change notification settings - Fork 153
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
Probem with 2 computer with same IP. #20
Comments
How do you disable this protection? |
I didn't think it was related because I disabled any kicks just to test the anticheat at first. Thank you, |
Array ac_ACAllow keeps the default settings, which apply only if not found nex-ac_settings.cfg in scriptfiles folder. Edit this file or use EnableAntiCheat function (which can also be used during the game) to enable/disable the desired anticheats. |
I will try, even tho I think it wont change a thing.. Thank you, |
This array just wasn't designed for that So you don't need to declare this function in filterscripts, one time in gamemode would be enough |
It didn't worked.
in Still the same problem: when I connect 2 PC from the same IP to the server, whatever computer I /q with, the other computer will lose connection, then display a "Server restarted" message, and will try to reconnect to the server. Thank you, |
Is a kick message appears for the player in the console or in the chat in moment of reconnect? |
I already have crashdetects, there is nothing printed. It is very important, some building may have 100'000 computers with the same IP, Its not correct to limit to one connection by IPs. Have you tested it yourself, on your side? Can you connect 2 players from the same house and disconnect just one? Does your AC have been tested working with multiple connections from the same IP? Thank you, |
Of course it has been tested and works perfectly. |
Yes, in my previous test I changed the value of AC_MAX_CONNECTS_FROM_IP to 99 but with no different result. |
I clicked 'new' in Pawno, then included your AC just after a_samp and got this. |
My bad, I had a corrupted new file, ignore the previous message. |
Your AC doesn't seem to be compatible with multiple connections from the same IP.
I also set server_log.txt (I /q with player 'Rajouid_Patouille') :
This is the gamemode, nothing else is loaded, only 1 gamemode :
Thank you, |
Yes I can do that too, Thank you, |
This also works well for me I paid attention to your log, namely:
0 after the : indicates that the player has crashed, so check possible problem in your client or in some code on the server |
I tested it on a Windows 7 Desktop AND on a laptop Windows XP, with the bare script I showed, both do the same.
If the client would have crash, it would take more than 4 second to reconnect. |
Yes, I am a little mistake (perhaps more because of the language barrier). Nevertheless, I was referring to something that is not the server closes the connection with the player (ie it's not kick). The player closes the connection with the server. Respectively, my anticheat unlikely could do something like that.
Yes, as previously I said, I did it, all that you say. And there are no such problems were observed. I don't question any of your and my words, so I will try to check on any other computer with other people, but as long as everything works well. |
On what server have you tested it, I tested on a Windows 2008 Server. |
I do not think so. However try to start the server on hosting/dedicated server (on linux), maybe something will change... |
My server IS a dedicated/hosted server, rt-2 |
No, I tested it on Windows (10) too, and also many more people who haven't seen this on their servers (which as I understand mostly on Linux). Thus most likely the problem not in a specific operating system |
Yes I understand, but it seems like one of the last possible cause, I tested it on a BLANK gamemode, and the bug happened, do you have any other idea than the OS? |
Yes, good idea! I think this will be the quickest and easiest way to find out where the problem is. |
I know what happened during the test, you hosted a server In your local network, so when you connected to your own server, your 2 players has a different IP because they used yoir local network IPs like 192.168.0.1 and 168.192.0.2,, today I will demonstrate to you,, if you want again on discord, you will understand what mistake we made during the tests! |
The problem was found: anti-reconnect blocked the IP address of the disconnected player, so all players with the same IP forcibly left the server. |
Hi,
I normally test my server with 2 computer at the same time, a laptop, and my desktop.
I obviously deactivated "40 Protection from the sandbox".
Once including Nex-AC, I started having problems when using more than one player. Notably, when I connect a character from computer 1, then I connect another character with computer 2, when I disconnect computer 2, both loses connection.
Thank you,
rt-2
The text was updated successfully, but these errors were encountered: