What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

[Plugin] Hasla Weapon Assistant

Status
Not open for further replies.
Malise said:
I'm sorry. What am I doing wrong? He be with me in the party, but does nothing. Just runs and runs a mob around him

I'm not sure. It might be caused by the plugin trying to use a skill your character doesn't have. Still working on a better version with more builds supported by default (and more checks to make it easier to use)

compassion tokens nor rolling because Name is not detected...
did a name and id dump and it shows like this
Name: " " - ID: 35525
also when rolling in the logs you get this
Passing on : " "

fixed

else if(item.id == 26056)
doRoll = GetGroupStatus("Conviction (Staff)");

else if (item.id == 26055)
doRoll = GetGroupStatus("Courage (Bow)");

else if (item.id == 35525)
doRoll = GetGroupStatus("Compassion (Heal)");

else if (item.id == 26057)
doRoll = GetGroupStatus("Fortitude (Shield)");

else if (item.id == 26053)
doRoll = GetGroupStatus("Honor (1H)");

else if (item.id == 26054)
doRoll = GetGroupStatus("Loyalty (2H)");

else if (item.id == 26058)
doRoll = GetGroupStatus("Sacrifice (Lute)");

I assume you were using a non-english client (I tend to forget about these). And thanks for the ID, i'll edit code in original post so it works for everyone else.


Karls can you post your exact build with your plugin. I want to basically plugin and play this so I wont have to tweak it to much. Most appreciated. <3

That should be the only skills I was using when I farmed the weapon, just use remaining points to get more damage/regen passives: ArcheAge Builder - Arche-Base

Is there a way to just take the auto roll and auto declines part into it's own plug-in?
Something where if I'm actually controlling the character, and it will filter through the tokens for me?
That way I can pay attention to the combat and only have to click on rolls if its not tokens or coin bags?

Just checking the token checkboxes (and leaving "Farm Mobs ON" unchecked) will take care of rolling on loot and keeping your screen clean without taking control of your character. Just edit that line to stop it from getting in combat by default when you start it.
Code:
SetGroupStatus("Farm mobs ON", true);
To
Code:
SetGroupStatus("Farm mobs ON", false);
 
I assume you were using a non-english client (I tend to forget about these). And thanks for the ID, i'll edit code in original post so it works for everyone else.

Just as a note, I'm using an english client and it was the same for me. Would pass every time. Thankfully as soon as I noticed, a fix was already provided! :D

Excellent work on this. Only issue I've had with it - sometimes it will target the hasla rift and run off to it. Mostly when I first turn it on. Could you make it ignore the rift? I haven't read enough of the API to do it myself. :P
 
Good point about the rift, the world boss should probably be ignored as well incase your raid is at the spot around his spawn (he never gets killed on my server at least, so he hangs around for a long while)
 
is it possible to add a wait time for rolling? the bot is always first roller... ;)

Increase the Sleep values in the LootThread() function so it waits longer between rolls and checks for loot less often.
 
this would be amazing if it supported all classes and had a nice gui to change the values on :)
 
Congrats Nandobh, glad it helped someone!

There a way to ignore to golem?

In that part of the code:
Code:
public Creature GetBestNearestMob(Zone zone)
        {
            try
            {

                foreach (var obj in getCreatures())
                {
                    if (obj.type == BotTypes.Npc && isAttackable(obj) && (obj.firstHitter == null || obj.firstHitter == me || team.Contains(obj.firstHitter))
                        && isAlive(obj) && (zone.ObjInZone(obj) || me.dist(obj) < _COMBAT_RANGE)
                        && (hpp(obj) == 100 || obj.aggroTarget == me || team.Contains(obj.aggroTarget)))
                    {
                        return obj;
                    }
                }
            }
            catch { }
            return null;
        }

You can replace it by (with the right names, not sure if mobs have a static ID that can be used to work with all languages)

Code:
public Creature GetBestNearestMob(Zone zone)
        {
            try
            {
                foreach (var obj in getCreatures())
                {
                    if (obj.type == BotTypes.Npc && isAttackable(obj) && (obj.firstHitter == null || obj.firstHitter == me || team.Contains(obj.firstHitter))
                        && isAlive(obj) && (zone.ObjInZone(obj) || me.dist(obj) < _COMBAT_RANGE)
                        && (hpp(obj) == 100 || obj.aggroTarget == me || team.Contains(obj.aggroTarget))
                        && obj.name != "Golem boss' real name"
                        && obj.name != "Hasla rift object's real name"
                    )
                    {
                        return obj;
                    }
                }
            }
            catch { }
            return null;
        }
 
Started getting back into botting a bit more again and working to improve the the plugin a bit more by combining it with my personal grind plugin, to make a hasla-focused grinding plugin (but that works anywhere).

Still on the early stage of UI (and missing some trees to have it use all PvE skills - and maybe some undumbing to use them efficiently), but hoping to have something good and easy to use for you guys eventually ;)
 
My character doesn't attack all the mobs around, what might be the problem? It attacks 50% of them, and never attacks those that my raid mates have tagged
 
Noticed some similar issues with that version, but I scraped it entirely on my side to start fresh on a better one, so won't have any updates until I get that new version in a working state.
 
Noticed some similar issues with that version, but I scraped it entirely on my side to start fresh on a better one, so won't have any updates until I get that new version in a working state.

I'll be patiently waiting :)
 
I was a little worried about about using AB on my main.
But since now I need more 450 tokens, I think I will use your code xD, I was reading it and it seems fine, but I will check your new version when available also!
 
I click compile and it doesn't seem to do anything, I'm not sure what im doing wrong :(

EDIT: sorted, im a douche!
 
Last edited:
My AA keeps crashing when Im using this plugin... weird..

EDIT:

Can a line be added in there where you can't target the "Cursed Giant Stone Golem"?
Also can this be included in the widget to change the mob detection range from 20/30/40/50?
 
Last edited:
My AA keeps crashing when Im using this plugin... weird..

EDIT:

Can a line be added in there where you can't target the "Cursed Giant Stone Golem"?
Also can this be included in the widget to change the mob detection range from 20/30/40/50?

yeah..this plugin keep crashing recently..is there we can see the log?
 
Status
Not open for further replies.
Back
Top