SRL Archive - Reflection Discussion

Deposit during random


doublex8

2010-11-15 16:45:48

Well I figured since reflection solves randoms that this would be a good place to post this but please correct me if I am wrong.

I was playin legit and ran into a random and usually if I'm skilling legit and get a random with a deposit box, I will deposit what I have to save a bank trip. I was wondering if this is something that can be incorporated into the random solvers, to detect a random with a deposit box in it and deposit everything in the players inventory prior to solving the random. Once again I know very very little about scripting(but plan to learn this x-mas break while I have a break from school!) and don't know if this is very hard to include into the random solvers but thought I would throw it out there.

Troll

2010-11-15 16:50:04

Yes i think this could be done, however it would have to be put in the scirpt else it could easly bank the wonrg stuff, like a pick axe when minning, or rune ess when rune carfting.
E: By in the scirpt i mean each one

doublex8

2010-11-15 17:33:09

Oh, I didn't know if you could just include it with reflection so that all scripts that use reflection could recognize it or something.

NCDS

2010-11-15 18:10:32

I'm pretty sure all solvers for randoms that have a deposit box already have the ability to deposit at them, in case your char's inv is full. However, quite a bit would need to be added to make them deposit items by the users choice.

I honestly don't see something like that being feasible in SRL, even with Reflection really.

Cstrike

2010-11-15 21:27:35

One idea I was batting around was something like this

R_FindRandomsDeposit (IDsToNotDeposit : TIntegerArray);
// Looks for randoms, but will not deposit any item IDs specified

Of course that may/would come when we have all randoms down solid :)