SRL Archive - SRL Suggestions

Antiban - Music Playlist


Tlachtli

2012-05-13 15:26:57

I had this idea while I was doing some legit Agility training. When I'm grinding I tend to play some of my favorite tracks from the built-in music playlist, and thought that could make an interesting antiban procedure. It's not something I've ever seen as antiban in a script, but it's exactly the kind of thing a bored human would do and wouldn't interrupt most scripts. Obviously, a prerequisite for this to work would be to have tracks actually added to the playlist. I haven't written any code for this idea yet, but in psudocode it would be something to the effect of:


procedure ChangePlaylistTrack
if not on music tab then
switch to music tab
if not on playlist then
find playlist DTM/bitmap
wait
click
find track not currently playing (*)
wait
click track not currently playing
wait
if not on inventory tab then
click inventory tab

(*) I noticed that the current track playing on the playlist is displayed with yellow text, while the rest of the playlist tracks have blue/cyan text. This could be a good way to be sure to find a track that isn't currently playing.

Alternatively, each track on the playlist has a red minus icon next to it, so finding that and moving the mouse to the right would locate it as well (although that method would include the currently playing track).

If you didn't want to restrict it to just music added to a playlist, it shouldn't be too hard to make a variation of this that will randomly scroll down the list of all music tracks, find a green one, and click it.

Main

2012-05-13 16:45:17

I think we had this before, and might still have it.
Because I remember Cohen's willow cutter had something like that.

Tlachtli

2012-05-13 16:51:21

From: Main
I think we had this before, and might still have it.
Because I remember Cohen's willow cutter had something like that.


I took a quick look through the antiban.simba and didn't see anything like this, if it is included where might I find it? Out of my own curiosity, I'd like to see how it's done.

putonajonny

2012-05-13 18:15:33

The problem is that most be have their sound set to off, so it would be suspicious if you were switching music tracks with sound off

Le Jingle

2012-05-13 18:22:21

Wouldn't it just be something along the lines of ;

Procedure RSmusic(track: string;): Boolean;
Var
n:Integer;
Begin
If Not GameTab(Tab_Music) Then
n := GetCurrentTab
GameTab(Tab_Music)
If (True) Then
Begin
If Not FindColorTolerance({color/stuff for it being on}) Then
MMouse({to where it would be, and click it on});
//WindMouseText(Track); // via mod Flights WindMouseDTM
//Click(Track)
End;
GameTab(n);
End;

Edit: didn't see putonajonny, :s he sniped me, but you could have that checked in the player setup too. I mean I'm all for more antiban, yet I do see your point how it could be suspicious doing that w/o have the music turned on

Glassir

2012-05-13 18:37:50

There is a music playlist in Simba?!

ignore.. im stupid! :L

Tlachtli

2012-05-13 18:42:55

From: putonajonny
The problem is that most be have their sound set to off, so it would be suspicious if you were switching music tracks with sound off


My thought was that if you were going to use something along these lines, you'd leave sound on and just mute your PC volume. It'd be useful for those 6-hour overnight sessions.