planting like the flintstones

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.
Message
Author
Tamyra
Posts: 133
Joined: Tue Feb 01, 2011 6:09 pm

Re: planting like the flintstones

#21 Post by Tamyra » Tue Feb 14, 2012 2:37 pm

I know this is working as is, but...Here's a thought, maybe place your newbie pet in the hot-bar and create a wait time to allow it to show up upon log in, then just select the number associated with the hot-bar location to recall it?

jester
Posts: 15
Joined: Sun May 13, 2012 12:48 pm

Re: planting like the flintstones

#22 Post by jester » Sun May 13, 2012 12:50 pm

Hi! tried to run the bot on the Russian server, but the function plantcare() does not work ... why?

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#23 Post by lisa » Sun May 13, 2012 7:19 pm

jester wrote:but the function plantcare() does not work ... why?
That is like saying to someone, "my computer is broken it won't send email" there could be hundreds of reasons.

Please give us some kind of hint as to why it isn't working, there has been a lot of effort into putting in troubleshooting prints to make it easier to determine the cause of issues. So please either copy what is printed on micromacro, or type it out or take a screen shot and post it.

Without more information there is nothing I can do to help you.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

jester
Posts: 15
Joined: Sun May 13, 2012 12:48 pm

Re: planting like the flintstones

#24 Post by jester » Sun May 13, 2012 9:00 pm

I use a file of waypoints:

<?xml version="1.0" encoding="utf-8" ?>
- <waypoints>
- <onLoad>
- <![CDATA[
PlantCare()

sendMacro("}LoginNextToon=true;a={")
sendMacro("Logout();");
waitForLoadingScreen();
loadPaths("plantcare");

]]>
</onLoad>
</waypoints>

I attach a screenshot.

characters on the boat moves, but watering is not done ... What other information may be requested to report to me?
Attachments
Снимок.PNG

blackpanzer
Posts: 18
Joined: Sat Jun 11, 2011 12:07 pm

Re: planting like the flintstones

#25 Post by blackpanzer » Sun Jan 06, 2013 11:29 am

Hi, nice work

I have a problem with the waypoint.
PlantCare function does not work, but the bot will log only from character to character.

Can anyone tell me why the function not work?

userfunction_PlantCare.lua -copy in userfunction folder
seeds.xml -copy in database folder

RomBot-Version is Revision 744.

Please help me & sorry for my bad english.

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#26 Post by lisa » Sun Jan 06, 2013 6:50 pm

My guess is you both need to get the addon
7. get the addon, ummm "plantcare" just D/L from curse here
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

blackpanzer
Posts: 18
Joined: Sat Jun 11, 2011 12:07 pm

Re: planting like the flintstones

#27 Post by blackpanzer » Wed Jan 09, 2013 12:04 am

Hi Lisa,

I have Plantcare-Version 2.18.1

Niki
Posts: 6
Joined: Tue Nov 24, 2009 5:18 am

Re: planting like the flintstones

#28 Post by Niki » Tue Jan 15, 2013 8:43 am

Hi Lisa!
thanks for this nice waypoint file.
@ blackpanzer
There are a few changes necessary that this waypoint works with new Seeds and Pots.
1.) Add the seeds with lvl>55 to the seed.xml
2.) in the userfunctions.lua is a section where it creates a table with the pots.
If you you use a different client language than english you have to change the Strings from "pot" to "Topf" (German ie).
You also have to add more string searches if you use pots which have not the string "pot" in the name.

@Lisa

If still have troubles that the localize-function doesn't find the pot sometimes. Especially when he harvest the plant which disappears and the function makes a second try to plant again but the object became smaller without the plant in the pot.

Is there any possibility to activate the object with the unique Adress in the table like targetobject?
This would solve a lot of problems and the client could run in the background.

LG
Niki

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#29 Post by lisa » Tue Jan 15, 2013 9:17 am

Niki wrote:Is there any possibility to activate the object with the unique Adress in the table like targetobject?
At the time I made this there was no way to interact with the object via memory, this may have changed in the last 18 months.

Is planting actually viable?
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#30 Post by lisa » Wed Jan 16, 2013 4:22 am

lisa wrote:At the time I made this there was no way to interact with the object via memory, this may have changed in the last 18 months.
Seems that hasn't changed with respect to house items, still can't interact with it via memory.
So no player:target_Object() doesn't work, so you still need to use the mouse click.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

blackpanzer
Posts: 18
Joined: Sat Jun 11, 2011 12:07 pm

Re: planting like the flintstones

#31 Post by blackpanzer » Fri Jan 18, 2013 8:48 pm

thx Niki, I try it

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#32 Post by lisa » Fri Jan 18, 2013 9:54 pm

Niki wrote:1.) Add the seeds with lvl>55 to the seed.xml
If you post your updated seed.xml I can add it to first post for others to use.
Niki wrote:Especially when he harvest the plant which disappears and the function makes a second try to plant again but the object became smaller without the plant in the pot.
Could make it do the "scan" again before the "planting" new seed, that should fix that.
Niki wrote:If you you use a different client language than english you have to change the Strings from "pot" to "Topf" (German ie). You also have to add more string searches if you use pots which have not the string "pot" in the name.
Could add usage of a variable I guess that can just be changed at the top of the file to make it easier with other languages.
Actually we use the pawn info to make the bot face the object, we could also use the name from the pawn info as what to "scan" for, that should eliviate any language issues.

--=== Added ===--
Seems I didn't upload my latest V3.0, it uses the address when scanning and not looking for "pot".

Have a test of it and see how it goes.
userfunction_PlantCare.lua
V 3.0
(6.16 KiB) Downloaded 177 times
V3.1 does a rescan before trying to click again, untested
userfunction_PlantCare.lua
V 3.1
(6.13 KiB) Downloaded 264 times
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Niki
Posts: 6
Joined: Tue Nov 24, 2009 5:18 am

Re: planting like the flintstones

#33 Post by Niki » Tue Jan 22, 2013 12:24 pm

Thanks Lisa!
Im sorry but the last week i had not enough time to test it.
Also the seed.xml file is not completed (I only added some seeds to test it). But i'll add the rest and post it in this Thread.
Greetings
Niki

blackpanzer
Posts: 18
Joined: Sat Jun 11, 2011 12:07 pm

Re: planting like the flintstones

#34 Post by blackpanzer » Sat Jan 26, 2013 10:54 am

Hi,

I have added the seeds with lvl>55 to the seeds.xml

The File is not tested!

black
Attachments
seeds.xml
Seeds added to LVL79 - "not tested"
(2.87 KiB) Downloaded 171 times

dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: planting like the flintstones

#35 Post by dr-nuker » Wed Mar 20, 2013 5:00 pm

Hello there!

I have problems with this nice function :(

It does not work for me... So i have the named addon installed and the bot actually clicks but he is not targeting the correct area in my house.
I've placed the pots as described in the first post but the char does not turn and so it click random stuff inside my beloved home.

Any help on this?

br, nuker

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#36 Post by lisa » Wed Mar 20, 2013 6:32 pm

dr-nuker wrote:Hello there!

I have problems with this nice function :(

It does not work for me... So i have the named addon installed and the bot actually clicks but he is not targeting the correct area in my house.
I've placed the pots as described in the first post but the char does not turn and so it click random stuff inside my beloved home.

Any help on this?

br, nuker
Did you save the seeds.xml to the database folder?
What exactly does the bot do?
When you manually click the pot does it automatically feed the seeds?
Are your pots within the ID range of "if obj.Id >= 200000 and 210000 >= obj.Id then"
What does MM print, it should be printing something.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

dr-nuker
Posts: 145
Joined: Sun Oct 09, 2011 7:33 am

Re: planting like the flintstones

#37 Post by dr-nuker » Thu Mar 21, 2013 1:38 pm

Okay Lisa.

The problem seems to be that the bot detects some chests in my house and turns around to face them.
I adjusted the userfunction now in that way, that it only uses the ids of objects that are pots in my house.

But anyways it works not as you built the function, maybe it has to do with my type of house because i move in and the bot needs to turn right to see the pot but as the wall behin is too close the camara does not zoom out far enought so that the bot actually never can click the pot which is "below" his field of view.

Anyways i found a mod by moving to the middle of the room first and putting the pot onto a wall so that it is high enought to find :O

Sasuke
Posts: 503
Joined: Mon May 17, 2010 3:40 pm
Location: Poland

Re: planting like the flintstones

#38 Post by Sasuke » Mon Jan 20, 2014 5:05 am

the player stops in front of the vessel and the pointer moves in the right direction .... that's okay or should do something else? did not understand the sense to target chest in house .can you help me pla? thanks

i add userfunction and seed...
likely that there is something to be changed and I have not seen?
wp:

Code: Select all

<?xml version="1.0" encoding="utf-8"?><waypoints>

	<onLoad><![CDATA[
 	PlantCare()
	
	sendMacro("}LoginNextToon=true;a={")
       	sendMacro("Logout();"); 
	waitForLoadingScreen();
        loadPaths("plantcare");	

	]]></onLoad>

</waypoints>
i add this seeds in database
Attachments
seeds.xml
(2.87 KiB) Downloaded 121 times

dx876234
Posts: 188
Joined: Sat Jul 24, 2010 6:13 am

Re: planting like the flintstones

#39 Post by dx876234 » Thu Jun 05, 2014 2:48 am

I've rewritten the planting script, now you don't need to have the client window in focus and mouse is not touched, all targeting is done in memory.

Its based on the static house record pointer and offset within this, I find it with a pattern in memory.

If possible, these would be nice in include in addresses and update script.

Note, I detect pots by their name containing the string "Pot", I'm not 100% sure if this is valid for all pots (or languages), pls update me if this is an issue.

Regards
DX
Attachments
userfunction_PlantCare.lua
(3.6 KiB) Downloaded 150 times

User avatar
lisa
Posts: 8332
Joined: Tue Nov 09, 2010 11:46 pm
Location: Australia

Re: planting like the flintstones

#40 Post by lisa » Thu Jun 05, 2014 3:08 am

dx876234 wrote:Note, I detect pots by their name containing the string "Pot", I'm not 100% sure if this is valid for all pots (or languages), pls update me if this is an issue.
I started out by doing the exact thing but changed to looking for ID's within a specific range.

Code: Select all

if obj.Id >= 200000 and 210000 >= obj.Id then
Not sure if newer pot Id's are outside of this range now though as it has been a very long time since I did the userfunction.
Remember no matter you do in life to always have a little fun while you are at it ;)

wiki here http://www.solarstrike.net/wiki/index.php?title=Manual

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests