Graal Forums

Graal Forums (http://forums.graalonline.com/forums/index.php)
-   Bug Report (http://forums.graalonline.com/forums/forumdisplay.php?f=193)
-   -   Weapon Scripts and Classes (http://forums.graalonline.com/forums/showthread.php?t=134257105)

fowlplay4 11-28-2009 11:52 PM

Weapon Scripts and Classes
 
I found that when I joined a class to a weapon script on the server-side that even after the class left it still persisted on the client-side and remained there till I deleted and re-added the weapon without any joins.

Code I'm using to join.

Graal Script Code:

function onCreated() {
  
join("debugger");


Code I use to leave:

Graal Script Code:

function onCreated() {
  
leave("debugger");


But if I join, reconnect, then leave, reconnect, the client-side portion of the class script still persists.

However if I use this code when I tell it to leave it works fine.

Graal Script Code:

function onCreated() {
  
join("debugger");
  
leave("debugger");


The debugger class can be found here:
http://forums.graalonline.com/forums....php?p=1540968


All times are GMT +2. The time now is 08:51 PM.

Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (C) 1998-2008 Linux cyberjoueurs All Rights Reserved.