Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #41  
Old 08-16-2003, 08:42 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by wonderboysp2p
i agree with tseng... ive uploaded old levels and found "toweapons" in there... had a good time getting disconnected about 7 times before i realized it was there too
I'm talking about serverside toweapons (overwrites weapons in NC), not clientside toweapons (disconnects because clientside/offline style toweapons is the kind of thing trainers inject to try to add a weapon).
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #42  
Old 08-17-2003, 05:26 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
ooooooooooooooooooooooooooooooooooooooooooh
that's another problem heh
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #43  
Old 08-17-2003, 03:58 PM
prozac424242 prozac424242 is offline
Registered User
prozac424242's Avatar
Join Date: May 2001
Location: Gone crazy: back soon
Posts: 356
prozac424242 is on a distinguished road
Send a message via ICQ to prozac424242 Send a message via AIM to prozac424242
It is good to see people who know that programming is an art form, and there are certain rules that should apply for asthetic reasons, and to save on processor time (thus slashing away at the lag monster).

Good code should be self-documenting, but comments are encouraged - at least a purpose statement, like with your graal name and an exploination of what the npc does, at the top of the code.

There are two ways to make comments, line at a time, and in a block.

NPC Code:

// NPC by Prozac
// This npc is uber 1337 and will ownz all of joo!
// this line is a comment and will not be read by the parser

///////// text lines like this help break up long scripts ///////

// for short query-action stuf like the code below
// I think its ok to put it on one line . less scrolling
// in the code window too.

if (playerenters) {message I Ownz joo!;}

a=0; //variable a is set to 0: after the two slashes is a comment until you press enter





The comments that go on for more than one line should be put in a comment block

NPC Code:

/* NPC by Prozac
This npc shows how I prefer to layout code after querying for a
comdition, then listing more than one command.

I like to have the curly brackets on their own line
at the start and end of the blocks, two spaces in if nested condition checks.

In long scripts or blocks of code, I place and indent my if
(condition) and brackets { and } beforehand, then fill in the
commands afterwards. This habit helps to make sure you don't
forget to close your brackets, that they end in the right place.

A good indentation rule is two spaces, thats what I usually end
up doing. But as in all art, try the general convention, then find what works for you.

And yes, all this is a comment. Here comes the comment end..
*/

//////// code begins here //////////

if (created)
{
setplayerprop #c,I am here!;
a=0;

if (weaponsenabled)
{
say2 Weapons are enabled;
}

}




Forgive spelling or grammar mistakes, as its early morning and am half awake .. and half asleep .. so my consiousness is twice as big as it needs to be?
__________________

Useful links:
Graal Stats
Client Script Functions-GS1 to GS2
Serverside Script Functions-Gscript page
Particle Engine-Player Attributes
Server Options-Admin rights-Gmaps
Quote:
Originally Posted by Admins
Thanks for developing and improving playerworlds and such
Reply With Quote
  #44  
Old 08-18-2003, 05:46 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
heh my dad's always telling meh to use comments while programming... it's fun because you can pretend that whateber you put is a sublimnal message repeated OVER AND OVER while the script is functioning but yea...

comments are very underused in gscript (as far as ive seen)... i think it would be ince to see a script once in a while that ya know says

if (actionjewer){
message #p(1) Is A Jew!; //#p(1) is the player's account name
}

or something like that, so we have like a little helper when we're debugging other people's scripts... or scripts we made when we were "in a state where we wouldnt remember" heh...

most scripters can easily identify (looking at the triggeraction) that #p(1) would be the players account name but it saves time and is much easier to just look to the right and say "oh!"

or say, the script keeps coming up with something like
"12 is a jew!" people can say "hmm..."
"oh ok well that's the problem! #p(1) is scripted to be the players damage! they have 'account name' listed as #p(2) in the triggeraction! Silly NATs..."

it can cause more confusion if someone types the wrong thing as a comment then what the script is actually intended to do but everything's got drawbacks right?
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #45  
Old 08-22-2003, 02:32 PM
duzzel duzzel is offline
Registered User
Join Date: Aug 2003
Posts: 20
duzzel is on a distinguished road
another word for scripting hmm...geek
anyways I wish there were a good tuturial that teaches people to script easier... i just don't get it
Reply With Quote
  #46  
Old 08-23-2003, 07:48 AM
wonderboysp2p wonderboysp2p is offline
Registered User
wonderboysp2p's Avatar
Join Date: Sep 2002
Location: -Wonderboy
Posts: 537
wonderboysp2p is on a distinguished road
Send a message via AIM to wonderboysp2p
Quote:
Originally posted by duzzel
another word for scripting hmm...geek
Hey look! now im not gonna help you learn how to scirpt.. in fact, go to hell
__________________

we are the llama FORUms!!!EWQ Ce13d5423f23!! 2e1 @$6tgv3uy65!
Reply With Quote
  #47  
Old 08-23-2003, 08:53 AM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Neoreno
Mleh. Classic is supposed to be getting a conversion. So all the more insentive to hurry it up.
...a conversion that has taken a total duration of almost a year now. It's pathetic.
__________________
Kat
Reply With Quote
  #48  
Old 08-23-2003, 09:00 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by -Ramirez-
...a conversion that has taken a total duration of almost a year now. It's pathetic.
The speed is pathetic, you mean? Not really. There's a lot of work, and they seem to be trying to do it properly (unlike most online playerworlds ¬_¬).
__________________
Reply With Quote
  #49  
Old 08-23-2003, 06:05 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Kaimetsu


The speed is pathetic, you mean? Not really. There's a lot of work, and they seem to be trying to do it properly (unlike most online playerworlds ¬_¬).
Yes, it has taken far too much time. And yes, there is a lot of work, but if there were more people actually working, it would have been done by now. Com and Jeff were the only two doing anything for a while. Then Com hired some new people back in February. Of those people hired, I think I was the only scripter. So far, I've been the only one who has actually stayed with it and done the work. Even I haven't done much, as I've been doing quite a bit for the clientside only Classic server as well. Soul appears to have taken over the administrating of the LAT now. He just got through a hiring, and we'll be reviewing applications soon. Hopefully this will give us some new scripters that will actually HELP. Oh well... only time will tell. (...yet more time...)

Maybe I shouldn't have posted this here, as it doesn't really belong with the topic.
__________________
Kat
Reply With Quote
  #50  
Old 08-28-2003, 04:32 AM
Ziro_Vitrudestec Ziro_Vitrudestec is offline
Registered User
Ziro_Vitrudestec's Avatar
Join Date: Jun 2003
Location: California
Posts: 844
Ziro_Vitrudestec is on a distinguished road
Send a message via AIM to Ziro_Vitrudestec
Quote:
Originally posted by Kaimetsu

Because making a tutorial wouldn't benefit me in any way whatsoever?
Selling it should.
__________________
Harbor Master Raghnro Diomora II of the Crescent Pirates
<taken off AIM, Ryan W referring to Zormite on GK after I told him why they're not a fish-like race anymore>
Freak0102: That's like the new Governor of CP saying "I don't really like pirates since GK doesn't have eye patches and stuff, so let's be guys who think pirates are cool instead"
Reply With Quote
  #51  
Old 08-28-2003, 04:34 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Ziro_Vitrudestec


Selling it should.
Not realistic.
__________________
Reply With Quote
  #52  
Old 08-28-2003, 04:41 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by -Ramirez-

Yes, it has taken far too much time. And yes, there is a lot of work, but if there were more people actually working, it would have been done by now. Com and Jeff were the only two doing anything for a while. Then Com hired some new people back in February. Of those people hired, I think I was the only scripter. So far, I've been the only one who has actually stayed with it and done the work. Even I haven't done much, as I've been doing quite a bit for the clientside only Classic server as well. Soul appears to have taken over the administrating of the LAT now. He just got through a hiring, and we'll be reviewing applications soon. Hopefully this will give us some new scripters that will actually HELP. Oh well... only time will tell. (...yet more time...)

Maybe I shouldn't have posted this here, as it doesn't really belong with the topic.
I already indicated my willingness to help, but it'd be convenient if I had some applicable rights on Classic Dev to fascilitate this (e.g. rw to the weapons for which I am to convert, so I can add them myself for easier transferrence, and verification that they work properly. With NC Rights, I do not think this should be an issue).

(Also, why in the world would you attempt/hope to gain scripters from Levels Team? That seems rather foolish, if you ask me.)
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #53  
Old 08-28-2003, 05:28 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Tseng

(Also, why in the world would you attempt/hope to gain scripters from Levels Team? That seems rather foolish, if you ask me.)
Once upon a time there was no such thing as NATs or GATs, it was all one general category, LATs, and classic has continued this tradition
Reply With Quote
  #54  
Old 08-28-2003, 05:29 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by Python523


Once upon a time there was no such thing as NATs or GATs, it was all one general category, LATs, and classic has continued this tradition
Tradition is no excuse for foolishness.

A

Levels
Administration
Team

is just that.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #55  
Old 08-28-2003, 05:33 AM
Python523 Python523 is offline
Banned
Join Date: Aug 2001
Location: Illinois
Posts: 3,498
Python523 is on a distinguished road
Quote:
Originally posted by Tseng


Tradition is no excuse for foolishness.

A

Levels
Administration
Team

is just that.
On non-npcserver servers you had to insert NPCs into levels by editing them, there was no such thing as NC with a weapons database where you can directly insert weapons or an NPC list where you directly insert NPCs into them without editing, the name does make some sense if you look at it that way
Reply With Quote
  #56  
Old 08-28-2003, 05:42 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by Python523


On non-npcserver servers you had to insert NPCs into levels by editing them, there was no such thing as NC with a weapons database where you can directly insert weapons or an NPC list where you directly insert NPCs into them without editing, the name does make some sense if you look at it that way
That may explain "scripts", but it does not explain graphics. And, the question is still begged about why levels people would be doing major scripting.

Aside from all of that, my question related to why a levels administration team was dealing with scripting for an NPC-Server.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #57  
Old 08-28-2003, 08:59 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Tseng
I already indicated my willingness to help, but it'd be convenient if I had some applicable rights on Classic Dev to fascilitate this (e.g. rw to the weapons for which I am to convert, so I can add them myself for easier transferrence, and verification that they work properly. With NC Rights, I do not think this should be an issue).
Well, Soul can't even give people rights on Dev, as he doesn't even have the rights himself. Tyhm has yet to give them. (He says he can't, but Stefan checked his rights and told me he could...) When Soul has the rights, I'll let you know when you can come and help.

Btw, don't you have 2001 to work on? When are you going to find the time for Classic?
__________________
Kat
Reply With Quote
  #58  
Old 08-29-2003, 04:33 AM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by -Ramirez-

Well, Soul can't even give people rights on Dev, as he doesn't even have the rights himself. Tyhm has yet to give them. (He says he can't, but Stefan checked his rights and told me he could...) When Soul has the rights, I'll let you know when you can come and help.

Btw, don't you have 2001 to work on? When are you going to find the time for Classic?
I've got an internet-less 3 hour break twice a week in which I am very bored, and several smaller ones also internet-less. I can convert a few scripts at a time.

I also have bored nights+weekends, and a willingness to help out where I can.

And to answer the inevitable question - correct, I do have no life.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #59  
Old 08-29-2003, 07:31 PM
-Ramirez- -Ramirez- is offline
Registered User
Join Date: Jun 2002
Location: USA, Ohio
Posts: 729
-Ramirez- has a spectacular aura about-Ramirez- has a spectacular aura about
Quote:
Originally posted by Tseng
And to answer the inevitable question - correct, I do have no life.
That's ok, I don't have one either.

And as I said, I'll see about getting you rights whenever I can. I'll forum PM you or something when you have them.
__________________
Kat
Reply With Quote
  #60  
Old 09-14-2003, 01:43 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by voicedcow6666
my turn for input.

For for statements, the initial varible you should use is i. If you must nest them, start with i, followed by j, then k, and so on.

NPC Code:

for (i=0;i<5;i++) {
}

for (i=0;i<5;i++) {
for (j=0;j<3;j++) {
for (k=0;i<1;k++) {
}
}
}

Wrong. You can use any letter, as long it isn't used (x,y,z).
I,j,k,l etc. is for compability with Java and C++, just like == is.
Also, this. variables can be used to.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #61  
Old 09-14-2003, 04:01 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by GoZelda

Wrong. You can use any letter, as long it isn't used (x,y,z).
I,j,k,l etc. is for compability with Java and C++, just like == is.
Wrong. Those variable names are used simply for the sake of uniformity. Compatibility isn't even a factor.
__________________
Reply With Quote
  #62  
Old 09-14-2003, 04:11 PM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by GoZelda

I,j,k,l etc. is for compability with Java and C++, just like == is.
AHAHAHAHAHAHAHA
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #63  
Old 09-14-2003, 04:34 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Kaimetsu


Wrong. Those variable names are used simply for the sake of uniformity. Compatibility isn't even a factor.
o.O crappy Java tutorial. Crappy NPCprogramming.RTF.
:grrr:
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #64  
Old 09-14-2003, 04:43 PM
Tseng Tseng is offline
Sublime
Tseng's Avatar
Join Date: Jan 2003
Location: California
Posts: 0
Tseng is on a distinguished road
Quote:
Originally posted by GoZelda

o.O crappy Java tutorial. Crappy NPCprogramming.RTF.
:grrr:
Dude, that has nothing to do with it. I don't think you fully understand the word 'compatibility'.
__________________
Funny Things:
Quote:
Originally posted by Stefan
I didn't ban you, I only played a little bit with my RC.
-----
Reply With Quote
  #65  
Old 09-14-2003, 04:48 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Tseng


Dude, that has nothing to do with it. I don't think you fully understand the word 'compatibility'.
That could very well be XD
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #66  
Old 09-21-2003, 04:01 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Tseng


AHAHAHAHAHAHAHA
Quote:
Originally said by Stefan Knorr in NPCprogramming.rtf

You can also use other symbols like ":=" and a single "=" for checking equality, but it's not recommended (to keep compability to the Java/C++ syntax)
I'll get the for stuff later.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #67  
Old 09-21-2003, 04:13 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by GoZelda
I'll get the for stuff later.
English isn't Stefan's first language.

Anyway, i and j aren't part of Java or C and they're not syntactic devices. They're just variable names.
__________________
Reply With Quote
  #68  
Old 09-21-2003, 05:35 PM
GoZelda GoZelda is offline
Mister 1,000,000
GoZelda's Avatar
Join Date: Jan 2003
Location: Brussels, capital of Europe.
Posts: 5,396
GoZelda will become famous soon enough
Send a message via AIM to GoZelda Send a message via MSN to GoZelda
Quote:
Originally posted by Kaimetsu


English isn't Stefan's first language.
Nor is it mine, so i guess that's the reason of this... misunderstanding.
__________________

Quote:
Originally Posted by Lance
stefan is satan
I am the best.
[URL removed]Music or aural pollution?
Reply With Quote
  #69  
Old 12-09-2003, 02:40 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
There is now a new command on RC:

/style scripttype name

Scripttype can be class, npc or weapon.
It is reformatting the script to look nicer. Please test it before using, sometimes triggeractions can be messed up because it divides weapon names like Day-Night in Day - Night. You can change the style options in the server options:

scriptstyle=spaces=2,padding=oper,brackets=attach

Spaces gives the number of spaces to put in front of each line (indenting).

Padding says where to put spaces in between:
'oper' will put spaces behind commands like 'if' and before and after operands like '+' and '==',
'paren' will put spaces in [] and (),
'all' will do both.

Brackets says if it should break lines before and after { and } ('break'),
or if it should actually attach it to the previous 'if' or 'for' command ('attach'). Use 'linux' as option if you want to break declarations (array declarations like a = {1,23}) but want to attach brackets after commands.

The npcserver uses the astyle library to format the text.

[edit: post merge by Loriel ]

Yes i,j,k is common standard for loop index variables. The 'l' is not used often because it looks like a 1. So better continue with m,n,o,p,q,r,s,t etc.

Last edited by Loriel; 12-09-2003 at 02:55 PM..
Reply With Quote
  #70  
Old 12-09-2003, 05:10 PM
osrs osrs is offline
Graalian since 1998
osrs's Avatar
Join Date: Mar 2002
Location: Brazil
Posts: 2,724
osrs is on a distinguished road
Send a message via ICQ to osrs Send a message via AIM to osrs Send a message via MSN to osrs Send a message via Yahoo to osrs
Quote:
Originally posted by Stefan
There is now a new command on RC:

/style scripttype name

Scripttype can be class, npc or weapon.
It is reformatting the script to look nicer. Please test it before using, sometimes triggeractions can be messed up because it divides weapon names like Day-Night in Day - Night. You can change the style options in the server options:

scriptstyle=spaces=2,padding=oper,brackets=attach

Spaces gives the number of spaces to put in front of each line (indenting).

Padding says where to put spaces in between:
'oper' will put spaces behind commands like 'if' and before and after operands like '+' and '==',
'paren' will put spaces in [] and (),
'all' will do both.

Brackets says if it should break lines before and after { and } ('break'),
or if it should actually attach it to the previous 'if' or 'for' command ('attach'). Use 'linux' as option if you want to break declarations (array declarations like a = {1,23}) but want to attach brackets after commands.

The npcserver uses the astyle library to format the text.

[edit: post merge by Loriel ]

Yes i,j,k is common standard for loop index variables. The 'l' is not used often because it looks like a 1. So better continue with m,n,o,p,q,r,s,t etc.
Finally!
But a style button wouldn't be better?
__________________
"Ability is what you are capable of doing. Motivation determines what you do. Attitude determines how well you do it."
Facebook: facebook.com/raysilvadotnet /
Reply With Quote
  #71  
Old 12-09-2003, 06:37 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
A style button would have required yet another RC update, and would also need to be rescripted for the new RC later on. Also, I doubt it would do much good to the RC's compactness to link it with the library Stefan mentioned.
Edit: Actually, no. Forget that. A style button would be better.
Reply With Quote
  #72  
Old 12-10-2003, 01:22 AM
VeX_RaT_Boy VeX_RaT_Boy is offline
WannaBe Scripter
VeX_RaT_Boy's Avatar
Join Date: Aug 2002
Location: Norway
Posts: 960
VeX_RaT_Boy is on a distinguished road
Send a message via ICQ to VeX_RaT_Boy Send a message via AIM to VeX_RaT_Boy Send a message via Yahoo to VeX_RaT_Boy
Finnaly! Good job Stefan

But, yea, A style button would be better
__________________
-Kjetil Valen
Reply With Quote
  #73  
Old 12-10-2003, 01:33 AM
xPuppetMasterx xPuppetMasterx is offline
reef
xPuppetMasterx's Avatar
Join Date: Jun 2003
Location: Back in the USA
Posts: 274
xPuppetMasterx is on a distinguished road
Send a message via AIM to xPuppetMasterx
Very nice. This will come in handy.
__________________
So free
Reply With Quote
  #74  
Old 12-10-2003, 01:56 AM
xManiamaNx xManiamaNx is offline
Supreme Dictator
xManiamaNx's Avatar
Join Date: Nov 2002
Location: 127.0.0.1
Posts: 385
xManiamaNx is on a distinguished road
Send a message via MSN to xManiamaNx Send a message via Yahoo to xManiamaNx
Wait for the new scripted rc, then you'll be able to have style buttons
__________________
Maniaman

Play Maloria Now: [2.3] [3]
Maloria Website

Reply With Quote
  #75  
Old 12-10-2003, 06:18 AM
ForgottenLegacy ForgottenLegacy is offline
-Backtoscripts-
Join Date: Aug 2003
Location: California
Posts: 289
ForgottenLegacy is on a distinguished road
Send a message via AIM to ForgottenLegacy
What are the options to have the same style that Stefan uses when he scripts? Fourm PM this to me please, as I never read this thread much.
NPC Code:

if (created) { //Braces on the same line, 1 space after the )
operations(); //Next command is on another line, alone, 2 spaces indented;
if (myflag) {
operations(); //Embedded command is 2 spaces indented, added to the origional 2 spaces
} // Closing brace on it's own line
}

__________________
"The higher you fly, the harder it is to breathe."

[Kaidenn] Maybe I will somehow take control of Lance's body when he isn't looking, have him log onto Kingdoms, update one script, and leave.
[Kaidenn] And leave him exactly where I found him, unchanged and completely unnaware of what just took place the last two minutes.
[GrowlZ] Lance: You might want to lock your bedroom door tonight
Reply With Quote
  #76  
Old 12-10-2003, 06:48 AM
dlang dlang is offline
Yoshi!
dlang's Avatar
Join Date: Oct 2002
Location: Houston, Texas
Posts: 406
dlang is on a distinguished road
Send a message via AIM to dlang Send a message via MSN to dlang
I set the brackets to linux style but I can't seem to get them to change back to attached.
__________________
Where do I take this pain of mine?
I run but it stays right by my side.
So tear me open, pour me out,
there's things inside that scream and shout.
And the pain still hates me, so hold me until it sleeps.

---------------
Reply With Quote
  #77  
Old 01-07-2004, 06:46 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
Quote:
Originally posted by Kaimetsu in another thread
It's interesting to see that KSI-GS found its way into the Classic tab requirements. I would never have agreed with that decision.
Uhh... why not?
Reply With Quote
  #78  
Old 01-07-2004, 11:47 PM
Hevaricubed Hevaricubed is offline
Registered User
Join Date: Aug 2003
Posts: 262
Hevaricubed is on a distinguished road
Send a message via AIM to Hevaricubed Send a message via Yahoo to Hevaricubed
simply because the KSI-GS is just common sense, and if a playerworld had scripts which dont conform, that playeworld shalt be striketh down in a firey rain of brimstone and ash.
__________________
Reply With Quote
  #79  
Old 01-08-2004, 05:43 AM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally posted by Loriel
Uhh... why not?
Because only a small portion of scripters have the sense to adhere to it, so it almost certainly won't be enforced. Heck, the runt doesn't even understand the rules, let alone follow them. Do you really expect him to insist on their use?

Of course, the runt shouldn't be a GST member, but that's another story
__________________
Reply With Quote
  #80  
Old 01-11-2004, 03:23 AM
Hevaricubed Hevaricubed is offline
Registered User
Join Date: Aug 2003
Posts: 262
Hevaricubed is on a distinguished road
Send a message via AIM to Hevaricubed Send a message via Yahoo to Hevaricubed
Oooh which runt, gossip gossip gossip :P
__________________
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.