2013martin1212 Posted August 24, 2015 Share Posted August 24, 2015 Hello all i have a dayz szerver and i want to block the dumpin at the server its can be do it some way like if the player was remove the internet cable then the server was automatically kick ? and not just give a network trouble Link to comment
KariiiM Posted August 24, 2015 Share Posted August 24, 2015 Hello all i have a dayz szerver and i want to block the dumpin at the server its can be do it some way like if the player was remove the internet cable then the server was automatically kick ? and not just give a network trouble What's that? explain more better Link to comment
2013martin1212 Posted August 24, 2015 Author Share Posted August 24, 2015 If the server was find the network trouble faster than normal and kick the player like if i remove my internet cable i still can play around 10 15 seconds and that what i want to disable Link to comment
KariiiM Posted August 24, 2015 Share Posted August 24, 2015 (edited) If i understood what you're trying to do,I think not possible Edited August 24, 2015 by Guest Link to comment
t3wz Posted August 24, 2015 Share Posted August 24, 2015 onClientPlayerNetworkStatus onPlayerNetworkStatus Link to comment
Mr.Loki Posted August 24, 2015 Share Posted August 24, 2015 I use this to notify me of potential lag switchers... function packetLossCheck() for i,plr in pairs(getElementsByType'player')do local loss = getNetworkStats(plr)["packetlossLastSecond"] if (loss > 40) then outputDebugString("Packet loss detected from player: "..getPlayerName(plr)..".",3,0,0,255) end end end setTimer(packetLossCheck, 1000, 0) in combination with the example for onClientPlayerNetworkStatus Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now