360° NO-SCOPE BUTTON | Python Project using win32api

Publicado em: 17 Janeiro 2019
no canal de: Simon Holmqvist
2,164
41

Have you ever wanted to 360° no-scope someone without the effort of doing the 360°? Well, now you can (provided that you can shoot the gun yourself)! In this video, you will see the power of this revolutionary technology demonstrated in Minecraft and Clustertruck.

IMPORTANT: Don't use this in competitive games like CS:GO or Overwatch or any other game where this would give you an unfair advantage.

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

♫Music By♫
●Kronicle - Wake Up
●Soundcloud -   / the-chemist-10  

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

♫Music By♫
●HookSounds – Days In New York    • Video  
●http://www.hooksounds.com/

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Outro song is Jetsons by Cxdy (from the YouTube music library)

▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

The code:
import pyautogui
import pygame
import keyboard
import time
import threading
import win32api
import win32con

pygame.init()

bg = (255, 255, 255)
pen_col = (255, 0, 0)

size = [700, 700]
screen = pygame.display.set_mode((0, 0), pygame.FULLSCREEN)
pygame.display.set_caption('Mime')
screen.fill(bg)

pressedKeys = []
mousePosLog = []
mimicking = False

rotation = [360, 0]
sensitivity = 143.25 # Minecraft = 50, Clustertruck = ca 143.25
trace_time = 0.35 # 0.35

preset_path = True


Function for checking if a button has been tapped
def tapped_button(button, ability):
if keyboard.is_pressed(button):
if button not in pressedKeys:
pressedKeys.append(button)
ability()
else:
if button in pressedKeys:
pressedKeys.remove(button)


done = False


def trace_path(path):
if preset_path:
path = []
for x in range(0, int(trace_time * 40)):
path.append([0, 0])
path[x][0] = int(x * (rotation[0] * 955 / sensitivity) / (trace_time * 40))
path[x][1] = int(x * (rotation[1] * 955 / sensitivity) / (trace_time * 40))

path[len(path)-1] = (int(rotation[0] * 955 / sensitivity), int(rotation[1] * 955 / sensitivity))

last_pos_x = path[0][0]
last_pos_y = path[0][1]

print("tracing")
for pos in path:
if not done:
win32api.mouse_event(win32con.MOUSEEVENTF_MOVE,
int(pos[0]) - int(last_pos_x),
-1 * (int(last_pos_y) - int(pos[1])))
last_pos_x = pos[0]
last_pos_y = pos[1]
time.sleep(0.025)
else:
break


clock = pygame.time.Clock()

while not done:
for event in pygame.event.get():
if event.type == pygame.QUIT:
done = True

Check if we should be tracking the position
def foo():
global mimicking
global mousePosLog
if not mimicking:
mousePosLog = []
mimicking = True
print('mimicking')
else:
mimicking = False
print('stopped mimicking')
tapped_button('m', foo)

Track the position
if mimicking:
mousePosLog.append(pyautogui.position())

Logs the mousePosLog array
def foo():
print(mousePosLog)
tapped_button('b', foo)

Clear screen and positions
def foo():
global mousePosLog
screen.fill(bg)
print('Cleared position')
mousePosLog = []
tapped_button('p', foo)

Play
def foo():
print('Moving mouse')
move_mouse(mousePosLog)
t = threading.Thread(target=trace_path, args=(mousePosLog, ))
t.start()
tapped_button('f', foo)

Disable fullscreen (doesn't always work)
def foo():
global screen
print("toggled")
screen = pygame.display.set_mode(size)
tapped_button('9', foo)

Exit
if keyboard.is_pressed('e'):
print('Done')
done = True

pygame.display.update()

clock.tick(40)

pygame.quit()


Nesta página do site você pode assistir ao vídeo on-line 360° NO-SCOPE BUTTON | Python Project using win32api duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Simon Holmqvist 17 Janeiro 2019, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 2,164 vezes e gostou 41 espectadores. Boa visualização!