Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-16-2011, 04:36 PM
MrDunne MrDunne is offline
Registered User
Join Date: Aug 2010
Posts: 38
MrDunne is on a distinguished road
Quote:
Originally Posted by cbk1994 View Post
Graal isn't in desparate need of a new scripting language. GS2 has plenty of flaws, but it needs changes, not to be completely thrown out.

Stefan was experimenting with JavaScript as a serverside language, though, but I haven't heard anything about it in the past year. If JS was used, it might be possible for him to use an existing JavaScript engine like V8 (which uses JIT compilation) for massive speed improvements (not that they're really needed on serverside).
This was simply speculation. I haven't been back long enough to know the sentiments towards GS2 these days. I remember Inverness was pretty heavy on making all scripters Pythonistas.

I'd love to know more about that. Speed improvements are the last thing on the list here. CoffeeScript perhaps?
Reply With Quote
  #2  
Old 10-16-2011, 06:58 PM
Tolnaftate2004 Tolnaftate2004 is offline
penguin.
Join Date: Jul 2004
Location: Berkeley, CA
Posts: 534
Tolnaftate2004 is a jewel in the roughTolnaftate2004 is a jewel in the rough
Send a message via AIM to Tolnaftate2004
Quote:
Originally Posted by Emera View Post
Hello! I am trying to create a real simple public function to replace the already complicated quest icon system I made ...
PHP Code:
public function QuestIcon(icon_text) {
  
//if (playertouchsme) { // this is an event, not a flag and 
                          // won't be executed in this context
    // do stuff
  //}

PHP Code:
function onPlayerTouchsMe() { // preferred method
  
icon::QuestIcon("MOO");     // you can specify the class name thusly 
                              // (if you want to do so at all)

Quote:
Originally Posted by fowlplay4 View Post
... onCreated is called in the class when it's joined.
triggered
__________________
◕‿‿◕ · pfa · check yer syntax! · src

Killa Be: when i got that locker in 6th grade the only thing in it was a picture of a midget useing a firehose :/
Reply With Quote
Reply


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 11:19 AM.


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