View Single Post
  #71  
Old 01-11-2015, 06:01 PM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
While working on testbed I've seen this display error:

In the RC Chat tab:
Quote:
if (player.chat.starts(" at line 6: if (player.chat.starts("/Tiles"))
and in the NC tab:
Quote:
Script compiler output for Personal/someplayer/weapon:
error: unexpected token: " at line 4: addtiledef("image.png,"",0);
error: unexpected token: , at line 4: addtiledef("image.png,"",0);
error: missing semicolon at line 4: addtiledef("image.png,"",0);
error: unexpected token: ) at line 4: addtiledef("image.png,"",0);
Weapon/GUI-script Personal/someplayer/weaponadded/updated by someplayer
so yea, part of the error wasn't displayed in the NC tab. script looked like this (in case you need to reproduce the error) (and the script's been obviously wronger than wrong ):

PHP Code:
//#CLIENTSIDE
function onCreated() 
{
  
addtiledef("image.png,"",0);
}
if (player.chat.starts("
/Tiles"))
{
  addtiledef("
image.png,"",0);
}
if (
play.chat == "/reset tiles")
{
  
removetiledefs;


I've also seen that whenever you delete a weapon, the message is displayed in RC Chat unlike NPCs and classes being deleted
__________________
MEEP!

Last edited by callimuc; 01-11-2015 at 10:40 PM..
Reply With Quote