Graal Forums  

Go Back   Graal Forums > Graal V6 forums > Bug Report
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 03-15-2009, 12:29 AM
salesman salesman is offline
Finger lickin' good.
salesman's Avatar
Join Date: Nov 2008
Location: Colorado
Posts: 1,865
salesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud ofsalesman has much to be proud of
closing block comments...or not?

Had a weird problem with the serverside portion of a class not working, but the clientside portion worked fine:

After 20 minutes of trying to figure out why the hell my code was freaking out, I found that the problem was commented out information about functions contained in the script:
PHP Code:
/*
//INFO */ 
When writing code, it appears as if the block comment is closed, but when compiled the */ is actually being commented out by the "//"

PHP Code:
/*
//TEST */
function onActionServerSidecmd ) {
  if ( 
cmd == "Test" ) {
    echo(
"Complete");
  }
}
//#CLIENTSIDE
function onMouseDown() {
  
player.chat "Kewl";
  
triggerserver("weapon"this.name"Test"NULL );

Serverside portion would not work with the comments at the top, but the clientside portion would.
Reply With Quote
 


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 05:20 AM.


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