SRL Archive - First Scripts

[RS3][SRL-6] ClarityEsswraith


Clarity

2013-12-30 14:07:30

Reposted new version in public scripts. Now has island detection and other nifty features.

footballjds

2013-12-30 14:36:39

hahah, did you prefix your vars "ew" cause of my divination script? hahah ew stood for enriched wisp i think :P
no time to check out the script so I'll just wait till this gets attention from the public.

I suggest you look into SPS for location detection. SPS could also be used in tandem with PointToMainscreen to filter out points that are not on your island.
SPS isn't required for island detection and honestly wouldn't be totally optimal, it'd be the easiest though. If you want to get more bad-ass then write a TPA based function to filter points not on your island.

Clarity

2013-12-30 14:39:24

From: footballjds
hahah, did you prefix your vars "ew" cause of my divination script? hahah ew stood for enriched wisp i think :P

lol ew for esswraith but that whole part is indeed based on your wispsinfo section :p

Thanks for the feedback. I've been implementing SPS into other scripts that walk around more, but I would prefer the TPA challenge so I'll look into that.

Currently averaging about 33k XP/Hr at the double soul island if anyone cares about xp rates.

footballjds

2013-12-30 14:54:50

From: acredelta
lol ew for esswraith but that whole part is indeed based on your wispsinfo section :p

Thanks for the feedback. I've been implementing SPS into other scripts that walk around more, but I would prefer the TPA challenge so I'll look into that.

Currently averaging about 31k XP/Hr at the double soul island if anyone cares about xp rates.


31k/hr is kinda low. You'll be able to have lots of fun optimizing the script. I might take a look at it because optimizing is fun, gotta think outside the bun.

Clarity

2013-12-30 14:59:31

Yeah, the main optimization I'm doing atm is a different way of determining whether we're siphoning or not, currently it just checks for the XP Popup DTM, which takes awhile to go away after the esswraith has died, so there's a big lag time in between siphoning.

footballjds

2013-12-30 15:17:15

From: acredelta
Yeah, the main optimization I'm doing atm is a different way of determining whether we're siphoning or not, currently it just checks for the XP Popup DTM, which takes awhile to go away after the esswraith has died, so there's a big lag time in between siphoning.


sweet. well lets start there. List everything that happens when you're siphoning, figure out which are easily identifiable and make timers for each. then break out of your wait while siphoning loop if they're met. For instance.
Your inventory changes as well though while siphoning, i believe more often than EXP. also, requiring a user to turn on the XP pop up isn't very user-friendly.

I haven't been to the runespan in a while so my solution might not be the best. but this is definitely a fair place to start:
Use pixelship to see if you're siphoning
create a inv shift timer and check your inv item stack counts

Ashaman88

2013-12-30 15:37:10

From: acredelta
lol ew for esswraith but that whole part is indeed based on your wispsinfo section :p

Thanks for the feedback. I've been implementing SPS into other scripts that walk around more, but I would prefer the TPA challenge so I'll look into that.

Currently averaging about 33k XP/Hr at the double soul island if anyone cares about xp rates.


Check out kyles old runespan script for some tips on how to get it to only search for monsters on your island as well as a lot of other tricks! Awesome job on the release!

footballjds

2013-12-30 15:54:25

From: Ashaman88
Check out kyles old runespan script for some tips on how to get it to only search for monsters on your island as well as a lot of other tricks! Awesome job on the release!


{no offense kyle}
I think the other guy's was better… it should still be in outdated.

Sjoe

2013-12-30 16:05:17

From: footballjds
{no offense kyle}
I think the other guy's was better… it should still be in outdated.


@zmon;'s in case you're wondering @acredelta;

Ashaman88

2013-12-30 17:00:51

From: footballjds
{no offense kyle}
I think the other guy's was better… it should still be in outdated.


Oh yeah probs so, I only said that b/c I wrote the island barrier part hehe ;)

Clarity

2013-12-30 17:15:46

That 3DProjection he used is damn cool.
Thanks so much guys for taking the time to post, I've got some tutorial and script reading to do now haha.

Note: Because the script is centered so much around the double soul esswraith island atm and I told it to skip the first TPA match, siphoning anywhere else (1 esswraith match) won't work.

Until I update it with a fix, if you are not siphoning on the double soul island, in findEsswraith; change

TPAtoATPAWrap(TPA, 40, ATPA);
sortATPAFrom(ATPA, point(mainscreen.cx, mainscreen.cy));
for i := 1 to high(ATPA) do
begin
mouse(ATPA[1].getMiddle, MOUSE_MOVE, MOUSE_HUMAN);
to
TPAtoATPAWrap(TPA, 40, ATPA);
sortATPAFrom(ATPA, point(mainscreen.cx, mainscreen.cy));
for i := 0 to high(ATPA) do
begin
mouse(ATPA[0].getMiddle, MOUSE_MOVE, MOUSE_HUMAN);

Edit: Got it to about 39k hr now. Progress haha.

The Mayor

2013-12-31 05:40:42

Thanks for the mention. I guess all that commenting paid off ;)

Clarity

2014-01-01 04:56:44

Haha thanks back at ya, your scripts are super educational.

football, pixelshift is awesome, had not found that yet. Thanks for steering me in that direction.

Clarity

2014-01-11 23:01:52

Working on a full rewrite attempting to use all the stuff you guys mentioned and forwarded over to me. Removed script for now since it's nooby :p.

vwxz

2014-01-12 01:25:44

Just FYI, I used pixelshift for an earlier version of my ivy chopper, and I'm actually in the process of moving away from it now. A lot of factors change what values you get out from it and it's hard to find a threshold that works well for everyone. (The end result of this was that the script worked well for me, and anywhere between well to mediocrely for everyone else.) I suspect that, where available, you would be better off using some combination of other methods (exp change, siphon particle color, presence of the monster you were siphoning near where you clicked it, etc) than trying to get pixelshift to work for everyone.

Clarity

2014-01-14 11:58:29

Interesting, thanks for pointing out your experience.
I'll be writing a number of different methods for practice in addition to finding an optimal method. XP Change doesn't seem to be optimal given the nature of siphoning (you either gain no XP, 1 XP, or the esswraith XP, and depending on level you can get no XP a lot).

Looking at combining pixel shift with color recognition to make it more specific.

vwxz

2014-01-16 18:45:42

From: acredelta
you either gain no XP, 1 XP, or the esswraith XP, and depending on level you can get no XP a lot


I need to re-check this, but from memory, I thought it was high exp for a "success" and 1 exp for a "failure", but you always got at least 1.

footballjds

2014-01-17 09:11:10

From: acredelta
Interesting, thanks for pointing out your experience.
I'll be writing a number of different methods for practice in addition to finding an optimal method. XP Change doesn't seem to be optimal given the nature of siphoning (you either gain no XP, 1 XP, or the esswraith XP, and depending on level you can get no XP a lot).

Looking at combining pixel shift with color recognition to make it more specific.


did you look at how @zmon did it? http://villavu.com/forum/showthread.php?t=81326

Clarity

2014-01-17 17:08:17

From: vwxz
I need to re-check this, but from memory, I thought it was high exp for a "success" and 1 exp for a "failure", but you always got at least 1.

You are correct, I just discovered. That's good actually, will make the methods easier to construct.

vwxz

2014-01-21 05:14:36

From: acredelta
You are correct, I just discovered. That's good actually, will make the methods easier to construct.


By the way, I'm interested in writing a Runespan script also, if you want to discuss ideas.

I've recently gotten a hold of a 90 RC account, so I have something to test souls with.

Clarity

2014-02-02 10:48:34

I've recreated this script with island detection and a far faster and accurate areWeSiphoning check, and XP/Hr is now very close to legitimate playing rates. Will release public shortly.
At 90ish runecrafting siphoning souls.