Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Tutoials? (https://forums.graalonline.com/forums/showthread.php?t=28038)

DiabloSK 04-26-2002 05:07 AM

Tutoials?
 
Is there a tutorial out there?
I know a while ago someone made a beginner's Bible or something like that, but its not up anymore, does anyone know any good tutorials? thx

RavenTelvecho 04-26-2002 05:13 AM

opps nm
http://www.graal2001.com/levelsnpc/npc-guide.php
theres others there

Gohan43331 04-26-2002 05:44 AM

I think he is commenting that it is not up anymore...

404 errors are BAD :-/

emortylone 04-26-2002 08:31 PM

I never got a copy of my the scripting bible, i looked but no one had and the 404 error made me mad! LOLz, i taught myself how to do NPC's pretty much. Didn't take too long, HTML is more complicated, heh.
---Shifter

emortylone 04-26-2002 08:37 PM

You can do a lot of stuff with Graal, but it is VERY easy compared to some things, which i don't know how to do! heh, like C and C++ i hear are MUCH harder, and HTML is pretty basic and easy until you get into the SUPER complex stuff. But graal is just an notch or 2 below HTML
---Shifter

emortylone 04-26-2002 08:38 PM

Did you ever notice though, that none of the documentations or the commands.rtf file seems to show ne thing about clientside and serverside flags??
---Shifter

emortylone 04-26-2002 08:51 PM

What aspects? When you deal w/ a bit more of the faders and all kinds of stuff. It isn't that hard, but still, i dunno. I still think HTML is slightly more complicated and harder than Graal scripting. I may be wrong there, oh well.
---Shifter

emortylone 04-26-2002 09:06 PM

YOu have a point there. I was mixing Javascript, HTML, and DHTML. HTML itself is to basic and isn't a real language. I thought you were talking about it ALL, not just plain HTML. Then in that case your right. Gscript can have a lot of problems b/c of spacing and calling tags and ALL kinds of stuff. So yes you're right there.
---Shifter

Saga2001 04-29-2002 03:40 AM

-FooL-

HTML = non-complex, repetitive
GScript = semi-complex, not so repetitive
C++ = complex, vaguely repetitive

Funny how they all share one thing... they almost always start with a certain line...

HTML = <html>
GScript = (most scripts) if (playerenters) or if (created)
C++ = int main() -- from what I've seen that is

And that's my daily mini-rant! Whee!

emortylone 04-29-2002 08:05 PM

Heh, that is true of course. HTML gets so BORING after like 30 seconds.
<html>
<title="Site Name Here">
<font size="7" color="ffffff"> Text, textr, text <p>
</font> <font size ="6" color="ff331f">
see, VERY monotonous in the first few lines!!
---Shifter

Gohan43331 04-30-2002 06:09 AM

I have a spare copy of the NSB, if you would like it...i will post on my site in a few and edit to put the link in...

[edit]
http://brajah.tripod.com/guide.html

Note: HTML file because of stupid tripod which refuses to allow me to remote download.
[/edit]

Falcor 04-30-2002 11:05 AM

#include <iostream.h>
int main() {
int number;
cout << "OMG LIKE ENTER A NUMBER :O\n"
cin >> number;
cout << "\nOMG THAT NUMBER IS LIKE" << number << "!!";
}

ANSI c++ isn't all TOO complicated (untill you start dealing with things like classes @.o )
Its just when you get to doing things that you need to compunicate with the OS. this is why there is no linux version of graal yet =\

emortylone 04-30-2002 08:10 PM

I thank you friend! heh, i can finally brush up on all my basic skillz, LOL. I've been looking for a copy though, now i can finally see what it is about!
---Shifter

BBflat 05-05-2002 11:31 PM

Quote:

Originally posted by Saga2001
-FooL-

Funny how they all share one thing... they almost always start with a certain line...

C++ = int main() -- from what I've seen that is

#include <>

Quote:

Originally posted by Falcor

#include <iostream.h>
int main() {
int number;
cout << "OMG LIKE ENTER A NUMBER :O\n"
cin >> number;
cout << "\nOMG THAT NUMBER IS LIKE" << number << "!!";
}
What a disgusting piece of code/output! Much better is...

NPC Code:

#include <iostream.h>
int main()
{
int number;
cout << "OMG LIKE ENTER A NUMBER :O" << endl;
cin >> number;
cout << endl << "OMG THAT NUMBER IS LIKE " << number << "!!";
return 0; // If you are going to use int main(), you need to return a value.
}



Quote:

Originally posted by Gohan43331

I have a spare copy of the NSB, if you would like it...i will post on my site in a few and edit to put the link in...

[edit]
http://brajah.tripod.com/guide.html

Note: HTML file because of stupid tripod which refuses to allow me to remote download.
[/edit]
It still isn't up.


All times are GMT +2. The time now is 07:12 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.