SRL Archive - First Scripts

Autofighter


user52

2008-11-10 15:02:37

it works pretty well, i don't know if i did the anti-random right. anyway, suggestion, and or help would be very nice thanks.

Just a warning it does NOT run away if you have low health i'm working on it

jakeyboy29

2008-11-10 15:06:12

look at my simple one and learn a little off that.

Griff

2008-11-10 15:12:36

looks good for a first script, PM me if you have any question, and I'll see if I can help you out.

user52

2008-11-10 21:46:18

From: jakeyboy29
look at my simple one and learn a little off that.

in line 93 "function FindMonster(var x, y: integer; Color, Color2, Tol: integer; UpTxt: string): boolean;" your defining a new function right?

line 163 Mnt := GetMMLevels('hp', Eaty);

if Mnt <= Players[currentplayer].level[8] - EatAfter then

is seting mnt to your current hp but what is the , eaty part about? and mnt<= 8 you eat?

and the picker up procedure
line 180ish
how do you get it to search in the right part of the window? the MIX1 miy1 mix2 miy2 bit

sorry if these questions are kinda redundant

noidea

2008-11-10 21:48:55

mix/miy = Inventory.
msx/msy = main screen .
mmx/mmy = minimap.

rsman44

2008-11-29 11:11:59

If anyone wants to send me first time scripts to learn off or test, I would not mind tryin some out at all. I have to learn how to script this stuff too because im a noob, 2nd day lol