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 03-13-2010, 03:19 AM
jkldogg jkldogg is offline
J.Rollin (killaz)
jkldogg's Avatar
Join Date: Feb 2010
Location: USA
Posts: 675
jkldogg can only hope to improve
Send a message via AIM to jkldogg Send a message via MSN to jkldogg
Thumbs up

Quote:
Originally Posted by fowlplay4 View Post
And I said to open the suspected gani that's causing the problem with a text editor like notepad.
Ah, okay.

This is what It said

HTML Code:
PLAYSOUND sound.wav 0.9375 -17.0625
PLAYSOUND sound.wav 0.75 17.375
What now?

---------


Quote:
Originally Posted by fowlplay4 View Post
You're mixing GS1 and GS2 there.

message Grab me!; in GS2 is basically

this.chat = "Grab me!"; OR

message("Grab me!");
PHP Code:
//#CLIENTSIDE
function onCreated() {
  
message("Grab me!");
}
function 
onActionGrab() {
  
openUrl("http://forums.graalonline.com/forums/showthread.php?t=134258011");

I tried your idea of the replace message thing but, i get errors. Although the script still works fine.. Scripting is confusing, how can you have an error and it works? But at the same time it's still the wrong type of script?


PHP Code:
ErrorMissing brackets end: ) 
__________________

PSN: jkldogg



The best post ever made on the graal forums.
After playing Graal Online for many years, JKL decides to make a forum account. Isn't life funny?

Last edited by jkldogg; 03-13-2010 at 03:31 AM.. Reason: double post
Reply With Quote
  #2  
Old 03-13-2010, 12:34 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by jkldogg View Post
I tried your idea of the replace message thing but, i get errors. Although the script still works fine.. Scripting is confusing, how can you have an error and it works? But at the same time it's still the wrong type of script?


PHP Code:
ErrorMissing brackets end: ) 
GS2 doesn't work offline. If you put the script in an actual script editor it won't give any errors.
__________________
Reply With Quote
  #3  
Old 03-13-2010, 05:38 PM
jkldogg jkldogg is offline
J.Rollin (killaz)
jkldogg's Avatar
Join Date: Feb 2010
Location: USA
Posts: 675
jkldogg can only hope to improve
Send a message via AIM to jkldogg Send a message via MSN to jkldogg
Question

Quote:
Originally Posted by cbk1994 View Post
GS2 doesn't work offline. If you put the script in an actual script editor it won't give any errors.
How do I fix the jukebox so the guns don't turn off the song?
__________________

PSN: jkldogg



The best post ever made on the graal forums.
After playing Graal Online for many years, JKL decides to make a forum account. Isn't life funny?
Reply With Quote
  #4  
Old 03-13-2010, 05:58 PM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by jkldogg View Post
How do I fix the jukebox so the guns don't turn off the song?
Everyone else has already given you the answer; fix your GANIs, there's nothing wrong with the script.
__________________
Reply With Quote
  #5  
Old 03-14-2010, 05:09 AM
jkldogg jkldogg is offline
J.Rollin (killaz)
jkldogg's Avatar
Join Date: Feb 2010
Location: USA
Posts: 675
jkldogg can only hope to improve
Send a message via AIM to jkldogg Send a message via MSN to jkldogg
Angry

Quote:
Originally Posted by cbk1994 View Post
Everyone else has already given you the answer; fix your GANIs, there's nothing wrong with the script.
Okay, would you please tell me EXACTLY what to do?
__________________

PSN: jkldogg



The best post ever made on the graal forums.
After playing Graal Online for many years, JKL decides to make a forum account. Isn't life funny?
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 07:35 PM.


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