View Full Version : Block Script Errors

09-09-2007, 10:14 PM
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:

public function AssignBlockID(x, y, level){
temp.newid = this.nextblockid;
this.nextblockid ++;
return temp.newid;

BUT every time I save the NPC's script it shows this error on RC:

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:

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.


09-09-2007, 10:17 PM
Forum pm me the script and i'll have a look ^^. I can't get on UC worlds anymore :frown:

09-09-2007, 10:22 PM
Sent :)