Rostol
Member
- Joined
- Jul 19, 2014
- Messages
- 95
- Reaction score
- 1
[Plugin] Ghost Rider a Lazy Rider plugin BETA
Hey All,
Welcome to version 0.0.2b of Ghost Rider a Lazy Rider
What's new:
0.2 Beta:
0.0.1 Alpha
This is my modest contribution. It is plain to see it in the code that it is based on Out's farmer, so 95% of the credit is his. THANKS OUT.
How to use it:
Get ghostrider.cs and put it in /plugins/ghostrider
When enabled from the bot, 3 check boxes will show, 2 checked, 1 unchecked
Ghostrider - Unchecked - This controls the plugin, uncheck that and it will stop fighting almost immediately
Corpse loot - Enabled - Loot or not ? will probably remove it as i dont see the point for it.
Farm - Enabled - Attacks any target in your attack range, so it will attack mobs around you or your pet/party but not farther away the range is configurable but haven't found how to put it in the widget like the checkboxes. is is now set at 24m (my attack range)
What this bot does:
if you are attacked it will defend you.
If enabled will keep buffing you (upside: no afk - downside: if left for too long it's "botlike")
It will attack any attackable targets you select but ONLY if they are in attack range.
If farm is on: It attacks targets inside your attack range.
This is barebones 100% there is Minimal rotation of a healing combo (2 spells chained), and some attack spells:
To make your own rotation, get the source and your favorite editor ... switch to notepad ++ if you said huh? or use visual studio
find: void DoRotation
and put your rotation there, its EASY , for a simple list the skills in order of priority they should fire like so (MADE UP SKILLS FOR CLARITY):
dunno if me.InParty() exists
Strucrture is UseSkillif( SKILL, condition (default cast always), Target self? (defalut no)) it returns true if the casting was successful and false if it wasn't
UseSkillIf("Heal AOE",(me.InParty() && me.hpp < 30),true); //IE: use skill Heal AOE if i am in party and my health is < 30 (%)
UseSkillIf("Heal ME",(me.hpp < 30),true); //could be the same skill as above but a different hp point ?
UseSkillIf("AOE Killer",(getAggroMobs().Count > 0)); //more than one attacker ?
... and so on.
Also please post the rotations here so they can be discussed and maybe improved? i have very little experience with this game and cant really help you guys with that.
The code is up in Git, any forks and derivates are welcomed and encouraged ... it is the spirit that powers this bot.
This code is 100% free to use for anything you like, i would like if any improvements to the base of it (not the rotations, or thing to give you an edge ... but base, like improving conditionals, speed, reliability) are also freely given but its up to you.
Hey All,
Welcome to version 0.0.2b of Ghost Rider a Lazy Rider
What's new:
0.2 Beta:
- Farms mobs in a small area (your attack range)
- it now loots fine, stupid error corrected
- improved rotation significantly - conditional casts added
0.0.1 Alpha
- might crash
- basic attack
This is my modest contribution. It is plain to see it in the code that it is based on Out's farmer, so 95% of the credit is his. THANKS OUT.
How to use it:
Get ghostrider.cs and put it in /plugins/ghostrider
When enabled from the bot, 3 check boxes will show, 2 checked, 1 unchecked
Ghostrider - Unchecked - This controls the plugin, uncheck that and it will stop fighting almost immediately
Corpse loot - Enabled - Loot or not ? will probably remove it as i dont see the point for it.
Farm - Enabled - Attacks any target in your attack range, so it will attack mobs around you or your pet/party but not farther away the range is configurable but haven't found how to put it in the widget like the checkboxes. is is now set at 24m (my attack range)
What this bot does:
if you are attacked it will defend you.
If enabled will keep buffing you (upside: no afk - downside: if left for too long it's "botlike")
It will attack any attackable targets you select but ONLY if they are in attack range.
If farm is on: It attacks targets inside your attack range.
This is barebones 100% there is Minimal rotation of a healing combo (2 spells chained), and some attack spells:
Code:
while (GetGroupStatus("GhostRider"))
{
if (!me.isAlive() || !me.target.isAlive()) return;
// Be careful with spelling
// SKILLS NEED TO BE ORDERED BY IMPORTANCE
// IE: 1st : Heal cond: me.hp <33f
// use: UseSkillIf if you need a
//HEAL
if (UseSkillIf("Enervate", (me.hpp < 50)))
if (UseSkillIf("Earthen Grip", (me.hpp < 50)))
continue; //this skips the rest and restarts rotation to give highest prio to healing.
//CLEAN DEBUF
//FIGHT
if (UseSkillIf("Hell Spear", (hpp(targeCreature) >= 33) && ((TargetsWithin(5) > 1) || (me.hpp <75))))
aaa = UseSkillIf("Arc Lightning");
aaa = UseSkillIf("Freezing Arrow");
aaa = UseSkillIf("Flamebolt");
//BUFF
aaa= UseSkillIf("Insulating Lens", (buffTime("Insulating Lens (Rank 1)") == 0 ));
}
To make your own rotation, get the source and your favorite editor ... switch to notepad ++ if you said huh? or use visual studio
find: void DoRotation
and put your rotation there, its EASY , for a simple list the skills in order of priority they should fire like so (MADE UP SKILLS FOR CLARITY):
dunno if me.InParty() exists
Strucrture is UseSkillif( SKILL, condition (default cast always), Target self? (defalut no)) it returns true if the casting was successful and false if it wasn't
UseSkillIf("Heal AOE",(me.InParty() && me.hpp < 30),true); //IE: use skill Heal AOE if i am in party and my health is < 30 (%)
UseSkillIf("Heal ME",(me.hpp < 30),true); //could be the same skill as above but a different hp point ?
UseSkillIf("AOE Killer",(getAggroMobs().Count > 0)); //more than one attacker ?
... and so on.
Also please post the rotations here so they can be discussed and maybe improved? i have very little experience with this game and cant really help you guys with that.
The code is up in Git, any forks and derivates are welcomed and encouraged ... it is the spirit that powers this bot.
This code is 100% free to use for anything you like, i would like if any improvements to the base of it (not the rotations, or thing to give you an edge ... but base, like improving conditionals, speed, reliability) are also freely given but its up to you.
Last edited: