Graal Forums

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

fowlplay4 11-29-2009 12:52 AM

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.

PHP Code:

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


Code I use to leave:

PHP 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.

PHP 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 02:31 AM.

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