SRL Archive - Outdated / Broken

Auto Aviansie Pro [BETA]


PatDuffy

2012-01-15 19:49:15

Auto Aviansie Pro BETA
Current version: 1.7 Released
Status: Working


[LEFT]What Does It Do?
  • Kills Aviansie's, uses BTP tabs, makes money
  • Picks up ALL drops from the rare drop table that I deemed worth money

How To Use It[/LEFT]
  1. Download the attached script
  2. Be in a highly Aviansie populated area, I only tested in the very enterance to the Armadyl Eerie.
  3. Have your inventory set up like the picture
  4. I suggest a ring of life, unless you are ballsy and like money in which case a ring of wealth
  5. Have runes for alching in your inventory, also food (swordfish & peaches are only supported atm)
  6. If wanted, have Excalibur in first inventory slot
  7. Fill out the information asked for in the script, hit the big green arrow
  8. Show me your Proggies!

The Tablets and Noted Addy Bars MUST be in the shown inventory spots.

Features
  • 100% Color
  • SRL Stats
  • Flight's HumanMMouse
  • Use of Bones to Peach, will either log out or teleport when food cannot be further made
  • Panic tele's in case HP gets too low.
  • Excalibur support

[LEFT]Bugs[/LEFT]
  • Eating is sometimes iffy, but I think I fixed it with the latest DTM's I made[Fixed]
  • Sometimes eats food faster than it picks up bones, doesn't always detect a pile of loot[Fixed with better loot detection]
  • Camera angle sometimes changes too soon


ChangeLog
V1.1

~Made loot detection more accurate
~Fixed eating and casting BTP too early
~Fixed alching
~Somewhat fixed camera angle bugs
~Added Excalibur support


Donate to help support future development for this and other p2p scripts. Membership doesn't buy itself!

Main

2012-01-15 19:55:51

omg… Rep + Will post proggie later tonight:P

PatDuffy

2012-01-15 19:58:58

From: Main
omg… Rep + Will post proggie later tonight:P


God knows how long it will actually run, I had a ~40 minute run that I forgot to save the proggy for just now. I had to stop it because I was running low on bolts.

Hero

2012-01-15 20:09:12

Very sexy. I have 1m exp until 99 range. Guess I found what I will be doing for a bit. Thanks and will try to get a proggy as well.


Maybe you could also look into High Alch support for a lot of the rune daggers etc. I used to camp for 40+ hours at a time with B2P/High Alch method.

Edit: I can't read.

Edit 2: The higher level Aviansies(137/148) don't have better drops but do more damage. Can those ones be ignored somehow?

Edit 3: It doesn't loot the bones(maybe 2/10 were looted) then it attempts to B2P an empty inventory. Once it can't it spam logs even while in fights. Also I had swordfish in my inventory and it didn't notice them.

hamster31

2012-01-15 22:38:04

First Congratz on releasing this :) this is beautiful Pat. and Second love that Membership doesn't pay for itself…The reason why I'm on there is because construction and herb lore and stuff are way to expensive to level up

PatDuffy

2012-01-15 22:40:43

From: hamster31
First Congratz on releasing this :) this is beautiful Pat. and Second love that Membership doesn't pay for itself…The reason why I'm on there is because construction and herb lore and stuff are way to expensive to level up


It's not what I would consider true release worth, but it's stable enough to have people test out. I still plan to add more features and stabalise it a bit.

P1nky

2012-01-15 23:11:15

Do you have any Proggies by testing the script & what is the most you have made from this script :)? and I am guessing this isn't for Pures?

PatDuffy

2012-01-15 23:22:41

A pure would get raped. Best proggy I had was 45 minutes, manually stooped. I was averaging 22k experience/hour and 240k cash.

Hero

2012-01-16 00:13:03

With the perfecticus autofighter it used to get 30-35k max an hour so you are pretty damn close. Good job.

PatDuffy

2012-01-16 00:15:14

From: Hero
With the perfecticus autofighter it used to get 30-35k max an hour so you are pretty damn close. Good job.


It's not optimized at all yet either. My fight detection is a bit slow because it uses the fight bar.

jakeyboy29

2012-01-16 13:53:46

So this wont work untill SRL is updated? or does it use anything thats been updated?

EDIT: back attacking now, ill post a few things i note

addy bar looting doesnt works, alching is glitched after it picks up :)

double edit:
the picking up addy bars problems fixes itsself when its killed another, (it loots them then)
im a little unsure about alching, but it doesnt alch after its first picked them up, is it meant to wait?
The rune limbs doesnt pick up!
I'm 99 defence, and sometimes the attacking the 134's does me over!

there are other small problems, like it needs to rotate the camera, at the minute it sometimes gets stuck looking behind the black wall which means it stays there forever, apart from those!

jakeyboy29

2012-01-17 09:07:03

bump so pat can see this

PatDuffy

2012-01-17 10:50:57

I've noticed those problems on my own testing and I plan to fix then.

Alching is meant to take place once the inventory is full, but I could change that easily. I plan on adding more colors for loot, as several drops sometimes give it trouble.

As for the camera angle, I'm stumped on how to fix that, I've tried various things such as rotating it 10deg every so often so its never in 1 place stuck.ill see what I can do.

Glad to see its working after the update, as I haven't had time to test it.

jakeyboy29

2012-01-17 12:19:17

Ah yeah that would make sense for the alching i suppose, although it means less food.

to be honest it works alright when its left, its a nice script.

PatDuffy

2012-01-17 17:14:52

From: jakeyboy29
Ah yeah that would make sense for the alching i suppose, although it means less food.

to be honest it works alright when its left, its a nice script.


I made some updates today, testing them now…..

Added
~Excalibur support
~Improved Looting
~Improved Alching sort-of

jakeyboy29

2012-01-17 17:40:50

From: PatDuffy
I made some updates today, testing them now…..

Added
~Excalibur support
~Improved Looting
~Improved Alching sort-of


nice touch with the excalibur.
I ran this again before, it ran out of bones to turn into peachessss. Ill give it another go once its uploaded!

PatDuffy

2012-01-17 18:23:37

Well I accidently found out my panic teleporting works. I forgot to include reequiping of the crossbow once you used the Excalibur special, so it ended up tanking then teleing. Good news is that it now detects 75% more droppiles I would say.

E: Now that I got the other bugs worked out, Alching has decided it doesn't want to work for me at all now. It probably has something to do with the Inventory functions I was using for detection, which might have gone haywire after the latest RS update. I'm going to hand-make new alchable detection functions and see how those work.

E2: Fixed the alching problems by updating the DTM….again…..Hopefully this time the DTM will be stable like the other ones.

E3: Updated the OP with the new version, might aswell have you guys test it.

If you wish to use Excalibur, have it in your first inventory slot and make sure the Constant is True at the setup.

E4: Currently messing around more with my loot finding procedure to try to completely fix the issue of running out of bones, and eventually food.

E5: Re-Updated the OP's script with the new looting procedure that I like much better, it finds A LOT more bones. Going to try to leave it on overnight just to see what happens, I feel it's stable enough to do so and now that I know panic teleporting works I feel safe there.
These Edits are getting ridiculous :p

jakeyboy29

2012-01-18 03:52:56

Ill buy some more gear and give it another go!

EDIT:- it burys bones then spam clicks off the map! and prints this


=+
Screenshot of: Lamp Random Solved 3 Minutes and 51 Seconds
******** SOLVED LAMP RANDOM ********
have alchables
Screenshot of: Lamp Random Solved 3 Minutes and 58 Seconds
******** SOLVED LAMP RANDOM ********

PatDuffy

2012-01-18 06:57:02

From: jakeyboy29
Ill buy some more gear and give it another go!

EDIT:- it burys bones then spam clicks off the map! and prints this


=+
Screenshot of: Lamp Random Solved 3 Minutes and 51 Seconds
******** SOLVED LAMP RANDOM ********
have alchables
Screenshot of: Lamp Random Solved 3 Minutes and 58 Seconds
******** SOLVED LAMP RANDOM ********


What the eff…..

E: did it to me aswell on my overnight run. I guess ill have to remove that findrandoms in my mainloop, I don't even think you can get randoms in GWD anyway.

jakeyboy29

2012-01-18 08:05:03

We really need to stop with these edits!

Do you think it recognises the bones as magic lamps? the looting is better though <3

PatDuffy

2012-01-18 13:51:44

From: jakeyboy29
We really need to stop with these edits!

Do you think it recognises the bones as magic lamps? the looting is better though <3


I have no idea why it did that. I'm going to remove antirandoms since I don't think you can get them anyway.

Almost out of school for the day, going to update further and see how good it runs. I'm so close to a release I can taste it.

jakeyboy29

2012-01-18 14:31:28

Are you going public with it?

PatDuffy

2012-01-18 15:17:39

From: jakeyboy29
Are you going public with it?


Public as in selling it for 20$ or 40m, people I've asked said they would pay that much for it.

It will stay updated and free for Members though.

footballjds

2012-01-18 15:40:00

From: PatDuffy
Public as in selling it for 20$ or 40m, people I've asked said they would pay that much for it.

It will stay updated and free for Members though.


did you ever take a look at N1ke's aviansie's script?
It was flawless(: i got a copy of it lying around, but idk if it's on SRL anywhere anymore…

PatDuffy

2012-01-18 15:45:56

From: footballjds
did you ever take a look at N1ke's aviansie's script?
It was flawless(: i got a copy of it lying around, but idk if it's on SRL anywhere anymore…


No I haven't….I didn't even know of it.

jakeyboy29

2012-01-18 15:46:13

its here

http://villavu.com/forum/showthread.php?t=47035

Have you got msn pat?

PatDuffy

2012-01-18 15:49:41

Yes, [email]duffmanl97@hotmail.com[/email]

I've started to use it a lot more, I never used to.

E: WOW, 3 years ago since the last SRL Aviansie script :p

Apparently that one also was payed, but free to Members.

jakeyboy29

2012-01-18 15:58:04

From: PatDuffy
Yes, [email]duffmanl97@hotmail.com[/email]

I've started to use it a lot more, I never used to.

E: WOW, 3 years ago since the last SRL Aviansie script :p

Apparently that one also was payed, but free to Members.


spookyly close!

RISK

2012-01-18 16:01:19


It will become stuck right here, constantly mousing the crossbow and even though there are Aviansies on the screen, it will continue to stay stuck on the crossbow. It will sometimes even continue to click the same pixel on the crossbow.

Debug:
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again

Over and over again.

PatDuffy

2012-01-18 16:05:01

From: RISK


It will become stuck right here, constantly mousing the crossbow and even though there are Aviansies on the screen, it will continue to stay stuck on the crossbow. It will sometimes even continue to click the same pixel on the crossbow.

Debug:
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again

Over and over again.


I probably should have mentioned in the OP that I only tested it in the area immediately after entering the actual Lair of Armadyl.

RISK

2012-01-18 16:05:55

:p Mhm, I know you mentioned that already. But I wanted to see how it'd do in other areas. Just to test it for you.

PatDuffy

2012-01-18 16:10:07

From: RISK
:p Mhm, I know you mentioned that already. But I wanted to see how it'd do in other areas. Just to test it for you.


Thanks. I've been using the color of the wings to detect where they are….which would have a large effect in that area because of boxes, etc.

I could always add something like if OptionsExist('ballista') then Walk somewhere.

jakeyboy29

2012-01-18 16:11:28

From: RISK
:p Mhm, I know you mentioned that already. But I wanted to see how it'd do in other areas. Just to test it for you.


about 3 high level ones respawn round there, dont go there!

RISK

2012-01-18 16:12:48

Why not create a box from a TPA of the Aviansie and do a pixel check within the box? That way you don't get inanimate objects.


Yeah, I moved, Jakey. :o Thanks.


It gets stuck trying to use the bones to peaches tab and then it tries to use an adamant bar on itself. It will get stuck when there are no bones in the inventory.

Here's the debug:
ate some food
Ate Food
ate some food
Casted BTP
Ate Food
ate some food
ate some food
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
Av is dead, time to loot

PatDuffy

2012-01-18 16:21:39

From: RISK
Why not create a box from a TPA of the Aviansie and do a pixel check within the box? That way you don't get inanimate objects.


Yeah, I moved, Jakey. :o Thanks.


It gets stuck trying to use the bones to peaches tab and then it tries to use an adamant bar on itself. It will get stuck when there are no bones in the inventory.

Here's the debug:
ate some food
Ate Food
ate some food
Casted BTP
Ate Food
ate some food
ate some food
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
Ate Food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
ate some food
No Peaches appeared?
Av is dead, time to loot


Did it have bones in the inventory?

RISK

2012-01-18 16:22:39

No, sir. I think it thought the adamant bar was a bone as it kept trying to use it.

PatDuffy

2012-01-18 16:24:46

From: RISK
No, sir. I think it thought the adamant bar was a bone as it kept trying to use it.


Dam. I had a check for if out of bones and using BTP, a message appears in the chatbox, I guess it didn't find it for some reason.

Bones have been giving me a lot of trouble, for some reason yesterday SRL Randoms kept thinking the bones were a lamp….

RISK

2012-01-18 16:30:24

Why not create a TPA for the bones and then do a pixel amount check just to make sure it doesn't return false positives?

I tested it again and it is indeed getting stuck on the adamant bar, thinking it is food. Then when it can't use it, it will try to use bones to peaches. Why not do a check for the 'Nothing interesting happens' text that appears in the chat box along with the 'You aren't' holding any bones!' message.

PatDuffy

2012-01-18 16:32:21

From: RISK
Why not create a TPA for the bones and then do a pixel amount check just to make sure it doesn't return false positives?

I tested it again and it is indeed getting stuck on the adamant bar, thinking it is food. Then when it can't use it, it will try to use bones to peaches. Why not do a check for the 'Nothing interesting happens' text that appears in the chat box along with the 'You aren't' holding any bones!' message.


I have a check for 'holding any bones', I can add an "or" 'interesting happens'

jakeyboy29

2012-01-18 16:37:47

From: RISK
Why not create a box from a TPA of the Aviansie and do a pixel check within the box? That way you don't get inanimate objects.


looooook in something like fighting.simba, maybe misc, not sure.

there is a procedure there im using in my current development, which is a TPA, but starts searching from the little yellow dot on the minimap, ive been using it for loot and it starts from the little red dot and instantly finds loot!

PatDuffy

2012-01-18 16:58:51

From: jakeyboy29
looooook in something like fighting.simba, maybe misc, not sure.

there is a procedure there im using in my current development, which is a TPA, but starts searching from the little yellow dot on the minimap, ive been using it for loot and it starts from the little red dot and instantly finds loot!


Looting is the 1 thing I got 100% working currently, so I'm not messing with that :p

For eating, I'm trying a new method so let's see how it goes/

jakeyboy29

2012-01-18 17:26:22

From: PatDuffy
Looting is the 1 thing I got 100% working currently, so I'm not messing with that :p

For eating, I'm trying a new method so let's see how it goes/


you can use that procedure for ncp finding!

PatDuffy

2012-01-18 17:30:11

From: jakeyboy29
you can use that procedure for ncp finding!


I like my new eating a whole lot better than the old eating. I'll try changing the NPC finding, but I kinda like the DTM's I use…but if it will free errors I'm all for a change.

Also, if anyone is good with making videos, I'm going to need a video of my script in action or else I'll have to do it myself and I'm terrible at editing graphics/videos. I would prefer to wait for a later release before a video though.

E: New method didn't work that well, it looked too botty in my opinion. I'll leave it in commented out, or maybe I can add an option to use which method….idk yet.

E2: Decided to go with the it's your option route. Also, updating the OP with V1.2 for you to try.

E3:Changed the V1.2 in the OP like 6 times adding a different failsafe for something I've encountered. I would love to have someone try it again, as I feel I'm finally getting it stable.

RISK

2012-01-19 07:43:38

I'm testing it now, sir. :) It's running a 'bit smoother from what I've seen.

Could you add support for the most common types of bolts, please? Or to even find out what the user is wearing, etc. For a weapon and if it's a ranged weapon, find the ammo. Then pick it up and re-equip the ammo. To make for longer stays.

E: Randomly wants to log out yet I have Swordfish in my inventory, here's a picture:

Here's the debug:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 5 Minutes and 15 Seconds
Aviansie's killed: 5
Cash Gained: 18400
Cash/Hour: 184000
Range Exp Gained: 1500
Range/Hour: 15000
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Found Av
Ate Food
NextPlayer(False)
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 5 Minutes and 41 Seconds
Aviansie's Killed: 5
Cash Gained: -66600
Cash/Hour: -666000
Range Exp Gained: 1500
Range/Hour: 15000
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Successfully executed.
The following DTMs were not freed: [Alch]

PS: You should make the mouse trail red to match the SMART default cursor color. It'll show up better in that area and it'll look much more attractive.


E2: The script recognized the swordfish in my inventory on the second attempt to run it. But I think it ate the swordfish when it wasn't at the specified HP to eat at. Because I have it to heal at the default setting and I have 99 HP. So when it healed, I was at 99 HP again.

E3: The script is running beautifully once it has enough peaches and such to eat to keep it alive. The item detection is better and I believe the reason it kept trying to use the adamant bar was because it got confused between a peach and the beige of the adamant bar that is noted.

E4: A small progress report:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 21 Minutes and 14 Seconds
Aviansie's killed: 27
Cash Gained: 113600
Cash/Hour: 309818
Range Exp Gained: 8100
Range/Hour: 22090
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+


E5:
A better progress report:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 48 Minutes and 39 Seconds
Aviansie's killed: 63
Cash Gained: 241600
Cash/Hour: 295836
Range Exp Gained: 18900
Range/Hour: 23142
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

That progress report has been running since the previous report with no mess ups at all. :) The Aviansie detection is a 'bit iffy as it will sometimes right click just a few pixels off of the Aviansie and keep doing that for a while. But it eventually corrects itself and continues to work as intended.


E6:
I had to disable SMART and correct the script as it equipped my grapple and used it as a bolt by accident. I'm not sure why it did this. I think it thought it was a peach or something as I was below the default HP to heal at.

I don't have a debug for it, sorry. I'll get one if it happens again. :x

Perhaps you could have a check to see if the text that appears when you attempt to attack an enemy with a grapple hook as your bolt and if it finds it, it will try to find known bolts in the inventory and equip them. This also goes hand-in-hand with my bolt looting and re-equipping suggestion for longer runs.


E7:
Once the script finds a clue scroll and loots it, it will for some reason attempt to use it, making the clue scroll window pop up. I think it is because it was attempting to eat a peach, so it became confused between a peach and the clue scroll. So it would become stuck attempting to find an Aviansie after it made the clue scroll window pop up.

Here's a screenshot:

Here's the debug:
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again
DTM for Av's were not found, trying again

I ended up having to drop my clue scroll just for the script to work properly as it will keep repeating this process over and over again.


E8:
It equipped my grapple again, here's the debug:
DTM for Av's were not found, trying again
Found Av
Ate Food
Casted BTP
ate some food
Ate Food
Ate Food
Ate Food
Ate Food

The text that appears in the chat box when you attempt to attack with a grapple as your bolt:
'You can not use grapple-tipped bolts for combat'


E9: Another progress report for you:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 1 Hours, 16 Minutes and 6 Seconds
Aviansie's killed: 94
Cash Gained: 392000
Cash/Hour: 305454
Range Exp Gained: 28200
Range/Hour: 21974
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+


E10: It finally errored out after it was unable to use the bones to peaches tab. It kept clicking it over and over again though, ignoring the message that appeared in the chat box.

Here's the debug and the final report:
Casted BTP
Casted BTP
Casted BTP
NextPlayer(False)
SwitchToPlayer(PlayerNo: 0, Active: False);
Player is not Active...
All players not active!
panic-tele'd, low health
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 1 Hours, 18 Minutes and 31 Seconds
Aviansie's Killed: 94
Cash Gained: -46600
Cash/Hour: -35392
Range Exp Gained: 28200
Range/Hour: 21417
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

It says it tele'd but it does not, it just logs out. I don't know if that is intended or not without looking thru the code. I found it interesting though.


E11:
After running it again, here is a debug and report:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 26 Minutes and 40 Seconds
Aviansie's killed: 33
Cash Gained: 68000
Cash/Hour: 151111
Range Exp Gained: 9900
Range/Hour: 22000
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
have alchables
NextPlayer(False)
SwitchToPlayer(PlayerNo: 0, Active: False);
Player is not Active...
All players not active!
panic-tele'd, low health
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 26 Minutes and 53 Seconds
Aviansie's Killed: 33
Cash Gained: -438600
Cash/Hour: -974666
Range Exp Gained: 9900
Range/Hour: 22000
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Successfully executed.

It logged out after it used a BTP/B2P tab and made the peaches. It seemed to perhaps think that it had no peaches in the inventory even though it did. Here is a screenshot:

It would also not alch my 'Alchables', yet it recognized them. It even started to randomly use my nature runes and law runes for some reason, but it corrected it self. I'm not sure if that was intentional or not.


E12:
While in the process of high alching my 'Alchables', it will mouse over the alchable item after selecting the spell to be casted and keep the mouse over it for a 'bit of time, but it will end up just not alching it for some reason and continue on without alching.

Alching seems to work 50% of the time.


E13:
The script right clicks the spikes in the screenshot a lot when it drifts over to this area, until an Aviansie appears on the screen.


footballjds

2012-01-19 10:16:59

Damn RISK, Duffy should be pleasantly surprised when he see's he has a SUPER dedicated debugger :)
on Duffy's behalf, thanks!

PatDuffy

2012-01-19 11:51:59

Jesus….I love you risk.

Ill take time to look it over in a few hours, checking this from my calculus class.

E: Ok, home for the night, going to implement a lot of new things today..
~Bolt support(broad,mith,addy)
~Updated Food Recognition(will hopefully fix BTP casting, sword eating)
~Updated Alching
~Fix for the negative values in the final proggress report
~Hopeful more accurate Aviansie finding
~Won't pick up clues anymore, since the color is almost identical :p
~

RISK

2012-01-19 15:24:47

I'm about to test it again. :) There is a mess up where it will not recognize the swordfish and just ignore it and attempt to use BTP/B2P when it does not have any bones to use, so it logs out of the character.

And it's my pleasure to help fix bugs. You're very welcome!

PatDuffy

2012-01-19 15:30:19

The swordfish error probably has to do with the DTM not being recognized…again.

The DTM's I had been using for food weren't stable enough for me, I'm going to switch to full-color eating like I did with peaches and those have been working out good.

RISK

2012-01-19 15:54:04

The script will mouse over a pack yak when there is one on the screen and think it is loot or something, I don't have a debug for it, but. If it happens again, I'll get a debug.

I've found that the script starts off much better if you have an inventory full of peaches instead of swordfish. But I don't think I'd recommend that to anyone with less than maxed defense and HP.

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.2 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 11 Minutes and 58 Seconds
Aviansie's killed: 15
Cash Gained: 13600
Cash/Hour: 68000
Range Exp Gained: 4500
Range/Hour: 22500
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

PatDuffy

2012-01-19 16:19:27

I actually noticed the pack yak thing a few days ago, I just manually hopped worlds. I could probably insert a fail-safe if it sees the options for "yak" then to hop worlds. I'm starting the updating now, give me a couple hours for a new version.

E: Updated, now testing and doing some debugging before I release V1.3

RISK

2012-01-19 17:39:31

Can't wait for 1.3. :) Can you private message me when you release it, please? I'd love to get my hands on it and test it for ya'.

PatDuffy

2012-01-19 17:59:27

Just as a teaser….Added in V1.3
~Hops world if there is a pack-yak
~Picks up & Equips bolts(mith,addy,broad)
~New Eating(didn't actually test it yet, hopefully it works..it's based on the peach eating I had in V1.2 that worked good)
~Failsafe if it equips grapple
~Updated Alching procedure

and other failsafes

E: Going to run it for ~30 mins to see what I can fix up more before I actually release it. I don't want you getting stuck with a version with numerous small tweaks I want to make.

E2: Released 1.3, running good for me so far, no hiccups.

RISK

2012-01-19 18:32:11

Running it right now. :) Thanks for the PM! Much appreciated!

Food eating for swordfish is so beautiful now. Great job on that! I'll give you more updates in this post or another post I make after someone posts after me.

PatDuffy

2012-01-19 18:34:50

Its calling the EatToFull procedure a lot now to free up inventory space its working so nicely.

No doubt, there are still bugs, but I'm slowly squashing them.

RISK

2012-01-19 18:56:06

Running great so far. :) No real obvious bugs.

I think an ultimate goal for you to add to this is to add banking to refill on swordfish to make for perm. stays.

Thanks for adding bolt looting support, by the way! That helps so amazingly.
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.3 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 26 Minutes and 3 Seconds
Aviansie's killed: 27
Cash Gained: 91881
Cash/Hour: 204180
Range Exp Gained: 8100
Range/Hour: 18000
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

PatDuffy

2012-01-19 19:00:28

My long term goal is to have it just camp there making its own food for days, then the person can bank it themself.

RISK

2012-01-19 19:21:02

Running amazing still! :) But it doesn't seem to alch the items in the inventory for some reason.

Debug:
have alchables
DTM for Av's were not found, trying again
have alchables
Found Av
have alchables

Screenshot:

My report so far:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.3 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 50 Minutes and 48 Seconds
Aviansie's killed: 56
Cash Gained: 187165
Cash/Hour: 220194
Range Exp Gained: 16800
Range/Hour: 19764
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

PatDuffy

2012-01-19 19:25:04

I noticed that also, I have no idea why I wont alch them because I use the same DTM in both functions. I think I'm just going to switch that over to the color method I used for food detection since that is working so well.

Glad to see its been going for almost an hour, I'm about to go check on my run. Trying to study for an AP chemistry test and debugging is a unique experience.

E: Lawlz I died somehow :p, eventhough I had a ring of life

Lost like ~350k in crap ;)

E2: Wrote up a new alching procedure, if you could try the new 1.3 attached to this.

RISK

2012-01-19 19:42:11

I wonder how you died… :p By the way, does using an excalibur help in staying there longer? I can only manage up to 2 hours before it runs out of food and bones completely and stops. It's really frustrating. :x

I'll try it out!

The script did not recognize my food for some reason and teleported to the home portal. Here's the debug:
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.3 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 10 Minutes and 11 Seconds
Aviansie's killed: 13
Cash Gained: 13612
Cash/Hour: 74247
Range Exp Gained: 3900
Range/Hour: 21272
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Found Av
Ate Food
panic-tele'd, low health
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.3 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 10 Minutes and 37 Seconds
Aviansie's Killed: 13
Cash Gained: 13612
Cash/Hour: 74247
Range Exp Gained: 3900
Range/Hour: 21272
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Successfully executed.

Here's a screenshot:

PatDuffy

2012-01-19 19:44:12

Awh…I wonder why it didn't.

I'll take a more detailed look at it in an hour, going back to studying some hybridization and resonance structures.

RISK

2012-01-19 19:46:13

Good luck! I'll test the new alching procedure and update this post with the information.


E1:
:p You tried to return a boolean for a procedure. I think you meant to remove that or make the procedure a function.
Another compiling error:
[Error] (551:6): Unknown identifier 'HasAlch' at line 550

You tried to put 'Alching' before 'HasAlch' and so it returns that error.

I'll see how it goes after I have fixed the errors.

E2:
It seems to mouse all over the place in my inventory. Here's the debug:
Bolts not found, error
have food
DTM for Av's were not found, trying again
Bolts not found, error
have food
DTM for Av's were not found, trying again
Bolts not found, error
have food
Found Av
Bolts not found, error
have food

After a while it will just go to attack an Aviansie but will continue to mouse all over the inventory.

PatDuffy

2012-01-19 21:12:25

Hm….your using broad bolts I assume, those colors for the DTM were a lot like the inventory, so I tried to minimize the tolerance….

I'll have to take a look at it again….just revert back to the older version that worked :p

E: Looked at the exp gained in my sig and it was 5868666 which made me lol

E2: Was alching working correctly, or could it not even get that far… I think I'm going to uncomment all of my debugging writeln's and see what I can work out.

E3: I know why it was doing that with the bolts, I coded a case statement incorrectly! Fixing that now.

E4: Made a new fully-spamming script for debugging purposes, telling almost exactly where it is messing up. Fixed what I think was the error in the bolt-wielding.

RISK

2012-01-20 09:38:00

Running it now. :o I'll report how it goes here.

Thanks for the debug version!


E1:
It keeps mousing over the rune dagger in my inventory from looting the Aviansies, here's the debug:

603
1082
227
847
851

When it mouses over it, it will mouse to a swordfish and then work normally.


E2:
It seems to love my spirit shield, lol. It will keep mousing over it for some reason. I'm not really sure why. I have it equipped, by the way.


E3: It is not alching my rune daggers for some reason. I'm not sure if it's even attempting to. :x


E4: Maybe I should use another shield. xD

jakeyboy29

2012-01-20 13:11:25

Ill give the new bastard a spin

PatDuffy

2012-01-20 13:56:49

The spirit shield is probably similar to the colors used for bones.

E: I'm going to look into Black Pixel outline counting for item dectectilon….it probably won't work because of the changing inventory/bank colors recently, but it's worth a shot.

E2: Alright I'm in debugging mode now. Looking at the Debug info from the mousing over the rune daggers, it's detecting a rune dagger, going into the Alching procedure but then not detecting the dagger and exiting :p To fix that, I'm going to try removing the check for items to alch from the Alching procedure since the function for items present must return true for the alching procedure to initiate…I was over-failsafing it I think.

Were the any others errors besides the alching still sucking?

jakeyboy29

2012-01-21 05:40:11

I woke up in my POH! I had an inv full of bones and a 4 swordfish!

PatDuffy

2012-01-21 12:41:55

From: jakeyboy29
I woke up in my POH! I had an inv full of bones and a 4 swordfish!


Sorry, I wouldn't advise you to let this go unsupervised yet either, I found myself dead once(but I corrected that problem). I'm going to try a new food-detection system today using the black pixel outlines, maybe that will work.

E: Looked into the black-pixel counting, it seems to be working to detect the correct number of food items, I'll try to whip up a custom function to eat using it.

E2: Began work on this again, trying some new DTM's I made with super tolerance and they actually seem to be working. Also fixing a bug with Excalibur, and the procedure when the inventory is full.

E3: Sorted out more issues with a full inventory, found the source of the alching without anything to alch bug, added a third backup for food detection :p

Coming along good, new version tonight

PatDuffy

2012-01-24 20:13:42

Updated to V1.4

Then usual disclaimer applies, don't run without baby-sitting since I don't know what the hell can happen :p

PatDuffy

2012-01-29 14:46:54

If someone besides me can test this, I would be in-debt to you.

jakeyboy29

2012-01-29 14:55:14

After ive finished using your other script, ill give this anotherrrr go!

PatDuffy

2012-01-29 14:59:49

From: jakeyboy29
After ive finished using your other script, ill give this anotherrrr go!


It should be better :p there are now 3 different eating procedures that are used in succession should the first fail.

E: Added a new fight detection in V1.5 that uses pixel shift, it has doubled killing speed.

E2: Tried 1.5 to test again just now….everything I had ever had a problem with is suddenly working perfect :D

E3: Changed Aviansie finding from DTM's to TPA/ATPA's and it's much more accurate and prevents it from getting stuck.

PatDuffy

2012-02-01 20:56:48

Updated to V1.5, I consider this a MAJOR update.

Changes:
~Now uses TPA's to find Aviansie's, this means no more endless right-clicking on boxes or ballista
~Changes to how Alching works
~Minor changes in Eating
~Added a Debug Mode, I suggest you set it to True for bug fixing
~Added new combat detection using PixelShift, kept the HP bar detection method in-cases pixelshift fails(Which is sometimes does if there is a monster ontop of you)
~Changed the way WieldBolts worked

I consider this update one giant leap towards complete stability and decent killing speed.

jakeyboy29

2012-02-02 15:06:38

Ok Pat, Let me get 900k more fletching xp and I'll go and re buy supplies.

love you xxx

jakeyboy29

2012-02-02 16:15:17

Bump so you see this Pat.

I tested it, it sometimes attacks the level 134 and level 92's at the same time, think this is due to lag. Also, the camera gets stuck behind the wall sometimes so is unable to find flying bad men. other than that, all great

PatDuffy

2012-02-02 16:18:36

From: jakeyboy29
Bump so you see this Pat.

I tested it, it sometimes attacks the level 134 and level 92's at the same time, think this is due to lag. Also, the camera gets stuck behind the wall sometimes so is unable to find flying bad men. other than that, all great


I have something that will rotate the camera angle a little bit when it fails to find anything, so in a short period the camera angle should move away from the wall enough to find an Aviansie and get it unstuck. As for the double-attacking I might have stream-lined it too much, so it's jumping straight into the combat sequence before it is able to detect a fight.

jakeyboy29

2012-02-02 16:57:44

From: PatDuffy
As for the double-attacking I might have stream-lined it too much, so it's jumping straight into the combat sequence before it is able to detect a fight.


I think this is it. a small wait will most likely be a simple fix

PatDuffy

2012-02-03 22:13:10

I found a very curious bug that I have no idea how it was caused….I went to the bathroom and came back to see I no longer had a crossbow equipped or in my inventory….

jakeyboy29

2012-02-04 06:34:33

From: PatDuffy
I found a very curious bug that I have no idea how it was caused….I went to the bathroom and came back to see I no longer had a crossbow equipped or in my inventory….


Check your pm, i know how that one works :P


failed to eat, correcting
trying to cast BTP
checking for food
failed to eat
checking for food
failed to eat
No Peaches appeared?
checking for food
failed to eat
checking for panic-tele mode
checking health
checking health
checking for food
failed to eat
failed to eat, correcting
trying to cast BTP
checking for food
failed to eat
NextPlayer(False)
SwitchToPlayer(PlayerNo: 0, Active: False);
Player is not Active...
All players not active!
checking health
checking for panic-tele mode
panic-tele'd, low health
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.5 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 17 Minutes and 13 Seconds
Aviansie's Killed: 16
Cash Gained: 68000
Cash/Hour: 226666
Range Exp Gained: 4800
Range/Hour: 16000
+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
SRL_Stats: Wrong info for variable
Successfully executed.

PatDuffy

2012-02-04 10:59:16

I think I know why it was detecting crossbows as alchables too, I will need to change my uptexts for alchables, they currently will detect all rune items and alch them :p

jakeyboy29

2012-02-04 11:03:32

I ended up being saved by my ring of life on my last run aswell :(

PatDuffy

2012-02-04 11:17:00

And that is why I suggested wearing one :p

Was there still food in the inventory?

jakeyboy29

2012-02-04 11:48:24

there was a few bones actually but no food

PatDuffy

2012-02-04 11:52:21

From: jakeyboy29
there was a few bones actually but no food


Ahhh well atleast that is good to hear :p

I would have been disapointed if there was food, but it sounds like the "creating more food" routine took too long, I will work on shortening it so it's faster.

E2: Fixed the alching crossbow bug in V1.6

E3: V1.6 is super stable <3 I added spirit-shield support with modified looting so that it no longer detects the shield. Also added a procedure to check for bones on the ground before casting BTP if it's not in a fight just to try to maximize food.

E4: In V1.6 I also now think that it's almost better if you start the script in the area just outside the eerie. Those other bots that are there sometimes miss the addy bars(lol?), also you don't run out of bones so you always have food = longer runs.

PatDuffy

2012-02-06 20:49:33

Updated to V1.6

In V1.6
~Added spirit shield support using a modified looting function
~Added a new looting feature to prioritize bones if low on food
~Fixed various errors that caused script termination
~MAJOR update to stability AGAIN! <3

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.6 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 26 Minutes and 33 Seconds
Aviansie's killed: 32
Cash Gained: 46400
Cash/Hour: 103111
Range Exp Gained: 9600
Range/Hour: 21333
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

I should mention the cash/hour is so low because for some reason they are refusing to drop addy bars for me tonight :p I've only had like 2 drops in those 25 minutes, I have been watching the script and it didn't miss any. Also, take note of the increased kill rate <3

jakeyboy29

2012-02-07 09:38:23

ill give the updated version a spin for you!

'Toxin

2012-02-07 09:47:09

I as well want to test this thing, lookin' pretty good Pat.

PatDuffy

2012-02-10 19:37:54

From V1.7…

=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
=+=+=+ Auto Aviansie Pro 1.6 by PatDuffy
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+
Time Running: 1 Hours, 31 Minutes and 25 Seconds
Aviansie's killed: 103
Cash Gained: 328000
Cash/Hour: 213913
Range Exp Gained: 30900
Range/Hour: 20152
=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+=+

not the best, not the worst…I'm happy with it though :p

In V1.7 I have:
~Fixed uptext issues
~Fixing the Aviansie colors

Justin

2012-03-19 07:13:52

Thanks for the release PatDuffy, will run and post a progress report!

PatDuffy

2012-03-19 10:16:12

From: [J]ustin
Thanks for the release PatDuffy, will run and post a progress report!


All of the colors need to be updated. It's been like 2-3 weeks since I last updated this :p Might get to it this week.

PatDuffy

2012-03-20 21:57:21

Updated to V1.8

Changes:

New colors

Justin

2012-03-21 03:20:20

Weird, was running 1.7 and it was working fine for me. Didn't get a long run due to my low range level and they would hit high on me

PatDuffy

2012-03-21 09:36:48

From: [J]ustin
Weird, was running 1.7 and it was working fine for me. Didn't get a long run due to my low range level and they would hit high on me


Maybe i'll just revert to v1.7

I had people complaining to me that it wasn't working, wth?