planting like the flintstones
Forum rules
Only post additional bot resources here. Please do not ask unrelated questions.
Only post additional bot resources here. Please do not ask unrelated questions.
Re: planting like the flintstones
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?
Re: planting like the flintstones
Hi! tried to run the bot on the Russian server, but the function plantcare() does not work ... why?
Re: planting like the flintstones
That is like saying to someone, "my computer is broken it won't send email" there could be hundreds of reasons.jester wrote:but the function plantcare() does not work ... why?
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: planting like the flintstones
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?
<?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?
-
- Posts: 18
- Joined: Sat Jun 11, 2011 12:07 pm
Re: planting like the flintstones
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.
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.
Re: planting like the flintstones
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 18
- Joined: Sat Jun 11, 2011 12:07 pm
Re: planting like the flintstones
Hi Lisa,
I have Plantcare-Version 2.18.1
I have Plantcare-Version 2.18.1
Re: planting like the flintstones
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
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
Re: planting like the flintstones
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.Niki wrote:Is there any possibility to activate the object with the unique Adress in the table like targetobject?
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: planting like the flintstones
Seems that hasn't changed with respect to house items, still can't interact with it via memory.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.
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
-
- Posts: 18
- Joined: Sat Jun 11, 2011 12:07 pm
Re: planting like the flintstones
thx Niki, I try it
Re: planting like the flintstones
If you post your updated seed.xml I can add it to first post for others to use.Niki wrote:1.) Add the seeds with lvl>55 to the seed.xml
Could make it do the "scan" again before the "planting" new seed, that should fix that.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 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.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.
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. V3.1 does a rescan before trying to click again, untested
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: planting like the flintstones
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
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
-
- Posts: 18
- Joined: Sat Jun 11, 2011 12:07 pm
Re: planting like the flintstones
Hi,
I have added the seeds with lvl>55 to the seeds.xml
The File is not tested!
black
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 227 times
Re: planting like the flintstones
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
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
Re: planting like the flintstones
Did you save the seeds.xml to the database folder?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
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Re: planting like the flintstones
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
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
Re: planting like the flintstones
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:
i add this seeds in database
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>
Re: planting like the flintstones
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
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 206 times
Re: planting like the flintstones
I started out by doing the exact thing but changed to looking for ID's within a specific range.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.
Code: Select all
if obj.Id >= 200000 and 210000 >= obj.Id then
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
wiki here http://www.solarstrike.net/wiki/index.php?title=Manual
Who is online
Users browsing this forum: Bing [Bot] and 1 guest