PDA

View Full Version : Latest Graal NPC Guide?


TStodden
05-02-2001, 04:45 PM
Hello everybody! If you have seen my original question about the Graal NPC Guide (which was last posted on March 26th, when I was down), just following up on it.

Is the latest NPC Guide done yet? IF not, is there any chance on getting an ALPHA version of the guide?

For the people who don't know that the NPC Guide is, lemme give you crash course on it.

The Graal NPC Guide is a Programming Guide that contains all the commands that can be included in an NPC for graal & gives a description on what the commands do. The guide also includes special server variables that are used as well. If you know C++/Java, you can probably understand on how to program an NPC.

Here's are some FAQ's that some users (& newbies) can read up on.

Q) What is C++ & Java?
A) They're Programming Languages, which programs are made in. There are some College Courses based on these.

Q) Why don't they allow NPC's to be programmed in these languages.
A) There are various reasons here, but since it game was NOT released as a CLOSED SOURCE (Translation: They're not allowing anyone to alter the program besides the programmers themselves). If they did, it would open up so many problems (technically & legally).

Q) Why do we have to use "GraalScript"?
A) GraalScript is a miniturized programming language that Graal can understand without getting into the source code, which is messy.

NOTE: the FAQ's is based on my beliefs & therefore may not properly reflect the ideas of the GraalOnline Staff. If you would like to ask more questions, feel free to contact me. I would GLADLY bore you to death with long-winded reasons from a programmers prospecive.

BTW, if you don't like my post, just don't read it. :o TOO LATE...

Tyhm
05-03-2001, 11:38 AM
Alpha version (I haven't even started on the variables):

TStodden
05-04-2001, 07:44 AM
Thanks a lot Tyhm!

Keep up the good work while I try to assimilate this information!

Admins
05-05-2001, 06:39 AM
Oh actually Graal uses Graal Script
because it is simplier to send via TCP and
can be dynamically compiled & loaded into
memory without a big overhead

Some games like Quake use C/C++ via
dlls (you compile your script into a dll,
then the game calls the functions there),
which is faster,
but hard to control (cheats), not dynamic
(can't be part of the level file itself)
and bigger of size.

Support scripting via Java would be possible
since the file size is small, but the Java interpreters
take tons of ressources (between 7 and 20MB!)
and are slow.

That's why there is the third way of doing the
parsing (easy task) in the program itself or
by using a parsing library.
Other popular programs like the appache http
server do it the same way (php).

Admins
05-05-2001, 06:41 AM
I will also open a new forum here soon,
which will be about the npcserver.
I will post informations here, and examples,
about programming scripts for the npcserver
and doing things using the
Graal2001 server-client-architecture.

Mustang1988
05-05-2001, 07:33 AM
Originally posted by Stefan
I will also open a new forum here soon,
which will be about the npcserver.
I will post informations here, and examples,
about programming scripts for the npcserver
and doing things using the
Graal2001 server-client-architecture.

Yay!

Psyker
05-05-2001, 11:59 AM
Yay! Then we can learn about it...

KJS
05-05-2001, 12:24 PM
That would help a lot of people if they are making things for p2p servers that have the npc server...

MoonAngel
05-05-2001, 01:00 PM
i cant wait for that forum to be made!!