onincomingconnection
#1

Hi,

What mean port in this function?
Reply
#2

Check this out: https://*******/st3U8o
I think so that I'll give you the port from which the player is connecting.
Reply
#3

https://en.wikipedia.org/wiki/Ephemeral_port
Reply
#4

If player is using sandbox (in one computer launch 2 gta or more) these port will be same?
Reply
#5

Quote:
Originally Posted by Bussyman
Посмотреть сообщение
If player is using sandbox (in one computer launch 2 gta or more) these port will be same?
Yes !
Reply
#6

So i can do check in onincomingconnection and safe kick? because i don't want allow sandbox
Reply
#7

Quote:
Originally Posted by HoussemGaming
Посмотреть сообщение
Yes !
Do you have any evidence to back that up, whatsoever? Because I call bullshit. The game chooses a random port from the range I posted above each time it starts up and the chance that the same port would be chosen twice is 0.00006%.

It is impossible to detect if the game is running in a VM or sandbox unless you can retrieve the MAC address, which you can't.
Reply
#8

The only way to block a computer to allow connection once is how @Vince said, but sadly SAMP doesn't support MAC adresses in the PAWN library. I'd suggest to just trust your members on playing honestly, after all, why would the players connect multiple times? I suppose I'd see such behaviour by a staff, but by players? Nah..
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)