Nava2
2009-01-12 08:27:36
This is my most recent script, its a Reflection Auto-Fighter. It is general, and can fight any monster.
Currently, all I ask is for some progress reports, as well as bugs. From what I have tested, it works well, but I could be wrong. :)
This needs the newest rev of reflection.
Setup:
The script will automatically eat food, if it exists.
To get Item ID's I suggest using the GE or RSBot, if you didn't already know that. :)
Thanks!
To add:
Currently, all I ask is for some progress reports, as well as bugs. From what I have tested, it works well, but I could be wrong. :)
This needs the newest rev of reflection.
Setup:
Players[0].name := '';
Players[0].pass := '';
Players[0].nick := '';
Players[0].active := true;
NPI[0].Combat := '';
NPI[0].Names := [''];
NPI[0].FightOptions := [True, False, False];
NPI[0].RunAwayDir := 'N';
NPI[0].PickupIDs := [];
NPI[0].PickupNames := [];
NPI[0].ProItems := [];
NPI[0].InvOpts := [True, False];
NPI[0].RangeOptions := [True, False];
NPI[0].AmmoID := 0;
NPI[0].AmmoStrings := ['', ''];
NPI[0].BlackAreas := []; - NPI[0].Combat := ''; Skill to Train, or combat mode to use.
- NPI[0].Names := ['']; Monster Names, its an array so you can use more than one.
- NPI[0].FightOptions := [True, False, False]; Use an Up Text check before clicking, Always right click, Wait for your HP to regen if forced to run away.
- NPI[0].RunAwayDir := 'N'; Direction to run away if needed
- NPI[0].PickupIDs := []; Item IDs of the Items to Pick Up
- NPI[0].PickupNames := []; Names of the Items to pick up, must be in the same order as the IDs.
- NPI[0].ProItems := []; Item IDs of the Items to NOT drop, PickupIDs, FoodIDs, and AmmoID are added automatically to this list. No need for duplicates.
- NPI[0].InvOpts := [True, False]; Drop Items not in the ProItems list; Bury Bones all bones
- NPI[0].RangeOptions := [True, False]; Pickup Arrows; Equip Arrows
- NPI[0].AmmoID := 0; Item ID of the Ammo being used.
- NPI[0].AmmoStrings := ['', '']; Name of the Ammo; Type of ammo, knives, arrows, darts, etc.
- NPI[0].BlackAreas := []; Areas you would not like the script to get NPCs from. This is done with TBoxs and using the IntToBox(x1, y1, x2, y2) : TBox; command. These are boxes of Tiles.
The script will automatically eat food, if it exists.
To get Item ID's I suggest using the GE or RSBot, if you didn't already know that. :)
Thanks!
To add:
- Automatic inventory set up, no id's required. Added.