blackdtools / Blackd-Proxy-CLASSIC

Blackd Proxy CLASSIC
MIT License
9 stars 7 forks source link

fixed aimbot target logic, don't look for the dead #13

Closed divinity76 closed 9 years ago

divinity76 commented 9 years ago

new logic: 1: if target name is specified, shoot target name. 2: if no target name is specified, but a target id specified (by battle), and target id is not dead, shoot target id 3: if no target name is specified, and a target id is specified (by battle), but the target id is already dead, then shoot first found target with the same name as the target id.

this is exactly what i tried to do last time i updated the aimbot logic, but i made a small bug: it would still look for the dead target (and not find it), instead of shooting an other target with the same name as the target id.

divinity76 commented 9 years ago

wups, still bugged, need to do some more testing/adjustments, nvm, don't merge this.