SRL Archive - Senior Scripts and Snippets

[PROGRESS] AIO Fighter


marpis

2011-12-10 18:12:34

Ok so as SPS 2.0 progress is quite slow, I'm also writing a true AIO fighter which uses SPS for walking and SmartColors by RM for all mainscreen things. I'm trying to make it as dynamic as possible and avoid use of all premade bitmaps and DTMs, because I don't want to be updating that kinda stuff all the time.
It will do eating like my MultiFighter, it hovers items in inventory, finds uptext "Eat" and creates a bitmap of the food.

I'm making it easily expandable, so when I get the base ready it will be very easy to add any location and any monster. First I'm writing it to fight the Giant rats at the rat cage, then I don't know what. Obstacle solving is made easy too.

I'll post some code here every now and then, to let you see the progress.
Timestamps are European.

11/12/2011: InitScript; is kinda messy and ugly, I need to make it prettier somehow.
22/12/2011: Noticed that currently SPS doesn't work well at the rat cages, there are too many similar views on the used areas. I didn't want to stop the progress just to wait for SPS2, so I decided to move on to the Goblins west of Lumbridge castle. The stairs were a bit problematic with the obstacle logic so I completely revamped it, now it's easier to add obstacles to any kinds of paths. I needed to modify smart colors, so I copied the whole file to my fighter and made the needed changes. Also I'm testing out putonajonny's InFight function. So far it looks as if this is actually going to be quite nice.
22/12/2011: I'm having major object finding problems, and it would be a pain to modify SC all the time so I think I'm going to switch to my own object finder, the one used in MSI.
31/12/2011: Ok now I removed SC and made a finder much like the one in MSI. Still having lots of troubles finding goblins west of Lumbridge castle. I will probably have to make a profile for each type of goblins. The initializing looks good now, and the paths won't be too long because I'll be using WindPath. At the moment there are a few functions, such as LinearTPA that don't work properly, but I'll get rid of them and use WindPath instead. I'm starting to realize how huge project this is, so don't expect this to come out too soon.

YoHoJo

2011-12-11 02:52:38

Sounds AMAZING!
I know this shiz will be on FIRE, Narcles figher thread has been BLOWING UP (mostly with nooby noob nobbs crying and complaining….) but the demand for fighters is HUGE!

marpis

2011-12-11 05:12:07

From: YoHoJo
Sounds AMAZING!
I know this shiz will be on FIRE, Narcles figher thread has been BLOWING UP (mostly with nooby noob nobbs crying and complaining….) but the demand for fighters is HUGE!


I'm not yet sure what features and locations I'll be releasing into public.
Certainly not chaos druids or blue drags or any of those that were completely raped before the nuke.

I might do 3 levels of this script:
1. Public: No looting, no epic locations
2. Members: With looting, no epic locations, Potions
3. SSRL: Epic locations, Potions, Summoning, Teleport banking

YoHoJo

2011-12-11 05:15:47

Sounds nice to me, and DAMN you're making it sound even epicer! Love the easy addonability!

marpis

2011-12-14 11:40:35

Well I got it somewhat working at the rat cage, just a simple kill-get more food-kill more loop.
However, I see that SPS really isn't working that well now, and that is only because 100x100 pixels box is too small an area to inspect.
I will continue this project when SPS 2.0 comes out, it will notice your whole round minimap, not only a square from the center.

YoHoJo

2011-12-14 11:44:51

Good to know.
Glad you're working hard on SPS and ideas are bubbling and evolving.
This thing is going to be really popular once it's out I know it, seems like EVERYONE wants a good AIO fighter!

YoHoJo

2011-12-20 20:09:40

bamp. just wondering how this is going, update us? :D

marpis

2011-12-22 14:50:52

From: YoHoJo
bamp. just wondering how this is going, update us? :D


Here you go! :)