Pygar
EQ2Bot Specialist
We released the new version of EQ2Bot today.
This new version has a complete re-write of all incombat movement functions. The bot now is aware of the true min and max ranges for spells and autoattack and the new functions use that logic. Also added strafe arcing for movement between quadrants while fighting.
CastSpellRange also got some improvements to better handle when targets of spells change and to prevent casting on the wrong player because they happen to be targeting the target of cast. In general just some significant improvements to target and positioning checks while casting.
CheckPosition now supports more values:
Here is a sample from castspellrange:
This new version has a complete re-write of all incombat movement functions. The bot now is aware of the true min and max ranges for spells and autoattack and the new functions use that logic. Also added strafe arcing for movement between quadrants while fighting.
CastSpellRange also got some improvements to better handle when targets of spells change and to prevent casting on the wrong player because they happen to be targeting the target of cast. In general just some significant improvements to target and positioning checks while casting.
CheckPosition now supports more values:
Code:
function CheckPosition(int rangetype, int quadrant, uint TID=${KillTarget},int AbilityID, bool castwhilemoving)
{
; rangetype (1=close, 2=max range, 3=bow shooting)
; quadrant (0=anywhere, 1=behind, 2=front, 3=flank, 4=rear or flank, 5=front or flank)
Code:
function CastSpellRange(int start, int finish, int xvar1, int xvar2, int TargetID, int notall, int refreshtimer, bool castwhilemoving, bool IgnoreMaintained, int CastSpellWhen, bool IgnoreIsReady)
{
;; Notes:
;; - IgnoreMaintained: If TRUE, then the bot will cast the spell regardless of whether or not it is already being maintained (ie, DoTs)
;;
;; CastSpellNow changed to CastSpellWhen
;; CastSpellWhen:
;; 0 = Queue Spell
;; 1 = Cast Immediately
;; 2 = Cast When Current Queue Complete
;;;;;;;
Last edited: