SRL Archive - Archive

IP-Drowner - SRL Member Application Form


Daniel

2007-11-17 00:07:53

IP-Drowner - SRL Member Application Form
IP-Drowner

What is the meaning to life?


Where you Referred to SRL? If yes, by whom?
no


Programming Knowledge
HTML, PHP

Other Communitys
Moparisthebest

How Long have You Played Runescape
2 years

Are you affilated in anyway with Jagex LTD?
No
—————————————————–
Please write down a paragraph about Yourself.

I like to script SCAR. And i also like this community very much, i always use the SRL Stats when i am using a script (I onl started using the stat's system like a week ago).

I alway's like to give support to those i can help in the Scripting Help and i alway's post bug's found in script's that another person has created. I am not a leecher because i post Progress Report's too and i say thanks to the maker of that script.

I hope i make it into the SRL Member Community.

——————————————————
Please Post a Sample of your Work. Only SCAR Scripts Accepted

/////////////////////////////////////////////////////////////////////////////////////////
// //
// PowerCutter Script. //
// Made By: //
// IP-Drowner. //
// Script Version: 1.4 //
// Build: 011 //
// SRL Versiob: 4.00 //
/////////////////////////////////////////////////////////////////////////////////////////
{
Information:
If you have paid for this script, then you have been scammed.
This script is Freeware and can be published anywhere without
the author's permission but as long as it is not modified.
Includes SRL, so download SRL for SCAR.
Customized for SCAR DIVI 3.12a+. Uses SRL 4.

Setup Info:
Setup lines 38-49 and lines 57-75 then select the
Runescape screenusing the crosshair and the
script should do the rest.

Other Info:
Any bugs found, please report it immediantely to the
forums you downloaded from.
If the support and need further assistance preparing
and setting up the script, please post at the
forums you downloaded from. If you require help
from the author, please visit
[url]http://srl-forums.com/forum/[/url] and PM IP-Drowner or
post in the thread.

Credits To:
Nobody at the moment.
}

program PowerCutter;
{.include SRL\SRL.scar}
{.include SRL\SRL\skill\Woodcutting.scar}

const
CompassAngle = 'n'; //Which way do you want to Compass to Face?
RunDirection = 'n'; //Which direction do you want to run if finds a fight?
WaitTime = 1000; //Waiting period in between clicks. Please use Milliseconds.
TreeColour = 0; //The colour of your specified tree. Colour must be unique.
TreeColour1 = 0; //If above colour is not found, it will try to find this one.
LogColour = 0; //The colour of the log in your inventory.
Wielding = True; //Are you wielding your axe?
CULoads = 10; //Number of Loads to do before switching players.
X2 = 764; //End of Runescape Screen. Defaults Loaded.
Y2 = 502; //End of Runescape Screen. Defaults Loaded.
TreeTolerance = 2; //Only change to a lower value if it has trouble finding the specified tree colour.

procedure DeclarePlayers;
begin
HowManyPlayers := 4; //Set Number of Players here.

NumberOfPlayers(HowManyPlayers); //Don't Touch
CurrentPlayer := 0; //Player to Start with

Players[0].Name := 'Username'; //Your Username
Players[0].Pass := 'Password'; //Your Password
Players[0].Nick := 'erna'; //3 or 4 letters from your username.
Players[0].Active := True; //Will You Be Using This Player?

Players[1].Name := 'Username'; //Your Username
Players[1].Pass := 'Password'; //Your Password
Players[1].Nick := 'erna'; //3 or 4 letters from your username.
Players[1].Active := True; //Will You Be Using This Player?

Players[2].Name := 'Username'; //Your Username
Players[2].Pass := 'Password'; //Your Password
Players[2].Nick := 'erna'; //3 or 4 letters from your username.
Players[2].Active := True; //Will You Be Using This Player?

Players[3].Name := 'Username'; //Your Username
Players[3].Pass := 'Password'; //Your Password
Players[3].Nick := 'erna'; //3 or 4 letters from your username.
Players[3].Active := True; //Will You Be Using This Player?
end;

var
x, y, Chops: Integer;

procedure FindAndChop;
begin
repeat
RandomRClick;
if(FindColorTolerance(x,y,TreeColour,0,0,X2,Y2,TreeTolerance)) or
(FindColorTolerance(x,y,TreeColour1,0,0,X2,Y2,TreeTolerance)) then
begin
if(FindEnt(x, y, False)) then
begin
RunAwayDirection(RunDirection);
Wait(5000 + Random(290))
RunBack;
end else
begin
Writeln('Sorry, the tree colour you specified could not be found.');
LogOut;
end;
Mouse(x,y,5,5,True);
RandomRClick;
Wait(WaitTime + random(696))
Chops:= Chops + 1;
HoverSkill('woodcutting', false);
RandomRClick;
MakeCompass('s');
SayCurrentLevels('woodcutting');
if(InvFull) then
begin
if(Wielding = True) then
begin
DropToPosition(1,28);
end else
begin
DropToPosition(2,28);
end;
end;
Until(Loads = CULoads)
end;
end;

procedure UnSafeDisguiseScar(disguise: String);
begin
GetApplication.Title:= disguise;
GetSelf.Caption:= disguise;
end;

procedure DisguiseScar(DisguiseName: String);
var
t: TVariantArray;
begin
SetArrayLength(t,1);
t[0] := disguise;
ThreadSafeCall('UnSafeDisguiseScar',t);
end;

procedure AntiRandoms;
begin
FindNormalRandoms;
FindInventoryRandoms;
FindNonInventoryRandoms;
FindNormalRandoms;
end;

procedure ProgressReport;
begin
Writeln('///////---Progress Report---\\\\\\\');
Writeln('You have chopped ' + IntToStr(Chops) + ' times.');
Writeln('');
Writeln('You have done ' + IntToStr(Loads) + ' loads.');
Writeln('');
Writeln('Script has been running for' + TimeRunning);
Writeln('\\\\\\\---Progress Report---///////');
SRLRandomsReport;
end;

begin
ClearDebug;
SetupSRL;
ActivateClient;
if (not(LoggedIn)) then LoginPlayer;
Wait(2000 + Random(1000));
MakeCompass(CompassAngle);
repeat
AntiRandoms;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
FindAndChop;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
AntiRandoms;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
AntiRandoms;
FindAndChop;
ProgressReport;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
AntiRandoms;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
Until(IsFKeyDown(8))
end.

——————————————————

Hobbit

2007-11-17 00:13:18

No from me,
Half your script is a Procedure thats never even used

Daniel

2007-11-17 00:17:32

I removed it.

munk

2007-11-17 00:26:42

standards are kinda goofy, too simple, a little disorganized. You seem to understand what your doing, just need to write a more complex script.

no from me :/

Daniel

2007-11-17 01:12:48

From: munk
standards are kinda goofy, too simple, a little disorganized. You seem to understand what your doing, just need to write a more complex script.

no from me :/


Oh, c'mon!!!

I follow the standards rule - Two spaces after every important call.
Disorganized? I know a PowerCutter is easy, but mine is probably the most god one out there and plus, i'll be addind forms soon.

What complexity script would you like. I am kind'a alright at RadialWalk but not too good.

Mr.Klean

2007-11-17 01:38:18

No, too simple of a script.

Rikje

2007-11-17 01:49:42

sorry a no from me to.

MasterKill

2007-11-17 02:00:19

sorry to simple. plz come back after 30 days when you got a script like this:


What factors do you need

* DTMs / DDTMs
* Decent complex working script.
* FailSafes
* MultiPlayer
* Break out of potential endless loops
* Standards! Required to get people read your script.
* RadialWalk / DDTM Walking
thanks n3ss3s


How do we judge it?

looking at the code, standaards. and whe inmagen if it's working yes or no


How many lines of code do you need

I would say 300+.
make sure you got fail saves for evry posibel option what could be going wrong


well….

I hope this helped ya. good luck scripting!

Dumpin

2007-11-17 03:11:49

From: MasterKill
sorry to simple. plz come back after 30 days when you got a script like this:


What factors do you need

* DTMs / DDTMs
* Decent complex working script.
* FailSafes
* MultiPlayer
* Break out of potential endless loops
* Standards! Required to get people read your script.
* RadialWalk / DDTM Walking
thanks n3ss3s


How do we judge it?

looking at the code, standaards. and whe inmagen if it's working yes or no


How many lines of code do you need

I would say 300+.
make sure you got fail saves for evry posibel option what could be going wrong


well….

I hope this helped ya. good luck scripting!


How many times you posted this?
*kough* And do you know DDTM's Yourself? *kough*


hmm Sorry a no from me to :(

Pentti

2007-11-17 03:20:49

From: Dumpin
How many times you posted this?
*kough* And do you know DDTM's Yourself? *kough*

Haha! :D
Good one!

MasterKill

2007-11-17 03:40:22

From: Dumpin
How many times you posted this?
*kough* And do you know DDTM's Yourself? *kough*


over 10 times?
of course i know ddtm's, i just suck at making them.

Dumpin

2007-11-17 03:41:40

From: MasterKill
over 10 times?
of course i know ddtm's, i just suck at making them.


lol then i know them to =P

MasterKill

2007-11-17 03:43:35

From: Dumpin
lol then i know them to =P


I try'd making 2 a ddtm for the iron mine 2 times. both failed. thanks to rikjess i got a good one now.

don't say things you don't know. :duh:

admin close this one?

Pentti

2007-11-17 03:52:17

From: MasterKill
over 10 times?
of course i know ddtm's, i just suck at making them.

Well, doesnt he's question mean in other words:
"Do you suck in making ddtms or not?"
:D

n3ss3s

2007-11-17 03:55:23

Im very happy MasterKill has power to post the requirements, it makes me want to smash baybees when I see a blank app or anything like that…

MasterKill

2007-11-17 04:01:10

From: n3ss3s
Im very happy MasterKill has power to post the requirements, it makes me want to smash baybees when I see a blank app or anything like that…


thanks n3ss3s, some-one need to tell noobs/beginning scripters what there doing wrong ;)

i hope you don't have a baby at home :eek: :D

rogeruk

2007-11-17 08:57:56

Sorry to basic and you seem to lack the knowledge of how to use loops properly (repeats).

Your loop..
 repeat
AntiRandoms;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
FindAndChop;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
AntiRandoms;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
AntiRandoms;
FindAndChop;
ProgressReport;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
AntiRandoms;
if (not LoggedIn) then
begin
NextPlayer(false);
SetupSRL;
end;
Until(IsFKeyDown(8))

Could easily be.. (as long as you had your failsafes correct in procedures).

repeat
repeat
AntiRandoms;
FindAndChop;
AntiRandoms;
FindAndChop;
ProgressReport;
AntiRandoms;
until(Not LoggedIn);
NextPlayer(false);
until (IsFKeyDown(8))

P1nky

2007-11-17 11:48:58

From: IP-Drowner
Oh, c'mon!!!

I follow the standards rule - Two spaces after every important call.
Disorganized? I know a PowerCutter is easy, but mine is probably the most god one out there and plus, i'll be addind forms soon.

What complexity script would you like. I am kind'a alright at RadialWalk but not too good.



dude just listen to them they know what they saying, they would not say that just to make you feel bad so dont question them =p:spot:

Daniel

2007-11-17 17:40:41

What are DDTM's, isn't it supposed to be DTM's? Beside's, i know how to use DTM's but i don't really need them in this script.

Ok, i'll try to make a GuildMiner script. See how that goes!

[-jesus-]

2007-11-17 17:45:45

From: IP-Drowner
What are DDTM's, isn't it supposed to be DTM's? Beside's, i know how to use DTM's but i don't really need them in this script.

Ok, i'll try to make a GuildMiner script. See how that goes!


DDTMS… Idk how to explain but the dtm is created while the script is being used. (Dynamic Deformable. Template Model)

Ex:
procedure WalkTheMine1;
begin
MainPoint.x := 685;
MainPoint.y := 56;
MainPoint.areasize := 1
MainPoint.areashape := 0;
MainPoint.color := FindVarrockRoadColor;
MainPoint.tolerance := 255;

SubPoints[0].x := 691;
SubPoints[0].y := 52;
SubPoints[0].areasize := 1;
SubPoints[0].areashape := 0;
SubPoints[0].color := FindVarrockRoadColor;
SubPoints[0].tolerance := 1;

SubPoints[1].x := 678;
SubPoints[1].y := 52;
SubPoints[1].areasize := 1;
SubPoints[1].areashape := 0;
SubPoints[1].color := FindVarrockRoadColor;
SubPoints[1].tolerance := 1;

SubPoints[2].x := 678;
SubPoints[2].y := 60;
SubPoints[2].areasize := 1;
SubPoints[2].areashape := 0;
SubPoints[2].color := FindVarrockRoadColor;
SubPoints[2].tolerance := 1;

SubPoints[3].x := 691;
SubPoints[3].y := 60;
SubPoints[3].areasize := 1;
SubPoints[3].areashape := 0;
SubPoints[3].color := FindVarrockRoadColor;
SubPoints[3].tolerance := 1;

FRoad.MainPoint := MainPoint;
FRoad.SubPoints := SubPoints;
TheRoadF := AddDTM(FRoad);
end;

How to use it:
begin
WalkTheMine1;
if DTMRotated(TheRoadF, tx, ty, 680, 27, 715, 90) then
begin
Mouse(tx, ty, 1, 1, True);
Flag;
FreeDTM(TheRoadF);
end;

Also: SVN #7 IS OUT

mat_de_b

2007-11-17 18:51:17

RogueUK your wrong…

repeat
repeat
AntiRandoms;
FindAndChop;
AntiRandoms;
FindAndChop;
ProgressReport;
AntiRandoms;
until(Not LoggedIn);
NextPlayer(false);
until (IsFKeyDown(8))


That means that it will try all the options and only check for not loggedIn at the end… he has made it check inbetween each function which is far easier…

Your way would be feasalbe if he had the if clause in all his functions but as he doesn't its not applicable.

On the otherhand his current one wont work as the new player will logIn halfway through the loop causing him to screw up…. therefore your one is better as it allows the loop to reset

Hope that helps without being to confusing… with that its a no

rogeruk

2007-11-17 19:08:22

From: mat_de_b
RogueUK your wrong…



That means that it will try all the options and only check for not loggedIn at the end… he has made it check inbetween each function which is far easier…

Your way would be feasalbe if he had the if clause in all his functions but as he doesn't its not applicable.

On the otherhand his current one wont work as the new player will logIn halfway through the loop causing him to screw up…. therefore your one is better as it allows the loop to reset

Hope that helps without being to confusing… with that its a no


Could easily be.. (as long as you had your failsafes correct in procedures).


I'm not wrong. The main loop should be CLEAR and easily managed, not full of failsafes after every procedure. Each procedure should have its own failsafe for not being loggedin, so it can quickly exit every procedure and jump out of the loop and move to next player.

Anyway, having another look at it, it wont work too good as it is. If it somehow logs out after the antirandom is performed, it will move onto FindAndChop, which will get stuck cause there is no failsafe for login inside the procedure.

So essentially all that failsafe login wouldn't work.

P.S its rogeruk not RogueUK

Daniel

2007-11-17 20:23:44

From: [-jesus-]
DDTMS… Idk how to explain but the dtm is created while the script is being used. (Dynamic Deformable. Template Model)

Ex:
procedure WalkTheMine1;
begin
MainPoint.x := 685;
MainPoint.y := 56;
MainPoint.areasize := 1
MainPoint.areashape := 0;
MainPoint.color := FindVarrockRoadColor;
MainPoint.tolerance := 255;

SubPoints[0].x := 691;
SubPoints[0].y := 52;
SubPoints[0].areasize := 1;
SubPoints[0].areashape := 0;
SubPoints[0].color := FindVarrockRoadColor;
SubPoints[0].tolerance := 1;

SubPoints[1].x := 678;
SubPoints[1].y := 52;
SubPoints[1].areasize := 1;
SubPoints[1].areashape := 0;
SubPoints[1].color := FindVarrockRoadColor;
SubPoints[1].tolerance := 1;

SubPoints[2].x := 678;
SubPoints[2].y := 60;
SubPoints[2].areasize := 1;
SubPoints[2].areashape := 0;
SubPoints[2].color := FindVarrockRoadColor;
SubPoints[2].tolerance := 1;

SubPoints[3].x := 691;
SubPoints[3].y := 60;
SubPoints[3].areasize := 1;
SubPoints[3].areashape := 0;
SubPoints[3].color := FindVarrockRoadColor;
SubPoints[3].tolerance := 1;

FRoad.MainPoint := MainPoint;
FRoad.SubPoints := SubPoints;
TheRoadF := AddDTM(FRoad);
end;

How to use it:
begin
WalkTheMine1;
if DTMRotated(TheRoadF, tx, ty, 680, 27, 715, 90) then
begin
Mouse(tx, ty, 1, 1, True);
Flag;
FreeDTM(TheRoadF);
end;

Also: SVN #7 IS OUT


Still don't understand!!!

ty for the update!

Zach1188

2007-11-17 20:30:00

No, the script is too simple. And the way you designed your main loop is terrible.

But you do have antirandoms, that's always a plus :)

Daniel

2007-11-17 20:52:20

From: Zach1188
No, the script is too simple. And the way you designed your main loop is terrible.

But you do have antirandoms, that's always a plus :)

Yeah, i am not to good with making my script look good (i.e Standards).

I am gonna make a guildminer. As soon as i learn RadialWalk more.

[-jesus-]

2007-11-17 21:35:22

From: IP-Drowner
Still don't understand!!!

ty for the update!


Ok… Well, I'll try & give you a better example.

procedure ClickOnBridge1;
begin
MainPoint.x := 685;
MainPoint.y := 56;
MainPoint.areasize := 1
MainPoint.areashape := 0;
MainPoint.color := FindBridgeColor;
MainPoint.tolerance := 255;

SubPoints[0].x := 691;
SubPoints[0].y := 52;
SubPoints[0].areasize := 1;
SubPoints[0].areashape := 0;
SubPoints[0].color := FindBridgeColor;
SubPoints[0].tolerance := 1;

SubPoints[1].x := 678;
SubPoints[1].y := 52;
SubPoints[1].areasize := 1;
SubPoints[1].areashape := 0;
SubPoints[1].color := FindBridgeColor;
SubPoints[1].tolerance := 1;

SubPoints[2].x := 678;
SubPoints[2].y := 60;
SubPoints[2].areasize := 1;
SubPoints[2].areashape := 0;
SubPoints[2].color := FindBridgeColor;
SubPoints[2].tolerance := 1;

SubPoints[3].x := 691;
SubPoints[3].y := 60;
SubPoints[3].areasize := 1;
SubPoints[3].areashape := 0;
SubPoints[3].color := FindBridgeColor;
SubPoints[3].tolerance := 1;

FRoad.MainPoint := MainPoint;
FRoad.SubPoints := SubPoints;
TheRoadF := AddDTM(FRoad);
end;

Ok, So:
MainPoint.x := 685;
MainPoint.y := 56;

These are the x & y coordinate of your Main Point(The red dot inside picture).

Next, There are usually 4 points around the Main Point(These are the blue dots)
The points go in order like a normal graph thing(Cant remember the name). Going in order from the top right, top left, bottom left, bottom right, points(counter-clockwise). This creates a rectangle that the script searches in(Highlighted in yellow).

Now: To use this you would have a procedure that clicks each dtm, which needs to be rotated also.

Procedure DoClick;
begin
WalkTheMine1;//This Assembles the DDTM
if DTMRotated(TheRoadF, tx, ty, MMX1, MMY1, MMX2, MMY2) then//This searches for the DDTM inside your MiniMap.
begin
Mouse(tx, ty, 1, 1, True);//Clicks the DDTM
Flag;
FreeDTM(TheRoadF);//You should free the DTM so your script wont lag
end;
end;

I'm not very good at making tuts but hope this helped you.

Just read YoHoJo's DDTM Tut & it should help;)

YoHoJo

2007-11-20 19:07:59

Closed due to above feedback and poll
0-yes
17-no
Read the feedback, make the changes, and try again later.
GOOD LUCK