SRL Archive - OSR Script Requests

[Minigame] Warrior Guild!


kanko

2013-04-14 07:49:39

Hello guys,

Would like to see a script that does the warrior guild activity's doesn't matter which one IMO it isnt hard to script this because at 1 activity it just need to do this:

Put arm in animal magnitsor auto ret on it kills it picks up re-do. isnt hard?

wthomas

2013-04-14 09:44:12

From: kanko
Hello guys,

Would like to see a script that does the warrior guild activity's doesn't matter which one IMO it isnt hard to script this because at 1 activity it just need to do this:

Put arm in animal magnitsor auto ret on it kills it picks up re-do. isnt hard?


The armour one wouldn't be as simple as you think, its essentialy a combat script thats even more complex than usual. An easier one would be the shotput that'd take about 15 minutes to write :)

you should try and have a go at writing one, if you break the problem down its a much less daunting problem:
eg.
1: click the pile of shotputs on the ground; Use DTM's or TPA's for this.
2: check the chat box and select the correct options.

just repeat that with a few waits and failsaves and bingo :)

A few SRL functions you should check out:

FindNPCChatText('text here',ClickLeft);
This finds "text here" in the NPC chat box and if it finds it clicks on it.

for the DTM or TPA of the shotputs of the ground if you don't know about these check them out in the Tutorials section :)

Flight

2013-04-14 18:56:03

From: kanko
Hello guys,

Would like to see a script that does the warrior guild activity's doesn't matter which one IMO it isnt hard to script this because at 1 activity it just need to do this:

Put arm in animal magnitsor auto ret on it kills it picks up re-do. isnt hard?


And if the armor walks out of the animator from the N/E/S south? What if there's multiple people doing this at once and your NPC gets blocked by theirs long enough to where it is no longer aggressive to you? Then what?

samerdl

2013-04-14 22:57:36

not easy to write no, but is it worth it? yes.
I started writing one last week then gave up

wthomas

2013-04-17 12:07:42

From: samerdl
not easy to write no, but is it worth it? yes.
I started writing one last week then gave up


If you thought it was worth it you'd have kept going, but the armour is very hard, you'd probably have to use MMtoMS on the flashing arrow of the minimap and also on the mainscreen then cross that with the coords from the same flashing arrow on the main screen if its visible, then try and attack all the possible ones under your armour…. yeah its much simpler to write one for the shotput..

samerdl

2013-04-17 14:05:07

From: wthomas
If you thought it was worth it you'd have kept going, but the armour is very hard, you'd probably have to use MMtoMS on the flashing arrow of the minimap and also on the mainscreen then cross that with the coords from the same flashing arrow on the main screen if its visible, then try and attack all the possible ones under your armour…. yeah its much simpler to write one for the shotput..


Yep and for the Animator i found a color that is perfect in CTS2, it finds it and animates and how you said it - follow the Yellow marker to attack, and then on Find the Rune plateBody, - Walk to it, then make the mouse highlight Cursor on it, then spam click with short random wait times, till all 4 items are picked up. Now that does it for a loop that animates and kills.

But what if some one wants to fight Addy/Rune? they risk dying, so we'd have to make it go to the shops, buy food and re-enter..

yeah its a lot of work and i can't really focus on it right now, this jad cave script i continues… has already taken so much time.

awesomem8

2013-04-19 00:35:27

can someone just make the shotput one, its really easy if you know what your doing :p