Para's Script Library

03/26/2017 01:28 wbj26#1066
Quote:
Originally Posted by Paraly View Post
Send me your teamviewer details by PM, I can connect in ~45 minutes



%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
Actually it happens sometimes, I can not make sure it will happen when we teamview.
03/26/2017 01:34 Pfandflaschenhustler#1067
I'm new into your Programm, is scripting safe to use for the account if i not overdue it? Or are scripts just for "farmbot" Accounts to gain some items and Kinah and shouldnt be used for the main account?
03/26/2017 01:38 Paraly#1068
Quote:
Originally Posted by Pfandflaschenhustler View Post
I'm new into your Programm, is scripting safe to use for the account if i not overdue it? Or are scripts just for "farmbot" Accounts to gain some items and Kinah and shouldnt be used for the main account?
It's been a while since someone got banned.
As long as you don't use the Upper Forts / Lost Refuge script at EU you should be fine.
03/26/2017 07:44 FallenEdge#1069
Chanter has many conditional skills like:




When the player parry an attack


Parrying Strike
Splash Wings

__________________________________________________ ____________

When the player stumbles or stunts and monster

Resonance Haze
Soul Lock
Soul Crush



They can not be activated in a sequence because RNG, how to solve this, maybe using:


For the parry thing using chatlog like this ?


Code:
start_CombatChanter;

#EnableChatLog



#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;

_SearchChatLog=All: You stunned;
SmartSkill=1586,60000,1500,1000,False;
SmartSkill=1767,30000,50,2000,False; 
SmartSkill=1898,60000,50,1000,False;
#ClearChatLog
#ENDIF


end_CombatChanter;

Once I asked you how to check for abnormal state in a character so I could use cleanse and you gave this:



Code:
IFMemPtrRead=0x1578C38,0x6FC,BYTE,>0;<-- If more then 0 debuffs
#IF=%Timer=3937,500; <-- CLEANSE
#DO=750;
UseID=3937;
_UNTILMemRead=0x1521130,WORD,=3937;
_IFMemRead=0x1521130,WORD,=3937;
CreateTimer=3937;
MemWrite=0x1521130,0,WORD;
#DO=1000;
Delay=50;
_UNTILMemPtrRead=%PlayerBase,0x378/0x1588,DWORD,>0;
#DO=4000;
Delay=50;
_UNTILMemPtrRead=%PlayerBase,0x378/0x1588,DWORD,=0;
#ENDIF



This is old and only you can update the addresses + no idea if this only checks for certain abnormal things in a character.



How to check abnormal state in player, user or NPC in order to use a skill



Thanks in advance
03/26/2017 14:18 Paraly#1070
Quote:
Originally Posted by FallenEdge View Post
Chanter has many conditional skills like:




When the player parry an attack


Parrying Strike
Splash Wings

__________________________________________________ ____________

When the player stumbles or stunts and monster

Resonance Haze
Soul Lock
Soul Crush



They can not be activated in a sequence because RNG, how to solve this, maybe using:


For the parry thing using chatlog like this ?


Code:
start_CombatChanter;

#EnableChatLog



#EXECUTE=MidCombatChanter;

_IFMemPtrRead=%TargetBase,%OffsetHP,DWORD,>0;

_SearchChatLog=All: You stunned;
SmartSkill=1586,60000,1500,1000,False;
SmartSkill=1767,30000,50,2000,False; 
SmartSkill=1898,60000,50,1000,False;
#ClearChatLog
#ENDIF


end_CombatChanter;

Once I asked you how to check for abnormal state in a character so I could use cleanse and you gave this:



Code:
IFMemPtrRead=0x1578C38,0x6FC,BYTE,>0;<-- If more then 0 debuffs
#IF=%Timer=3937,500; <-- CLEANSE
#DO=750;
UseID=3937;
_UNTILMemRead=0x1521130,WORD,=3937;
_IFMemRead=0x1521130,WORD,=3937;
CreateTimer=3937;
MemWrite=0x1521130,0,WORD;
#DO=1000;
Delay=50;
_UNTILMemPtrRead=%PlayerBase,0x378/0x1588,DWORD,>0;
#DO=4000;
Delay=50;
_UNTILMemPtrRead=%PlayerBase,0x378/0x1588,DWORD,=0;
#ENDIF



This is old and only you can update the addresses + no idea if this only checks for certain abnormal things in a character.



How to check abnormal state in player, user or NPC in order to use a skill



Thanks in advance
Just put "_AutoChain" into the MidCombat routine and it will use all conditional skills when some are available.

Recognizing debuffs isn't really supported yet, if I add it someday I'll add the cleanse skill by myself.
03/26/2017 18:18 FallenEdge#1071
Quote:
Originally Posted by Paraly View Post
Just put "_AutoChain" into the MidCombat routine and it will use all conditional skills when some are available.

Recognizing debuffs isn't really supported yet, if I add it someday I'll add the cleanse skill by myself.

Seems like is working better with "_AutoChain" :)
03/26/2017 20:00 Paraly#1072
Seems like some people did use multiple scrolls from Fissure of Oblivion before even using the script, this will produce an error.
Be sure you enter Fissure of Oblivion normaly without pre using reset scrolls.
03/26/2017 23:12 xndinlove#1073
Quote:
Originally Posted by malysia View Post
Using the new function "Combat Wizard" my character when he dies does not return to the obelisk. Why do not you come back?
Quote:
Originally Posted by Paraly View Post
I know, the combat wizard isn't completly finished yet, I already thought there are might some bugs.
I gonna fix them tomorrow
my char does come back to the obelisk, but he doesn't go back to the grinding area.. i can clearly see the char trying to move.. but he stays at the obelisk forever
03/26/2017 23:13 Paraly#1074
Quote:
Originally Posted by xndinlove View Post
my char does come back to the obelisk, but he doesn't go back to the grinding area.. i can clearly see the char trying to move.. but he stays at the obelisk forever
Rerecord the return path and rebuild the script.
Be sure you record it FROM the obelisk TO the start point of your grinding path
03/27/2017 02:39 maggoberto#1075
Hey Paraly, just a quick question, how to add a certain mob to the blacklist on my custom made scripts? (when grinding).

Btw awesome work on the updates!

Regards
03/27/2017 02:43 Paraly#1076
Quote:
Originally Posted by maggoberto View Post
Hey Paraly, just a quick question, how to add a certain mob to the blacklist on my custom made scripts? (when grinding).

Btw awesome work on the updates!

Regards
Simply put this code below where you've selected a mob
Code:
_IFMemPtrRead=%TargetBase,%OffsetName,WCHAR[32],=blacklistmobnamehere;
SendKey=0x1B;
#ENDIF
____________________________


If you wanna build a combat script with the combat wizard you've to download the combat routine from the topic and load this file with the combat wizard.

In this way you can modify the build file to your likings and it costs less trafic at my server.
03/27/2017 18:54 FallenEdge#1077
What about if you create a free forum on [Only registered and activated users can see links. Click Here To Register...] or somewhere else to get all the information more organized, explained, create specific sections like:



Announcements
General discussion
Guides
Scripts
Problems



You use some #permalinks as a reference at the main page of this thread, but the rest of the information, questions answered are here in different pages.


You can keep the main thread [Only registered and activated users can see links. Click Here To Register...]
03/27/2017 20:00 Paraly#1078
Quote:
Originally Posted by FallenEdge View Post
What about if you create a free forum on [Only registered and activated users can see links. Click Here To Register...] or somewhere else to get all the information more organized, explained, create specific sections like:



Announcements
General discussion
Guides
Scripts
Problems



You use some #permalinks as a reference at the main page of this thread, but the rest of the information, questions answered are here in different pages.


You can keep the main thread [Only registered and activated users can see links. Click Here To Register...]
True, maybe I do it someday when I got too much free time.
03/27/2017 22:13 rr1#1079
can u explain me how the combat wizard works? please
03/27/2017 22:51 Paraly#1080
Quote:
Originally Posted by rr1 View Post
can u explain me how the combat wizard works? please
1. go to the nearest obelisk from where you wanna grind
2. click on record return path
3. walk to the start point of your grind location
4. stop recording the return path
5. click on record grind path
6. walk the way where you wanna kill mobs and be sure the path ends where it started so it can run in a loop
7. stop recording the grind path
8. load the combat routine you got from the script library
9. click on build script
10. load the created script in the Script Editor and play it