SRL Archive - Help and Support

Quest Runner


Bobzilla69

2010-10-05 15:22:37

Hey,

I have been working on a QuestRunner, it has no real use, well apart from running quest for you.

i need some input on the script so far.

The main problem i am facing is that i need to add fail safes, however i am not to sure of the best way to accomplish this, the only way i can currently do it is with a extremely large if then statement.

another problem i have seen is occasionally when i check to see if a gate is open it will return a false positive, gate is closed but it thinks it is open, any ideas?

any other ideas?

i have included the script

Cstrike

2010-10-05 23:00:41

I'd personally use reflection walking unless you're REALLY solid at color.

One idea would be to put phases in:

ex: (doric anvil

Phase 0, should walk to doric
Phase 1, find him through TPA and talk to him
Phase 2, walk to rimmington mine, returns false if no pickaxe is found
Phase 3, mine
Phase 4, cannot proceed unless it finds ore (returns to phase 3)
Phase 5, walk back to him
Phase 6, talk, quest complete


Gate's and doors suck. If you know the direction and can get right next to them, you can rotate your view and see if they're open using color
… or use reflection ;), reflection makes it so much easier

<3 reflection

Though color may be more stable in the long run

Bobzilla69

2010-10-06 04:51:09

From: cstrike
I'd personally use reflection walking unless you're REALLY solid at color.

One idea would be to put phases in:

ex: (doric anvil

Phase 0, should walk to doric
Phase 1, find him through TPA and talk to him
Phase 2, walk to rimmington mine, returns false if no pickaxe is found
Phase 3, mine
Phase 4, cannot proceed unless it finds ore (returns to phase 3)
Phase 5, walk back to him
Phase 6, talk, quest complete


Gate's and doors suck. If you know the direction and can get right next to them, you can rotate your view and see if they're open using color
… or use reflection ;), reflection makes it so much easier

<3 reflection

Though color may be more stable in the long run


ok the phase sounds interesting.

how do you go about making a system like that?

is it like separate functions for each section?

the gate problem is annoying it walks very close, i use mini map color to get close and then it will search for the gate, find it and is suppose to check if it says Open gate or Close gate in the up text, this is where i think it mucks up.
will just have to try and refine it more.

Possible add reflection as a backup to my color script, currently the color works well