Para's Script Library

03/25/2017 05:23 Paraly#1051
Quote:
Originally Posted by FallenEdge View Post
I am trying to build a combat rotation for chanter (using a base of combat wizard), so far is working but I have a question.

In the script you just set an ID for a certain skill ID and it will work for all the levels, wondering if I will have to manually update skill ID every time it levels up ?


For example: Hallowed Strike has an starting ID of 1614, when you level up to 3 it will change to 1615
It will always use the highest available ID even if you leveled up he rechecks it everytime he uses an SmartSkill.

Would be nice if you could share the chanter rotation once you finished it :)
03/25/2017 05:29 FallenEdge#1052
Quote:
Originally Posted by Paraly View Post
It will always use the highest available ID even if you leveled up he rechecks it everytime he uses an SmartSkill.

Would be nice if you could share the chanter rotation once you finished it :)
Then if I start with a level 1 skill ID, SmartSkill will later automatically pick the highest version.

Another thing, here:
Code:
SmartSkill=[SkillID],[Cooldown],[Cast or Animation time],[Chaintime],[Chargetime];
Chaintime = I have to figure out the time that it takes the animation to finish ?



I will share the rotation, I am not expert with chanter have to try most effective combo.
03/25/2017 05:33 Paraly#1053
Quote:
Originally Posted by FallenEdge View Post
Then if I start with a level 1 skill ID, SmartSkill will later automatically pick the highest version.

Another thing, here:
Code:
SmartSkill=[SkillID],[Cooldown],[Cast or Animation time],[Chaintime],[Chargetime];
Chaintime = I have to figure out the time that it takes the animation to finish ?



I will share the rotation, I am not expert with chanter have to try most effective combo.
It picks the highest possible just in case the skillID you have set isn't available, so you should always use the highest ID of that skill.

Yes, you need to enter the animationtime for the chain skills, I usually give 1000ms for each chainskill, even if you enter a far too high number the script editor will only wait up to 500ms longer when no chainskill is available anymore.
03/25/2017 05:42 FallenEdge#1054
Quote:
Originally Posted by Paraly View Post
It picks the highest possible just in case the skillID you have set isn't available, so you should always use the highest ID of that skill.

Yes, you need to enter the animationtime for the chain skills, I usually give 1000ms for each chainskill, even if you enter a far too high number the script editor will only wait up to 500ms longer when no chainskill is available anymore.
Hallowed Strike has triple chainskill at level 65, will SmartSkill activate all or just one chain?
03/25/2017 05:44 Paraly#1055
Quote:
Originally Posted by FallenEdge View Post
Hallowed Strike has triple chainskill at level 65, will SmartSkill activate all or just one chain?
It will continue the chain till end, just use a chaintime around 2500-3000
03/25/2017 06:00 Exem strike#1056
[EXP] Fallen Poet - Script ver. 1.01, very good but yes when it will use skill weakend spirit the char falls on the ground and dies, this in the second crystal
03/25/2017 16:00 FallenEdge#1057
When I use this skill Word of Revival [Only registered and activated users can see links. Click Here To Register...] the tool will not evaluate the condition, it will use it anytime, using the highest ID

Code:
IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1745,5000,0,False,False; 
#ENDIF

Also we dont have a
Code:
%OffsetPercentMP
The bot is not drinking the name of the pots you write at the star of the script so I am using:

Code:
_IFMemPtrRead=%PlayerBase,%OffsetMP,DWORD,<Number;
Command=/use Potion;
#ENDIF
I have to manually set a mana number :( when % will works for ever
03/25/2017 16:07 Paraly#1058
Quote:
Originally Posted by FallenEdge View Post
When I use this skill Word of Revival [Only registered and activated users can see links. Click Here To Register...] the tool will not evaluate the condition, it will use it anytime, using the highest ID

Code:
IFMemPtrRead=%PlayerBase,%OffsetPercentHP,BYTE,<50;
SmartSkill=1745,5000,0,False,False; 
#ENDIF
May the 0 at animationtime is causing this issue, give it at least 50ms.
Which level is your toon you're testing the script with?

Quote:
Originally Posted by FallenEdge View Post
Also we dont have a
Code:
%OffsetPercentMP
Aion has no MP percent, you need to calculate it yourself with %OffsetMP and %OffsetMaxMP

example:
Code:
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,1; <-- saves max MP in %Var1
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,2; <-- saves current MP in %Var2
_Calc1=%Var2/%Var1; <-- divides %Var2 trough %Var1 and saves the result in %Var1
_Calc1=%Var1*100; <-- multiplies %Var1 with 100 and saves the result in %Var1
WaitForResponse=Current mana percent: %Var1%;
Edit: Something is wrong with multiplying with 100 gonna check that later
Edit2: this will work when vanillatool 3.34 is released

Quote:
Originally Posted by FallenEdge View Post
The bot is not drinking the name of the pots you write at the star of the script so I am using:

Code:
_IFMemPtrRead=%PlayerBase,%OffsetMP,DWORD,<Number;
Command=/use Potion;
#ENDIF
I have to manually set a mana number :( when % will works for ever
My templar is grinding for 5 hours and he uses the potion perfectly, you use the latest combat routine?
03/25/2017 16:28 FallenEdge#1059
Quote:
Originally Posted by Paraly View Post
May the 0 at animationtime is causing this issue, give it at least 50ms.
Which level is your toon you're testing the script with?


Aion has no MP percent, you need to calculate it yourself with %OffsetMP and %OffsetMaxMP

example:
Code:
_MemPtrReadVar=%PlayerBase,%OffsetMaxMP,WORD,1; <-- saves max MP in %Var1
_MemPtrReadVar=%PlayerBase,%OffsetMP,WORD,2; <-- saves current MP in %Var2
_Calc1=%Var2/%Var1; <-- divides %Var2 trough %Var1 and saves the result in %Var1
_Calc1=%Var1*100; <-- multiplies %Var1 with 100 and saves the result in %Var1
WaitForResponse=Current mana percent: %Var1%;
Edit: Something is wrong with multiplying with 100 gonna check that later


My templar is grinding for 5 hours and he uses the potion perfectly, you use the latest combat routine?
Well it is not skill ID the problem just test it with 3 different IDs and also not a cool down issue, tested it with 500

Level 34 chanter

I am not using the new routine forgot to test with that, I am working with an old one since I have some tweaks + still building the chanter routine.







Update: Can you explain what does these do, please:





Code:
%OffsetType		
%OffsetClassID	
%OffsetCurrentID
03/25/2017 16:32 malysia#1060
Can you modify the script "Fallen Poet" to collect the "supply box"?
03/25/2017 17:49 Paraly#1061
Quote:
Originally Posted by malysia View Post
Can you modify the script "Fallen Poet" to collect the "supply box"?
unlikely I add this in the near future, what loot does it have?
Maybe in ~5 weeks.
03/25/2017 18:03 wbj26#1062
Hi, Para
I still got same problem which is 'Stuck' at beginning house of the FIssure, with 1.28 scipt and OS ENG.
03/25/2017 18:07 Paraly#1063
Quote:
Originally Posted by wbj26 View Post
Hi, Para
I still got same problem which is 'Stuck' at beginning house of the FIssure, with 1.28 scipt and OS ENG.
Send me your teamviewer details by PM, I can connect in ~45 minutes

Quote:
Originally Posted by FallenEdge View Post
Update: Can you explain what does these do, please:

Code:
%OffsetType		
%OffsetClassID	
%OffsetCurrentID
%OffsetType has different values, for example youself have the type "Player" other users have the type "User" and other npcs or mobs have the type "NPC"

%OffsetClassID has the class ID
here's a list of which IDs are which class
Code:
Warrior - 0
Gladiator - 1
Templar - 2
Scout - 3
Assassin - 4
Ranger - 5
Mage - 6
Sorcerer - 7
Spirit Master - 8
Priest - 9
Cleric - 10
Chanter - 11
Technist - 12
Aethertech - 13
Gunslinger - 14
Muse - 15
Songweaver - 16
%OffsetCurrentID displays the current used skill ID, for example if you use skill 2048 it will display 2048 while you're using this skill
03/25/2017 19:12 FallenEdge#1064
The problem with Word of Revival was:



Code:
IFMemPtrRead
vs

Code:
_IFMemPtrRead
:rolleyes:


You didn't notice it too in my previous example xD
03/25/2017 19:17 Paraly#1065
Quote:
Originally Posted by FallenEdge View Post
The problem with Word of Revival was:



Code:
IFMemPtrRead
vs

Code:
_IFMemPtrRead
:rolleyes:


You didn't notice it too in my previous example xD
I know your feelings, this also happend to me once :D

______________


I have added a Sorcerer skill rotation to the Fire Temple script, Fallen Poeta script and to the Combat wizard.
Thanks to [Only registered and activated users can see links. Click Here To Register...] for the Sorcerer rotation :)