|
|
@ -3,16 +3,17 @@
|
|
|
|
#NO NULLPING
|
|
|
|
#NO NULLPING
|
|
|
|
|
|
|
|
|
|
|
|
from mctools import PINGClient
|
|
|
|
from mctools import PINGClient
|
|
|
|
#ping = PINGClient('play.dmcraft.online')
|
|
|
|
|
|
|
|
ping = PINGClient('127.0.0.1')
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#My libraries
|
|
|
|
#My libraries
|
|
|
|
from time import sleep
|
|
|
|
from time import sleep
|
|
|
|
|
|
|
|
import threading
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
|
|
|
|
ping = PINGClient('127.0.0.1', 25577)
|
|
|
|
|
|
|
|
while True:
|
|
|
|
|
|
|
|
sleep(0.00001)
|
|
|
|
|
|
|
|
ping.ping()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
for i in range(10000):
|
|
|
|
needsleep = 0
|
|
|
|
th = threading.Thread(target=main)
|
|
|
|
while True:
|
|
|
|
th.start()
|
|
|
|
sleep(0.001)
|
|
|
|
|
|
|
|
ping.get_stats()
|
|
|
|
|
|
|
|
#print('Ping')
|
|
|
|
|
|
|
|