Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 12-16-2005, 10:42 AM
Rick Rick is offline
PipBoy Extraordinaire!
Rick's Avatar
Join Date: Jul 2004
Location: Long Beach, California.
Posts: 831
Rick is on a distinguished road
Clientside script update problem

CheeToS said he would post a thread about this, but he apparently didn't.

With the current revision of Graal4 (or the NPC server...?), when updating scripts (classes at least...) on a server, the clientside script is basically removed/disabled. I tested this with a basic script:

HTML Code:
function onCreated()
{
  this.attr[2] = 0;
  this.setTimer(0.1);
}

function onTimeout()
{
  this.attr[2] = this.attr[2] + 1; // this.attr[2]++ seems to be broken.
  this.setTimer(0.1);
}

//#CLIENTSIDE
function onCreated()
{
  this.setTimer(0.05);
}

function onTimeout()
{
  this.message(this.attr[2]);
  this.setTimer(0.05);
}
(Yes, I know the script sucks...)

My theory is that it's related to the recent setbackto gani fix, but I'm probably wrong.

It'd be nice if you could get this fixed quickly.

[edit]

This only occurs for NPCs that the client already knows about. If I say, reset a DB-NPC, then warp it back into a level with the player, the player sees the new clientside script just fine.

Last edited by Rick; 12-16-2005 at 10:52 AM..
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 02:38 PM.


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