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

Hasla Assistant and my continued development

What would be cool if you could add the following item: Monstrous Desire - Archeage Database 1.7

Make the bot switch to the item, use the item and switch back to the main weapon, that would be really cool if you could try to implement this.

Honestly if you want to add features
if Mana < 50% equip & use itembyID then equip itembyID

I would make it something based on character profiles.
 
Updated the following to in the Loot.cs and recompiled
Code:
List<uint> purses = new List<uint>() {32059, 34915, 32059, 29207, 29206, 29205, 29204, 29203};
 
it can be good to add a movement function if mobs is stuck and immune, to hit him
 
um i'm curious is there any way to add the indexes to the list of items to use while farming in the library and it seems the instruments don't play all the time its a hit or miss if they do or don't play
 
Hey guys, i had some issues since the newest patch. I am starting to work on the plugin again today.

Does anybody have any experience coding to know if you were killed by a mob vs a player? I want to expand on that logic
 
When I put two of my bots in a party together some mobs don't get looted, has anyone else run into this?
 
If you're still working on this, could you add GM detection and recall when it does, or close game on GM detection, whatever works.
 
Last edited:
PROBLEM: Haslassistant uses HP/MP foods properly, but DOES NOT USE MP potions
(for example, have 300 basic MP potion named "Mage's Vapor" in inventory, with the correct setup on haslassistant, but it will not auto use it)

just a note for whoever is still developing haslassistant (posting this on this page and the other page that says in development)
***and yea like zaelious said, would also be great if GM detection was added (if it's not already implemented? not sure)

SOLVED: Thanks again to Mscard02 for clarifying so soon :) apparently mana potion is only used when MP is below 10% :)
 
Last edited:
PROBLEM: Haslassistant uses HP/MP foods properly, but DOES NOT USE MP potions
(for example, have 300 basic MP potion named "Mage's Vapor" in inventory, with the correct setup on haslassistant, but it will not auto use it)

just a note for whoever is still developing haslassistant (posting this on this page and the other page that says in development)
***and yea like zaelious said, would also be great if GM detection was added (if it's not already implemented? not sure)

SOLVED: Thanks again to Mscard02 for clarifying so soon :) apparently mana potion is only used when MP is below 10% :)


what line # is it to change to use mana/hp pots befoore it gets lower then 10%??
 
There is currently no user interface to change the % at which haslassistant will use mana/hp pots
I don't know anything about scripting, so might have to leave that for someone else to answer sorry haha :)
 
what line # is it to change to use mana/hp pots befoore it gets lower then 10%??


open up combat.cs in notepad and search for this line

if (usePotionMP && core.mpp() < 10)

change that 10 to whatever you want it to use potions for when your mana is less that that percent. IE 20 would mean use a potion when mana is less than 20%. Save it and rebuild it
 
open up combat.cs in notepad and search for this line

if (usePotionMP && core.mpp() < 10)

change that 10 to whatever you want it to use potions for when your mana is less that that percent. IE 20 would mean use a potion when mana is less than 20%. Save it and rebuild it


thank you mscard


iif anyone else is looking for this hit F3 and you can search. the HP pot option is above the MP i changed both.

now time to find meditate trying to get it to use meditate then check mana before using food to save some gold. ill try and do it myself before asking for help. this way i can learn somewhat.



one more thing we can list food so say i have 100 of X it runs out anyway we can have it check and notice food a ran out and it would switch to food Y . you would have to list them all but like food x,food y

hope that makes senses
 
Last edited:
thank you mscard


iif anyone else is looking for this hit F3 and you can search. the HP pot option is above the MP i changed both.

now time to find meditate trying to get it to use meditate then check mana before using food to save some gold. ill try and do it myself before asking for help. this way i can learn somewhat.



one more thing we can list food so say i have 100 of X it runs out anyway we can have it check and notice food a ran out and it would switch to food Y . you would have to list them all but like food x,food y

hope that makes senses

Be careful about adding code for that above mana, the issue is it will start channeling meditate while you are fighting, which wouldn't end well.

The code will use meditate before it goes into you food you have, the issue is these values are hard coded while the food amount isn't. Try this code and let me know if it works

Search For in Combat.cs:
if ((GetAggroCount() == 0 || core.mpp() < 15) && core.mpp() < 59 && CanCast(_MEDIDATE))


and replace it with:
if ((GetAggroCount() == 0 || core.mpp() < 15) && core.mpp() < Math.Max(20, prefs.minMP - 5) && CanCast(_MEDIDATE))

this should link your settings for mana with what you typed in the form so that it will use medidate then decide if it should eat food
 
thank you so much man. i was playing around with it i didnt get it right but i did learn some. now i just need to see how hard it would be to run to vendor to buy x seeds plant gather them replant if im out buy more with a set limit so i dont go blow all my gold. then samething with tree placemnt on 16x16. again ima try n figure it out. i should start small. I wanna add a auto logout/recall/teleport option to this plugin. farm mobs for say 60mins mins logout for 10 or whatver then relog back in and start it over. i just dont understand how to make forms without using vs13. well last time i did any 'coding' was vb3 lol


my only question would be id add this option setup to FormMain.cs and tooltips would be setup in FormMain.Designer?
 
ill test this out an let you know before the night is over 6:13pm est for me.
 
Be careful about adding code for that above mana, the issue is it will start channeling meditate while you are fighting, which wouldn't end well.

The code will use meditate before it goes into you food you have, the issue is these values are hard coded while the food amount isn't. Try this code and let me know if it works

Search For in Combat.cs:
if ((GetAggroCount() == 0 || core.mpp() < 15) && core.mpp() < 59 && CanCast(_MEDIDATE))


and replace it with:
if ((GetAggroCount() == 0 || core.mpp() < 15) && core.mpp() < Math.Max(20, prefs.minMP - 5) && CanCast(_MEDIDATE))

this should link your settings for mana with what you typed in the form so that it will use medidate then decide if it should eat food


seems to work very well med then if needed food if either on cd flute ect.. thank you
 
Back
Top