Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   NPC Scripting (https://forums.graalonline.com/forums/forumdisplay.php?f=8)
-   -   Block Script Errors (https://forums.graalonline.com/forums/showthread.php?t=76712)

bscharff 09-09-2007 10:14 PM

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!

Twinny 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:

bscharff 09-09-2007 10:22 PM

Sent :)


All times are GMT +2. The time now is 12:45 AM.

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