Re: Eggs
Posted: Wed Jul 14, 2010 9:09 am
Yes, it should make no difference.DrG wrote:With the rev 472 we still can double pick the eggs?
Yes, it should make no difference.DrG wrote:With the rev 472 we still can double pick the eggs?
does we still need to apply this change? or not anymore? just to be surerock5 wrote: Insert at line 95 of player.lua, just before "self:update();" the following;This way it will skip the harvest checks which interrupt you.Code: Select all
if _id then -- The rest is not needed if not resource node lastHarvestedNodeAddr = closestHarvestable.Address; return true end
This is only needed if you intend to still use 'harvest' to collect objects. You should be using 'target_Object' instead.qcalex wrote:does we still need to apply this change? or not anymore? just to be surerock5 wrote: Insert at line 95 of player.lua, just before "self:update();" the following;This way it will skip the harvest checks which interrupt you.Code: Select all
if _id then -- The rest is not needed if not resource node lastHarvestedNodeAddr = closestHarvestable.Address; return true end
The milk and egg scripts have checks to avoid it so any 'nil' error is most likely from the known issue with RoMScript. It shouldn't happen very often. Hopefully 1 day Administrator will find a way to fix it.Starrider wrote:is there still a solution for the "nil" value crash?
The error occures when the bot stand at WP1 and after the bot did feed 3 chickens.
Code: Select all
[string "..."]:2: attempt to call global 'getQuestStatus' (a nil value)
Update to the latest SVN revision.raffe wrote:Hi got thys error while trying to run the script right after it loads
any ide how to fix it ?Code: Select all
[string "..."]:2: attempt to call global 'getQuestStatus' (a nil value)
Lol thx m8, works now perfectly ^^Update to the latest SVN revision.
the error is actually forced by the eggs script, because I never had all the long time I used the bot an crash/error like this. Only since i use the eggs-WP i still got the nil value crash at WP 1 some times after 20, sometimes after 2h, but it only occures at millers farm...rock5 wrote:The milk and egg scripts have checks to avoid it so any 'nil' error is most likely from the known issue with RoMScript. It shouldn't happen very often. Hopefully 1 day Administrator will find a way to fix it.Starrider wrote:is there still a solution for the "nil" value crash?
The error occures when the bot stand at WP1 and after the bot did feed 3 chickens.
I think it's from getItemCount. It doesn't have any safeguards for the 'nil' error. itemTotalCount should be more reliable.Starrider wrote:the error is actually forced by the eggs script, because I never had all the long time I used the bot an crash/error like this. Only since i use the eggs-WP i still got the nil value crash at WP 1 some times after 20, sometimes after 2h, but it only occures at millers farm...
But so long, thanks for the script!
Code: Select all
if 1 > inventory:getItemCount(204789) then -- Get more feed
Code: Select all
inventory:update()
if 1 > inventory:itemTotalCount(204789) then -- Get more feed
If you have the latest version it should, quite reliably, take 2 gold eggs at a time.Croustibat wrote:Hi, first thank you rock5 for your script, works good!
My character collects Golden Eggs 1 by 1, i though it could collect them 2 by 2, like regular eggs, is it normal?
No crash for me (tested during ~ an hour)
No, I meant latest version of my eggs script. LoL. It should say version 1.1 at the top of the file if you open it.Croustibat wrote:I did manual update (all files are updated except skills_local.xml and adresses.lua) because when i uses SVN, it did nothing, files were not updated ... i dont understand why..
thanks anyway
Make sure you have the latest version 1.1 of my script. I improved the timing in that version to be more reliable.thetestdummy wrote:with rocks chicken script, sometimes it only picks 1 golden egg, but im sure this is probably just due to lag for me,