Graal Forums  

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 09-09-2007, 10:14 PM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
Block Script Errors

OK, I have my own blocks called blooblocks, I upload them on every server I work on.
I'm trying to improve them by making them save their location (x, y, level).
On Timeout (set to one second for now, might make it slower later on), it calls upon a NPC called BlooServer which assigns the block it's own ID:
PHP Code:
public function AssignBlockID(xylevel){
  
temp.newid this.nextblockid;
  
this.nextblockid ++;
  return 
temp.newid;

BUT every time I save the NPC's script it shows this error on RC:
Quote:
Script compiler output for BlooServer (in level bloooffice2.nw at pos (0, 0)):
The script of NPC BlooServer has been updated by bscharff
Now the class named blooblock is 101 lines long, I will not post the entire script on here because if I do, I know I will find it on a different server by tomorrow.

Anyways, when I save the class script it shows this error on RC:
Quote:
Script compiler output for Class blooblock:
Script blooblock updated by bscharff
Additionally, It deletes the class.

If you think you can help, forum PM me or log on to Carbon.

Thanks!
__________________
Trying to be nice now...
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 07:02 PM.


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