Secret Garden Ideas

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
little_Fan
Posts: 12
Joined: Tue Jun 09, 2015 8:30 am

Re: Secret Garden Ideas

#101 Post by little_Fan » Fri Mar 18, 2016 12:13 pm

I got some probs with the `Golden Sheep` in the secret garden. It happens sometimes while opening the chests. When the Golden Sheep appears the bot focuses the Sheep, moves around the sheep and goes straight back to the npc and leaves the garden.
Can anyone help me pls to ignore the sheep?
thx fan

Testa
Posts: 28
Joined: Wed Apr 29, 2015 1:59 am

Re: Secret Garden Ideas

#102 Post by Testa » Mon Mar 21, 2016 1:21 am

Add the sheep to friends in your profile:

Code: Select all

...
<friends>
	<friend name="Golden Sheep" /> <!-- Ignore Golden Sheep -->
</friends>
...
Sorry about the bad english

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Secret Garden Ideas

#103 Post by beanybabe » Mon Mar 21, 2016 9:44 pm

add like this in your wp

Code: Select all

<?xml version="1.0" encoding="utf-8"?>
<waypoints>
 <onLoad> 	
	changeOptionFriendMob("friend", "Golden Sheep", "Add"); 
</onLoad>

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Secret Garden Ideas

#104 Post by beanybabe » Fri Mar 25, 2016 11:31 am

I used some older version of this wp and added some of lisa ideas to it.
It had crashing problem inside now and then and one that seemed random. The inside one I fixed by changing the first loop for time from 60 to 59 seconds. it seemed it would get a nul error doing some check if the chest disappeared by cutting the 1 second stopped that error. The other crash was in the loop to move items to bank bag. I added a yrest(50) wait inside that loop where it moved the items to fix it. it was just to fast for the network.

I had also used lisa idea for her wp but then at end of opening chests it stopped so I replaced the last teleport with a waypoint near the exit npc.
it gets near same chests as lisa version now.

I would have tried lisa wp but had already customized this one to clean bag up and several other things. lisa wp looked like a version of this one if hers crashes inside it may need that timer change also. I am not sure who wrote this one I used it was named secretgarden v1.

It really needs code to get rid of the transformations and stat pots and fireworks
if you crash with lisa version I hope this info helps.

User avatar
beanybabe
Posts: 647
Joined: Wed Mar 06, 2013 1:27 am

Re: Secret Garden Ideas

#105 Post by beanybabe » Fri Mar 25, 2016 12:03 pm

a bit code to turn in the tickets

Code: Select all

for slotnumber = 1,40 do              ---      im not sure if this best way to get the count.
	local name, id, count, slot = bankItemBySlot(slotnumber)
	if id == 209561 then -- frog celibration certificate
		local frogcount = frogcount + count
	end
end	
if frogcount >= 7 
player:moveTo(CWaypoint(2646,1181), true)
player:target_NPC(114943) -- Anniversary Event Host
repeat
ChoiceOptionByName(getTEXT("SC_GE2_2011_REWARD02")) -- 'I want to exchange for gifts.'    -- this need loop till less than 7
frogcount == frogcount-1
until 1 >= frogcount /7

Onche
Posts: 64
Joined: Thu Jun 11, 2015 6:10 pm

Re: Secret Garden Ideas

#106 Post by Onche » Sat Mar 26, 2016 4:14 am

beanybabe wrote:The inside one I fixed by changing the first loop for time from 60 to 59 seconds.
Hi, can you tell us wich line you changed ? I don't remember who wrote the waypoint i'm currently using, but I have found this line twice:

Code: Select all

  if (os.time() - starttime) > 60 then break end
Is this the one you changed from 60 to 59 ?

thx

Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 5 guests