SRL Archive - First Scripts

Account Creation + Tutorial Island Solver


uncfan1119

2009-10-11 21:34:45

taken down till next update, don't close thread.

rogeruk

2009-10-12 05:03:39

So this just makes an account? Does actually do the Tutorial Island?

Baked0420

2009-10-12 07:19:20

you left your password in, I changed it for you, I'll pm you the new password :) next time be more careful and sensor passwords.

Kyle Undefined

2009-10-12 10:42:58

I like the form, nice for a first. Just work on your formatting, don't be scared to use a lot of space, there's plenty. Work on your standards a bit, they're not bad, but it's just a good practice. Something like this:

if (GetColor(314, 23) = 1125176) or (GetColor(316, 22) = 927024) then;
begin
MouseBox(320, 23, 324, 59,1);
end;

Can be done like:

if (GetColor(314, 23) = 1125176) or (GetColor(316, 22) = 927024) then
MouseBox(320, 23, 324, 59,1);

Overall good job, keep up the work.

~Camo

uncfan1119

2009-10-12 16:31:05

Thanks camo. Although I don't understand what you're saying because I'm pretty sure after a if statement, you need a begin & end; :o

YoHoJo

2009-10-12 16:43:19

Uncfan, if you just need to do ONE thing after an if then statement, then you DONT need begin end, but if you need to do more than one thing after an if then statement, then you DO need begin end.

Rich

2009-10-12 16:48:25

Example:

if Fail then
begin
WriteLn('We fail...');
WriteLn('Big time!');
end;

if not Fail then
WriteLn('Woop!');

See the difference? :)

Richard.

Brain

2009-10-18 00:20:09

Well I tried running it. Account creation worked well, not a fan of the "default" guy, but it made me lol when I recognized what it was doing, lol.
After that it failed pretty hard. It barely made it past the initial dragon "cutscene". But it is a good start, keep refining it, maybe not just use timed clicks to try to do the quest.

uncfan1119

2009-10-18 09:28:39

Oh!! It looks alot better now, and is using colors instead of mousebox's :D I've also added a complete randomized way of creating the character 100% random, so dw about that. I'll upload another version later today. This is from the writeln's


Procedure PlayerStyle; , by uncfan1119
Choosing Gender
We are creating a female.
Choosing Skin
On a skin color darkness scale, we picked [6].
Light(1)-Dark(8)
Choosing Hair Type
We chose Odango.
Choosing Hair Color
We chose Dark Green.
Girls can not have beards. Moving on.
Choosing Top
We chose Fine Shirt.
Choosing Top Color
We chose Pale Blue.
Choosing Top
We chose Fine Cuffs.
Choosing Hands
We chose Gold wristguards.
Choosing Legs
We chose Shorts.
Choosing Legs Color
We chose Dark Red.
Choosing Boots
We chose Booted.
Choosing Boots Color
We chose Light Brown.
Random PlayerStyle complete.
PlayerStyle; by uncfan1119


Starting Tutorial Island
Beginning tutorial.

Procedure PlayerStyle; , by uncfan1119
Choosing Gender
We are creating a male.
Choosing Skin
On a skin color darkness scale, we picked [3].
Light(1)-Dark(8)
Choosing Hair Type
We chose Mohawk.
Choosing Hair Color
We chose Mint Green.
Choosing Beard
We chose Split beard.
Choosing Top
We chose Ragged Top.
Choosing Top Color
We chose Dark Blue.
Choosing Sleeves
We chose Striped Arms.
Choosing Hands
We chose Silver bands.
Choosing Legs
We chose Plain trousers.
Choosing Legs Color
We chose Beige.
Choosing Boots
We chose Booted.
Choosing Boots Color
We chose Blue Grey.
Random PlayerStyle complete.
PlayerStyle; by uncfan1119


Starting Tutorial Island
Beginning tutorial.

Brain

2009-10-18 12:58:23

lookin forward to it bud :)

YoHoJo

2009-10-18 14:06:10

From: Brain
Well I tried running it. Account creation worked well, not a fan of the "default" guy, but it made me lol when I recognized what it was doing, lol.
After that it failed pretty hard. It barely made it past the initial dragon "cutscene". But it is a good start, keep refining it, maybe not just use timed clicks to try to do the quest.


Yeah it only gets up to around when the helper dies and you need to pick up his bronze items, hes still working on it. :D