SRL Archive - Help

W.A.F. thing is happening in one of my scripts?


laakerules

2012-03-02 10:30:03

Okay this is Wierd As F*** and its happening in one of my scripts.

The developer console of runescape keeps opening up, anyone know what this is, go into a runescape client and type ` that key, its the key above the tab button. That keeps on popping up for me and in the text chat for runescape this keeps getting typed
Anyone help?

Sin

2012-03-02 10:32:01

its this key -

` (~)

laakerules

2012-03-02 10:37:47

Ya, it aint anywhere in my script though! :/ sin you ever seen this, its when it looks through the ATPA's for all the NPC'sand if it right clicks but the correct choose option isnt there then it does that! :P

Nebula

2012-03-02 15:47:34

One of the SRL antiban procedures holds a random key sometimes (BoredHuman or RandomMovement I believe) and that might be opening your developers console.

laakerules

2012-03-02 16:08:19

my antiban procedure

procedure AntiB;
begin
case random(5) of
0 : begin
RandomRClick;
end;
1 : begin
HoverSkill('range',false);
end;
2 : begin
HoverSkill('hp',false);
end;
3 :Wait(500 + Random(250));

4 :Wait(2300);
end;
Wait(randomrange(1500,2000));
end;

Nebula

2012-03-02 16:15:46

Wow then this is really weird.

Press Ctrl+F and search if ~ or ` is in your script.

laakerules

2012-03-02 16:19:30

Already tried that! :P


Procedure RandomThing;
Begin
MakeCompass(RandomRange(0,360));
SetAngle(RandomRange(60,90));
end;
Thats the only other thing i could think of! :P


Edit: And nebula, i loved your use of tracking the npc's using sps in the sorc gard script never thought that was possible before untill i looked through and say it in yours! :)

Nebula

2012-03-02 16:32:46

Thanks:)

I'm pretty sure your issue is with SetAngle. I thought the angle could only be set to highest/lowest, with 1 being lowest and 0 being highest. Your number not being 1 or 2 might be the issue.


(*
SetAngle
~~~~~~~~

.. code-block:: pascal

procedure SetAngle(Angle: Integer);

Sets the mainscreen at highest\lowest angle, dependant on constant passed. <------------

.. note::

by Raymond, edit by NaumanAkhlaQ

Example:

.. code-block:: pascal

// make the camera the highest!
SetAngle(True);

*)

laakerules

2012-03-02 16:43:56

Ahhh thanks, i thought they would have it in degrees from 0 bieng flat and 90 bieng straigth up just like an arc on a 1 circle! :P