![]() |
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... |
1 Attachment(s)
Alpha version (I haven't even started on the variables):
|
Thanks Tyhm
Thanks a lot Tyhm!
Keep up the good work while I try to assimilate this information! |
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). |
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. |
Quote:
|
Yay! Then we can learn about it...
|
good idea about new forum
That would help a lot of people if they are making things for p2p servers that have the npc server...
|
i cant wait for that forum to be made!!
|
| All times are GMT +2. The time now is 06:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.