SRL Archive - Research & Development Lounge

perfect script accesory


Waddo

2008-05-02 11:46:56

im gunna write an include that will be perfect

i aint started yet but it gunna be gud it just gunna have a lot of random stuff in it such as it might walk off somewhere then then do sumit then go back
and stuff so its like a human

for example it might bank and cook a couple of fish instead of continueing mining for example

or light some logs

or randomly buy some item

=]

but first i need permission to edit the current includes so that part way thru banking it might do summit else for example

mixster

2008-05-02 12:42:26

Ask for permission from the current writers of the includes function that you want to use via PM. It's highly unlikely they will check here and this is more for posting functions/ procedures written by yourself that would be found useful, not for asking permission :)

Waddo

2008-05-07 13:12:37

yes i know i will when i need to atm mo im writing little stuff like this

scrollling credits

procedure scrolly;
var i,a,line:integer;
const lines=10;

begin
cleardebug;
repeat
begin
case i of
0:writeln('line 1');
1:writeln('line 2');
2:writeln('line 3');
3:writeln('line 4');
4:writeln('line 5');
5:writeln('line 6');
6:writeln('line 7');
7:writeln('line 8');
8:writeln('line 9');
9:writeln('line 10');
10:writeln('line 11');
11:writeln('line 12');
12:writeln('line 13');
13:writeln('line 14');
14:writeln('line 15');
15:writeln('line 16');
end;
wait(500);
line:=line+1;
i:=i+1;
a:=a+1;
end;
until a>=5;
repeat
cleardebug;
for i:=a-4 to a do
begin
case i of
0:writeln('line 1');
1:writeln('line 2');
2:writeln('line 3');
3:writeln('line 4');
4:writeln('line 5');
5:writeln('line 6');
6:writeln('line 7');
7:writeln('line 8');
8:writeln('line 9');
9:writeln('line 10');
10:writeln('line 11');
11:writeln('line 12');
12:writeln('line 13');
13:writeln('line 14');
14:writeln('line 15');
15:writeln('line 16');
end;
end;
wait(500);
line:=line+1;
a:=a+1;

until line>=lines;
wait(20000);
cleardebug;
end;

HyperSecret

2008-05-07 13:14:29

why not just make a hybrid script?

Waddo

2008-05-07 13:17:02

no it not gunna be hybrid it is gunna be A.I

n3ss3s

2008-05-07 14:45:48

The part that you don't understand is that you have to make the script, the miner in this case a hybrid script for it to go randomly and cook something, it won't happen simply by including something.

Then, the things needed for a script aswell as a hybrid script are in SRL, so no need for "hybrid script include".

Waddo

2008-05-07 17:29:45

noo that wqas an example it might also decide to wc or fish or what ever it wnats to do

mining wasd an example its going to play rs

this will probs take me about a year for it toactually be good