SRL-Forums  

Welcome to the SRL! ...SRL Repository ... SRL forums have opened up for registration again! ... Make sure you check out Simba

Go Back   SRL-Forums > SRL Public Forum > Scripts
Scripts All public SRL scripts in here....



Closed Thread
 
Thread Tools
(#1)
Old
Narcle's Avatar
Narcle Narcle is offline
SRL Developer
SRL Old Timer SRL HelperSRL MasterSRL Developer
Lesser Demon
Narcle has a spectacular aura aboutNarcle has a spectacular aura about
 
Activity Longevity
13/20 13/20
Today Posts
1/5 sssss2751
Default Narcle's AutoFight - 11-17-2007, 09:32 PM

Narcle's AutoFight
(NAF)
by Narcle
  • Kills any monster;
  • Melee, Range & Auto Magic
  • Picks up items
  • Advance progress report
  • 24/7 options [Sleep & Break]

--------------------------------------------------------------------------
News
4-29-09: Update to revision 32.
Thanks to [JS] for the small update.

Known Bugs:
  • Previous Known bugs fixed, waiting for new reports.

--------------------------------------------------------------------------

Instructions:
Warning this is a advance fighter, if you don't understand what all the setup lines are about, I suggest not using this and read some tuts. If you want a more basic fighter use my Fast Fighter in Free For All forum.


New way to input colors and Names:

You'll notice no more "Integers" are left in DeclarePlayers. In this new method I made it so you can add as many colors or names of the monsters you want.

Example:
Code:
Players[0].Strings[0]  := '231234 1243123 123123 849302 6704453';
  Players[0].Strings[1]  := 'oblin iant uard';

Forms way:
Monster Colors: 231234 1243123 123123 849302 6704453
Monster Names(tack): oblin iant uard
Notice the SPACES they are the most important part of this setup. To separate names and colors use a single space. The script will then load them into a array automatically.

It'll take some time to get use to, but this way any number of colors and names can be entered.

Setup:
  1. Use the Color picker and select 2-3 colors per monster, and copy/paste them into notepad.
  2. Note down Monster names [Don't use full name if its to long]
  3. Select form or no form [In constants - true/false]
  4. Input SRL-stats ID & Password [In constants]
  5. Read the "Setup Options" below.
  6. Setup your players.
  7. Push play!

Setup Options:
  • In the player form; (default) is next to each option, meaning you can leave it blank if you want it to use default settings.
  • Options for "Skill to train" are > strength, attack, defence, even, pure, accurate, rapid or longrange <
  • Options for "Run Direction" are > n, e, s, w <

Custom Pickup:
Code:
PickUpPriority = true;//pick up even while in combat?
PickupTol      = 6;//Color tolerance for picking up items

{this is an example not actually working colors}
PickupColors := [2130543,1035462,4641275]
PickupNames  := ['rimy','ranarr','rune','oin','rrow']

Customizing the item pickup isn't hard. As shown above you can add as many colors and names as you want. How it works is it looks for all the colors, if it finds one it moves the mouse and if 'ake' is in the UpText name then it will right clicks and looks for the name in the name list. If found it will click it, pick it up and continue on until all colors have been searched until next repeat in the script.

Picking colors:
I suggest putting in multiple colors for each item, at least 2 to make sure it finds it. You can add as many colors as you want to make sure u have it. Also if you have 3-4 colors for a item, you can probably save that information permanently and it will still find the items you want it too, even if you restart Runescape. Also some items may have really close colors to things in your surrounding fighting area. Because of this I've added a constant for pickup tolerance. Just lower this so the mouse doesn't go crazy when looking for items to pickup.

Choosing Names:
You'll notice in the example above that some don't have their first letters. This is probably because the name in question has a capital letter. You'll notice that a lot of procedures and functions take the capital letters out; this is for a reason. Some times the capital letters aren't recognized but also it allows the script to find it faster. So in short take off the capital in the name in question, or just to be safe take off the first letter. Also don't put the full name in; mainly the particular names with spaces in them. Just use the most unique name in the items name. Remember its looks at the items name when it right clicks it on the ground so make sure yours matches it.
/End Custom Pickup:


File Logging:
Put in your SRL id & password once then push play and wait for the confirmation message. Then you can stop it and remove your SRL id & password so that message doesn't come up everytime. Now you never have to put it in again for this script! Nifty eh? I think so

You don't of course have to use File-Logging but I have it default set to true. Since my script uses so many external files anyways. Of course you'll have to leave your SRL id & password in to get by the wait time message if you turn File-Logging off.

--------------------------------------------------------------------------

Some Top Reports:

Bubbinator taking the #1 spot from nose_smasher:
Quote:
Originally Posted by Bubbinator View Post
************************************************** *************************************
| - Multi - Player - Narcle's AutoFight v0.91 by Narcle_| Run Time: 137h:50m:37s |
************************************************** *************************************
| # | Nick | Active | XP Gained | Kills | XP/Hour | Food ate | Pick-ups | Ammo Used |
| -- | ALL | Totals | 1158728 | 26043 | ------- | Ate: 37 | 0 | 0 |
| 0 | xxx | True | 124320 | 4257 | 7304 | Ate: 5 | 0 | 0 |
| 1 | xxx | True | 204384 | 4172 | 11487 | Ate: 0 | 0 | 0 |
| 2 | xxx | True | 188164 | 3802 | 10700 | Ate: 13 | 0 | 0 |
| 3 | xxx | True | 170304 | 4099 | 10130 | Ate: 0 | 0 | 0 |
| 4 | xxx | False | 24836 | 534 | 9392 | Ate: 5 | 0 | 0 |
| 5 | xxx | True | 197844 | 3971 | 11262 | Ate: 4 | 0 | 0 |
| 6 | xxx | False | 70284 | 1496 | 10142 | Ate: 3 | 0 | 0 |
| 7 | xxx | True | 178592 | 3712 | 10309 | Ate: 7 | 0 | 0 |
************************************************** **************************
nose_smasher still has highest XP gained:
Quote:
Originally Posted by nose_smasher View Post
|_Single Player__Narcle's AutoFight v0.60 by Narcle___|
| Ran: 104h:12m:23s Current Time: 08:17:53 AM Start Time: 12:02:53 AM |
| Total Kills: 2, Total XP Gained: 1893568, Kills Round: 0, XP Round: 3856
| XP/hour: 18172, Estimated time to Range level: 23 Hour(s) & 34 Minutes
| Ammo remaining: 312000, Total Ammo used: 108000
| XP/ammo:17, Estimated Ammo Time Remaining: 301 Hour(s) & 9 Minutes
Ran this while I wasn't home (2 days, single person):
Quote:
< Ran: 35h:42m:24s >--Narcles AutoFight v0.55--< 02:39:27 AM >
Total Kills: 4910, Total XP Gained: 697868, Kills this Round: 20, XP this Round: 2876
XP/hour: 19548, Estimated time to Range level: 19 Hour(s) & 52 Minutes
Ammo remaining: 12921, Total Ammo used: 7457, Ammo Used/hour: 208
XP/ammo:93, Estimated Ammo Time Remaining: 62 Hour(s) & 7 Minutes
Pick ups: 306
Reports given: 9
-----------------------------------------------------------------------------------------

Credits
Hypersecret, Chitin, logik, nose_smasher, Versace, Cruel100
Attached Files
File Type: scar Narcle's AutoFight [v0.93][r32].scar (39.9 KB, 533 views)

Last edited by Rasta Magician; 11-14-2009 at 02:15 PM.
(#2)
Old
Basand Basand is offline
SRL Junior Member
Chicken
Basand is on a distinguished road
 
Activity Longevity
0/20 13/20
Today Posts
0/5 sssssss41
Default 11-17-2007, 10:45 PM

First post -- reserved for proggy!

I will post a proggy as soon as I use(which I am downloading now..)
-----------------------------------------------------------------------------------
Ok, problem:
It tries to do experience/hour and stuff like that as soon as it starts.
So.. the denominator is 0...
I am changing it, though it will not be entirely correct, I am changing it so the denominator will be atleast 1

----------------------------------------------------------------
Quote:
< Ran: 0h:9m:24s >--Narcles AutoFight v0.58--< 07:31:38 PM >
Total Kills: 2, Total XP Gained: 0, Kills this Round: 1, XP this Round: 0
XP/hour: 0, Estimated time to Strength level: 0 Hour(s) & 1 Minutes
foods ate: 2
foods dropped: 6
Emphasis on the bottom line of the proggy(ok so I added some text, but why did it try dropping my food?)




(#3)
Old
Versace Versace is offline
SRL Junior Member
Chicken
Versace is on a distinguished road
 
Activity Longevity
0/20 13/20
Today Posts
0/5 sssssss39
Default 11-17-2007, 11:45 PM

So I forgot I left this baby on so long, it did a couple hours of sleeping and took lots of breaks. I'm posting a proggy, just cause Narcle's fighter is the shit.

Quote:
< Ran: 13h:13m:15s >--Narcles AutoFight v0.57--< 11:16:16 AM >
Total Kills: 2021, Total XP Gained: 259888, Kills this Round: 50, XP this Round: 6428
XP/hour: 19663, Estimated time to Strength level: 24 Hour(s) & 49 Minutes
foods ate: 24
With the old ini file:

Quote:
Welcome back, you have ran Narcles AutoFight for 6203 minutes,
Killed 18982 Monsters, Gained 2440696 XP, Average XP/hour: 23696
//ownage?



. _________.: V :._________ .
(#4)
Old
ry0240 ry0240 is offline
SRL Junior Member
Chicken
ry0240 is on a distinguished road
 
Activity Longevity
1/20 17/20
Today Posts
0/5 ssssss137
Default 11-18-2007, 01:25 AM

Hey wheres a good spot to run this for long periods? if your lv 90+?



(#5)
Old
Basand Basand is offline
SRL Junior Member
Chicken
Basand is on a distinguished road
 
Activity Longevity
0/20 13/20
Today Posts
0/5 sssssss41
Default 11-18-2007, 01:33 AM

< Ran: 0h:48m:1s >--Narcles AutoFight v0.58--< 08:28:52 PM >
Total Kills: 7876, Total XP Gained: 7876, Kills this Round: 160, XP this Round: 160
XP/hour: 9644, Estimated time to Strength level: 0 Hour(s) & 15 Minutes
food eaten: 15


--------------------------------------------------------------------

Also, I would never auto on my main, so if that lvl 90 is your main, I would advise you not to..




(#6)
Old
C4rl1t0 C4rl1t0 is offline
SRL Junior Member
Chicken
C4rl1t0 is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 ssssss160
Default 11-18-2007, 01:37 AM

Alright, i was triyng to get the old version working but now is ee this today im gonna check it out and ill post what i feel about it

[Runtime Error] : divide by Zero in line 628 in script


(#7)
Old
Basand Basand is offline
SRL Junior Member
Chicken
Basand is on a distinguished road
 
Activity Longevity
0/20 13/20
Today Posts
0/5 sssssss41
Default 11-18-2007, 02:12 AM

Yeah, I got that too.
The only way I could get it to run was to add 1 to the denominator...
But that makes it slightly off.
Try that.




(#8)
Old
Narcle's Avatar
Narcle Narcle is offline
SRL Developer
SRL Old Timer SRL HelperSRL MasterSRL Developer
Lesser Demon
Narcle has a spectacular aura aboutNarcle has a spectacular aura about
 
Activity Longevity
13/20 13/20
Today Posts
1/5 sssss2751
Default 11-18-2007, 02:14 AM

Edit3:
Fixed 0.58 uploaded.
(#9)
Old
soccnut's Avatar
soccnut soccnut is offline
SRL Member
SRL Old Timer
Chicken
soccnut is on a distinguished road
 
Activity Longevity
1/20 13/20
Today Posts
0/5 ssssss183
Default 11-18-2007, 07:32 AM

Failed when compiling
Line 56: [Error] (16022:1): Semicolon (';') expected in script C:\Users\user\Desktop\ben\mp3\Narcles AutoFight v0.58.scar

not sure but i set the value there to 999
(#10)
Old
Boonce Boonce is offline
SRL Junior Member
Chicken
Boonce is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 sssssss20
Default 11-18-2007, 02:55 PM

Hey. I tried this. It seems that when it's hovering over the monster it's very jumpy. I'd say it needs a little work there as far as anti-ban is concerned.



boonce.org - Free Image and File Hosting
"You'll have to speak up I'm wearing a towel." - Homer
(#11)
Old
supersayian2224 supersayian2224 is offline
SRL Junior Member
Chicken
supersayian2224 is an unknown quantity at this point
 
Activity Longevity
0/20 15/20
Today Posts
0/5 ssssss337
Default 11-18-2007, 06:38 PM

Good job, very fast killing. And thanks for the update


(#12)
Old
C4rl1t0 C4rl1t0 is offline
SRL Junior Member
Chicken
C4rl1t0 is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 ssssss160
Default 11-18-2007, 07:18 PM

[Runtime Error] : divide by Zero in line 625 in script i still get this with turning off the range as you said


(#13)
Old
j3nkinz j3nkinz is offline
SRL Junior Member
Chicken
j3nkinz is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 sssssss28
Default 11-19-2007, 05:41 AM

nice heres a proggy and about those fletcher/bowstringer in progress when finish please pm me ill proggy really need one of em lol...
Quote:
< Ran: 8h:11m:46s >--Narcles AutoFight v0.57--< 07:44:04 AM >
Total Kills: 1567, Total XP Gained: 159028, Kills this Round: 31, XP this Round: 3188
XP/hour: 19433, Estimated time to Range level: 2 Hour(s) & 14 Minutes
Ammo remaining: 37407, Total Ammo used: 9272, Ammo Used/hour: 1133
XP/ammo:17, Estimated Ammo Time Remaining: 33 Hour(s) & 0 Minutes

Welcome back, you have ran Narcles AutoFight for 4644 minutes,
Killed 13547 Monsters, Gained 1375652 XP, Average XP/hour: 17865



If I see you autoing with level 3 - Default clothes - Crap name I WILL report you. [ Auto Correctly: Put this in your signature, if you agree ]

(#14)
Old
alessio12345 alessio12345 is offline
Registered User
Chicken
alessio12345 is on a distinguished road
 
Activity Longevity
0/20 12/20
Today Posts
0/5 sssssss28
Default 11-21-2007, 04:42 PM

narcle ur a jenious.ill try posting proggie after i get viruses removed from my comp but great job man
(#15)
Old
Negaal Negaal is offline
Community Member
SRL Helper
Chicken
Negaal is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 sssss1442
Default 11-21-2007, 06:38 PM

Yay, what a const! it took me some 5 min to fill it!, anyways you should add option to turn off rotating angle...would be nice when you make it in form...

worked kinda nice, just rotating screen messed up sometimes... monster just spawned and it started rotating

Didn't got proggy, ran only for some 10 min


[CENTER][SIZE="4"]Inactive[/SIZE]I forgot my password[/CENTER]
(#16)
Old
Narcle's Avatar
Narcle Narcle is offline
SRL Developer
SRL Old Timer SRL HelperSRL MasterSRL Developer
Lesser Demon
Narcle has a spectacular aura aboutNarcle has a spectacular aura about
 
Activity Longevity
13/20 13/20
Today Posts
1/5 sssss2751
Default 11-21-2007, 08:14 PM

Quote:
Originally Posted by negaal View Post
Yay, what a const! it took me some 5 min to fill it!, anyways you should add option to turn off rotating angle...would be nice when you make it in form...

worked kinda nice, just rotating screen messed up sometimes... monster just spawned and it started rotating

Didn't got proggy, ran only for some 10 min
Yea I have a better monster finder in this current version of mine I'm working on. So many things to tackle atm, its such a bitch.

And I'll just be using Sumilions player form. I was thinking of making a custom form for this but its not worth the time. I looked into it to see what I would need... it would add like another 1200-2000 lines to it I think, not worth my time for a form that can be done with constants. /sigh
(#17)
Old
C4rl1t0 C4rl1t0 is offline
SRL Junior Member
Chicken
C4rl1t0 is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 ssssss160
Default 11-23-2007, 12:24 PM

< Ran: 7h:12m:46s >--Fast Fighter v1.6--< 07:51:44 AM >
Total Kills: 797, Total XP Gained: 32512, Kills this Round: 9, XP this Round: 388
XP/hour: 4515, Estimated time to Strength level: 0 Hours & 7 Minutes

Giant ratz FTW!@#

good job bud


(#18)
Old
gangsta-444 gangsta-444 is offline
SRL Junior Member
Chicken
gangsta-444 is on a distinguished road
 
Activity Longevity
0/20 15/20
Today Posts
0/5 sssssss53
Default 11-23-2007, 12:40 PM

Its dosen't work for me, First It Log In Then Check The Skills, Set Fighting Style Set run true, The Waits 2 or 3 seconds and then logs out
And give me some error(set 3 monster colors for player{s}) Im sure that i sat the colors in declareplayers and in previous lines... what should i do??


Signature Deleted Until Further Notice ...
(#19)
Old
Mike_The_FireCaper Mike_The_FireCaper is offline
SRL Junior Member
Chicken
Mike_The_FireCaper is on a distinguished road
 
Activity Longevity
0/20 13/20
Today Posts
0/5 sssssss21
Default 11-23-2007, 06:06 PM

When I log in it just sits around doing nothing. All includes, newest version of SRL and SCAR 3.13.
(#20)
Old
Narcle's Avatar
Narcle Narcle is offline
SRL Developer
SRL Old Timer SRL HelperSRL MasterSRL Developer
Lesser Demon
Narcle has a spectacular aura aboutNarcle has a spectacular aura about
 
Activity Longevity
13/20 13/20
Today Posts
1/5 sssss2751
Default 11-23-2007, 08:11 PM

0.60 released
read first post
(#21)
Old
Mike_The_FireCaper Mike_The_FireCaper is offline
SRL Junior Member
Chicken
Mike_The_FireCaper is on a distinguished road
 
Activity Longevity
0/20 13/20
Today Posts
0/5 sssssss21
Default 11-23-2007, 09:29 PM

This probably sounds a little picky but is it possible for you to make it optional to use a form? I HATE forms, much prefer the older version of declaring players.

I had a 13hr proggie for ur fast fighter, it was pretty awesome, ill get one for this and post on here.

Thanks for this.
(#22)
Old
Narcle's Avatar
Narcle Narcle is offline
SRL Developer
SRL Old Timer SRL HelperSRL MasterSRL Developer
Lesser Demon
Narcle has a spectacular aura aboutNarcle has a spectacular aura about
 
Activity Longevity
13/20 13/20
Today Posts
1/5 sssss2751
Default 11-23-2007, 09:34 PM

Quote:
Originally Posted by Mike_The_FireCaper View Post
This probably sounds a little picky but is it possible for you to make it optional to use a form? I HATE forms, much prefer the older version of declaring players.

I had a 13hr proggie for ur fast fighter, it was pretty awesome, ill get one for this and post on here.

Thanks for this.
Try this form out. I use the built-in SRL form, its really nice its why I use it. It saves all your information for you. So when/if I update it you don't have to input all your info again.
(#23)
Old
supersayian2224 supersayian2224 is offline
SRL Junior Member
Chicken
supersayian2224 is an unknown quantity at this point
 
Activity Longevity
0/20 15/20
Today Posts
0/5 ssssss337
Default 11-23-2007, 10:09 PM

Well.. I personally don't like this new way it doesn't really work as good.

edit: tried again, seems working fine now :P But i still don't like forms hehe


(#24)
Old
C4rl1t0 C4rl1t0 is offline
SRL Junior Member
Chicken
C4rl1t0 is on a distinguished road
 
Activity Longevity
0/20 14/20
Today Posts
0/5 ssssss160
Default 11-24-2007, 01:46 AM

whats the difference with this one and the faster one?


(#25)
Old
supersayian2224 supersayian2224 is offline
SRL Junior Member
Chicken
supersayian2224 is an unknown quantity at this point
 
Activity Longevity
0/20 15/20
Today Posts
0/5 ssssss337
Default 11-24-2007, 03:25 AM

It just keeps clicking random things now... did you change the color tolerance?


Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
AutoFight ByGriff721 Griff721 Scripts 6 11-28-2008 11:07 PM
Help w/ Narcles Autofight. aznpimpsturr Scripting Help 1 08-07-2008 09:25 PM
Where to Autofight? [Your opinions] VivaLaRofl General 6 02-26-2008 06:52 PM



Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com