feat: implement various player hacks and refactor main loop for modularity
Some checks failed
Python Type Check and Lint / ci (push) Failing after 1s

This commit is contained in:
암냥 2026-05-30 18:45:42 +09:00
commit 1730b73d1f
9 changed files with 141 additions and 85 deletions

View file

@ -97,3 +97,18 @@ class Entity:
segments=0,
color=self.color,
)
def process_entities(proc, ent_buffer, v_matrix, enable_esp):
valid_entities = []
for addr in ent_buffer:
if addr == 0: continue
try:
ent = Entity(proc, addr)
valid_entities.append(ent)
if enable_esp and ent.wts(v_matrix):
ent.draw_box()
ent.draw_name()
ent.draw_health()
except:
continue
return valid_entities