SRL Archive - OSR Help

Looking for help on looting.


iEatApplez

2014-09-24 02:05:26

Heya,
I'm trying to make my script loot items (about 3 or 4 times the same item per time) but I simply have not reached the knowledge of being able to do so.
Therefore I was wondering if someone actually could help me out 1-on-1 (preferably over Skype, but pm would also be fine).
Thanks in advance :)

Things I've tried;
Reflection (but didn't quite come far, at all)
Finding the item with a color, making it right click and making it left click on 'Take'. (Works if it'd only need to pick up 1 item, but as soon as your character stands on top of it it'll get stuck)
A few other minor stuff that really didn't do a whole lot at all.

~Annonymus

The Mayor

2014-09-24 03:31:05

I can't give you example code as this is OSR, but I'd use method 2, but after the first pickup, mouse the mouse to the center of the screen (I think mscx, mscy) and click 4 times (if uptext matches).

Hoodz

2014-09-24 04:02:34

From: The Mayor
I can't give you example code as this is OSR, but I'd use method 2, but after the first pickup, mouse the mouse to the center of the screen (I think mscx, mscy) and click 4 times (if uptext matches).


mmh do you remember something about srl-5? its basically the same

iEatApplez

2014-09-24 17:14:39

From: The Mayor
I can't give you example code as this is OSR, but I'd use method 2, but after the first pickup, mouse the mouse to the center of the screen (I think mscx, mscy) and click 4 times (if uptext matches).


That would work, I guess. Lemme try it, I'll tell ya how it went :p