Graal Forums  

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

Reply
 
Thread Tools Search this Thread Display Modes
  #16  
Old 08-08-2009, 12:40 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 GULTHEX View Post
there is like 10 errors

Script compiler output for radio:
<b>error: unexpected token: * at line 1: * Made by Twinny under Open Source */
<b>error: missing semicolon at line 1: * Made by Twinny under Open Source */
<b>error: unexpected token: / at line 1: * Made by Twinny under Open Source */
Weapon/GUI-script radio added/updated by GULTHEX
<b>Script: Function addcontrol not found at line 102 in script of radio
<b>Script: Function addcontrol not found at line 94 in script of radio
<b>Script: Function addcontrol not found at line 113 in script of radio
<b>Script: Function addcontrol not found at line 122 in script of radio
<b>Script: Function addcontrol not found at line 131 in script of radio
<b>Script: Function addcontrol not found at line 140 in script of radio
<b>Script: Function addcontrol not found at line 147 in script of radio
<b>Script: Function addcontrol not found at line 154 in script of radio
<b>Script: Function addcontrol not found at line 82 in script of radio
<b>Script: Function Radio_Window.setText not found at line 163 in script of radio
<b>Script: Function triggerserver not found at line 169 in script of radio
<b>Script: Function GraalControl.addControl not found at line 165 in script of radio
At least on Mac, client-RC has some problems with copying and pasting; you may want to try using the real RC and see if you have the same problem.
__________________
Reply With Quote
  #17  
Old 08-09-2009, 02:55 AM
GULTHEX GULTHEX is offline
Registered User
Join Date: Jul 2008
Posts: 148
GULTHEX can only hope to improve
so how would i copy and paste wrong i coppied everything andpasted everything

so how would i do it right?
Reply With Quote
  #18  
Old 08-09-2009, 03:20 AM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
Quote:
Originally Posted by GULTHEX View Post
so how would i copy and paste wrong i coppied everything andpasted everything

so how would i do it right?
Right from the first line,

<b>error: unexpected token: * at line 1: * Made by Twinny under Open Source */

You've missed the first / in the script which turns the first line into a comment. After this, the script broke.....

Please, read the errors that RC gives and solve the problem from there. You have the entire script in front of you so it should become really clear.....
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 09:05 PM.


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