Log in

View Full Version : Looting function



Ilya
11-29-2012, 09:23 PM
What are the current looting functions that are working?
Thanks in advance!

Enslaved
11-29-2012, 09:26 PM
there are not any looting functions, currently to closest thing to it is using object finding functions and check for uptext

Ilya
12-01-2012, 06:29 AM
So basically FindObj?

YoHoJo
12-01-2012, 09:11 AM
You can also check out all of the variations of FindObj too (there are quite a few) to make it a bit more specific to your needs.
Or better yet make your own!
Always best (or funner/more customizeable/more efficient) to make your own functions from scratch!

Ilya
12-03-2012, 03:11 PM
Thanks,
Color+ uptext is doing wonders for me.

footballjds
12-03-2012, 04:59 PM
Thanks,
Color+ uptext is doing wonders for me.

When you get a bit more experience might I suggest making your own function using TPA's and ATPA's? :)

Ilya
12-03-2012, 05:29 PM
When you get a bit more experience might I suggest making your own function using TPA's and ATPA's? :)

I've looked into it, but seems to me it would take a few non-stop hours to learn, and a few days to implement them into a script. I just don't have that kind of time. Maybe over xmas break, i'll learn them and apply to SRL members again =)
:D

footballjds
12-03-2012, 05:53 PM
I've looked into it, but seems to me it would take a few non-stop hours to learn, and a few days to implement them into a script. I just don't have that kind of time. Maybe over xmas break, i'll learn them and apply to SRL members again =)
:D

More power to you! It will take about 1 hour if you're really trying hard to grasp the concept. Please let me know of any questions you have. I may even be able to teach you them sometime on some form of chat or other. (:

Ilya
12-08-2012, 07:27 PM
More power to you! It will take about 1 hour if you're really trying hard to grasp the concept. Please let me know of any questions you have. I may even be able to teach you them sometime on some form of chat or other. (:

What would be most efficient for looting a variety of different items?
Would it be best and most fail-safed to make DTM's to make sure every item that you want to get picked up gets picked up?
Also, i have made a private script that runs the 6 hour limit, but it won't reload after.
I have this:
Begin
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;

setupSRL();

DeclarePlayers;
LoginPlayer;
ClickNorth(SRL_ANGLE_NONE);
SetAngle(0);
at the beginning of the main loop. What else do I need to do to make sure it re-starts?

Ian
12-08-2012, 07:44 PM
What would be most efficient for looting a variety of different items?
Would it be best and most fail-safed to make DTM's to make sure every item that you want to get picked up gets picked up?
Also, i have made a private script that runs the 6 hour limit, but it won't reload after.
I have this:
Begin
SRL_SIXHOURFIX := TRUE;
SMART_FIXSPEED := TRUE;

setupSRL();

DeclarePlayers;
LoginPlayer;
ClickNorth(SRL_ANGLE_NONE);
SetAngle(0);
at the beginning of the main loop. What else do I need to do to make sure it re-starts?

For the 6 hours thing, at beginning of every procedure/function put
if not LoggedIn then LoginPlayer;
This will stop it from getting stuck usually. If you still have problems, try adding it in more places :)

Ilya
12-08-2012, 09:35 PM
Brilliant. Thank You so much!
+1

Ian
12-08-2012, 09:46 PM
Brilliant. Thank You so much!
+1

It's what riwu told me when I asked him :)

footballjds
12-08-2012, 10:11 PM
IIRC, which i commonly do, the six hour fix should be place after setupSRL, no?

Ian
12-08-2012, 10:15 PM
IIRC, which i commonly do, the six hour fix should be place after setupSRL, no?

I have it before setupSRL in my script and it runs well past 6 hours. Maybe both work.

footballjds
12-08-2012, 10:16 PM
I have it before setupSRL in my script and it runs well past 6 hours. Maybe both work.

maybe i'm wrong :P