Quote:
Originally Posted by Unkownsoldier
I understand that Graals documentation for anything isn't very good, especially scripting. Are there other languages similar to gscript that have more documentation?
|
Syntactically, JavaScript is almost identical—but few questions are related to syntax. Most are Graal-specific.
Quote:
|
Now granted I don't know anything about scripting nor will I assume anything but is the only way to learn how to script is (once all tutorials are read and understood) that you ask a question and have a more experienced scripter give you the answer to your problem? Or should they point you in the right direction and let you figure it out with hints because I always thought someone would learn better if they did it/found it out themselves.
|
Most of the time people
are given hints or pointed to relevant documentation if they ask an overly general question. Sometimes questions are so specific that the only way to explain is with an example. This is good because it shows that the poster has a good understanding of GScript but needs advice on one thing.
Quote:
|
you should persevere through your problems and use the forums as a last resort. Could possibly be more beneficial no?
|
This isn't always possible. Some things can't be done without appropriate documentation or prior understanding. Many of
these posts, for example, deal with specific features.
Quote:
|
And instead of resorting to the forums everyday for a new question, maybe try to perfect a script before moving onto the next.
|
I agree, and in the past we've pointed this out to people who were abusing the scripting forum. Just recently:
Quote:
Originally Posted by cbk1994
For some reason I feel like you've been told to do checks on serverside (for allowed players) at least three or four times now.
|
Quote:
Originally Posted by fowlplay4
These "concept" threads you've been posting are just becoming spam, especially when they contain bad-practices/errors we've already tried to tell you to fix and because of that it really negates their helpfulness.
1. Don't constantly re-create GUI objects. Create them once, and update their variables.
2. Move the 'allowed' validation to the server-side.
3. You don't need to use a 0.05 loop, for a weather system you can easily get away with 0.5-1. If only staff can change the weather then you don't really need it at all.
4. When you "change the weather" send a trigger to everyone on to update the weather on the client-side.
|