SRL Archive - News and General

Scripts too long?


Ashur2Good

2008-05-15 03:20:38

Well, i've been thinking about this for a while.. even after i left srl, but i wanna post about it know :)

'Cause, if you compare SCAR to other programming languages, you need to write a LOT more code. So i was thinking , if we shortened it by adding more functions / procedures… This is kinda like the MSI include, but it was never finished?!

So what i'm trying to say is , if we could shorten it by adding more procedures for things we use a lot for let's say a fishing script. Make a procedure which fishes the fish and each type. This would shorten a lot of scripts by a lot, and everyone would work on it, so it would work efficiently.

Does anyone get what i'm saying? :P

Well, post comments :)


Cheers;
-Ashur

JuKKa

2008-05-15 03:40:30

From: Ashur2Good
Well, i've been thinking about this for a while.. even after i left srl, but i wanna post about it know :)

'Cause, if you compare SCAR to other programming languages, you need to write a LOT more code. So i was thinking , if we shortened it by adding more functions / procedures… This is kinda like the MSI include, but it was never finished?!

So what i'm trying to say is , if we could shorten it by adding more procedures for things we use a lot for let's say a fishing script. Make a procedure which fishes the fish and each type. This would shorten a lot of scripts by a lot, and everyone would work on it, so it would work efficiently.

Does anyone get what i'm saying? :P

Well, post comments :)


Cheers;
-Ashur


Na… This differs from people to people… I my self like to write my own functions so i know HOW they work and when they fail i can fix them. But of course… New scripters would surely like this. But then again SRL Membership… You wouldnt be able to show what u know about scripting and srl when people use functions that arent made by them, but by a pro scripter (dev). But if u have alot of functions that can be added to srl. Go to SRL Development topic and post ur functions!

Daniel

2008-05-15 03:42:03

I don't agree. Compare SCAR to other programming languages, a SCAR script is a lot shorter, but this varies from different types of programming languages.

Also, if we're going to continue with this, then what would be the point of fishing procedure, because all a user needs to do (pretty much) for a fishing script would be something like:

program Fish;

procedure PlayerSetup;
begin
... ... ...
end;

begin
repeat
FishTheFish;
AntiRandoms(Fish); //Will do anti-randoms for that skill.
FindNormalRandoms;
Until(...);
end.

So i vote a no to this opinion.

Ashur2Good

2008-05-15 04:43:37

From: IP-Drowner
I don't agree. Compare SCAR to other programming languages, a SCAR script is a lot shorter, but this varies from different types of programming languages.

Also, if we're going to continue with this, then what would be the point of fishing procedure, because all a user needs to do (pretty much) for a fishing script would be something like:

program Fish;

procedure PlayerSetup;
begin
... ... ...
end;

begin
repeat
FishTheFish;
AntiRandoms(Fish); //Will do anti-randoms for that skill.
FindNormalRandoms;
Until(...);
end.

So i vote a no to this opinion.


Look, with the fishing that's not what i meant, but like the "smaller" things, we could add em. Would save a lot of time + coding. And were's your procedure FishTheFish o.O



-Ashur

Runescape Pro

2008-05-15 04:52:46

I totally understand what your saying… but writing your own procedures/functions is what makes your script different from everyone else's. I think how SRL is now is pretty good… It allows for originality but also helps you out with there already being things such as anti randoms.

~rs2pro

Ashur2Good

2008-05-15 05:01:00

From: rs2pro666
I totally understand what your saying… but writing your own procedures/functions is what makes your script different from everyone else's. I think how SRL is now is pretty good… It allows for originality but also helps you out with there already being things such as anti randoms.

~rs2pro


Yeah i know, but it can be better :) And it doesn't have to be like fishing procedures, just cancel how i said that before. It could be the smaller things instead… And i'm starting to want to join the MSI thing o.O


-Ashur

Daniel

2008-05-15 05:51:06

From: Ashur2Good
Look, with the fishing that's not what i meant, but like the "smaller" things, we could add em. Would save a lot of time + coding. And were's your procedure FishTheFish o.O

-Ashur

Wasn't that the whole idea of this idea? FindTheFish was supposed to be inside SRL, like you suggested. And can you please name some minor things that might be useful?

Runescape Pro

2008-05-15 05:52:53

yea… nothing seems to come to mind when you say "minor things"… because i think SRL has most or all the minor things covered.

Ashur2Good

2008-05-15 06:26:37

From: IP-Drowner
Wasn't that the whole idea of this idea? FindTheFish was supposed to be inside SRL, like you suggested. And can you please name some minor things that might be useful?



I thought you meant …. dw :P

And with the minor things, i can't think of em off the top of my head… but i'm pretty sure there are small things. But if there ain't, we could go back to the other idea :) And MSI Seems dead :(


-Ashur

Special Ed

2008-05-15 19:41:08

From: Ashur2Good
I thought you meant …. dw :P

And with the minor things, i can't think of em off the top of my head… but i'm pretty sure there are small things. But if there ain't, we could go back to the other idea :) And MSI Seems dead :(


-Ashur


MSI isn't dead, although not many people are working on it atm. I'll start putting more and more stuff in there when school gets out. Maybe you can be MSI's minister of propaganda? lol :p

Widget

2008-05-15 22:30:49

Well, the skill includes could use a lot more attention. Maybe just add stuff that doesn't get changed a lot in Runescape like FindFishingSpots:array of TPoint; or FindFire:TPoint;, etc.

Edit: 50% Longevity :)

Special Ed

2008-05-15 23:08:11

From: Widget
Well, the skill includes could use a lot more attention. Maybe just add stuff that doesn't get changed a lot in Runescape like FindFishingSpots:array of TPoint; or FindFire:TPoint;, etc.

Edit: 50% Longevity :)


Hey! That's one of the goals of MSI! Maybe you should start a thread in there about that *cough* *cough* *MSI needs supporters* *cough*.

This isn't horribly unrelated propaganda, I have no idea what you're talking about… ;)

Widget

2008-05-15 23:16:27

But isn't MSI things more like Fish; leaving only walking and banking to people, or even just dropping? :)

I believe the point of this is that it should be easier to script, but not take away the hardness, although I think a good amount of the people here are being too elitist since they're already a member and would be angered if suddenly the learning curve for SCAR/SRL that they went through was lowered considerably.

Hugolord

2008-05-16 05:32:59

Nah.. ppl at SRL don't like this, like when I suggest the KYAB implementation they said "oh noez! we likez to make our own complicated scripts all the time!"

oliver1205

2008-05-16 20:57:02

i wouldnt mind it honestly, but i know it wouldnt happen, because a lot of people dont like the idea.

Widget

2008-05-16 22:27:06

How about we let the Junior Members decide then? It seems the biggest obstacle for it being implemented is the random Members that love spending hours on complicated stuff that only 25 people here know.

Ashur2Good

2008-05-16 22:31:04

From: Widget
How about we let the Junior Members decide then? It seems the biggest obstacle for it being implemented is the random Members that love spending hours on complicated stuff that only 25 people here know.



Ok, but when i started this thread, i didn't mean for it to become TOO easy to script. I just meant like small things, like walking to places etc etc


Anyways, Let's see how this goes

-Ashur

R0b0t1

2008-05-16 22:37:44

Honestly, I think it is fine as it is.



And walking to places is a big thing.

Ashur2Good

2008-05-16 22:42:21

From: R0b0t1
Honestly, I think it is fine as it is.



Yeah ,it is… After some thinking, i think we should close this thread lol.


If a mod or admin is viewing this, could they close it please :)


Cheers;
-Ashur

Daniel

2008-05-16 23:30:59

From: Ashur2Good
Yeah ,it is… After some thinking, i think we should close this thread lol.

If a mod or admin is viewing this, could they close it please :)

Cheers;
-Ashur

Close it yourself.

Thread Tools> Close Thread.

Ashur2Good

2008-05-17 03:42:04

From: IP-Drowner
Close it yourself.

Thread Tools> Close Thread.


Do you have something against me? All your posts seem negative, not in a good way.

If you don't like me, alright that's cool.

-Ashur

Daniel

2008-05-17 08:35:42

From: Ashur2Good
Do you have something against me? All your posts seem negative, not in a good way.

If you don't like me, alright that's cool.

-Ashur

Wait. What are you talking about.

I just said that you can close it yourself by the way i had provided.

Ashur2Good

2008-05-17 09:26:15

From: IP-Drowner
Wait. What are you talking about.

I just said that you can close it yourself by the way i had provided.


My apologizes, i took it in a wrong way :(

Sorry;
-Ashur

The Claw

2008-05-17 11:27:10

Closed by request. :)