|
|
@ -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)
|
|
|
|
needsleep = 0
|
|
|
|
|
|
|
|
while True:
|
|
|
|
while True:
|
|
|
|
sleep(0.001)
|
|
|
|
sleep(0.00001)
|
|
|
|
ping.get_stats()
|
|
|
|
ping.ping()
|
|
|
|
#print('Ping')
|
|
|
|
|
|
|
|
|
|
|
|
for i in range(10000):
|
|
|
|
|
|
|
|
th = threading.Thread(target=main)
|
|
|
|
|
|
|
|
th.start()
|
|
|
|