SRL Archive - RS3 Script Requests

Group Scripts


Kevin

2012-12-06 13:21:52

This is not a script request! This is an idea that would like some feedback in the theoretical realm.

SIMBA can perform HTTP Requests as well as custom socket creation. This means we can connect to other computers/servers. Therefore, we could possibly write more complex scripts that result in bots that work together to accomplish goals.

Now let's describe this in detail with an example instead of making the entire discussion abstract.

Let's take the upcoming Double exp weekend for things such as Fishing Trawler as a possible example. The Fishing Trawler minigame requires a team of people working together. Some people bail out water from the boat, some patch holes in the boat, and one will repair the boat rigging and I think something else. Any one of those tasks gives obvious visible signs as to what needs to be done and there are no complex puzzles. Any position could probably have a working bot written in under an hour.
But noone wants to only have bailing bots and have the boat sink because the other positions aren't being done and typically bots can't converse with each other to find out what they need to do to select jobs.
Let's add the server side discussion to this situation though. Prior to login, each bot (capable of any position) talks to the server and says it wants to do the Fishing Trawler minigame. The server waits until at least 6 people have added themselves to this queue and then it assigns every bot their position and a world. The bots all then login and go to the same world knowing their positions and off they go. Trawler is done and they can either all go again, or if they are missing a member, the server can assign them a new one as well as switch their positions around to balance the tar expenses (requiring every player always have x amount to be allowed to participate).

This could also translate to other group activities such as the Blast Furnace (with spare members alternating into being able to smelt on something like a half hour-hour basis, with more players meaning more time spent smelting).

All in all I don't think this sounds not only possible, but also not very difficult. Anyone have any contributing thoughts on the matter (or other activities it could apply to)?

Le Jingle

2012-12-06 13:53:14

Wouldn't somebody have to host said server (that's the only problem I see arising)?

Other than that, I'm sure there's some people out there already doing so, whether it be on simba or not

Ian

2012-12-06 13:53:28

It sounds like more trouble than it's worth, but that could be because I don't know much about the server side part. Wouldn't it work to just manually set them up together then all press play once the minigame starts? Sorry if I'm overlooking something.

The Killer

2012-12-06 13:54:59

idung has something like this in development, Don't know if it will be local or online

Kevin

2012-12-06 13:59:10

They could be set up together manually (and local computer be considered the server even). The disadvantage to a local setup would be a single person would need to have all 6 or more accounts for the activity.
I can't imagine the "server" side code taking up more than 100-200 lines of code. And yea, someone would have to have a server setup… But couldn't the SRL stats server be more than good enough if we got the permission from the owner among us? The traffic and server load would pretty small.

euphemism

2012-12-06 14:28:49

kanah had a multi-user socket setup written for a project he and I had been working on. It worked over a local network, we quit before he made it past that. The higher-ups here frown on using sockets/teaching others how to use them due to the possibility that people may write malicious scripts.

Dynamite

2012-12-06 14:48:49

You could do this very easily locally without using sockets.

-Boom

Kevin

2012-12-06 14:56:54

Hmm… I suppose I can definitely see how it could be seen as easy to create malicious scripts from this, even using the server to take everyone's information. It just seems impractical in a lot of cases to try and aim for something like the Fishing Trawler unless you have enough members accounts on your own or this medium to handle different accounts to contact each other… Maybe some sort of clan and chat reserved for SRL? But then that'd be fairly easy to detect on Jagex's end….

The Killer

2012-12-06 15:05:45

From: nivek1989
Hmm… I suppose I can definitely see how it could be seen as easy to create malicious scripts from this, even using the server to take everyone's information. It just seems impractical in a lot of cases to try and aim for something like the Fishing Trawler unless you have enough members accounts on your own or this medium to handle different accounts to contact each other… Maybe some sort of clan and chat reserved for SRL? But then that'd be fairly easy to detect on Jagex's end….

we've got a clan which is sort of jr mems+
and I really wouldn't do it as they type in chatbox stuff to communicate other than dung.

tealc

2012-12-06 15:50:38

A simple idea could be fighter where the main bot attacks and tags the npc then the rest of the bots help fight. That way the main bot gets all the loot and xp.

DannyRS

2012-12-07 06:13:34

Reading all this, in most cases i dont think any actual server link would even be required, just simply write a script doing all jobs required, then set up your own group and manually make them all do one job each