Page 9 of 12

Re: Eggs

Posted: Sat Jul 17, 2010 4:17 am
by rock5
somberland wrote:Hmm looks like the Milk-Script won't work (for me?) it finds the goat, try's to feed it an break that feeding instant.
Read the post that you downloaded from.

There you will find what to do.

Re: Eggs

Posted: Sat Jul 17, 2010 11:03 pm
by rock5
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,
Croustibat wrote: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)
I'm so so sorry you guys. I just noticed there was a typo. Instead of a waittime of 1500 it had 1050 for the gold eggs.

Here is a fixed version, including the getItemCount to itemTotalCount change that hopefully will reduce the 'nil' errors.

you Need to have rombot Version 472
MillersRanchChickens.xml
Rock5's Chickens run Version 1.2
(2.5 KiB) Downloaded 453 times

Re: Eggs

Posted: Sun Jul 18, 2010 3:15 am
by sturmbringer
Ups, with your new version - it wont loot the gold eggs ;) ( for me .. )

Re: Eggs

Posted: Sun Jul 18, 2010 5:23 am
by thetestdummy
im trying 1.2 now and ive gotten 4 eggs (2 but from double picking)

Re: Eggs

Posted: Sun Jul 18, 2010 5:58 am
by Starrider
hello, in v 1.2 now the bot updates after feeding every chicken the inventory bag (0-100% Slot update)...

Re: Eggs

Posted: Sun Jul 18, 2010 9:25 am
by rock5
Starrider wrote:hello, in v 1.2 now the bot updates after feeding every chicken the inventory bag (0-100% Slot update)...
Yeh, that's because I changed to the rombot itemTotalCount() function, which should reduce the 'nil' errors when they happen. Unfortunately it requires the inventory to be up to date.

Shouldn't be that much of a problem as it is pretty quick. When Voidmain releases his inventory:update that uses memory addresses, it will be even quicker. ^^

Re: Eggs

Posted: Mon Jul 19, 2010 9:32 am
by wil32
it slows the bot a lot, if you leave the bot alone, and dont do anything else on your computer, i run the v1.1 for 33 hours withouth crash, if you do things on windows on run another client, u got the Nil error randomly

im sticking with v1.1, 1.2 updates too often

Re: Eggs

Posted: Mon Jul 19, 2010 11:44 am
by rock5
wil32 wrote:it slows the bot a lot, if you leave the bot alone, and dont do anything else on your computer, i run the v1.1 for 33 hours withouth crash, if you do things on windows on run another client, u got the Nil error randomly

im sticking with v1.1, 1.2 updates too often
I'm currently trying out a fix for the 'nil' error. Seeing as you're still using 1.1 do you mind trying it out?

Just change line 571 of functions.lua from:

Code: Select all

			return default; -- Timed out
to

Code: Select all

			return default or 0; -- Timed out
What this does is, when it times out, it will return 0 instead of nil which doesn't cause an error. Let me know what you think about it.

Re: Eggs

Posted: Mon Jul 19, 2010 12:00 pm
by foure
rock5 wrote: I'm so so sorry you guys. I just noticed there was a typo. Instead of a waittime of 1500 it had 1050 for the gold eggs.

Here is a fixed version, including the getItemCount to itemTotalCount change that hopefully will reduce the 'nil' errors.

you Need to have rombot Version 472
MillersRanchChickens.xml
I have alot of feed bags...but no eggs, seems your script goes from waypoint #1 to #4, then repeats, and never goes to a chicken...

**EDIT** Didn't have feed bags in the first 60 slots, working now thanks :)

Re: Eggs

Posted: Mon Jul 19, 2010 12:08 pm
by rock5
foure wrote:
rock5 wrote: I'm so so sorry you guys. I just noticed there was a typo. Instead of a waittime of 1500 it had 1050 for the gold eggs.

Here is a fixed version, including the getItemCount to itemTotalCount change that hopefully will reduce the 'nil' errors.

you Need to have rombot Version 472
MillersRanchChickens.xml
I have alot of feed bags...but no eggs, seems your script goes from waypoint #1 to #4, then repeats, and never goes to a chicken...
That's unusual. What version of my script are you using and what version of the rombot? Also have you changed anything in the files?

Re: Eggs

Posted: Mon Jul 19, 2010 12:15 pm
by foure
i was editing my reply when you posted :) all good now thanks

Re: Eggs

Posted: Mon Jul 19, 2010 12:20 pm
by wil32
i just got home for dinner, bot still working, 37 hours uptime,

i will try you fix within the function.lua

When is the permanent revisin coming for this?

EDIT:any good soft to edit xml out there,

Re: Eggs

Posted: Tue Jul 20, 2010 1:51 am
by prograx
got the problem, that the bot sometimes aims my pet wen i stopped it and restart it.
Its standing around and trys to cast spells on the pet..
didn't have this prob in the first version.
rest still works fine for me

Re: Eggs

Posted: Tue Jul 20, 2010 1:59 am
by swietlowka
my bot was doing something similar, it was try to cast attacks on [Cat], [Chicken] and even that Jenny girl... it got resolved asap i raised Target mobs lvl below a bit lower value, i had it 35 now its 3 and for now it works fine... maybe try to unsummon pet? whats the need to have it while botting for eggs?

Re: Eggs

Posted: Tue Jul 20, 2010 5:39 am
by prograx
the need is to make it talk to me :P
i sometimes check what the bot is doing and once i had my pet summoned because i forgot to call it back.
And it wantet to talk with me, so i always got my pet outside to maybe catch it when it wants to talk to get it stronger....

Re: Eggs

Posted: Tue Jul 20, 2010 3:20 pm
by challengy
When i start the bot, my character starts trying to attack everything. For example, it targets the dog and keeps on trying to attack it with scout shot. did i do something wrong? i put the ingamefunctions folder in the rom AddOns folder already and i have revision 474.

Re: Eggs

Posted: Tue Jul 20, 2010 3:40 pm
by Administrator
challengy wrote:When i start the bot, my character starts trying to attack everything. For example, it targets the dog and keeps on trying to attack it with scout shot. did i do something wrong? i put the ingamefunctions folder in the rom AddOns folder already and i have revision 474.
What does this have to do with eggs?

Re: Eggs

Posted: Wed Jul 21, 2010 12:49 pm
by yun59
I don't know what happens but i try to use the MillersRanchChickens script then i got an error
[string ". . ."]:2 attempt to call global 'getQuestStatus' <a nil value>
Then i try to reinstall everything, do the svn checkout and update, i already have the r475
And the error still here.
Anyone have a clue to fix this please ?
Thanks

[Edit]: i use the french version of rom, and i've changed the name of the quest and of the npc.
still not working

Re: Eggs

Posted: Wed Jul 21, 2010 1:01 pm
by challengy
Administrator wrote:
challengy wrote:When i start the bot, my character starts trying to attack everything. For example, it targets the dog and keeps on trying to attack it with scout shot. did i do something wrong? i put the ingamefunctions folder in the rom AddOns folder already and i have revision 474.
What does this have to do with eggs?
i'm saying the egg script is not working correctly. instead of my character feeding chickens and stuff it starts trying to attack instead.

Re: Eggs

Posted: Wed Jul 21, 2010 2:15 pm
by Administrator
challengy wrote:
Administrator wrote:
challengy wrote:When i start the bot, my character starts trying to attack everything. For example, it targets the dog and keeps on trying to attack it with scout shot. did i do something wrong? i put the ingamefunctions folder in the rom AddOns folder already and i have revision 474.
What does this have to do with eggs?
i'm saying the egg script is not working correctly. instead of my character feeding chickens and stuff it starts trying to attack instead.
It's a different issue with the targeting system. It's being worked on.