![]() |
Playerworld Inspections: Scripting
Skyld created a document for the GraalBible on the scripting review for playerworld inspections. As he is the only GST that is doing it.
It can be found here. For those who would like a link: http://wiki.graal.net/index.php/Crea...orld_Scripting If there is stuff that should be added, please post within this thread. Do NOT edit the Wiki page, as we will do that if needed. |
Looks good to me.
|
I suppose the creation of this was in response to the complains of people like Tenex. Or was this done before then? Either way, seems good to me.
|
Quote:
|
I dunno, I think it should be rewritten. Obviously the GST knows what is being looked for but it doesn't seem to be laid out properly to give them an accurate portrayal of how it is scored. The whole styling/readability thing should just be mentioned in the foreward, if the scripts can't be read, they're going to be skipped over and it's basically an automatica fail, along with scripts that have serious security holes are are going to basically be able to be abused with very little trouble.
Yeah security and efficiency are a big deal, but at the same time the NPCs are inspected for just more than that. Oh well, it doesn't really seem like there are any playerworlds right now that are organized enough to get to this stage :( |
Quote:
Quote:
|
Quote:
|
Quote:
|
Well, Skyld created this, as he is the only one doing the scripting inspection for playerworld inspections.
Though, suggestions are welcomed, of course, from the original members of the Global Scripting Team. Though, it's better to discuss it here and see if it seems like a good idea, then it can be added to the "official" document, rather than someone not on the team putting stuff that isn't apart of the real inspection. |
How can styling and readbility be judged?
I dont get the basis for doing that, if the scripts work and are not computer intensive, who cares who can read it, chances are everyone on the server has an idea what is going on, and thats all that is importaint. Right? |
Well, I'm guessing he means, don't make it like one huge long line.
He'll have to clear it up. |
Quote:
For example, a script like this... PHP Code:
PHP Code:
If you have to sit and think out the structure of a script, i.e. how many code blocks you've ventured into at a given point and for what conditions, then it's badly structured. |
I should ban Skyld from any server with my NPCs. :[
He'll be all.. 'WTF!? SHUTDOWN!!!!' |
Quote:
|
Quote:
I know I banned contego all the time as a joke, but that was when he didnt have Level 5 RC. |
The easier it is to read the script, the easier it is for them to help/inspect it. If they have a hard time reading it, they won't waste their time. Some of DR's older scripts are in poorly formatted gs1 but thats changing. ;)
|
The styling and readability bit is quite lackluster. Sure, nobody wants to inspect a server with hundreds of nearly illegible forms of print, but the fact that both, NC and the Graal Editor, allow for styling should completely dismiss such a rule to most degrees.
You gave such a horid example, Skyld. If anything, I would hold the rule to those that code in single lines, something along the lines of: NPC Code: or even NPC Code: Because with your example, I could easily copy that code, and paste it in an empty npc on Graal Editor, and press the Style button, and viola. But for the most part, code can be easily styled via the Graal Editor, or even NC, but I believe NC misplaces brackets when styling or it misplaces triggers (not sure exactly which). I don't believe that lack-of-styled scripts should give a server an automatic failiure. I believe the GST should aid them in the proper forms of styling code, or even, helping them have it styled via Graal Editor. Some coders choose to style code in a specific way, and sometimes that way makes it harder for others to read, but is natural to them. It would be rather unfair for one to dismiss the content of a server just because the GST has a hard time reading the code. If the code is to the point where even styling it would do no good, then chances are, it possibly has tons of inefficiency and loop holes, and therefore, this rule could apply, but other then that, I would have some discrepancies with how it is carried out and enforced. The GST should be around to aid the players, not ignore them because their method of styling, if any, is un-ordinary. Help the players, do not discourage them. If all of their npcs are horribly styled, then show them methods of styling. Maybe you could even style one of their currently un-styled npcs, as an example. After that, have them style another npc, and you judge how well they styled the npc. If they have done a good job, tell them you'd come back later that day or on another day, and even tell them that you would help them if any help is needed. The more global-to-staff interaction there is, the more safe and secure a playerworld team would feel, in case of an emergency; in which case they would need to contact globals (if needed). The current problem is that current playerworld staff dislike globals, mostly, because they just hop from server to server and act like they run the place. Globals should learn to interact with the fellow players, not act superior to them, unless of course, you need to handle a situation that is, or is getting, out of control. In this case, you would not exactly act superior, but you would act in a more foreman sort of way. Show the players that you are to be respected and listened to by treating the players as you would like them to treat you in return. |
I had Jagen banned from my playerworld using a script.
Everytime he logged on it would just auto-disconnect him. Not a ban, but kept him off. |
Quote:
|
Quote:
Quote:
Quote:
|
Quote:
Not so much ban, but 'disable.' |
Quote:
|
Quote:
But then I used: with(getplayer(Projectshifter)) {playerhearts += 20;} So he breathes again. |
Quote:
|
| All times are GMT +2. The time now is 04:49 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.