View Full Version : Helpful ideas
footballjds
11-28-2012, 07:23 PM
Waterfiends script in development.
Checkout the script at my SVN (http://code.google.com/p/waterfiends/).
Benny
11-28-2012, 08:15 PM
Come on bud...
I want to see this. Maybe search for the good drops. Ie input stuff that either stacks or is worth alot. Don't bother throwing in the random crap. I think also if your going to work on colors get samples from loaaaads of members to make sure it doesn't false click.
Ashaman88
11-28-2012, 08:33 PM
Looting will be the pain, since all the injection bots will be wearing all different kinds of colors to mess with you! So you will need to have that be pretty advanced
But....GET ON IT!
footballjds
11-28-2012, 08:34 PM
Come on bud...
I want to see this. Maybe search for the good drops. Ie input stuff that either stacks or is worth alot. Don't bother throwing in the random crap. I think also if your going to work on colors get samples from loaaaads of members to make sure it doesn't false click.
I'm thinking gathering color data for all the items that appear on top. I just need to make a list of what items those are. once you right-click that spot using text to pick things up is simple enough. the issue is it becomes difficult for you to know which drop just fell and which drops have been there... :/
Not sure it would be worth making a color script like this
footballjds
11-28-2012, 09:20 PM
Not sure it would be worth making a color script like this
why do you say this? I refuse to use a powerbot script ever again since my main was banned apprx 3 years ago.
Benny
11-28-2012, 09:26 PM
I'm thinking gathering color data for all the items that appear on top. I just need to make a list of what items those are. once you right-click that spot using text to pick things up is simple enough. the issue is it becomes difficult for you to know which drop just fell and which drops have been there... :/
Speak to Riwu. He has some great methods I believe
why do you say this? I refuse to use a powerbot script ever again since my main was banned apprx 3 years ago.
So? Point is, color+fighting script=pain in the ass with 50 other bots around you.
You got banned because 99% of scripts on powerbot are by some 16 year old's first script. Powerbot has terrible mouse movements and terrible antiban.. there is a limit to color
footballjds
11-28-2012, 09:55 PM
Speak to Riwu. He has some great methods I believe
riwu's attempt at a fiend script is good. But not good enough for me which is why i'm still gonna make one.
So? Point is, color+fighting script=pain in the ass with 50 other bots around you.
You got banned because 99% of scripts on powerbot are by some 16 year old's first script. Powerbot has terrible mouse movements and terrible antiban.. there is a limit to color
OMG YOU KNOW WHY I GOT BANNED? lol... but seriously, that's not why ;)
I've made fighting scripts before. I can do it again. I'm not worried about fighting. I'm worried about looting effectively.
Kyle Undefined
11-28-2012, 10:02 PM
If you're going to be fighting right next to the monsters, why not make an array of drop dots on the MM in an area around the player. If a new one is found, then go to that one and check for loot.
Something like that should be pretty efficient.
footballjds
11-28-2012, 10:13 PM
If you're going to be fighting right next to the monsters, why not make an array of drop dots on the MM in an area around the player. If a new one is found, then go to that one and check for loot.
Something like that should be pretty efficient.
their weakness is bolts. Your char will RARELY be next to them. Also, waiting for a fiend to die seems tedious... :/
tell me what you think of this idea. While in a fight search on screen for loots and just right click them n check the text. I find myself doing this when I legit. The auto-retaliate seems faster with EoC so it won't slow down the fighting quite as much as it used too.
their weakness is bolts. Your char will RARELY be next to them. Also, waiting for a fiend to die seems tedious... :/
tell me what you think of this idea. While in a fight search on screen for loots and just right click them n check the text. I find myself doing this when I legit. The auto-retaliate seems faster with EoC so it won't slow down the fighting quite as much as it used too.
The player is always in the same coords maybe you could check for the waterfeind if it is within a certain range, OR what i use in my rsps bot, the bot checks to see if my hp bar is up, once it goes away it starts the looting procedure(hp bar is always around the same area)
footballjds
11-28-2012, 10:52 PM
The player is always in the same coords maybe you could check for the waterfeind if it is within a certain range, OR what i use in my rsps bot, the bot checks to see if my hp bar is up, once it goes away it starts the looting procedure(hp bar is always around the same area)
it'd be faster to have your combat tab open and see if you have no target. That changes instantly and ur hp bar disappears after a delay ;) lol, now i'm giving you ideas :p
footballjds
11-28-2012, 11:03 PM
Use Brandons OGL :)
I see brandon is viewing this thread. Brandon, is it functional to use for this? can i run in safemode with smart? pretty sure it'd have to be OGL mode which isn't supported ...
I see brandon is viewing this thread. Brandon, is it functional to use for this? can i run in safemode with smart? pretty sure it'd have to be OGL mode which isn't supported ...
It works with smart, but its not official (and not even released?) atm.
But apart from ogl you could get the a point where the waterfiend is your fighting (via hp bar or a hitsplat) and once not in combat just search in a 30x30 box for loot around that point.
EDIT: Another bonus for ogl is that you could just have a loot list, since even hidden items will show up :p
it'd be faster to have your combat tab open and see if you have no target. That changes instantly and ur hp bar disappears after a delay ;) lol, now i'm giving you ideas :p
Havn't played eoc in live rs lol.
footballjds
11-30-2012, 02:46 AM
If anyone wants to take a look at my progress, feel free. I've got a pretty good waterfiend finder and a good DDTM anchor. :)
footballjds
11-30-2012, 11:01 PM
got a good chunk written now. give it a test run for 5 mins and tell me how terrible it is :P
no failsafes so DO NOT JUST RUN IT...
Where is it :P i don't see it anywhere on http://code.google.com/p/waterfiends/
footballjds
11-30-2012, 11:52 PM
Where is it :P i don't see it anywhere on http://code.google.com/p/waterfiends/
try looking at the source tab ;)
http://waterfiends.googlecode.com/svn/trunk/WaterF_JDS.simba
footballjds
12-06-2012, 10:11 PM
Not sure how interested everyone is... But to update you on my progress, ALMOST THERE!!! :)
I believe i created the sexiest, failsafed and smart potion drinking system :)
please check it out
It uses DTM's to find vials/flasks then searches for the colors in the inv slot then sorts by the least(so it ALWAYS drinks the most empty potion). the fun part is adding support for any potion consists of putting a string name and color in a case statement like 'Summoning': color := FFFFFF;
This means adding support in the future will be simple af xD
I'm pretty happy with my progress :)
Ashaman88
12-06-2012, 10:26 PM
Nice job man finish strong!
Slashed
12-11-2012, 11:23 PM
Keep up the good work, you can do it!
Mr[S]
12-12-2012, 06:27 PM
This is going to be mad :sasmokin:
Wardancer
12-12-2012, 07:09 PM
For loots, is it possible to make an ObjDTM at that place? (I never went there). If so, you can make a modified version of ObjDTM_InArea to record red dots on the MM as an array as something similar to "main points". It'd also be possible to delete them once they disappear. The MMtoMSEx can be quite precise from experience if you put in the correct values, but I'm not quite sure how precise it'd be if put into an array of "main points" from ObjDTM...
footballjds
12-12-2012, 07:13 PM
For loots, is it possible to make an ObjDTM at that place? (I never went there). If so, you can make a modified version of ObjDTM_InArea to record red dots on the MM as an array as something similar to "main points". It'd also be possible to delete them once they disappear. The MMtoMSEx can be quite precise from experience if you put in the correct values, but I'm not quite sure how precise it'd be if put into an array of "main points" from ObjDTM...
you should really take a look at the script! (: It uses a DDTM anchor with auto color for all points so its under 16ms for a search. I have filtering by mmdots a const so the user can decide if they'd like to filter. I've modified the x,y values that mmtoms returns as it's now broken after camera zoom update.
It's coming along quite nicely :)
you should really take a look at the script! (: It uses a DDTM anchor with auto color for all points so its under 16ms for a search. I have filtering by mmdots a const so the user can decide if they'd like to filter. I've modified the x,y values that mmtoms returns as it's now broken after camera zoom update.
It's coming along quite nicely :)
You should look at MMtoMSEx, I think that was added there for updates.
footballjds
12-12-2012, 07:28 PM
You should look at MMtoMSEx, I think that was added there for updates.
you should look at my script. I use MMtoMSEx:
for i := 0 to h do
begin
Mxy := ModXY(rDots[i]);
MSP := MMtoMSEx(Mxy.x, Mxy.y, rDots[i]);
if not(PointInBox(MSP, IntToBox(MSX1, MSY1, MSX2, MSY2))) then Continue;
SetArrayLength(LootBox, Length(LootBox)+1);
LootBox[high(LootBox)] := PointToBox(Point(MSP.x-30, MSP.y-30), Point(MSP.x+30, MSP.y+30));
end;
Wardancer
12-12-2012, 07:39 PM
you should really take a look at the script! (: It uses a DDTM anchor with auto color for all points so its under 16ms for a search. I have filtering by mmdots a const so the user can decide if they'd like to filter. I've modified the x,y values that mmtoms returns as it's now broken after camera zoom update.
It's coming along quite nicely :)
From your posts, I thought you were still having issues.
To be quite honest, I find myself learning a lot from your script. Not sure I can really give you a worthwhile feedback as I'm not quite sure I fully understand some parts of it. I find myself having more questions for you than you have for us, haha.
That being said, after a quick read of your code, doesn't it check every drops that you can see on MS while you're in combat? I don't know how botlike this might look. However, I suppose you can use your anchor system to do exactly what I suggested to avoid repeatedly testing the same stacks of loots fight after fight. At the same time, you'd have to avoid removing the point from the essay until you're done with a pile before removing it from the array...and this can take a few fights with your current system. All in all, I'm not sure if filtering stacks on MS would really benefit your script.
footballjds
12-12-2012, 08:18 PM
From your posts, I thought you were still having issues.
To be quite honest, I find myself learning a lot from your script. Not sure I can really give you a worthwhile feedback as I'm not quite sure I fully understand some parts of it. I find myself having more questions for you than you have for us, haha.
That being said, after a quick read of your code, doesn't it check every drops that you can see on MS while you're in combat? I don't know how botlike this might look. However, I suppose you can use your anchor system to do exactly what I suggested to avoid repeatedly testing the same stacks of loots fight after fight. At the same time, you'd have to avoid removing the point from the essay until you're done with a pile before removing it from the array...and this can take a few fights with your current system. All in all, I'm not sure if filtering stacks on MS would really benefit your script.
after the script is released and tested I plan on increasing the loot logic. Something like a MMRedDot TPA that gets updated after checking a pile and removed for x amount of time or until it disappears from the tpa.
As far as questions feel free to post them and ask away. I've made quite a lot more I'll commit that quick.
Wardancer
12-12-2012, 10:44 PM
As far as questions feel free to post them and ask away. I've made quite a lot more I'll commit that quick.
Thank you for the offer, but I prefer learning by myself as much as I can. I remember and understand more this way (usually). I can't ask any question before I look through the includes and read functions you used that I never saw before. For example, I had no clue what FilterPointsPie was, and truthfully I'm still a bit lost in the sea of math after reading a bit about it (been over 6 years since my last math class), but I can't give up yet. I already understand much better how radial walk works thanks to this.
footballjds
12-13-2012, 12:35 AM
Script is now functional. If anyone wants to try it setup your action bar like so:
http://gyazo.com/8e7152bac6d049f8f9a6022fe8e5529e.png?1355358831
Prayer support is there but the check to see if quick prayer is on is a broken SRL function that always returns true. So it'll never turn quick prayer on. If you start the script with it on, you should be good. This I'll either fix or get the include fixed.
Still have a lot of tweaking to do. I'm also going to overhaul the looting functions after I release and get heavier testing.
Future features:
Better looting algorithm
location detection and response algorithms
how the hell did you do looting with color lol?
What does you ModXY function do?
footballjds
12-15-2012, 03:33 AM
What does you ModXY function do?
Idk how I came to this but it makes the MMtoMS more accurate. It calculates the mod x and mod y.
function ModXY(MMPoint: TPoint): TPoint;
begin
result := Point(0, 0);
if Distance(MMCX, MMCY, MMPoint.x, MMPoint.y) < 5 then EXIT;
result := Point(Round(2*(MMCX-MMPoint.x)), MMCY-MMPoint.y);
end;
Peanuts
06-11-2013, 03:22 AM
Waterfiends script in development.
Checkout the script at my SVN (http://code.google.com/p/waterfiends/).
Why not just use a charming imp for the initial script..
Then later on work on looting for people without limp
footballjds
06-11-2013, 03:26 AM
Why not just use a charming imp for the initial script..
Then later on work on looting for people without limp
check dates.
imp didn't exist at the time.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.