SRL Archive - RS has been updated.

Attack style changing


The Banker

2011-12-18 04:55:02

Hey Guys,
i noticed that since the last update my attack style switches when i changed the world im training on. before i did never notice.(it changes all the time from def xp to shared xp)
was it before already like this or could have it changed with the update? If it wasnt like that did anyone also notice this?
(sry for my bad spelling, im swiss and having headache :/ )

Kyle Undefined

2011-12-18 05:34:24

I've noticed mine doing it too, don't really care at the moment since that's the attack style I am training.

The Banker

2011-12-18 05:45:50

That already got me attack and str lvl 2 on my summ tank, happily no cb for that.

Narcle

2011-12-18 11:32:12

From: The Banker
That already got me attack and str lvl 2 on my summ tank, happily no cb for that.


Damn that sux, it still counts tho…

And I noticed it too.

Swatarianess

2011-12-19 18:09:03

Haven't noticed it maybe jagex wants to mess with accs messing up da purrs an so on :/

DeiJaiVui

2011-12-20 20:12:06

From: bro433
Haven't noticed it maybe jagex wants to mess with accs messing up da purrs an so on :/


I hope they do. I HATE PURES.

The Banker

2011-12-21 15:34:01

From: DeiJaiVui
I hope they do. I HATE PURES.




Wow, why that? sounds like u are pretty annoyed…

i created myself many pures(sadly not even one is finshed^^ -range tank, turm tank -ok no classic 1 def pure)

Kyle Undefined

2011-12-21 16:14:40

I had a 1 def pure, until Harri made me do that Blood Pact quest so I could test his script…now it has 2 def :/

Hero

2011-12-21 16:30:41

Just throw this into your scripts if you are worried about it?

procedure SetStyle;//Styles are posted left to right
// First Style (600, 276) Usually Accurate.
// Second Style (685, 274) Usually Agressive.
// Third Style (603, 328) Aggressive or Controlled.
// Fourth Style (680, 327) Defensive or Controlled.
begin
GameTab(tab_Combat);
//SetCombatType('Kick'); //SetCombat doesn't seem to work...
Mouse(X, Y, 0, 0, true);//Change X, Y with
Wait(200+Random(200));
Writeln('Style Set');
GameTab(tab_Inv);
end;

begin
SetupSRL;
Activateclient;
repeat
SetStyle;
repeat
process;
until(InvFull);
Bank;
WorldSwitch;
until(false);
end.
*Example*

Lol if the commented out option worked it would be a lot easier.

Kyle Undefined

2011-12-21 16:54:27

That's not a very good fix, pretty risky using hard coded coords.

Hero

2011-12-21 17:20:03

From: Kyle Undefined
That's not a very good fix, pretty risky using hard coded coords.



Grey Style button := DTMFromString('m1gAAAHic42JgYJADYikgdgRiNgYIYAVifSB2BmIHIFYAYgkg1gZiDagaYShfG8pmhIoHBvow6GkrE8TEAkYiMQIAAOixB50=');

Lol DTMs and uptext then?

Edit:
Sorry just kinda bored waiting for someone. :P

Kyle Undefined

2011-12-21 17:39:29

What is that DTM for? An attack style?

Hero

2011-12-21 17:48:14

From: Kyle Undefined
What is that DTM for? An attack style?


It is a DTM for the entire style box. So basically have it detect the grey OR red variant of the combat style box and then uptext for the style whether it be smash, kick, etc. Depending on user input it will pick according once finding the box.

Kyle Undefined

2011-12-21 17:50:12

Why allocate memory for a DTM when you could do a MouseBox() of each one? That way it will randomly pick a spot in the specified box.