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 #15

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, instead of shooting an other target with the same name as the target id.

note that it may occasionally be affected by bug blackdtools/Blackd-Proxy-CLASSIC#12 , at least on tibia 7.6