SRL Archive - Outdated / Broken

SRL - Crafter


inferno

2006-05-24 14:39:09


—————————————————————————————————————————————————————————–
SRL Crafter

By Inferno

—————————————————————————————————————————————————————————–

A simple crafting script that crafts any item out of hard or soft leather at any bank.
Please post any bugs, progress reports or comments.
—————————————————————————————————————————————————————————–
Instructions.

—————————————————————————————————————————————————————————–
- Have plenty of needles, leather and thread in your bank.
—————————————————————————————————————————————————————————–
Known Issues.

—————————————————————————————————————————————————————————–
- Quite slow. - Working on that now.
—————————————————————————————————————————————————————————–
Version History:

—————————————————————————————————————————————————————————–
v 1.00 - First release.
—————————————————————————————————————————————————————————–
General Notice:

—————————————————————————————————————————————————————————–

As always, you use this script at your own risk. I'm not responsible for any of you getting hit by the bannage stick. You take a chance when you auto so don't come crying to me if you get banned.

  • Scar Resource Library rev 2+
  • NAME : Crafter.
  • WRITER : Inferno.
  • CATEGORY : Crafting.
  • DESCRIPTION : Crafts all your cowhides.
  • USAGE : Start in a bank.
  • AUTOCOLOR : Yes.


Prog Report:
<==============Inferno`s Crafter V1.0 ===============>
Worked for 1 Hours, 0 Minutes and 53 Seconds
Crafted 675 hides.
Crafting Hard Leather
Making Bodys
<============================================>

Wizzup?

2006-05-24 15:13:07

Very cool….

SubiN

2006-05-25 00:18:25

this i might neee d later

weaselforce

2006-05-25 22:50:51

haha thank you. I was just thinking "SRL needs a leather worker"

weaselforce

2006-05-27 03:25:30

sorry for double post, i had to bump this to your attention.

Line 42: [Error] (9042:12): Unknown identifier 'STRING1' in script

inferno

2006-05-27 05:48:00

From: weaselforce
sorry for double post, i had to bump this to your attention.

Line 42: [Error] (9042:12): Unknown identifier 'STRING1' in script


Hmm… that shouldn't be a problem because the player array allows up to 3 strings, integers, booleans and extended values. Check your Srl/srl/core/globals.scar file. Scroll down a bit and you should see this:
{ type TUser;
Description: The User Record }
type
TUser = record
Name: String; // * User Name
Pass: String; // * User Pass
Nick: String; // * Screen Name for random detection
Active: Boolean; // * Set to True if Ok, False if Lost.
Loc: String; // * User Location
Skill: String; // * User Action to Perform
Level: array[0..21] of word; // * Levels of all skills. SetIn GetPlayerLevels.
Ore: String; // * test
WaitTime : Integer; // * Wait Time for Each User, Good for Autofighters
Fight: Boolean; // * If we want the Char to randomly fight
Worked: Integer; // * Time User has worked
Banked: Integer; // * Number of Banks User has done
Killed: Integer; // * Number of Kills User has made
Boolean1: Boolean; // * For reports, etc.
Boolean2: Boolean; // * For reports, etc.
Boolean3: Boolean; // * For reports, etc.
Integer1: Integer; // * For reports, etc.
Integer2: Integer; // * For reports, etc.
Integer3: Integer; // * For reports, etc.
Integer4: Integer; // * For reports, etc.
String1 : String; // * For reports, etc.
String2 : String; // * For reports, etc.
String3 : String; // * For reports, etc.
Extended1 : Extended; // * For reports, etc.
Extended2 : Extended; // * For reports, etc.
Extended3 : Extended; // * For reports, etc.
end;
If your file is already like that then tell me and I'll look for another possible cause.

weaselforce

2006-05-27 19:34:15

I jsut checked gloabals, and still have it. I'm sorry, but i''m really bad at this. is this a valid setup?

const
StartPlayer = 0; // Player to start with
RoundTime = 20; // Number of banks to switch players after.

UseBenMouse = False;

Procedure DeclarePlayers;
Begin
HowManyPlayers :=0; // Compliant with Dynamic Array;
NumberOfPlayers(HowManyPlayers); // Set the Players Array Length;

Players[0].Name :='weaselforce';
Players[0].Pass :='omghax';
Players[0].Nick :='weasel';
Players[0].Skill:='Hard Leather'; // Skill Options:= Soft Leather, Hard Leather
Players[0].String1 :='Bodys'; // Item Options:= Gloves, Boots, Coifs, Cowls, Chaps, Vambraces, Bodys
Players[0].Active:=True;

Zorlin

2006-10-08 00:52:38

Hmm. I hope to god you didnt post your real username and pass =#

tylanbo

2007-03-16 21:50:47

Just looked over your script, looks alot better than mine…:p
I'll be sure to test it out for you when I get a chance :)

Pentti

2007-03-17 03:44:03

From: tylanbo
Just looked over your script, looks alot better than mine…:p
I'll be sure to test it out for you when I get a chance :)

Pretty old topic, eh?
Released: 05-24-2006

tylanbo

2007-03-17 03:56:07

From: Pentti
Pretty old topic, eh?


Sorry completely missed that :(

Thick As Blood

2007-04-02 15:37:20

if it's too old, check out mine in the free section :) this one looks very nice for it's time though.