Graalians

Graalians (https://www.graalians.com/forums/index.php)
-   Creative Corner (https://www.graalians.com/forums/forumdisplay.php?f=17)
-   -   John's Scripts (https://www.graalians.com/forums/showthread.php?t=9528)

プリンセスさくら2 08-24-2012 06:28 PM

Quote:

Posted by callimuc (Post 185717)
im sure he shares your feelings


Hahahaha
I'm not a romantic

Emera 08-24-2012 06:29 PM

Quote:

Posted by プリンセスさくら2 (Post 185733)
Hahahaha
I'm not a romantic

You are however throwing this thread off of topic and becoming very annoying. This thread is for John to show his progress with GS2 and for us to offer feedback.

プリンセスさくら2 08-24-2012 06:41 PM

Quote:

Posted by Emera (Post 185735)
You are however throwing this thread off of topic and becoming very annoying. This thread is for John to show his progress with GS2 and for us to offer feedback.

Yes I know I am upsetting
so You do not need to say anything because I know everything about me
And why when I said I hate (hate is not something wrong):D

callimuc 08-24-2012 07:05 PM

Quote:

Posted by プリンセスさくら2 (Post 185733)
I'm not a romantic

yea lets say it was romantic

Quote:

Posted by プリンセスさくら2 (Post 185744)
Yes I know I am upsetting
so You do not need to say anything because I know everything about me
And why when I said I hate (hate is not something wrong):D

it is in this case because you are annoying the hell out of it and going off topic. either stay on topic or dont post. ez

fsh 08-24-2012 07:16 PM

Quote:

Posted by callimuc (Post 185754)
dont post

Another great idea by callimuc :)

Billy 08-24-2012 07:22 PM

Quote:

Posted by Kavan (Post 185539)
Well, if you actually look and read through some of the scripts, you'll realise that the coloured letters will form - believe it or not - words! If you read this script line by line, you can actually get a good idea of what it is doing:

PHP Code:

//#CLIENTSIDE

function onPlayerChats() {        // If the player says something
  
if(player.chat == ":)") {        // If the player chat is ':)'
    
player.chat ":(";              // Set the player's chat to ':('
    
setTimer(.05);                   // Set a countdown timer of 0.05 seconds
  
}
}

function 
onTimeout() {            // If the timer is "out"
  
temp.posx random(064);  // Create a temporary random # in 0-64
  
temp.posy random(064);  // Same as above
  
player.temp.posx;          // Set the player's x position to the rand #
  
player.temp.posy;          // Set the player's y position to the other #
  
setTimer(.05);                    // Create another countdown timer


So, really, it's not hard to see that it's not just coloured letters. It is comprehensible somewhat, but I can understand how it looks like hieroglyphs when you stick in things like & * / % +. Those are just arithmetic operators, and perform calculations. You just have to learn which is what (for example, + is add, * is multiply), and the same goes for the words used. There are many different words (I used the description 'word' for the sake of simplicity) that you can use to do different things, again you have to learn those.

I'm going to make a crude comparison and compare the brackets used to paragraphs, and these paragraphs can only be read if the word after the keyword 'function' is performed, (ie. onPlayerChats - if the player chats, onTimeout - if the timer runs out). Therefore the second 'paragraph' can only be read if the timer runs out in the script above.

The same way you have read it is the same way the game will interpret it ie. it will read it line by line like an essay and perform what the script is telling it to do.

Hopefully now, scripting doesn't seem as frightening as it did before, and maybe you'll give it a go, because it's quite fun.

You can script on Graal by first buying a gold subscription, and then you can get access to the Testbed Server Remote Control, which you can use to script with.

Thanks! I have gold I'll try it out.

Quote:

Posted by callimuc (Post 185509)
on graal when you are staff and got the rights on a server you have access to an "extra" section where you can put weapons on. there you write these magical letters and the RC/tests will tell you if you have succeed or if you failed

here you got a pretty good guide
http://public.zodiacdev.com/index.php?title=Fowlplay4

Thanks! I'll check out that guide as well.

Johnaudi 08-24-2012 09:58 PM

Quote:

Posted by Johnaudi (Post 184403)
okay got it, Ty BBoy, the %s helped a lot.
Can't script right now since guest access cleared from Delteria, but, anyone got ideas about Particles? Graal Bible doesn't explain much but I'd love to know the basic way they work.

I like colors.

Quote:

Posted by Emera (Post 185735)
You are however throwing this thread off of topic and becoming very annoying. This thread is for John to show his progress with GS2 and for us to offer feedback.

Still don't know the usage of addlocalmodifier

Quote:

Posted by プリンセスさくら2 (Post 185705)
i hate you john

Opposites attracts <3

callimuc 08-25-2012 12:34 AM

meh, newb times xD
forums.graalonline.com/forums/showthread.php?t=134263795

プリンセスさくら2 08-25-2012 02:32 AM

Quote:

Posted by callimuc (Post 185754)
yea lets say it was romantic


Why
Do you want me to become a romantic like you?? :love::love::rolleyes:
Hahaha considered this nothing is impossible :love::smile:

Sup3rn00b 08-25-2012 02:36 AM

Quote:

Posted by プリンセスさくら2 (Post 185705)
i hate you john

lolwhy

プリンセスさくら2 08-25-2012 02:40 AM

Quote:

Opposites attracts <3
i will not be attracted to you, because I do not see the dinosaurs attractive

Quote:

Posted by Sup3rn00b (Post 185999)
lolwhy

because He like dinosaur

Sup3rn00b 08-25-2012 02:47 AM

Quote:

Posted by プリンセスさくら2 (Post 186000)
because He like dinosaur

So your a dino hater?

プリンセスさくら2 08-25-2012 02:47 AM

He dinosaur Lebanon hahaha

Sup3rn00b 08-25-2012 02:52 AM

I am very confused.

プリンセスさくら2 08-25-2012 03:04 AM

Quote:

Posted by Sup3rn00b (Post 186014)
I am very confused.

Go to the temple and pray
And will not become confused


All times are GMT. The time now is 05:50 PM.

Powered by vBulletin/Copyright ©2000 - 2025, vBulletin Solutions Inc.