SRL Archive - First Scripts

My First Script [Lolislol Powa Choppa] A Power Chopper


lolislol

2007-09-15 18:07:29

NEWEST RELEASE 1.32

MY FIRST SCRIPT

An Any Tree Chopping Power Chopper

So This is my first script, an auto woodcutter, post problems.
Here is information:
//ScriptName = Lolislol Powa Choppah
//ScriptAuthor = Lolislol
//Description = Chops The Kind Of Tree You Want Then Drops The Logs
//Version = 1.32
//Credits = The Rs Monkey, Your Tutorial Teached Me Everything Mate, Thanks A Lot.

//========Instructions=========================================\\
// 1.Fill the lines 22 - 26 and the player setup.
// 2.Open up runescape with low detail, any world.
// 3.Log in and go close to the trees you want to cut.
// 4.Keep axe in first inventory slot or wielded.
// 5.Drag the crosshair to the runescape window and press play.
// 6.You can start the script logged in or out (i suggest out).
// 7.Go do whatever you want. =D
// 8.Post feedback and progress reports. =)
//=============================================================\\
program LolislolPowaChoppah;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/WoodCutting.scar}
//<==============Setup===============>\\
const
LoadsPerPlayer = 10; //How many loads you want it to cut with every player.
TreeColor = 0; //Fill in the tree color here.
WaitPerTree = 5000; //the time to wait to click again in Milliseconds.
TreeName = 'Tree'; //Name of the Tree.
RunDir = 'N'; //Direction to run if in fight: N, S, E, W.
/======================\
|======>Version 1.0<====== |
| First Version.
|
|======>Version 1.1<====== |
| Axe Checking Error Fix.
| Replaced Time With Loads.
|
|======>Version 1.2<====== |
| Added More Anti-Random.
|
|======>Version 1.3<====== |
| Now Logs Out If Axe Not
| Found.
| Axe Can Be Wielded Or
| In First Inventory Slot.
| Better Tree Finding.
| Improved Progress Report.
|
|======>Version 1.31<======|
|Added Much More AntiRandom
|
|======>Version 1.32<======|
| Added the standard SRL
| Ent Finding.
| Made It To Check More For
| Ents.
\======================/
DON'T LEECH!!!!!!!!!!
HAVE FUN AND REMEMBER TO POST FEEDBACK AND PROGGIES :p
YEAH, AND ERRORS!!!


(————————–PROGGIES—————————)

(--------------------------------------------------------------)
Thanks For Using
Lolislol's WoodCutter
Logs Cutted: 54
Loads done: 2
Ran for: 8 Minutes and 24 Seconds.
---------------------------------------------------------------)
^My Proggy^ (Had To Stop But Just Wanted To Show You How Fast It Is)
(I Used Steel Axe With 63 WoodCutting)

Kik

2007-09-15 19:36:15

This is your first script, even with your longevity? Anyways, for a first script, its amazing! Sorry, I couldn't test it due to all my autoers being miners (I don't like woodcutting - too many people there), but I'm glad that you understand how SCAR + SRL works very well. Have you had previous programming experience?

BTW, does your script mine one load, drop it, and then switch players? Seems a bit inefficient, but that's expected for a first script. You could have repeat…until LoadsToDo > 30 or something like that. I'm very glad it does have multiplayer, though. And, remember, other people's scripts can be your best tutor!

Keep up the good work in scripting, and eventually you could become an SRL Member. Mind explaining the longevity though?

lolislol

2007-09-16 03:13:15

You set a time there in minutes how long you want it to chop and in progress report it will show how many loads and how many logs has it cut in that time.
And i see there is like 10+ views and 1 reply.

But anyways thanks and i have only experience in java coding. :p

And yes this is my first script, i learned first very well and got taught by others scripts.

And about the longevity, well i have been leecher, but i didn't copy others scripts and re-release. I just used others scripts to make money and levels =) and after i realised that i have been happy about them i wanted to learn and now, here it is, my first script.

Hmm 37 views 2 replys you can do better, DON'T LEECH!

Wizzup?

2007-09-16 06:41:33

findents and findaxes, are they from Sumilions willow whacker?
I think you should credit them, names like arUpTextEntColorPoints can only be Sum or Lorax, lol. ;)

Anyway, looks quite alright. :)
Try calling FindTalk; more often.

lolislol

2007-09-16 06:47:37

Oh yes the FindEnts is, other is from SRL includes. Forgot to credit and thanks wizzup? i'm trying to make a Axe head finder and attacher but seems hard, is there any tutorial for it or could you help me with it?

lolislol

2007-09-16 10:45:05

DOWNLOAD NEWEST VERSION

[Sorry for double posting]

Icon1993

2007-09-16 10:46:59

I dont know how to use it.
Can some1 explain?
I have SCAR Divi 3.11.

lolislol

2007-09-16 10:50:30

Ok let me explain… http://www.villavu.com/forum/showthread.php?t=15536 download that and then extract the files to: Scar 3.11/includes.
then download my script and open it in scar, then fill in what it says and do what it says (pick the color by dragging the color picked onto a tree you want to cut) then press play as simple as that =) actually there is manual in that link too =)

ruubje92

2007-09-16 11:37:24

Line 36: [Error] (14850:1): Unknown identifier 'SetupPlayers' in script C:\Program Files\SCAR 3.11\Scripts\downloads\powerchopper.scar

this is what i get all the time does anyone know how to fix it

lolislol

2007-09-16 11:57:47

Well, Do you have the script named SRL in SCAR 3.11/includes/SRL/SRL.scar

MAKE SURE YOU HAVE THE SRL.scar in there.

Else if you don't have it and you don't find it where it is to move it to there, re-download SRL. Hope this helps :)

deathcrow

2007-09-18 21:38:27

sorry….im not that good at this stuff….what do i do when it says this when i try to run it?
Include file C:\Program Files\SCAR 3.11\includes\SRL\SRL.scar does not exist.
Include file C:\Program Files\SCAR 3.11\includes\SRL\SRL\skill\WoodCutting.scar does not exist.
Failed when compiling

Im sure its just me and not ur program lol..sorry.

deathcrow

2007-09-19 08:02:57

Ok i figured that part out when reading the tutorial section…..but now i got this coming up…..
Line 36: [Error] (14850:1): Unknown identifier 'SetupPlayers' in script C:\Program Files\SCAR 3.11\Scripts\powerchopper.scar
Failed when compiling
Line 36: [Error] (14850:1): Unknown identifier 'SetupPlayers' in script C:\Program Files\SCAR 3.11\Scripts\powerchopper.scar
Failed when compiling
Line 53: [Error] (14867:1): Unknown identifier 'LoadPlayerArray' in script C:\Program Files\SCAR 3.11\Scripts\powerchopper.scar
Failed when compiling
Line 228: [Error] (15042:24): Invalid number of parameters in script C:\Program Files\SCAR 3.11\Scripts\powerchopper.scar

Help plz?

And btw i already do have all the srls and includes downloaded in…so its not that.

lolislol

2007-09-19 08:59:44

Well, i didn't have those errors the parameters thing is that there is too much/there shouldn't be or there is too low amount of parameters others are errors, caused by the SRL.scar file not handling them or it didn't find em.

deathcrow

2007-09-19 09:48:33

so does that mean i cant fix it?

lolislol

2007-09-19 09:56:51

Well, always you can fix, but could you send me 5 lines of the every error line
(like 2 lines before it the main line and 2 lines after it, it would help to solve the problem, thanks. =)

EDIT:The version 2.0 of this is at SRL Junior Member Scripts, it could even solve it if you have the time to search for lolislol Powa Choppa

deathcrow

2007-09-19 10:17:46

procedure DeclarePlayers;
begin
SetupPlayers;
^^it says that is wrong i think..this is all it says in bug box:
Failed when compiling
Line 36: [Error] (14850:1): Unknown identifier 'SetupPlayers' in script C:\Program Files\SCAR 3.11\Scripts\powerchopper.scar

I put my user, pass, and nick in and turned it to active and the ones i dont use to false. So i dont think thats the problem. I set the color for the tree, put the name of the tree….i dont know what is wrong..

lolislol

2007-09-19 10:43:29

Send The Whole first part of the script with the players (Fill Them With Fake Pass And Username And nick and all you did before) DON'T ENTER YOUR REAL PASS!!!

deathcrow

2007-09-19 10:46:26

k this is the what you asked for i think lol:
program LolislolPowaChoppah;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/WoodCutting.scar}
//<==============Setup===============>\\
const
LoadsPerPlayer = 10; //How many loads you want it to cut with every player.
TreeColor = 1850674; //Fill in the tree color here.
TreeTol = 8; //Increase if it doesn't find the tree
WaitPerTree = 5000; //the time to wait to click again in Milliseconds.
TreeName = 'Tree'; //Name of the Tree.
RunDir = 'E'; //Direction to run if in fight: N, S, E, W.
//////////////////////////////////////////////////////////////////
txt = 'You need an axe to chop down this tree'; //Don't touch!//
//////////////////////////////////////////////////////////////////
var
Chopped : integer;
Loadies : integer;

procedure DeclarePlayers;
begin
SetupPlayers;

Players[0].Name := 'jim123'; //Account Username
Players[0].Pass := 'fakepass'; //Account Password
Players[0].Nick := 'jim'; //3 - 4 Lowercase Letters of Username
Players[0].Active := True; //Is The Player Active?(True or False)

Players[1].Name := '';
Players[1].Pass := '';
Players[1].Nick := '';
Players[1].Active := False;

Players[2].Name := '';
Players[2].Pass := '';
Players[2].Nick := '';
Players[2].Active := False;

LoadPlayerArray;
end;

lolislol

2007-09-19 11:03:08

Name is jim123

and nick should be lowercase letters like:im1,m12 or 123 not the first letter, but the problem is with SRL. Do you have SCAR 3.11 and SRL 4.0 beta + You have copied the PlugIns from srl 4.0 file to the PlugIns and installed them in same directory. Here is what i suggest: Delete Everything Scar + SRL then Re-Download SCAR 3.11. After that open up SCAR, click file on the upper left and click download SRL then after it says it's downloaded, click file and click download includes if it still has the same problems try checking the PlugIns folder for these:CppTestPlugin , CppTestPlugin.dpr , FastShareMem.pas , readme for developers , TestPlugin.dpr , QuizPlugin.dll , BankArraySort.dll , BoxPlugin.dll , CerterPlugin.dll , FreddyPlugin.dll and A new Folder which contains: Build(MS-DOS) Main(C Source File) and Main(Obj) If that didn't help then say to me.

deathcrow

2007-09-19 11:11:15

well that isnt my reall user name lol….but ok ill try that…thanks for ur help.

lolislol

2007-09-19 11:16:47

Thx, and as i see o-brent-o's script worked with srl 3.x not 4.0 so it logged you in but then it detected that it isn't runescape window (cause it's updated) =) that should help what i gave, of course it didn't found those things what i were writed cause the old one didn't have those procedures/functions i used =)

sawvellra26

2007-09-19 11:36:36

works good. actually…works great :)

deathcrow

2007-09-19 12:12:53

thanks for helping me with 0-brent-0's script lol….glad you like helping me…cause u might have to help me some more l8er lol. Ye….and what you told me to do helped out….but now this happened…..
Read next post..

deathcrow

2007-09-19 12:20:57

uh-oh! I know you dont want to hear this….but…
SRL Compiled in 172 msec
Found Compass
No axe was found.
[Runtime Error] : Exception: Access violation at address 006FF96C in module 'scar.exe'. Read of address 0000001C in line 143 in script C:\Program Files\SCAR 3.11\Scripts\powerchopper.scar

As you see it logged me in and worked until it looked in inv. First it looked on me then in my inventory and it said i had no axe….when i did. So i tried taking it off and putting it in inv and i ran it again….same thing. Do i need two axes? Help plz…

lolislol

2007-09-19 15:30:57

Thx for the FeedBack Really Needed. Deathcrow Try Restarting Scar And RuneScape If It Doesn't Work Scroll Almost To The End And You Should See:
  SetupSRL;
DeclarePlayers;
MouseSpeed := 8;
if LoggedIn then Logout;
LoginPlayer;
checkaxe;
MakeCompass('N');
From There Just Delete The checkaxe; It's Not Really Needed, Just Checks Axe And If You Really Don't Have It Logs Out.

Happy Autoing!!!

~Lolislol

deathcrow

2007-09-19 16:04:09

wow thanks…it works good now….but i set it for like 30 loads it only did one before it logged me…oh well lol. But do u think you could make it bank too? that would be really awsome. Thanks for the help!!!! :)

Nick5020

2007-09-19 17:09:33

Not working for me :(

lolislol

2007-09-20 08:27:57

From: Nick5020
Not working for me :(


What's The Problem? And I Will Probably Make One With Someone ;)

havoc928

2007-09-20 09:42:43

nice

lolislol

2007-09-21 10:15:31

Thx, anybody could post a proggy?:p

Wise Fries

2007-09-21 12:26:40

Very nice Power Chopper, using right now.

Hasslarn

2007-09-22 05:22:56

getting this error Line 36: [Error] (14850:1): Unknown identifier 'SetupPlayers' in script C:\DOCUME~1\Muradi\LOKALA~1\Temp\Lolislol First PowerChopper 1 Fix 3,2.scar

Craig-

2007-09-22 15:02:57

im hoping to get it for my autoer ;) only 5 days til i can auto ;)

RuinJu

2007-09-23 01:50:27

Nice script, though I'm having a runtime errors on line 141 and its not cutting any wood.

harvie60

2007-09-23 03:57:08

great script!!!!!!

justl00king

2007-09-26 16:21:19

looks good very nice for ur first script :)

lolislol

2007-09-29 07:02:55

Thx mates :)

jamedo

2007-09-29 08:31:31

looks good for a first script
would post progy but getting errors(not from script, from MouseFlag.scar)
as soon as its fixed i shall post up one k?

Packo

2007-09-30 08:55:01

man, i got these problem:
Line 36: [Error] (14918:1): Unknown identifier 'SetupPlayers' in script C:\Program Files\SCAR 3.12\Scripts\Lolislol First PowerChopper 1 Fix 3,2.scar

might u help me be some way?

lolislol

2007-10-02 15:38:57

From: Packo
man, i got these problem:
Line 36: [Error] (14918:1): Unknown identifier 'SetupPlayers' in script C:\Program Files\SCAR 3.12\Scripts\Lolislol First PowerChopper 1 Fix 3,2.scar

might u help me be some way?


You shouldn't get that error (I think it's about that you don't have the latest SCAR and SRL correctly setup or not setup)

But anyways it would be nice to have a proggy, thx.;)

lolislol

2007-10-02 15:47:40

Sorry To Blame It On You!

Search for SetupPlayers; And LoadPlayerArray; and delete them :D

Hope this helps ~Lolislol

EDIT:Sry for double post :(

SimpleAs

2007-10-03 14:18:45

[Runtime Error] : Out Of Range in line 37 in script

And in line 37:

Players[0].Name := '';

JuvenileHall

2007-10-04 08:46:33

From: lolislol
Sorry To Blame It On You!

Search for SetupPlayers; And LoadPlayerArray; and delete them :D

Hope this helps ~Lolislol

EDIT:Sry for double post :(


User specified a new RS window
Successfully compiled
SRL Compiled in 1531 msec
[Runtime Error] : Out Of Range in line 21 in script C:\Documents and Settings\Administrator\Desktop\Lolislol First PowerChopper 1 Fix 3,2.scar

I took those to things away then got this, any idea how to fix?

flip_up

2007-10-08 20:03:14

great first post…u shuld make one that banks

Pancakes

2007-10-08 20:06:58

Nice first script, could do with some more failsafes though.

99str bang

2007-10-10 15:26:08

great one!

Jackrawl

2007-10-10 15:36:43

Take a good look - StrBang is the leecher of the week

timode

2007-10-11 13:31:26

nice but could do with a banker but still its nice for a first script - much better than what i could do ;D

grimy89098

2007-10-13 06:56:15

From: SimpleAs
[Runtime Error] : Out Of Range in line 37 in script

And in line 37:

Players[0].Name := '';


yeh, same as me, can i fix somehow?:(

Zarric Hyunmin

2007-10-18 00:42:50

Not a bad script. Keep up the good work

catman

2007-10-19 19:04:40

how u make these scripts? i always wanna make one that chop yews:eek:

tdr

2007-10-21 10:03:33

soon as i download i get a error on line 36

Shocker kidd

2007-10-22 00:16:38

Worked great for me, good script =]

luki

2007-10-30 22:25:46

ill try it now thanks =P

luki

2007-10-30 22:26:56

umm where do you start?

luki

2007-10-30 22:29:05

and what does it cut?????

luki

2007-10-30 22:31:04

i get erroe on 36 to Line 36: [Error] (14918:1): Unknown identifier 'SetupPlayers' in script C:\Documents and Settings\family\Desktop\Lolislol First PowerChopper 1 Fix 3,2.scar
User specified a new RS window

noahthepoo

2007-11-01 05:03:09

havent had time to run but looks good><

Why2u

2007-11-06 11:03:45

—————————
Thanks For Using
Lolislol's WoodCutter
Logs Cutted: 216
Loads Done: 8
Ran for: 43 Minutes and 8 Seconds
—————————
GREAT!

Why2u

2007-11-07 09:17:32

Sorry, was gonna post proggy but I didn't copy it :O
I just got a 5 hour with it.

retrovega

2007-11-07 19:19:46

i get an error saying
Line 36: [Error] (15265:1): Unknown identifier 'SetupPlayers' in script C:\Documents and Settings
any reasons why this may be happening?

dragonkitty9

2007-11-07 19:31:09

Dude, sweet first script I my self now my first script realy bad didn't even now were to enter my account name and password. I hav'ent got a chance to try it but the script looks fine. I have to try it some time I might even and a couple more accounts into the script, but over all it looks fine.
PS: I don't stink with scripts that was like last years when i used RS101.

grox

2007-11-09 19:51:08

this work a lot ,it will work all the night mwahahhahah

soccnut

2007-11-10 08:56:54

first script???
omg u sure learn very fast

_louis_

2007-11-12 13:23:12

Looks good !

Does this bank aswell or drop or burn ?

runescapeautoer123

2007-11-13 07:26:26

unknown identifier setupplayers help

mattperk

2007-12-17 20:51:46

program LolislolPowaChoppah;
{.include SRL/SRL.scar}
{.include SRL/SRL/skill/WoodCutting.scar}
//<==============Setup===============>\\
const
LoadsPerPlayer = 10; //How many loads you want it to cut with every player.
TreeColor = 0; //Fill in the tree color here.
WaitPerTree = 5000; //the time to wait to click again in Milliseconds.
TreeName = 'Tree'; //Name of the Tree.
RunDir = 'N'; //Direction to run if in fight: N, S, E, W.

Now Shouldn't it have begin somewhere there? I Am really new to this stuff and when i try to run the program it ALWAYS comes to this line and says 'BEGIN' expected or something like that. why does it do that….HELP PLZ. O an btw, it never says that with codes that i download…:confused:

ehcrew

2008-01-12 11:56:49

good work!

P1nky

2008-01-13 00:31:52

wow grave digger

dont do that (spam)

alexispigy

2008-01-26 07:09:32

im stuck in every script some global star tab comes up and says error line 31 duplicate identifier

Sir R. M8gic1an

2008-01-26 08:35:09

OutDated.

hope you get the clue :rolleyes:
~RM

nielsie95

2008-01-26 13:02:43

Closed.