SRL Archive - Outdated / Broken

riwuAIOminer


riwu

2012-10-21 21:57:09

Video
http://www.youtube.com/watch?v=GrjTm1xmvcY

Instructions are in the script.

Current Bugs
-Report if you found any.

To come
-More ore/bank location support
-Hover mouse over the next ore while still mining the current one added!

Please post the proggy and any bugs/suggestions/comments!!!

Sin

2012-10-21 22:02:16

Very nice, is LRC supported?

riwu

2012-10-21 22:06:25

From: Shay
Very nice, is LRC supported?

I just named it AIO because that's what i named the SRL stats few months ago since i intend to expand it in the future, i know it's quite limited currently but the structure is there, you can easily add in any traditional ore support. I'll add more bank location in Dec as stated in OP. Currently i'd want to get more feedback on the ore detection, or the TPA walking.

Sin

2012-10-21 22:07:20

Haha, fair enough, best of luck!

Le Jingle

2012-10-21 22:07:20

Congrats on release. I noticed when I ran this script (from your app), the distorted TPA drawing, and the only thing I could think of is that it somehow builds from the last drawing, perhaps? No evidence to support my claim, however. :/

Cheers!
Lj

riwu

2012-10-21 22:14:12

From: Le Jingle
Congrats on release. I noticed when I ran this script (from your app), the distorted TPA drawing, and the only thing I could think of is that it somehow builds from the last drawing, perhaps? No evidence to support my claim, however. :/

Cheers!
Lj

Unlikely since i clear the canvas in the loop after MineOre (regardless of whether it is successful), unless it interfere with the paint from the ore but they are in completely different color. The TPA drawing comes solely from rotating a static TPA from boxes with the current compass. It's not even related to what the script actually searches (since i use ClearTPA for that) but theoretically they should be the same.

Also it only appears so during script run time (if i were to draw them while script is not actively running it draws fine). So i believe it is due to Smart Canvas not being able to respond fast enough/lagging to draw it out perfectly?

grats

2012-11-03 20:53:12

amazing m1d1, very player like I think, will be running 4 bots for a few more days probably

riwu

2012-11-03 21:07:39

From: grats
amazing m1d1, very player like I think, will be running 4 bots for a few more days probably

Thanks, post some proggies! And any suggestions to make it faster etc.

I've actually come out with a hover mouse over next ore while mining system but haven't test it extensively yet. Shouldn't affect m1d1 mode though.

grats

2012-11-03 21:59:16

Yea, that's what I was commenting on, it hovers over the 'drop ore' and then clicks after new ore is grabbed, works amazingly


http://stats.villavu.com/user/111/commits

I don't think you could make it faster.. It's pretty much dropping instantly when it mines an ore etc
running all 4 bots in 1 simba so proggies are kinda confusing

NKN

2012-11-03 22:08:25

lo. I think this script is on public paste also.
y u leak scripts riwu

riwu

2012-11-03 22:24:58

From: grats
Yea, that's what I was commenting on, it hovers over the 'drop ore' and then clicks after new ore is grabbed, works amazingly


http://stats.villavu.com/user/111/commits

I don't think you could make it faster.. It's pretty much dropping instantly when it mines an ore etc
running all 4 bots in 1 simba so proggies are kinda confusing

o no i was referring to it hovering over the next available ore on main screen while still mining one. That's not for m1d1 though since you will be busy getting ready to drop ore instead.

I've added an universal onscreen text report on SMART in the latest version, so makes it less confusing if you are running multiple SMART. Something like this:

I'll push an update later.


From: NKN
lo. I think this script is on public paste also.
y u leak scripts riwu

Actually it's on my public git repository too (to use the autoupdater), i doubt anyone will think of that and find it though :rolleyes:
How do you find scripts in villavu paste? There isn't search function is there? Or do you stalk every paste from 1-3000+?

NKN

2012-11-03 22:36:51

From: riwu


Actually it's on my public git repository too (to use the autoupdater), i doubt anyone will think of that and find it though :rolleyes:
How do you find scripts in villavu paste? There isn't search function is there? Or do you stalk every paste from 1-3000+?

I start at all pastes
And start from the top and work down one day when I was bored and wanted to see some cool stuff.

riwu

2012-11-03 22:42:59

From: NKN
I start at all pastes
And start from the top and work down one day when I was bored and wanted to see some cool stuff.

Ok, i'm going to come out with some uber premium scripts with http://villavu.com/forum/showthread.php?t=75045 :rolleyes:
Now no one will look at pastebin scripts seriously :sasmokin:

EDIT: just saw this lol:
http://paste.villavu.com/show/3500/

How come there is some jump in some paste numbers?
Eg. http://paste.villavu.com/show/3222/ doesn't exist?

NKN

2012-11-03 22:56:34

From: riwu
Ok, i'm going to come out with some uber premium scripts with http://villavu.com/forum/showthread.php?t=75045 :rolleyes:
Now no one will look at pastebin scripts seriously :sasmokin:

EDIT: just saw this lol:
http://paste.villavu.com/show/3500/

How come there is some jump in some paste numbers?
Eg. http://paste.villavu.com/show/3222/ doesn't exist?

Admin deletes it.
I once uploaded my private nat script, and had Wizzup? delete it for me.

grats

2012-11-03 23:10:58

From: riwu
o no i was referring to it hovering over the next available ore on main screen while still mining one. That's not for m1d1 though since you will be busy getting ready to drop ore instead.

I've added an universal onscreen text report on SMART in the latest version, so makes it less confusing if you are running multiple SMART. Something like this:

I'll push an update later.



Actually it's on my public git repository too (to use the autoupdater), i doubt anyone will think of that and find it though :rolleyes:
How do you find scripts in villavu paste? There isn't search function is there? Or do you stalk every paste from 1-3000+?


I'm not sure if it's something in the includes that leaks memory or what.. but your script & yohojo's PMS leak.. yours isn't even close though, after 1 hour his was almost at 1GB per script, yours isn't even at 300MB with all 4 total..

I was thinking it was paintsmart, since his had a lot of it.. it seemed to re-add the picture every loop and didn't release the memory

so that makes me not really want to update, since it runs so well now got me 40-52/53 on 4 accounts already about


Time Running: 1 Hours, 46 Minutes and 13 Seconds
Xp gained: 49840 (28153/hr)
Loads Done: 0 (0/hr)
Value of ores dropped/banked: 315835 (178407/hr)
Total Gems gained/dropped: 0 (0/hr)
Time Till Break: 144 minutes

guess 2 hours almost, 4 scripts = 300MB memory

originally started at about 100MB total

riwu

2012-11-03 23:24:34

From: grats
I'm not sure if it's something in the includes that leaks memory or what.. but your script & yohojo's PMS leak.. yours isn't even close though, after 1 hour his was almost at 1GB per script, yours isn't even at 300MB with all 4 total..

I was thinking it was paintsmart, since his had a lot of it.. it seemed to re-add the picture every loop and didn't release the memory

so that makes me not really want to update, since it runs so well now got me 40-52/53 on 4 accounts already about


Time Running: 1 Hours, 46 Minutes and 13 Seconds
Xp gained: 49840 (28153/hr)
Loads Done: 0 (0/hr)
Value of ores dropped/banked: 315835 (178407/hr)
Total Gems gained/dropped: 0 (0/hr)
Time Till Break: 144 minutes

guess 2 hours almost, 4 scripts = 300MB memory

originally started at about 100MB total

Hmm i always free bitmaps/DTMs properly and used wrappers for tpa functions. Onscreen paints are being cleared before rewriting as well.

There is just one thing that i didn't clear: the debug box. But does that take so much memory? I'll clear them in the next version then.

EDIT: could it be http://villavu.com/forum/showthread.php?t=92125?
Since there is mismatch between the clearing procedure and the drawing procedure, some parts of the paint may not be cleared actually?

Le Jingle

2012-11-03 23:26:29

which version does this grats? I've a magic script that does the same sort of thing, leaks somewhere but very little as you've described (I usually start at 75mb on my laptop and every hour after it's ~ +15mb, making the longer runs with it memory intensive.

Perhaps it's not the same thing as in my script, but for the fun of it I think I'll compare my script to riwu's riwuAIOminer and try to deduce possibilities.

edit: also I don't think it's the debug box, but I could be wrong.

grats

2012-11-03 23:51:30

I think it is everything that we have said.. from what I could get with yohojo's script I think all of the leaks that we've said were in his script, that's it builds up so much faster.. there was definitely a slow small leak, and then another large one that happened pretty quickly

I don't think it's the debug box, I don't think that is that much memory? I think it is drawing related, it seems like too much memory to be debug box, my debug box for riwu's script past few hours is 809.1KB total, which is tiny.. text is tiny.

@riwu's post maybe it could be that, I know that seems to be happening in a few scripts I know, the http://villavu.com/forum/showthread.php?t=88328 I believe doesn't clear like that..

@jingle, I got no idea which version, I downloaded it like 30 mins or so before my first post in here.. I can post it if you want? if it's ok with riwu to post whatever version it downloaded for me

400MB total for simba now, so definitely a leak.. this is 4 of the scripts, originally they start about 44MB each and it looks like it goes to 100MB each after several hours.. so the leak is something pretty damn small, but there is a tiny one in almost every script, like give me a script and I'll test it.. I can run 30 bots no problem on this machine so I'm up for testing stuff to see if we can figure out what scripts have it, what don't etc

riwu

2012-11-04 00:04:57

From: grats
I think it is everything that we have said.. from what I could get with yohojo's script I think all of the leaks that we've said were in his script, that's it builds up so much faster.. there was definitely a slow small leak, and then another large one that happened pretty quickly

I don't think it's the debug box, I don't think that is that much memory? I think it is drawing related, it seems like too much memory to be debug box, my debug box for riwu's script past few hours is 809.1KB total, which is tiny.. text is tiny.

@riwu's post maybe it could be that, I know that seems to be happening in a few scripts I know, the http://villavu.com/forum/showthread.php?t=88328 I believe doesn't clear like that..

@jingle, I got no idea which version, I downloaded it like 30 mins or so before my first post in here.. I can post it if you want? if it's ok with riwu to post whatever version it downloaded for me

400MB total for simba now, so definitely a leak.. this is 4 of the scripts, originally they start about 44MB each and it looks like it goes to 100MB each after several hours.. so the leak is something pretty damn small, but there is a tiny one in almost every script, like give me a script and I'll test it.. I can run 30 bots no problem on this machine so I'm up for testing stuff to see if we can figure out what scripts have it, what don't etc

Do you have DEBUG_MODE on? It won't draw anything at all if you turn it off.

Some SRL functions could possibly cause small leaks, i've seen the bank include not using wrappers for TPA functions, not sure if there are others.

Also Le jingle just download the autoupdater, everyone would have the latest version (currently 3.1) unless they deliberately remove the autoupdater.

grats

2012-11-04 00:16:32

no, debug mode is off

the memory leak I see no pattern so far, other than a 0.3MB increase that's almost identical.. now it's maybe starting to pattern

http://i.imgur.com/8aM8w.jpg


I wonder if there is a way to log what exactly simba is putting more stuff into memory for? there are some large jumps I wish we could just see what exactly it is there.. going to work on that


longer memory watch:

http://i.imgur.com/NuRL0.jpg

big pictures btw, compressed though …. it's pretty obviously you're releasing some memory, but other memory isn't getting released, wish it would just say lol.

http://i.imgur.com/XG7Id.jpg

no pattern I can see, I'm going to run just one of the bots instead of 4 now, it'll be a lot less memory going up.. will have to watch it longer hopefully can narrow it down to like every 15 minutes so we can figure what happens every 15 minutes

riwu

2012-11-05 03:14:59

V4.1 changelog:
-Hovers over next available ore while still mining (not for m1d1)
-Use bitmap instead of uptext to detect vex/ring (bankrim mode)
-Onscreen report
-Some optimizations
-Induced unauthorized use prevention

If anyone figured out the cause of the gradual leak inform me.
Also added a vid to OP.

DaWu

2012-11-06 21:43:41

This define respectively taken from Markus' Ess miner solved all unexplainable leak issues for me. Give it a shot.

{$IFDEF RAYMONDPOWNS} {DONT TOUCH THIS LINE, IT FIXES CODE 8. The define is an undocumented define for Pascalscript as there is no documented one.} function SplitTPA(arr : TPointArray; dist : Integer) : T2DPointArray; begin SplitTPAWrap(arr, dist, result); end; function SplitTPAEx(arr : TPointArray; w, h : integer) : T2DPointArray; begin SplitTPAExWrap(Arr, w, h, result); end; function ClearTPAFromTPA(arP, ClearPoints : TPointArray) : TPointArray; begin ClearTPAFromTPAWrap(arP, ClearPoints, result); end; function TPAToATPAEx(arP : TPointArray; w, h : integer) : T2DPointArray; begin TPAtoATPAExWrap(arP, w, h, result); end; function TPAToATPA(arP : TPointArray; dist : Integer) : T2DPointArray; begin TPAtoATPAWrap(arP, dist, result); end; function FindGapsTPA(TPA : TPointArray; MinPixels : integer) : T2DPointArray; begin FindGapsTPAWrap(tpa, MinPixels, result); end; {$ENDIF}

Cazax

2012-11-18 14:21:36

Solid script:
============================================================================================
riwuAIOminer: visit http://villavu.com/forum/showthread.php?t=91523 for more info
Time Running: 04h 45m 13s
Xp gained: 95743 (20141/hr)
Loads done: 104 (22/hr)
Ore profit: 604800 (127227/hr)
Total Gems gained/dropped: 8 (2/hr)
Time Till Break: 28130 minutes
Please post the proggy if you want this script to remain available & updated
============================================================================================

Mjordan

2012-11-21 13:13:54

Would be awesome to add North Keldagrim mining/banking to this…

Le Jingle

2012-12-03 03:25:26


Got stuck when doing antiban, hovering the mining skill and it clicked it even though it say's false.. Guessing it was trying to handle an ore or something, but just removed it from antiban for now. Working great with iron ore m1d1 ^

Cheers,
Lj!

Edit: Another progress report:

Sjoe

2012-12-19 02:21:18

works great, ran it for hours.
thanks!


Here's one from now:

============================================================================================
riwuAIOminer: visit http://villavu.com/forum/showthread.php?t=91523 for more info
Time Running: 01h 53m 24s
Xp gained: 35840 (18963/hr)
Loads done: 38 (20/hr)
Ore profit: 146432 (77476/hr)
Total Gems gained/dropped: 2 (1/hr)
Time Till Break: 95 minutes
Please post the proggy if you want this script to remain available & updated
============================================================================================



============================================================================================
riwuAIOminer: visit http://villavu.com/forum/showthread.php?t=91523 for more info
Time Running: 03h 51m 21s
Xp gained: 75355 (19543/hr)
Loads done: 81 (21/hr)
Ore profit: 311740 (80847/hr)
Total Gems gained/dropped: 7 (2/hr)
Time Till Break: 16 minutes
Please post the proggy if you want this script to remain available & updated
============================================================================================

Ashaman88

2012-12-27 19:59:12

edited for action bar dropping - love this great job

============================================================================================
riwuAIOminer: visit [url]http://villavu.com/forum/showthread.php?t=91523[/url] for more info
Time Running: 20h 23m 43s
Xp gained: 316715 (15529/hr)
Loads done: 1 (0/hr)
Ore profit: 1057191 (51834/hr)
Total Gems gained/dropped: 43 (2/hr)
Time Till Break: 787 minutes
Please post the proggy if you want this script to remain available & updated
============================================================================================

Sjoe

2012-12-29 13:37:03

Clicks Talk-to Fremmenik Banker now instead of Bank ( after Rightclicking, very strange )
Script works flawless for me normally.

I tried to play with Line 1735:

if WaitOptionMulti(['Ban','ank'],644) then

But I'm too noobish to fix it I guess.


EDIT: I'm stupid :)