BlubBlab's Housemaid Userfunction

Additional botting resources. Addons may be either for the game itself or for the RoM bot.
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Post Reply
Message
Author
User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

BlubBlab's Housemaid Userfunction

#1 Post by BlubBlab » Sat Oct 05, 2013 12:31 am

It perhaps a little early but only because I did implemented all the function I wanted up until now.

This userfunction is for the purpose to use housemaids in a very complex ways or simple way

You can setup a list like this

Code: Select all

 SetMaidList({{name = "My Housemaid",thrust = true, type = 2 }});
	This will change the housemaid "My Housemaid" to be increased affinity and use for mage buffs
You can overwrite the lists by command

Code: Select all

OverWriteAllUse(2)
This will get mage buffs from all housemaids you encounter
.
ChangeIncreaseAffinity(2)
This will change how many time try to change the affinity to 2
You can use let the bot "use" all housemaids by

Code: Select all

AutoUseAllMaids()

and many thinks more..

Basically this userfunction is for the purpose of getting the housemaid stuff and increase the affinity of the housemaids
Attachments
userfunction_housemaid.lua
v1.2 bug in affinity check fixed
(9.66 KiB) Downloaded 155 times
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Housemaid Userfunction

#2 Post by BlubBlab » Fri Jan 24, 2014 5:50 pm

I updated it. I fixes some bugs.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: BlubBlab's Housemaid Userfunction

#3 Post by Ego95 » Sat Jan 25, 2014 6:05 am

Need to tell you, that it is still buggy :/ Don't get it working to just use the inventive option (where you get potions) because it always rises affinity :(

still using

Code: Select all

	DoNotIncreaseAffinity(false)
	OverWriteAllUse(6)
in the onLoad and

Code: Select all

AutoUseAllMaids()
in my house :(

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Housemaid Userfunction

#4 Post by BlubBlab » Sat Jan 25, 2014 7:54 am

I did take a lock (again) the only problem I found was that I forget prioritize between the table and the global overwrite so If one is true, it always true. So check out if you wrote a table with thrust = true;
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

User avatar
Ego95
Posts: 564
Joined: Tue Feb 28, 2012 12:38 pm
Contact:

Re: BlubBlab's Housemaid Userfunction

#5 Post by Ego95 » Tue Feb 11, 2014 4:34 pm

Maybe anyone can tell me, what's wrong with this list :O
Got an error in my script, so I tried to put the onLoad content in a userfunction like I learned it from rock :)

Code: Select all

	SetMaidList({	{name = "Ima Spears",thrust = false, type = 6 }
					{name = "Adam Nonme",thrust = false, type = 6 }
					{name = "Heiger Kesosis",thrust = false, type = 6 }
					
					{name = "Kaimbe Paine",thrust = false, type = 6 }
					{name = "Berit Moore",thrust = false, type = 6 }
					{name = "Haldur Hewyrun",thrust = false, type = 6 }
					
					{name = "Shana Haysley",thrust = false, type = 6 }
					{name = "Mila Norris",thrust = false, type = 6 }
					{name = "Pascar Port",thrust = false, type = 6 }
	});

Code: Select all

Installing userfunctions. 2014-02-11 22:32:29 - scripts\/rom_ks/bot.lua:86: .../
rom_ks/userfunctions/userfunction_housemaid - Kopie.lua:2: '}' expected (to clos
e '{' at line 1) near '{'
Don't know what's wrong :/

User avatar
BlubBlab
Posts: 948
Joined: Fri Nov 30, 2012 11:33 pm
Location: My little Pony cafe

Re: BlubBlab's Housemaid Userfunction

#6 Post by BlubBlab » Tue Feb 11, 2014 6:38 pm

Try this:

Code: Select all

SetMaidList({   {name = "Ima Spears",thrust = false, type = 6 },
               {name = "Adam Nonme",thrust = false, type = 6 },
               {name = "Heiger Kesosis",thrust = false, type = 6 },
               
               {name = "Kaimbe Paine",thrust = false, type = 6 },
               {name = "Berit Moore",thrust = false, type = 6 },
               {name = "Haldur Hewyrun",thrust = false, type = 6 },
               
               {name = "Shana Haysley",thrust = false, type = 6 },
               {name = "Mila Norris",thrust = false, type = 6 },
               {name = "Pascar Port",thrust = false, type = 6 }
   });

The" ," was missing to separating the fields at least it is what I see.
Jack-of-all-trades, but master-of-only of a few :D

My Reps:
https://github.com/BlubBlab/Micromacro-with-OpenCV (My version of MM2 with OpenCV and for MS Visual Studio)
https://github.com/BlubBlab/rom-bot (rombot with no stop WP and advanced human emulation mode and some other extensions)
https://github.com/BlubBlab/Micromacro-2-Bot-Framework ( A work in progress )
My Tools : viewtopic.php?f=10&t=6226

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests