Page 1 of 1

Ryan Script

Posted: Thu Jan 14, 2010 11:28 pm
by nopihina
Ok here is Ryan script. V1!

Ryan Script

Posted: Thu Jan 14, 2010 11:43 pm
by Yandols
I found some bugs in your script.

Line 25 and 26:

Code: Select all

mes "[Ryan]"
mes "What do you want?"
next;
- Missing "; !!

Line 58 and 59:

Code: Select all

mes "[Ryan]"
mes "Now I'm gonna make it"
next;
- Missing "; !!

Line 84:

Code: Select all

mes "Sorry but its out of stock."
close;
- Missing "; !!

Line 99:

Code: Select all

mes "Dont act like a Noob here"
close;

And the most epic part:

End of script, NO } !!! EPIC FAIL!! XD

Ryan Script

Posted: Fri Jan 15, 2010 3:57 pm
by iSubaru
Nah I keep forgetting ";" all the time in my DS programming, looks like it's some kind of programmers curse :D
or in other hand as possibility...uhm...programmers tradition hah

Ryan Script

Posted: Sat Jan 16, 2010 5:38 am
by Yandols
iSubaru wrote:
Fri Jan 15, 2010 7:57 am
Nah I keep forgetting ";" all the time in my DS programming, looks like it's some kind of programmers curse :D
or in other hand as possibility...uhm...programmers tradition hah
We all do that sometimes, its annoying but we can get used to it, because of the tradition. haha

Nopi, you've recently updated it to V2 but the filename is still V1 btw. XD
and also i found some bugs in the V2 script.

Line 26:

Code: Select all

mes "[Ryan]"
mes "What do you want?";
Line 32:

Code: Select all

mes "[Ryan]"
mes "Ahh the Archangel Wing";
Missing ";" again!!

Line 39:

Code: Select all

menu "Sure. What are the items?",AWCP,"Sheesh I thought its Free.NO!"AWDNY
Missing "," before AWDNY and ";" after AWDNY, should be

Code: Select all

menu "Sure. What are the items?",AWCP,"Sheesh I thought its Free.NO!",AWDNY;
Line 58:

Code: Select all

if ((countitem(2254) < 1) || (countitem(4054) < 10) || (countitem(502) < 50 || (countitem(5074) < 1 )) goto AWNE;
uh.... this one is invalid if check loop. Should be

Code: Select all

if ((countitem(2254) < 1) || (countitem(4054) < 10) || (countitem(502) < 50) || (countitem(5074) < 1 )) goto AWNE;
Line 59:

Code: Select all

mes "[Ryan]"
mes "Now I'm gonna make it";
Missing ";" again!!

Line 97:

Code: Select all

AWNE:
mes "[Ryan];
mes "You seem to lack some items";
o_O this time you remember the ";" but forgot the " !!

Line 119:

Code: Select all

if ((countitem(7345) < 50) || (countitem(4346) < 10) || (countitem(4347) < 10 || (countitem(4348) < 10 || (countitem(4349) < 10 || (countitem(4350) < 1 || (countitem(4351) < 1)) goto AWNE;
something wrong here, the if check loop is invalid again. should be:

Code: Select all

if ((countitem(7345) < 50) || (countitem(4346) < 10) || (countitem(4347) < 10) || (countitem(4348) < 10) || (countitem(4349) < 10) || (countitem(4350) < 1) || (countitem(4351) < 1)) goto AWNE;
Line 120:

Code: Select all

mes "[Ryan]"
mes "Now I'm gonna make it";
Missing ";" again!!


Lastly you forgot to end your script with } again!!

Ryan Script

Posted: Sat Jan 16, 2010 12:41 pm
by iSubaru
If that code would be compiled than compiler program should catch mistakes like it does at mine DS programming even that recently not all errors are ";" related :P
Nah I want to code something and I dunno what...
Plus I have resumed work on forum...naaah too much work too small ammount of time...duh T_T

Ryan Script

Posted: Thu Feb 18, 2010 8:15 pm
by Ryan
nopihina wrote:
Thu Jan 14, 2010 3:28 pm
Ok here is Ryan script. V1!
/omg did i suddenly become a ginny pig for something? tell meh! what is this Ryan
script and why is my name being used xD

Ryan Script

Posted: Fri Feb 19, 2010 11:33 pm
by Yandols
Ryan wrote:tell meh! what is this Ryan script and why is my name being used xD
Lol, nopihina probably randomly picked a name for this npc and picked yours. :P
Basiclly this is a repeatable quest npc for VoodooRO and the RTS.

And until now i still see a few missing ";"s in it. lolz.

Ryan Script

Posted: Sun Feb 21, 2010 7:30 am
by Ryan
Sara wrote:
Fri Feb 19, 2010 3:33 pm
Ryan wrote:tell meh! what is this Ryan script and why is my name being used xD
Lol, nopihina probably randomly picked a name for this npc and picked yours. :P
Basiclly this is a repeatable quest npc for VoodooRO and the RTS.

And until now i still see a few missing ";"s in it. lolz.
well nopi im flattered you choose my bad ass name for this thing xD i better get some acknowledgment lol its ok though i dont mind ^^

Nopihina : Fixed your typo Ryan :)