SRL Archive - News and General

SRL 4 NewsFlash


WT-Fakawi

2007-08-10 08:23:45

The public SRL 4 repos is reaching rev#100, so time for a quick update:

  • Restructured SRL in three levels.
  • First level contains generic Mouse and Color functions usefull for all purpose ColorClicking.
  • Second Level contains barebone RS-interface controllers as GameTab, Inventory and Text routines.
  • Third Level contains all high level functionality like AntiRandoms, Banking and MapWalk
  • Removed all Globals. Just 4 left: Box, Lamp and 2 Crowns.
  • Restructured PlayerArray. User Variables are now ordered in arrays e.g.: Player.integer[0]
  • WindMouse is the de facto standard for Mouse Movements.
  • GameTab adjusted. Added GameTab(14) for ClanChat
  • Adjusted All other interface routines, like InChat, GetAllLevels, SetChat, TakeOff, etc, etc…
  • Remoddeled Text.scar
  • ReWritten Inventory.scar
  • Still working on Object.scar, major changes here too.
  • Rewritten Bank.scar
  • Rewriting RC.scar
  • Working on Amount.scar
  • Rewritten Trade.scar
  • Rewritten Prayer.scar
  • Rewritten Magic.scar
  • Optimised FindNormalRandoms
Basically, we are getting rid of a lot of crap and a lot of inconsistencies. This will mean that SRL 3 scripts will to a certain extend be more longer completely compatible with SRL 4, but will require minor adjustments. For instance: ChooseOption(x, y, 'all') is now rewritten to ChooseOption('all'), because the x and y where totally outdated and useless.

We are currently in beta-phase. Devs are running scripts to test SRL 4's stability. So far, so good.

Release somewhere next week, hopefully…

And, oh, I printed out the SRL 4 Core library. 219 pages courier 8 :rolleyes:

bullzeye95

2007-08-10 08:26:16

W00t next week!

Great job!

Hugolord

2007-08-10 08:27:03

thanks for this!

ZephyrsFury

2007-08-10 08:32:03

Woot!!! Ty for such a quick update…. :)

Hugolord

2007-08-10 08:33:19

From: ZephyrsFury
Woot!!! Ty for such a quick update…. :)


It's not out yet.. :p

GoF

2007-08-10 08:33:34

Next week :) Can't wait.

ZephyrsFury

2007-08-10 08:35:02

From: hugolord
It's not out yet.. :p


Its almost out… ;)

Santa_Clause

2007-08-10 08:35:45

Hooray!

Fawki, I've realised that SetupSRL can be shortened dramatically, form-wise. If I shorten it and send to you, would you implement it? I've heard less code means faster compiling…

mx1000

2007-08-10 08:39:06

Good job guys :)
Don't rush anything
Keep it up
Almost finished my karajam fisher ;)

ZephyrsFury

2007-08-10 08:43:10

From: SantaClause
Hooray!

Fawki, I've realised that SetupSRL can be shortened dramatically, form-wise. If I shorten it and send to you, would you implement it? I've heard less code means faster compiling…


It already compiles fast enough…. 47 msecs ;)

RudeBoiAlex

2007-08-10 08:51:12

whoooooooooop more iron mineing ive been doing legitly eughhh thanks srl devs

bullzeye95

2007-08-10 08:57:17

From: ZephyrsFury
It already compiles fast enough…. 47 msecs ;)


Yaright, that's just how long it takes to do

LoraxFTW := True;

RoadColor := 0;
WaterColor := 0;
BankColor := 0;
Banks := 0;
kLastChoice := -1;
DisguiseScar(MaskName);

LoadSRLBitMaps;

TheFile := RewriteFile(AppPath + 'ChatLog.txt', False);

LoadSRLConfig;
SetMouseMode(false);
FindClient:=True;
loadcosinearrays;

if LampSkill = '' then LampSkill := 'Mining';

SymbolAccuracy:= 0.8;

InitFreddyPlugin(GetClientWindowHandle);
SetUpSRLReport;

MarkTime ( HoverMark );

Smartzkid

2007-08-10 09:25:47

Awesome, guys, thanks a ton!

Can't wait for the Player Array Storage Arrays (PASA?) and WindMouse

Santa_Clause

2007-08-10 09:26:17

Meh…I'll just do it and post here. Fawki can implement if he likes.

I can't wait for WindMouse either…Ben just never stops.

bullzeye95

2007-08-10 09:27:12

I don't understand WindMouse… "de facto standard for Mouse Movements"?

ZephyrsFury

2007-08-10 09:28:04

Isn't it supposed to replace BenMouse or something….

WT-Fakawi

2007-08-10 09:31:07

WindMouse is Benland100 latest in MouseMovement. RsN/Mutant Mouse is no longer available, because of its middle-out randomness. For the enduser there will be no difference, it will still be MMouse.

bullzeye95

2007-08-10 09:46:44

Oh… what's the difference?

Town

2007-08-10 09:48:36

So scripts that aren't updated to SRL 4.0 will have absolutely no chance of compiling?

DaWu

2007-08-10 10:12:22

If mutantmouse gets removed how the hell we are gonna kill chickens or seagulls :/ ?

Atleast old bensmouse was way slow and missclickin for it. :confused:
I atleast preferred mutants mouse.
Was just getting finished with My seagull bomber, it never clicked anything else than seagulls, never even moved over anything else, everything was designed for mutants mouse, so Am I gonna have to rewrite the whole damn thing ?

Santa_Clause

2007-08-10 10:19:34

I don't see why not?

Bobarkinator

2007-08-10 10:26:12

From: WT-Fakawi

  • Restructured PlayerArray. User Variables are now ordered in arrays e.g.: Player.integer[0]


Are you trying to please IceFire :rolleyes:.

Anyways good job devs.

Santa_Clause

2007-08-10 10:26:26

Meh…I don't think it's shorter but at least it's tidier:

//-------------------------------------------------------------------\\
//--> SRL Installation Instructions
//-->
//--> 1) Close All Open Scar Windows
//--> 2) Extract SRL into your Scar Root Directory
//--> 3) Reopen Scar and Run This Script File
//--> 4) If you see Successfully executed. Then your done.
//-------------------------------------------------------------------\\

program SRLVariableSetupScript;

{.include SRL\SRL.Scar}

{ var frmMain: TForm;
Description: SRL SetupForm. }
var
frmMain : TForm;

{ var dFile, Ver: String;
Description: Variables used to store data in the SRL-Setup script. }
var
dFile, Ver : string;

{ var LUsrName, LMouseSpeed, LLampSkill: TLabel;
Description: Labels used on the SRL SetupForm. }
var
LUsrName, LMouseSpeed, LLampSkill : TLabel;

{ var LBenMouse, LUSS, LUSB, LUSC: TLabel;
Description: Labels used on the SRL SetupForm. }
var
LBenMouse, LUSS, LUSB, LUSC, LSRLID, LSRLPassword : TLabel;

{ var LLTO, LCHP, LBSS, LDRR: TLabel;
Description: Labels used on the SRL SetupForm. }
var
LLTO, LCHP, LBSS, LDRR : TLabel;

{ var EUsrName, EMouseSpeed: TEdit;
Description: Edit Boxes used on the SRL SetupForm. }
var
EUsrName, EMouseSpeed, ESRLID, ESRLPassword : TEdit;

{ var CLampSkill, CUSS, CUSB, CUSC: TComboBox;
Description: Combo boxes used on the SRL SetupForm. }
var
CLampSkill, CUSS, CUSB, CUSC : TComboBox;

{ var CBenMouse, CLTO, CCHP, CBSS, CDRR: TComboBox;
Description: Combo boxes used on the SRL SetupForm. }
var
CBenMouse, CLTO, CCHP, CBSS, CDRR : TComboBox;

{ var Button1, Button2, Button3, Button4, Button5: TButton;
Description: Buttons used on the SRL SetupForm. }
var
Button1, Button2, Button3, Button4, Button5 : TButton;

{*******************************************************************************
procedure CheckVersion;
By: Dankness
Description: Checks for Current SRL Version from Villu-Reborn.
*******************************************************************************}

procedure CheckVersion;
begin
Ver := GetPage('http://www.villu-reborn.com/srl/version.txt');
if (Ver <> SRLVersionNumber) then
begin
WriteLn('SRL Version ' + Ver + ' is now out.')
WriteLn('Please Visit [url]www.srl-forums.com[/url] to get latest version.');
end;
end;

{*******************************************************************************
procedure VisitSRL;
By: Dankness
Description: Opens SRL Homepage
*******************************************************************************}

procedure VisitSRL;
begin
OpenWebPage('http://www.srl-forums.com/');
end;

{*******************************************************************************
procedure AboutSRL;
By: Dankness
Description: Opens Developer Information from Villu-Reborn
*******************************************************************************}

procedure AboutSRL;
begin
OpenWebPage('http://www.srl-forums.com/forum/vbugs.php');
end;

{*******************************************************************************
procedure ViewManual;
By: Dankness
Description: Opens Online SRL Manual.
*******************************************************************************}

procedure ViewManual;
begin
OpenWebPage('http://www.srl-forums.com/forum/Manual.php');
end;

{*******************************************************************************
function getCFGData(dName: String): String;
By: Dankness
Description: Reads Data from CFG File based on procedure by RSN.
*******************************************************************************}

function getCFGData(dName : string) : string;
var
tString : string;
begin
Result := '';
tString := dName + '=';
if (Pos(tString, dFile) = 0) then
Exit;
Result := dFile;
Delete(Result, 1, Pos(tString, dFile));
Result := Copy(Result, Length(tString), Pos(Chr(13), Result) - Length(tString));
end;

{*******************************************************************************
procedure SaveConfig;
By: Dankness
Description: Saves Data from Form to Config Data File.
*******************************************************************************}

procedure SaveConfig;
var
aFile : Integer;
begin
Status('Saving Settings to Config Data File');
aFile := ReWriteFile(AppPath + 'SRL.CFG', False);
if (aFile < 0) then
Exit;
WriteFileString(aFile, 'Filename=' + EUsrName.Text + Chr(13));
WriteFileString(aFile, 'Benmouse=' + CBenMouse.Text + Chr(13));
WriteFileString(aFile, 'Mousespeed=' + EMouseSpeed.Text + Chr(13));
WriteFileString(aFile, 'Lampskill=' + CLampSkill.Text + Chr(13));
WriteFileString(aFile, 'UseSandwichSolver=' + CUSS.Text + Chr(13));
WriteFileString(aFile, 'UseBoxSolver=' + CUSB.Text + Chr(13));
WriteFileString(aFile, 'UseCerterSolver=' + CUSC.Text + Chr(13));
WriteFileString(aFile, 'LogOutTime=' + CLTO.Text + Chr(13));
WriteFileString(aFile, 'Check HP=' + CCHP.Text + Chr(13));
WriteFileString(aFile, 'Screenshots=' + CBSS.Text + Chr(13));
WriteFileString(aFile, 'DebugRadialRoad=' + CDRR.Text + Chr(13));
WriteFileString(aFile, 'SRLID=' + ESRLID.Text + Chr(13));
WriteFileString(aFile, 'SRLPassword=' + ESRLPassword.Text + Chr(13));
CloseFile(aFile);
end;

{*******************************************************************************
procedure LoadConfig;
By: Dankness
Description: Loads Settings from Config Data file for Form.
*******************************************************************************}

procedure LoadConfig;
begin
LoadSRLConfig;
EUsrName.Text := Filename;
CBenMouse.Text := BoolToStr(BenMouse);
EMouseSpeed.Text := IntToStr(MouseSpeed);
CLampSkill.Text := LampSkill;
CUSS.Text := BoolToStr(UseSandwichSolver);
CUSB.Text := BoolToStr(UseBoxSolver);
CUSC.Text := BoolToStr(UseCerterSolver);
CLTO.Text := BoolToStr(LogTimeOut);
CCHP.Text := BoolToStr(CheckHPFirst);
CBSS.Text := BoolToStr(Screenshots);
CDRR.Text := BoolToStr(DebugRadialRoad);
ESRLID.Text := SRLID;
ESRLPassword.Text := SRLPassword;
end;

{*******************************************************************************
procedure ButtonClick2(sender: TObject);
By: Dankness
Description: ButtonClick Actions.
*******************************************************************************}

procedure ButtonClick2(Sender : TObject);
begin
case Sender of
Button1 : CheckVersion;
Button2 : VisitSRL;
Button3 : ViewManual;
Button4 : AboutSRL;
Button5 : begin
SaveConfig;
frmMain.ModalResult := mrOk;
end;
end;
end;

{*******************************************************************************
procedure MainInitForm;
By: Dankness
Description: Main Form Procedures.
*******************************************************************************}

procedure MainInitForm;
var
TT, TL, EL : Integer;
begin
frmMain := CreateForm;
with frmMain do
begin
SetBounds(0, 0, 457, 400);
Caption := 'SRL Settings Form';
Color := clInactiveCaption;
Position := poScreenCenter;
BorderIcons := [biMinimize, biSystemMenu];
BorderStyle := bsSingle;
end;

TT := 26;
TL := 71;
EL := 161;

LUsrName := TLabel.Create(frmMain);
with LUsrName do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Hint := 'Filename to use For UserManagers';
Caption := 'Filename';
Font.Name := 'MS Sans Serif';
end;

EUsrName := TEdit.Create(frmMain);
with EUsrName do
begin
Parent := frmMain;
SetBounds(EL, TT, 121, 21);
AutoSelect := False;
ShowHint := True;
TabOrder := 2;
Text := 'Chars';
end;

TT := TT + 21;

LBenMouse := TLabel.Create(frmMain);
with LBenMouse do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'BenMouse';
Font.Name := 'MS Sans Serif';
end;

CBenMouse := TComboBox.Create(frmMain);
with CBenMouse do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Use Spline Mouse';
ShowHint := True;
TabOrder := 13;
Text := 'True';
with Items do
begin
Add('True');
Add('False');
end;
end;

Button1 := TButton.Create(frmMain);
with Button1 do
begin
Parent := frmMain;
SetBounds(EL + 160, TT, 90, 25);
Caption := 'Check Version';
TabOrder := 17;
OnClick := @buttonclick2;
end;

TT := TT + 21;

LMouseSpeed := TLabel.Create(frmMain);
with LMouseSpeed do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'MouseSpeed';
Font.Name := 'MS Sans Serif';
end;

EMouseSpeed := TEdit.Create(frmMain);
with EMouseSpeed do
begin
Parent := frmMain;
SetBounds(EL, TT, 121, 21);
AutoSelect := False;
ShowHint := True;
Hint := 'Lowest is Faster, Highest is Slower';
TabOrder := 2;
Text := '15';
end;

TT := TT + 21;

LLampSkill := TLabel.Create(frmMain);
with LLampSkill do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'LampSkill';
Font.Name := 'MS Sans Serif';
end;

CLampSkill := TComboBox.Create(frmMain);
with CLampSkill do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Skill to Use the Lamp on If one is Found';
ShowHint := True;
TabOrder := 13;
Text := 'Mining';
with Items do
begin
Add('Strength');
Add('Attack');
Add('Ranged');
Add('Magic');
Add('Defence');
Add('Hitpoints');
Add('Prayer');
Add('Agility');
Add('Herblore');
Add('Thieving');
Add('Crafting');
Add('RuneCraft');
Add('Slayer');
Add('Farming');
Add('Mining');
Add('Smithing');
Add('Fishing');
Add('Cooking');
Add('Firemaking');
Add('Woodcutting');
Add('Fletching');
Add('Hunter');
end;
end;

Button2 := TButton.Create(frmMain);
with Button2 do
begin
Parent := frmMain;
SetBounds(EL + 160, TT, 90, 25);
Caption := 'SRL Forums';
TabOrder := 17;
OnClick := @buttonclick2;
end;

TT := TT + 21;

LUSS := TLabel.Create(frmMain);
with LUSS do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'Sandwich Solver';
Font.Name := 'MS Sans Serif';
end;

CUSS := TComboBox.Create(frmMain);
with CUSS do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Use Sandwich Solver or Logout';
ShowHint := True;
TabOrder := 13;
Text := 'True';
with Items do
begin
Add('True');
Add('False');
end;
end;

TT := TT + 21;

LUSB := TLabel.Create(frmMain);
with LUSB do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'BoxSolver Solver';
Font.Name := 'MS Sans Serif';
end;

CUSB := TComboBox.Create(frmMain);
with CUSB do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Use BoxSolver Solver or GambleBox';
ShowHint := True;
TabOrder := 13;
Text := 'True';
with Items do
begin
Add('True');
Add('False');
end;
end;

Button3 := TButton.Create(frmMain);
with Button3 do
begin
Parent := frmMain;
SetBounds(EL + 160, TT, 90, 25);
Caption := 'View Manual';
TabOrder := 17;
OnClick := @buttonclick2;
end;

TT := TT + 21;

LUSC := TLabel.Create(frmMain);
with LUSC do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'Certer Solver';
Font.Name := 'MS Sans Serif';
end;

CUSC := TComboBox.Create(frmMain);
with CUSC do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Use Certer Solver or Logout';
ShowHint := True;
TabOrder := 13;
Text := 'True';
with Items do
begin
Add('True');
Add('False');
end;
end;

TT := TT + 21;

LLTO := TLabel.Create(frmMain);
with LLTO do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'Timeout LogOuts';
Font.Name := 'MS Sans Serif';
end;

CLTO := TComboBox.Create(frmMain);
with CLTO do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'LogOut or Let Runescape Timeout';
ShowHint := True;
TabOrder := 13;
Text := 'False';
with Items do
begin
Add('True');
Add('False');
end;
end;

Button4 := TButton.Create(frmMain);
with Button4 do
begin
Parent := frmMain;
SetBounds(EL + 160, TT, 90, 25);
Caption := 'Report Bugs';
TabOrder := 17;
OnClick := @buttonclick2;
end;

TT := TT + 21;

LCHP := TLabel.Create(frmMain);
with LCHP do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'Check HitPoints';
Font.Name := 'MS Sans Serif';
end;

CCHP := TComboBox.Create(frmMain);
with CCHP do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Check HP before Running';
ShowHint := True;
TabOrder := 13;
Text := 'False';
with Items do
begin
Add('True');
Add('False');
end;
end;

TT := TT + 21;

LBSS := TLabel.Create(frmMain);
with LBSS do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'Screenshots';
Font.Name := 'MS Sans Serif';
end;

CBSS := TComboBox.Create(frmMain);
with CBSS do
begin
Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Save Screenshots for Randoms';
ShowHint := True;
TabOrder := 13;
Text := 'False';
with Items do
begin
Add('True');
Add('False');
end;
end;

TT := TT + 21;

LDRR := TLabel.Create(frmMain);
with LDRR do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Caption := 'Debug R-R-W';
Font.Name := 'MS Sans Serif';
end;

CDRR := TComboBox.Create(frmMain);
with CDRR do
begin
CDRR.Parent := FrmMain;
SetBounds(EL, TT, 121, 21);
Hint := 'Display Debug Image for RadialRoadWalk';
ShowHint := True;
Text := 'False';
with Items do
begin
Add('True');
Add('False');
end;
end;

TT := TT + 21;

LSRLID := TLabel.Create(frmMain);
with LSRLID do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Hint := 'ID Number from Villu-Reborn Stat Project';
Caption := 'SRL ID#';
Font.Name := 'MS Sans Serif';
end;

ESRLID := TEdit.Create(frmMain);
with ESRLID do
begin
Parent := frmMain;
SetBounds(EL, TT, 121, 21);
AutoSelect := False;
TabOrder := 15;
end;

TT := TT + 21;

LSRLPassword := TLabel.Create(frmMain);
with LSRLPassword do
begin
Parent := frmMain;
SetBounds(TL, TT, 76, 21);
Hint := 'Password from Villu-Reborn Stat Project';
Caption := 'SRL Password';
Font.Name := 'MS Sans Serif';
end;

ESRLPassword := TEdit.Create(frmMain);
with ESRLPassword do
begin
Parent := frmMain;
SetBounds(EL, TT, 121, 21);
AutoSelect := False;
TabOrder := 16;
PasswordChar := '*';
end;

Button5 := TButton.Create(frmMain);
with Button5 do
begin
Parent := frmMain;
SetBounds(EL + 13, TT + 50, 90, 25);
Button5.Caption := 'Save Settings';
Button5.TabOrder := 17;
Button5.OnClick := @buttonclick2;
end;
end;

procedure SafeMainInitForm;
var
v : TVariantArray;
begin
SetArrayLength(V, 0);
ThreadSafeCall('MainInitForm', V);
end;

function ShowMainFormModal : Boolean;
begin
Result := False;
if (frmMain.ShowModal = mrOk) then
Result := True;
end;

function SafeShowMainFormModal : Boolean;
var
v : TVariantArray;
begin
SetArrayLength(V, 0);
Result := ThreadSafeCall('ShowMainFormModal', v);
end;

begin
ClearDebug;
SetUpSRL;
SafeMainInitForm;
LoadConfig;
SafeShowMainFormModal;
FreeForm(frmMain);
end.

Boreas

2007-08-10 11:57:03

From: DaWu
If mutantmouse gets removed how the hell we are gonna kill chickens or seagulls :/ ?

Atleast old bensmouse was way slow and missclickin for it. :confused:
I atleast preferred mutants mouse.
Was just getting finished with My seagull bomber, it never clicked anything else than seagulls, never even moved over anything else, everything was designed for mutants mouse, so Am I gonna have to rewrite the whole damn thing ?


I was just talking to ben about this the other day. WindMouse can go really fast, and it's accurate. So there's nothing to worry about.

n3ss3s

2007-08-10 12:11:08

And, if you dont like it, theres always MoveMouse lmao

Infantry001

2007-08-10 12:45:17

Cool, WindMouse sounds great. And the name is pretty tight too :D

Great job, Devs! Glad its going to come out so fast. And btw, after this version of SRL, are the updates going to be coming by svn?

DaWu

2007-08-10 13:33:10

From: Boreas
I was just talking to ben about this the other day. WindMouse can go really fast, and it's accurate. So there's nothing to worry about.



I just love to hear that.

JuKKa

2007-08-10 14:57:36

From: n3ss3s
And, if you dont like it, theres always MoveMouse lmao

loved this even more :P

I'd love to get a little sneaky one eyed look at windmouse

Bobarkinator

2007-08-10 15:18:45

Just one eyed?

JuKKa

2007-08-10 15:27:18

From: bobarkinator
Just one eyed?

Well the other eyed close ;)

Wanted

2007-08-10 17:45:17

  • Restructured SRL in three levels.
  • Good!
  • Removed all Globals. Just 4 left: Box, Lamp and 2 Crowns.
  • Finally…
  • Restructured PlayerArray. User Variables are now ordered in arrays e.g.: Player.integer[0]
  • YES!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

the scar noob

2007-08-10 18:24:19

woot!! thanks for sharing this information fawki!!
it's glad to hear that srl 4.0 can be released next week, nevertheless, the changes are cool ;)

JuKKa

2007-08-10 20:55:29

im gonna update my player array now!

R0b0t1

2007-08-10 21:45:58

No! God dammit! What was wrong with the fucking player arrays! Now I have to go through my script and change the whole fucking player creating thing!@@!@!@!@!!@!2!@!@!

I really don't see how that change even makes it better. I think it makes it confusing. Its still the same thing, except now we have to put more numbers in brackets! FOR EVERY FUCKING PLAYER VARIABLE.



EDIT: Now that I'm done being mad, the rest is pretty nice.

EDIT2: Wait… Do you mean only the stuff like the integers and booleans? so like "Players[1].boolean[2]" is what you mean? Because I'm thinking you mean "Player.Name[0] , Player.Name[1]" And so on.

shaunthasheep

2007-08-10 22:09:06

From: r0b0t1
No! God dammit! What was wrong with the fucking player arrays! Now I have to go through my script and change the whole fucking player creating thing!@@!@!@!@!!@!2!@!@!

I really don't see how that change even makes it better. I think it makes it confusing. Its still the same thing, except now we have to put more numbers in brackets! FOR EVERY FUCKING PLAYER VARIABLE.



EDIT: Now that I'm done being mad, the rest is pretty nice.

EDIT2: Wait… Do you mean only the stuff like the integers and booleans? so like "Players[1].boolean[2]" is what you mean? Because I'm thinking you mean "Player.Name[0] , Player.Name[1]" And so on.


yer, the Player.Name[0].
This way is more efficient because all other variables(boolean1), if you not using them, they won't be loaded into the memory, unlike the 12 extra perplayer u would be using for every player usually.

R0b0t1

2007-08-10 22:30:32

TARHGSSSSDDASGERTQRERQWQER

Great… now I must update my form procedures…

So, would "Player.Name[CurrentPlayer]" work? It would make since still.

Wanted

2007-08-10 22:49:00

From: r0b0t1
TARHGSSSSDDASGERTQRERQWQER

Great… now I must update my form procedures…

So, would "Player.Name[CurrentPlayer]" work? It would make since still.


Player[PlayerNumber].Variable[VariableNumber]…

i.e. Player[CurrentPlayer].Integer[0] := Player[CurrentPlayer].Integer[0] + 1;

It's really not that confusing as you say it is…

R0b0t1

2007-08-11 00:08:23

No, I never said it was confusing, but I was told the player array would be


Player.Name[0]:= ;
Player.Pass[0]:= ;
Player.Loc[0]:= ;

Player.Name[1]:= ;
Player.Pass[1]:= ;
Player.Loc[1]:= ;

If it is as you say it is, like:


Players[1].integer[1]:=
Players[6].integer[2]:=

I would realy prefer way 2, but I was told it was way 1.

Infantry001

2007-08-11 01:08:08

Im pretty sure its way 2. No way it would be Player.Name[0], etc. Its not helpful in compiling at all, since name is always going to be loaded anyways. There is no reason to have it like way 1.

Bobarkinator

2007-08-11 01:31:33

From: r0b0t1
No, I never said it was confusing, but I was told the player array would be


Player.Name[0]:= ;
Player.Pass[0]:= ;
Player.Loc[0]:= ;

Player.Name[1]:= ;
Player.Pass[1]:= ;
Player.Loc[1]:= ;

If it is as you say it is, like:


Players[1].integer[1]:=
Players[6].integer[2]:=

I would realy prefer way 2, but I was told it was way 1.


Yes it's number 2.

Santa_Clause

2007-08-11 05:14:51

From: r0b0t1
TARHGSSSSDDASGERTQRERQWQER

Great… now I must update my form procedures…

So, would "Player.Name[CurrentPlayer]" work? It would make since still.


Eh :sasmokin:

danrox2004

2007-08-11 06:37:48

Awesome :) Cant wait till its released!

ZephyrsFury

2007-08-11 09:27:01

From: bobarkinator
Yes it's number 2.


Is it definately number 2? 100%?…. I'm updating my scripts for SRL 4 since I can't really add new stuff to it right now….

The Claw

2007-08-11 09:40:59

nice, thanks for all the hard work devs

Bobarkinator

2007-08-11 10:17:01

From: ZephyrsFury
Is it definately number 2? 100%?…. I'm updating my scripts for SRL 4 since I can't really add new stuff to it right now….


Look at the first page.

R0b0t1

2007-08-11 15:49:10

Oh.. ok, im not mad anymore.

Bobarkinator

2007-08-11 15:56:31

From: r0b0t1
Oh.. ok, im not mad anymore.


Good because it adds extra functionality, 3 extra characters and you can have as many booleans/integers as you want.

XcanadamanX

2007-08-11 16:47:58

yay more integers…

good job devs

the scar noob

2007-08-11 17:27:19

From: bobarkinator
Good because it adds extra functionality, 3 extra characters and you can have as many booleans/integers as you want.


That's it ;)
I had that from the first time i read that XD

Pancakes

2007-08-11 21:23:55

Sounds good.

Good work devs! :p

rkroxpunk

2007-08-12 02:52:05

what about brezier mouse? That was pretty sweet and adjustable. I reckon it should get included :D anyways, great stuff guys. Can't wait to check it out :D

LordGregGreg

2007-08-12 03:22:22

W0w, you guys work fast!

These are very good and exiting updates! Alot of work, but it sounds nice and exciting :)

And yeah, the minor script adjustmemts you may have to do are so miniscule compared to the amount of work the devs put in, its almost insulting.

JuKKa

2007-08-12 07:31:20

I have 2 questions:

1) Will the "Skill" Includes be fixed? Because i had to include a extended include to get fishing.scar to work..

2) Also i had alot of problems with "GetAmount" it returned "0" all the time. I tried get amountbmp, dtm, cords, everything.. Nothing seemed to work..

the scar noob

2007-08-12 08:16:02

From: JuKKa
I have 2 questions:

1) Will the "Skill" Includes be fixed? Because i had to include a extended include to get fishing.scar to work..

2) Also i had alot of problems with "GetAmount" it returned "0" all the time. I tried get amountbmp, dtm, cords, everything.. Nothing seemed to work..


great questions, i also want to know the answer on these, btw the get arrow amount from freddy did work when i used it, and if i'm right it also uses getamount:confused:

shaunthasheep

2007-08-12 09:09:41

If im correct, there updating everything and making sure everything works.

Bam Bam

2007-08-12 09:41:05

From: The_Rs_Monkey
If im correct, there updating everything and making sure everything works.

I dont think your correct… Some scripts will become broken.

the scar noob

2007-08-12 10:18:19

From: Bam Bam
I dont think your correct… Some scripts will become broken.


read what fawki said it page 1, minor changes for every script, that's for sure, but still compatible with new srl, read for yourself.

shaunthasheep

2007-08-12 10:24:28

From: Bam Bam
I dont think your correct… Some scripts will become broken.


I ment everything in SRL will work, but the scripts will still have to be changed.

n3ss3s

2007-08-12 10:28:23

[OFFTOPIC] Greg, nice job copyin YoHoJo's avatar? :p [/OFFTOPIC]

ZephyrsFury

2007-08-12 10:31:07

From: n3ss3s
[OFFTOPIC] Greg, nice job copyin YoHoJo's avatar? :p [/OFFTOPIC]


Lol its annoying. I keep thinking YoHoJo got demoded to SRL member again….

shaunthasheep

2007-08-12 10:32:10

yer, same here, its annoying =S

da_professa

2007-08-12 14:35:07

Thanks a lot for this..

I always did wonder why chooseoption had an x and y

n3ss3s

2007-08-12 16:30:14

same here… Propably most forgettable thing to put the x and y there..

The Claw

2007-08-13 00:09:35

remember to include the tradescreen fix, if you havent already :p

BenLand100

2007-08-14 08:25:01

From: WT-Fakawi
And, oh, I printed out the SRL 4 Core library. 219 pages courier 8 :rolleyes:

HAHAHA! Always nice to have a hard copy I guess. Although I'd hate to be the poor sap who had to type it all in after the nuclear disaster :D

DaWu

2007-08-17 10:26:50

So whens it actually out ?
It's been over week ;O ?

the scar noob

2007-08-18 09:45:12

From: DaWu
So whens it actually out ?
It's been over week ;O ?


be patience my friend, be patience ;)
I know it's hard :p

3Garrett3

2007-08-18 10:08:49

It is pretty hard waiting, but I have been trying my best :)

LordGregGreg

2007-08-18 20:43:37

beta is out! right? I just downloaded it.. and updated my script, you dont need to wait. :p

belgin fish

2007-08-22 10:57:50

woot its out :) i cant wait to try this out for sure!1!!!!!

Ransom

2007-08-30 00:08:27

any news on the final srl4?

The Un-Named

2007-09-03 20:30:15

From: DaWu
If mutantmouse gets removed how the hell we are gonna kill chickens or seagulls :/ ?

Atleast old bensmouse was way slow and missclickin for it. :confused:
I atleast preferred mutants mouse.
Was just getting finished with My seagull bomber, it never clicked anything else than seagulls, never even moved over anything else, everything was designed for mutants mouse, so Am I gonna have to rewrite the whole damn thing ?


You can speed BenMouse up…

Infantry001

2007-09-03 20:43:40

it was still pretty slow even when it was sped up.

Wizzup?

2007-09-04 09:13:34

WindMouse is the fastest mouse I know.