SRL Archive - MSI Scripts & Features

MSI Artificial Intelligence Features


Coh3n

2010-12-06 20:21:45

MSI Artificial Intelligence!


Hey everyone!

I've decided to put together a list of all MSI's artificial intelligence (or close to it) features as I'm sure you guys will be interested. :) Here it is:

[INDENT]Tool Withdrawing
[INDENT]If a player's required tool(s) (i.e. pickaxe or hatchet) aren't found, it will open the bank (if at a bank) and withdraw the best tool that's needed. For example, if no hatchet is found, and the players woodcutting level is 45, the script will open the bank and withdraw a Rune hatchet (if found in the bank).[/INDENT]


Start anywhere in Runescape
[INDENT]If the player isn't at the script's bank, path, or location, MSI will teleport home (Lumbridge) and walk to the starting location of that script. If it's in the path from Lumbridge to the starting location, it will continue rather than teleport again.[/INDENT]


Run out of supplies
[INDENT]If a player is both net and bait/fly fishing, for example, and it runs out of bait/feathers, it will realize this and reset the player's objects array so it will only net fish from then on. It will also deposit the excess tools (fishing rods) the next time it banks.[/INDENT]


Relocating
[INDENT]MSI has a relocation system that will relocate if the objects aren't found. For example, if for some reason you wander too far away from Draynor Willow trees, the script will walk back to the trees. Also, MSI remembers the player's start location when powerskilling so if it wanders off, it will walk back to it's original location.

There are certain scripts such as Edgeville Yews and Barbarian Village Fisher that require the player to walk to the next tree/fishing spot. When the objects aren't found, the script will walk to the other location that holds the required objects. It will also work with locations that have more than two locations to walk to.[/INDENT]


Object Tracking
[INDENT]MSI's uses a nice tracking system to track objects such as trees, monsters, or rocks. If you're standing far away from a tree, the tracking system will track it until to stop moving to ensure we're waiting for the right rock to be mined.[/INDENT]


Autoing the next level object
[INDENT]If your player has a lower skill level, or is very close to be able to mine/chop/whatever the next rock, you can set the script to mine that rock and it will after it's gained that last level. For example, you start with a character with level 1 Woodcutting. You set it to powerchop (don't specify any trees). MSI will cut only Normal trees until level 15, when it will start cutting Oak and Normal trees if found. After hitting 35 Woodcutting, it will cut Normal, Oak, and Willow trees (assuming they're all found on the main screen). The same thing goes on and on for the higher level trees.[/INDENT]
[/INDENT]

Please post any you think I've forgotten. Also, you must remember that with any kind of program comes bugs. If one of these AI features aren't working, please file a bug report in the MSI Bugs section. :)

Cheers,
The MSI Team

Gu3st...

2010-12-07 13:55:35

"If for some reason, a user has incorrectly set a player's location…*SNIP*" I didn't know that :redface:

You could add tracking of objects.. That's some kind of AI
And relocating?

lordsaturn

2010-12-07 14:07:00

From: Zyt3x
"If for some reason, a user has incorrectly set a player's location…*SNIP*" I didn't know that :redface:

You could add tracking of objects.. That's some kind of AI
And relocating?


You could add in automatic location finding once RM's walker is done.

Coh3n

2010-12-07 14:42:24

From: Zyt3x
"If for some reason, a user has incorrectly set a player's location…*SNIP*" I didn't know that :redface:

You could add tracking of objects.. That's some kind of AI
And relocating?

I'll add both of those when I get home later.

From: lordsaturn
You could add in automatic location finding once RM's walker is done.

We could actually already have that if we wanted, it would just be reflection only. The only reason we've kept it as the user defined location is because if the user doesn't use reflection, the script would fail due to no location detection with color.

But yeah, when and if that project gets done, it will be added. :)

Coh3n

2010-12-15 03:25:47

Moved to the public general discussion.

Frement

2010-12-15 05:01:20

Some kind of auto-responder? Would answer to level questions (with delay ofcourse) and maybe shout something on level-ups (if over 50)?

Something Fakawi said (read from someones signature):
Respond a day, keeps the ban hammer away!

Gu3st...

2010-12-15 10:39:54

From: Frement
Some kind of auto-responder? Would answer to level questions (with delay ofcourse) and maybe shout something on level-ups (if over 50)?

Something Fakawi said (read from someones signature):
Yes, I had that in my signature :)

I too would like an auto-responder to be added, but it would be as an extra and not in the core.
Or at least an option to not use it

Sabzi

2010-12-15 10:58:12

There could be a huge I mean HUGE array of possible answers for given questions(just as normal), but there would be a setup where only random ones get added to the actual arrays. So it would still contain 5-6(or whatever) phrases like normal responders, but that 5-6 would (almost) always be different for everyone. Maybe this is a bad idea, but throwing it out there couldn't(I'm sure there is a grammar mistake …) hurt.

Frement

2010-12-15 11:30:21

From: Sabzi
There could be a huge I mean HUGE array of possible answers for given questions(just as normal), but there would be a setup where only random ones get added to the actual arrays. So it would still contain 5-6(or whatever) phrases like normal responders, but that 5-6 would (almost) always be different for everyone. Maybe this is a bad idea, but throwing it out there couldn't(I'm sure there is a grammar mistake …) hurt.


I believe that is a great idea. Should be made like that.

Coh3n

2010-12-15 14:44:15

From: Frement
Some kind of auto-responder? Would answer to level questions (with delay ofcourse) and maybe shout something on level-ups (if over 50)?

Something Fakawi said (read from someones signature):

This thread is for existing AI features. ;)

If you want to suggest ones, do so in the suggestions forum. :)

bevardis

2011-01-30 03:36:03

For example, if no hatchet is found, and the players woodcutting level is 45, the script will open the bank and withdraw a Rune pickaxe (if found in the bank).

Not supposed to be offensive, just change that : )

Sir R. M8gic1an

2011-01-30 03:40:24

From: bevardis
For example, if no hatchet is found, and the players woodcutting level is 45, the script will open the bank and withdraw a Rune pickaxe (if found in the bank).

Not supposed to be offensive, just change that : )


+rep if I get you right. I thought MSI did this already?

~RM

bevardis

2011-01-30 03:49:09

From: Sir R. M8gic1an
+rep if I get you right. I thought MSI did this already?

~RM


I think you got me wrong, I just highlighted a mistake in the text : o

Frement

2011-01-30 03:49:21

From: Sir R. M8gic1an
+rep if I get you right. I thought MSI did this already?

~RM


I believe there was a typo in the original title? Thats why the bold words, not sure thought, Coh3n has corrected it already (Or someone).

@Coh3n: I got the impression that this was for suggestions, sorry about that :)

EDIT: Ninja'd!

EDIT2: Oh, it says a pickaxe, its supposed to be a hatchet :D

Rich

2011-01-30 05:27:14

Can I just say that, many time MSI has been 'revived' in the Members section, but never really got going properly. This time though, you guys have done a fantastic job getting it going, making it run so well, and able to do so much. Well done MSI team!

/happiness

Sex

2011-01-30 05:36:45

From: Frement
I believe there was a typo in the original title? Thats why the bold words, not sure thought, Coh3n has corrected it already (Or someone).

@Coh3n: I got the impression that this was for suggestions, sorry about that :)

EDIT: Ninja'd!

EDIT2: Oh, it says a pickaxe, its supposed to be a hatchet :D

No, the error still exists.
[

Sir R. M8gic1an

2011-01-30 06:25:22

From: Sex
No, the error still exists.
[


Nice catch. Sorted.

~RM

Coh3n

2011-07-07 06:40:05

Added "Autoing the next level object."

Yago

2011-07-07 10:28:20

From: Coh3n
Added "Autoing the next level object."


What does this exactly mean?

NCDS

2011-07-07 11:26:13

From: Yago
What does this exactly mean?


This would give you the ability to start a script with a char set to chop Oaks, then once his WC level reaches 30 he will switch over to willows. (just an example)

Yago

2011-07-07 12:18:17

It would only work for powerskilling right? It would be nice if you could start another script… With the death walk that would be great…

NCDS

2011-07-07 12:19:50

From: Yago
It would only work for powerskilling right? It would be nice if you could start another script… With the death walk that would be great…


Adding multiple script support is also on the list of things to do ;)

Coh3n

2011-07-08 03:48:57

From: Yago
What does this exactly mean?
It's in the first post also. ;)

Oh, and you have to set your player to do Oaks AND Willows for it to do Willows. If you just set it to Oaks it will always do Oaks.

Yago

2011-07-08 11:35:37

From: Coh3n
It's in the first post also. ;)

Oh, and you have to set your player to do Oaks AND Willows for it to do Willows. If you just set it to Oaks it will always do Oaks.


Oh OK … I missed the first post
:)