savage lands
savage lands
is there a script for green forest deer leg farmin?
Re: savage lands
Been a while since I used this 1 so I will share it =)
- Attachments
-
- sllongdeer.xml
- WP for deer in SL, also repairs/buys stuff from merchant.
- (1.88 KiB) Downloaded 294 times
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: savage lands
am i missing something in it or something. all it did was run down path and then turn around and run bak toward camp
Re: savage lands
Yup it will keep going back and forth along that path, if it didn't attack anything then you need to fix something in your profile.
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: savage lands
lol i had a brain fart. i forgot to add green forest deer to my mobs list
also is there a part i can add that will bring me bak to the sell guy when my bag is full and sell the gear stuff i loot??
also is there a part i can add that will bring me bak to the sell guy when my bag is full and sell the gear stuff i loot??
Re: savage lands
It should just make the long walk down the path and then long walk back to camp, sell/repair and then continue. It should be selling/repairing on every trip
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: savage lands
when it got to the merchant it bought arrows and throwables and potions.
i may still have something in my profile that needs to change.
im writing mine off the default.
i found auto sell/auto repair stuff on rombot wiki. im gonna try and play around with it all and see wat i come up with. i will post a finished copy of wat i made in this forum for u to try out and debug/recode wats i mess up lol
i may still have something in my profile that needs to change.
im writing mine off the default.
i found auto sell/auto repair stuff on rombot wiki. im gonna try and play around with it all and see wat i come up with. i will post a finished copy of wat i made in this forum for u to try out and debug/recode wats i mess up lol
Re: savage lands
you will be looking at adding code like this to your profile
the reason you bought those other items is this section of your profile
Code: Select all
<option name="INV_AUTOSELL_ENABLE" value="true" />
<option name="INV_AUTOSELL_FROMSLOT" value="1" />
<option name="INV_AUTOSELL_TOSLOT" value="30" />
<option name="INV_AUTOSELL_QUALITY" value="white,green" />
Code: Select all
<option name="HEALING_POTION" value="99" />
<option name="MANA_POTION" value="99" />
<option name="ARROW_QUIVER" value="0" />
<option name="THROWN_BAG" value="0" />
<option name="POISON" value="0" />
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: savage lands
so i dont add the auto sell options to the waypoint coding. i put it in the profile? or can it be in the waypoint?
basically so if i use that one for farmin i sell certain things that are specified in there?
and how would i put to ignore the deer legs?
basically so if i use that one for farmin i sell certain things that are specified in there?
and how would i put to ignore the deer legs?
Re: savage lands
all the code i just posted is for profile, you don't need to worry about the legs as you can't sell them to the merchant even if you wanted to. it's a daily item.
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: savage lands
ran into a problem with the deer farming waypoints.
it ran thru them all fine, killed, looted, etc etc
but when it got to the merchant i got a error
"[DEBUG] Check item so sell: 91 200819 Military Regeneration Formula
[DEBUG] Check item so sell: 92 205661 Green Forest Deer Leg
[DEBUG] Check item so sell: 93 224438 Red-Edged Leather Belt
[DEBUG] Durability check, search for: Durability => 87
[DEBUG] Check item so sell: 94 211985 Armor Splitting Long Blade
[DEBUG] Durability check, search for: Durability => 71
[DEBUG] Check item so sell: 95 220264 Belt of the Universe
[DEBUG] Durability check, search for: Durability => 74
4:47pm - ...es of Magic/micromacro/scripts/rom/classes/store.lua:153: attempt to
compare number with nil"
it ran thru them all fine, killed, looted, etc etc
but when it got to the merchant i got a error
"[DEBUG] Check item so sell: 91 200819 Military Regeneration Formula
[DEBUG] Check item so sell: 92 205661 Green Forest Deer Leg
[DEBUG] Check item so sell: 93 224438 Red-Edged Leather Belt
[DEBUG] Durability check, search for: Durability => 87
[DEBUG] Check item so sell: 94 211985 Armor Splitting Long Blade
[DEBUG] Durability check, search for: Durability => 71
[DEBUG] Check item so sell: 95 220264 Belt of the Universe
[DEBUG] Durability check, search for: Durability => 74
4:47pm - ...es of Magic/micromacro/scripts/rom/classes/store.lua:153: attempt to
compare number with nil"
Re: savage lands
Make sure all your shopping options have valid numbers. If you don't want to buy something make sure it has a zero "0", not just "".
Code: Select all
<!-- Shopping options, how many of what do you want to keep in your inventory -->
<option name="HEALING_POTION" value="85" />
<option name="MANA_POTION" value="0" />
<option name="ARROW_QUIVER" value="0" />
<option name="THROWN_BAG" value="0" />
<option name="POISON" value="0" />
<option name="EGGPET_HOE" value="99" />
<option name="EGGPET_SPADE" value="99" />
<option name="EGGPET_HATCHET" value="99" />- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: savage lands
we should probably change it so when checking for this if == nil or "" to default to 0
Seen this a few times now =)
Seen this a few times now =)
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: savage lands
Yeh, I was thinking that too.lisa wrote:we should probably change it so when checking for this if == nil or "" to default to 0
Seen this a few times now =)
- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
Re: savage lands
actually easier to just check if not >= 0 then = 0
that should do it.
that should do it.
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: savage lands
Ok fixed.
I just changedto
On second thought, why go through the whole function if "quantity" is invalid?
I think instead I'll add this at the top
I just changed
Code: Select all
if totalCount < quantity thenCode: Select all
if quantity ~= nil and quantity ~="" and totalCount < quantity thenI think instead I'll add this at the top
Code: Select all
if quantity == nil or quantity == "" then
return
end - Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan
- Administrator
- Site Admin
- Posts: 5344
- Joined: Sat Jan 05, 2008 4:21 pm
Re: savage lands
Code: Select all
if quantity ~= nil and quantity ~="" and totalCount < quantity thenRe: savage lands
What?
I thought that that was the way to avoid nil errors. if you haveIf a is nil then there is no point in doing the second check so it doesn't and you don't get nil errors.
Just the same withif a is nil then the first argument is true so it doesn't do the second argument so it gets no error.
That's also why you can use
You should know this or are you just having a mind freeze. 
I thought that that was the way to avoid nil errors. if you have
Code: Select all
if a ~= nil and a > 5 thenJust the same with
Code: Select all
if a == nil or a < 1 thenThat's also why you can use
Code: Select all
a = a or 0- Please consider making a small donation to me to support my continued contributions to the bot and this forum. Thank you. Donate
- I check all posts before reading PMs. So if you want a fast reply, don't PM me but post a topic instead. PM me for private or personal topics only.
- How to: copy and paste in micromacro
________________________
Quote:- “They say hard work never hurt anybody, but I figure, why take the chance.”
- Ronald Reagan