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
Secret Garden Ideas
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: Secret Garden Ideas
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
Re: Secret Garden Ideas
add like this in your wp
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<waypoints>
<onLoad>
changeOptionFriendMob("friend", "Golden Sheep", "Add");
</onLoad>
Re: Secret Garden Ideas
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.
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.
Re: Secret Garden Ideas
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
Re: Secret Garden Ideas
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:beanybabe wrote:The inside one I fixed by changing the first loop for time from 60 to 59 seconds.
Code: Select all
if (os.time() - starttime) > 60 then break end
thx
Who is online
Users browsing this forum: Bing [Bot] and 1 guest