Quote:
Originally Posted by 7life
ty for this. can i do the same for pot? and btw i am at Eu aion. ty
|
This address will just log skill usage, but you could do it for the potions aswell if you use some chat log detection.
like this
Code:
#IF=%FirstTime,;
#EnableChatLog
#ClearChatLog
UseSpeed=1;
#UseLoop
#ENDIF
#IF=%FlightTime,<%MaxFlightTime-179;
#IF=%Timer=4580,180000; <-- Soaring Sonnet
#DO=2000;
UseID=4580;
_UNTILMemRead=0x1573070,WORD,=4580;
_IFMemRead=0x1573070,WORD,=4580;
CreateTimer=4580;
MemWrite=0x1573070,0,WORD;
#ENDIF
#IF=%FlightTime,<%MaxFlightTime-200;
#IF=%Timer=162000125,64000; <-- Superior Wind Serum
#EXECUTE=Potion;
#ENDIF
start_Potion;
_MemPtrWrite=%PlayerBase,0x378/0x540,0,BYTE;
#DO=2000;
UseID=162000125;<- Superior Wind Serum
_SearchChatLog=You have used Superior Wind Serum.;
_MemPtrWrite=%PlayerBase,0x378/0x540,1,BYTE;
#ClearChatLog
CreateTimer=162000125;
#ENDIF
_UNTILMemPtrRead=%PlayerBase,0x378/0x540,BYTE,=1;
end_Potion;