Para's Script Library

04/20/2017 03:26 Deus5000#1156
Quote:
Originally Posted by Paraly View Post
Yeah found the wrong offset, it should work with the latest version.
ah kk, i'll check it again later. Ty.

Quote:
Originally Posted by Deus5000 View Post
ah kk, i'll check it again later. Ty.
Ok Just checked it. Still the same problem as before :/

I think i'll just have my friend remake the script using the latest fissure script rather than trouble you with tweaking stuff Paraly.
04/21/2017 02:00 FaCaDa_BRA#1157
Please, create a script for the new event.
04/21/2017 08:19 therockblack#1158
Esoterrace scrip dont work? u delete it from the list? thx
04/21/2017 11:07 Paraly#1159
Quote:
Originally Posted by therockblack View Post
Esoterrace scrip dont work? u delete it from the list? thx
The topic has just space for 15 scripts and esoterrace isn't useful enough to be there :p
Anyways I can upload the esoterrace script here if you like, just be aware that you only get 2 chests from esoterrace and those are only lootable from 50-64
04/21/2017 13:05 therockblack#1160
Quote:
Originally Posted by Paraly View Post
The topic has just space for 15 scripts and esoterrace isn't useful enough to be there :p
Anyways I can upload the esoterrace script here if you like, just be aware that you only get 2 chests from esoterrace and those are only lootable from 50-64
yes please its will be useful for me, thx
04/22/2017 03:19 zxmmxzzxmmxz#1161
Hey, is it possible to check the status of the skill casting bar?

For instance, I wanna have a combat script check for the casting status of fear and use a skill when it's like 95%.

I have tried something to search for chat log and do stuff when it reads the log but it's not fast enough because two things:
1.it's not fast enough to loop back to the start so that it has some delay to check the text
2.casting speed is not fast enough

Any help is appreciated
04/22/2017 09:01 Paraly#1162
Quote:
Originally Posted by zxmmxzzxmmxz View Post
Hey, is it possible to check the status of the skill casting bar?

For instance, I wanna have a combat script check for the casting status of fear and use a skill when it's like 95%.

I have tried something to search for chat log and do stuff when it reads the log but it's not fast enough because two things:
1.it's not fast enough to loop back to the start so that it has some delay to check the text
2.casting speed is not fast enough

Any help
Code:
#IF=%Timer=3775,30300;
UseID=3775;
Delay=125;
_MemPtrReadVar=%PlayerBase,%OffsetCastTime,DWORD,19;
#DO=%Var19;
Delay=5;
_UNTILMemPtrRead=%PlayerBase,%OffsetCastTimeRemain,FLOAT,<0.3;
SendKey=0x57;
CreateTimer=3775;
#ENDIF
this snippet should skip the cast as soon the cast just has 300 milliseconds left
04/22/2017 09:50 therockblack#1163
Quote:
Originally Posted by Paraly View Post
The topic has just space for 15 scripts and esoterrace isn't useful enough to be there :p
Anyways I can upload the esoterrace script here if you like, just be aware that you only get 2 chests from esoterrace and those are only lootable from 50-64
Yes, you can upload the script please?
04/22/2017 09:52 Paraly#1164
Quote:
Originally Posted by therockblack View Post
Yes, you can upload the script please?
Yes as soon as I'm at my PC.
04/22/2017 17:38 moonyshen#1165
got a question about the script, I'm not sure it is my client problem or script, space button blink all the time from start. and it takes so long between commands, for example, it takes at least 30 seconds to loot one chest in upper forts, is this because of the delay time or what, it used to work perfectly for me.
04/22/2017 17:40 Paraly#1166
Quote:
Originally Posted by moonyshen View Post
got a question about the script, I'm not sure it is my client problem or script, space button blink all the time from start. and it takes so long between commands, for example, it takes at least 30 seconds to loot one chest in upper forts, is this because of the delay time or what, it used to work perfectly for me.
You use the latest version of vanillatool?
Did you try a client restart?
EU or NA?
04/22/2017 17:46 moonyshen#1167
Quote:
Originally Posted by Paraly View Post
You use the latest version of vanillatool?
Did you try a client restart?
EU or NA?
yep, i used Para's VanillaTool -Rework- 3.62
i tried fissure today too, both failed, characters falling.
NA
couldn't find where is the problem, so weird

"I restart my desktop, it works really good now." thanks for help paraly.
04/22/2017 20:21 clouds12#1168
Quote:
Originally Posted by moonyshen View Post
yep, i used Para's VanillaTool -Rework- 3.62
i tried fissure today too, both failed, characters falling.
NA
couldn't find where is the problem, so weird

"I restart my desktop, it works really good now." thanks for help paraly.
Your issue happens to me also sometime but only on Chanters. To fix it you have to reboot your pc.
04/22/2017 22:22 zxmmxzzxmmxz#1169
Quote:
Originally Posted by Paraly View Post
Code:
#IF=%Timer=3775,30300;
UseID=3775;
Delay=125;
_MemPtrReadVar=%PlayerBase,%OffsetCastTime,DWORD,19;
#DO=%Var19;
Delay=5;
_UNTILMemPtrRead=%PlayerBase,%OffsetCastTimeRemain,FLOAT,<0.3;
SendKey=0x57;
CreateTimer=3775;
#ENDIF
this snippet should skip the cast as soon the cast just has 300 milliseconds left
Actually it's not exactly what I mean, sorry for the confusion, I will try illustrate again.

Following is my current code snippet:

PHP Code:
#DO=60000;
Delay=5;
_UNTILMemPtrRead=%TargetBase,%OffsetCastTimeRemain,FLOAT,>0;
Command=using skill;

#DO=60000;
Delay=5;
_UNTILMemPtrRead=%TargetBase,%OffsetCastTimeRemain,FLOAT,<0.3;
Command=less than 30%;

_IFMemPtrRead=%TargetBase,%OffsetCastTimeRemain,FLOAT,>0;
Command=still on;
#ENDIF
Command=next round; 
2 more things I can't find the answers yet.

1.I wanna check for if the target is casting a certain skill, for instance, fear.(I don't know how to find the skill ID or offset of the target currently casting spell.
2.The code above won't go through to print "less than 30%" even if the target's spell is about to finish.

Thanks for further assistance, will donate some if I can get my new combat script done :):)
04/23/2017 13:22 Paraly#1170
Quote:
Originally Posted by zxmmxzzxmmxz View Post
Actually it's not exactly what I mean, sorry for the confusion, I will try illustrate again.

Following is my current code snippet:

PHP Code:
#DO=60000;
Delay=5;
_UNTILMemPtrRead=%TargetBase,%OffsetCastTimeRemain,FLOAT,>0;
Command=using skill;

#DO=60000;
Delay=5;
_UNTILMemPtrRead=%TargetBase,%OffsetCastTimeRemain,FLOAT,<0.3;
Command=less than 30%;

_IFMemPtrRead=%TargetBase,%OffsetCastTimeRemain,FLOAT,>0;
Command=still on;
#ENDIF
Command=next round; 
2 more things I can't find the answers yet.

1.I wanna check for if the target is casting a certain skill, for instance, fear.(I don't know how to find the skill ID or offset of the target currently casting spell.
2.The code above won't go through to print "less than 30%" even if the target's spell is about to finish.

Thanks for further assistance, will donate some if I can get my new combat script done :):)
1. Fear has the skill ID 3775, you can get such IDs from the [Only registered and activated users can see links. Click Here To Register...]
And you can read them like this
Code:
#DO=300000;
Delay=5;
_UNTILMemPtrRead=%TargetBase,%OffsetCurrentID,DWORD,=3775;
WaitForResponse=Target is casting fear!;
2. Could be possible that this address can just be readed from %PlayerBase, I'll tell you how to do it when I'm at my PC.
I guess you wanna use perfect evade skills from sin / ranger when a SM is about to finish a fear cast, right?