SRL Archive - Discussions & Debates

Slayer include/include extension


TomTuff

2010-11-06 18:53:45

So I've been training Slayer legit, and let's just say… it's awesome. As I always do while I do something legit, I've been thinking about how difficult (or not) it would be to make some sort of script for this. So, thinking about it, with reflection, we could do this as a community. Here's some ideas:

Monsters:
• A type (TMonster) that contains things like Name, IDs (TIntegerArray, since there are different IDs for each monster), Combat Levels (corresponds to IDs - this would be a TIntegerArray, so we could check the player's combat level to see if we would need to right click to attack (in case MonsterLevel > PlayersLevel)), Which bank to get to the place we want to kill the monster from (see below about banks), A TTileArray to walk to the place from the bank, necessary equipment (e.g. earmuffs for bashess), etc., i'm sure there are things i'm missing something.

Slayer Masters:
• for each slayer master, we tell which bank (see below about banks) the script to take the player to, then walk to the master. For example, if the script determines/the player instructs the script to get tasks from vannaka, we make our way to Edgeville, go to EV dungeon, walk to vannaka, and get task.
• Upon getting a task, read the chatbox to see which monster/how many of that monster to kill.


Banks:
• We would need a way, based on magic level and available teleportation jewelry, to get to the banks neccesary
• There would need to be some sort of bank type (TBank) to use to open the bank
• Methods to withdraw necessary items

Misc:
• Upon login, if not in a bank (check via TileOnMM/TileOnMS?), find the enchanted gem in the inventory, and get the number of kills left, and go from there
• If the players not in a bank and has no enchanted gem in their inventory, do a home teleport and go to the bank to get an enchanted gem
• keep track of Player's task via an .ini

As I'm writing this, it seems like more and more of a better idea for this to be an MSI Extra… either way, this would be amazing!

Thoughts? Discussion? Is anyone willing to help?

P.S. I know I said reflection would be ideal, I'm still not against color.

Kehmist

2010-11-06 18:56:25

I agree! A slayer script would be an awesome idea.
But I'm pretty sure one can just use a Fighting script and just change the colors?
I like the idea of having it keep renewing tasks without the user having to do it manually.
I would be glad to help! :D

Cstrike

2010-11-06 18:58:07

To be fully automated, we'd need the perfect world walker (which we dont have :()… but we could mess with an autofighter and turn it into a slayer specifically for monsters.

TomTuff

2010-11-06 19:10:13

From: cstrike
To be fully automated, we'd need the perfect world walker (which we dont have :()… but we could mess with an autofighter and turn it into a slayer specifically for monsters.


We don't need a world walker. Like i said, for each monster, we would just make a TTileArray from the bank to the monster. Of course, we'd need to do object handling too. Between runes, teleport tabs, and jewelry, walking everywhere wouldn't be necessary.

Another thing that would go in TMonster - Loot ID's/Loot Text. Ground Items? :)

Kehmist

2010-11-06 19:10:17

A world walker will come in time :p
This community keeps expanding, and the scripts keep getting better and better.
So you would use reflection for walking to the slayer masters?
Maybe you can use the slayer ring to tele to the masters.

Cstrike

2010-11-06 19:22:17

My bad ;)
I thought the script was supposed to go to the slayer master and then walk all the way to the defined area.

From: Kehmist
A world walker will come in time :p


I've thus far made a flawless F2P one that works, well, flawless– but I need to add more paths. :D

Wizzup?

2010-11-06 19:36:59

I'd just see if you can automate the actual fighting. It's pretty, pretty hard to actually automate slayer. And I've gotten to level 90 by hand. ;)

tico2

2010-11-06 19:41:03

From: Wizzup?
I'd just see if you can automate the actual fighting. It's pretty, pretty hard to actually automate slayer. And I've gotten to level 90 by hand. ;)


Wow 90 :)

By the way, wasn't TAD working on a massive slayer script back in the day :p I think the new game engine screwed him thou

Well, good luck with the project ;)

TomTuff

2010-11-06 19:50:45

From: Wizzup?
I'd just see if you can automate the actual fighting. It's pretty, pretty hard to actually automate slayer. And I've gotten to level 90 by hand. ;)


Why would the fighting be so hard to code? Reflection is pretty easy :p in fact, that would be the easiest part

Wizzup?

2010-11-07 05:28:03

From: TomTuff
Why would the fighting be so hard to code? Reflection is pretty easy :p in fact, that would be the easiest part

Ever fought Aberrant Spectres? ;)

mormonman

2010-11-07 05:47:19

From: Wizzup?
Ever fought Aberrant Spectres? ;)


It's all based on "interactions" and its pretty easy to do that.

Awkwardsaw

2010-11-07 09:37:12

spectres arent bad. just need to make sure that the place isnt crowded, or someone isn't in your spot, which applies to every slayer monster