![]() |
Do you want to learn how to script?
2 Attachment(s)
Hey people!
Im working in a Script guide. Since graal people level scripting is worse we can see that walking around the playerworlds. I know there are many people that want to learn how to script, so I started this document. Its just the beta version, I hope have the final version soon. This script guide is for who wants to start learing Graal Script. In the next versions until the final we will see more about Npc Server and we will learn how to map our scripts to Graal 3.0 script engine. I know that probably the guide have some english mistakes, since English is my 3rd language. So if you find any english mistake, or any kind of problem, send me by mail to me fix to the next version: [email protected] Please use this post just to post questions or write a feedback, use the e-mail to report any errors to let this post clear. Thank you Amon-Ra ^_^ Ps. If you cant see the file, you can download Acrobat Reader here |
Woah, I'll be sure to read :D
|
KSI-GS, yo.
|
on the devide..
you've done "variable2 = variable2/2;" and you've said the answer is "1.25" You hadn't assigned variable2 to anything :O.. I think? Unless it's suppose to be "variable2 = variable1/2;" because variable1 = 2.50? :o (i don't know if this is wrong or right) |
Quote:
Yes =) You are right. I will fixed that to the next version. The right way is: Variable1 = (10/2)/2; Variable2 = Variable1/2; Variable1 is 2.5 and Variable2 is 1.25 ^^ |
Nice.
|
I want to learn how to make my scripts work online :(
|
Quote:
PHP Code:
|
Wow, those tutorials are awesome!
I'm going to base my scripting off them :D Nicely done :) |
Quote:
|
Quote:
//#CLIENTSIDE There are many details we will see later in the script guide, like make a Serversided and clientsided parts in the same script and other things. But for all that, you will need to know everything we have until now. We will see how to work with Classes, weapons, NpcServer scripts... until the new datablocks on Graal 3.0 that few people know. And other stuffs =) |
Could you go into more detail on how to cause lagg and what not in another document?
I hope the other documents what people are producing are as good as this. |
Quote:
Thats Why I descrypted "Events " like I did. In the begin of the script guide we dont use events. But for the half of it until the end we will always use events. So the script part will just work if the event calls the script. Basicallythis is take care of the lag on Graal. Let the script just make what it has to do when it really needs to do. You dont need a "loop" to show a message. You can show the message once, it will be there forever. Thats the idea. If you be reading the script guide you will be learning how to sript right, without lags. Im thinking about this while writing it. We will see later what events call the script twice and why. And I will always put some tips how to not lag the script in some parts. =) |
Aslong as you keep adding tips I think it'll be great :D
Thanks again! ;) |
Quote:
|
Quote:
|
I would rather see a guide use proper techniques the whole way through. Putting commands and events outside of event blocks is just lazy and careless. I see how you're structuring it so the begining is easy to follow for everyone, but I believe some people will think that that is an acceptable format.
The overall quality of the document looks nice though. You seem to have put some real effort into it, good job. I still hate PDFs though |
Quote:
Quote:
|
Quote:
|
Quote:
|
VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY VERY NICE AMON RA!
I've always been your fan man :( |
Quote:
Ya, the idea is start from beginning not forgetting anything.. So how much we will learning, we learn new things to replace the old commands we used, so until the end we will be using the right way. Thats why we start with a simple "message". Thats never good to use directly in the script like we did. But we cant start with too much information or the reader will give up to read it. I tryed to make like I like to learn, with alot of examples and many texts to explain each thing. |
That doesn't justify a structure like this:
NPC Code: |
1 Attachment(s)
Quote:
Anyway I attached a file that explain that better to you. ;) have a nice day |
Quote:
Quote:
|
I am glad you did this amonra...I'm going to see if I can learn something from it :)
Thanks |
Amon-Ra, I see no problem with posting errors here unless you're afraid of criticism. This thread should exist to foster the growth and development of your document, not simply to praise you.
That aside, to those who gave advice to Googi: //#CLIENTSIDE should by no means be the end-all solution to make offline scripts work online. For example, if you want to change someone's level, that will not solve it. In other cases, making everything clientside can leave your scripts vulnerable to trainer usage and cheating. |
This should be stickied, I WILL be refering back to this in the future.
|
Quote:
|
Quote:
|
Quote:
|
Quote:
|
contructive?
|
I haven't really looked at these, but I have lots of respect for scripters that take their personal time to write a document that will help others. Keep it up.
By the way, for a third langauge, your english is quite good. Better than some native speakers. |
Sweet! Keep up the good work! I've always wanted to learn more about scripting, I just know like a few incredibly basic things.
|
| All times are GMT +2. The time now is 08:03 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.