Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   class problems (https://forums.graalonline.com/forums/showthread.php?t=64584)

Warcaptain 03-06-2006 06:53 AM

class problems
 
heres the deal:

i made a weapon, -system.. made a class for each system weapon i had and joined them all into -system.


worked moderately okay but then it went wrong.

as i made changes to the classes they didnt update (even after i restarted graal, reconnected, and deleted/readded the weapon from my player and the server) also.. when i tried to make classes that began with - (for no reason just because that was teh weapon name i was joining with. ie: -system_time) it wouldnt allow me to do classname::function(); so i had to remove all the - once i did this it decided not to remove the - classes from the weapon (i echoed joinedclasses)

so.. i had to delete the weapon from the server and remake it.. this worked (not sure how but it did) and it only loaded the ones without the -

BUT.. now it wont update them. i had function onPlayerEnters() echo ("player enters?") in a class and then deleted it ages after it started working (it started working when i deleted from server the weapon and re-added it.. same time the - classes went away) and it keeps saying it.

i tried doign the same thing.. deleting the weapon from my player/the server and readding it (to both) and no good. i even tried restarting gserver/npc-server thinking maybe i did something (which btw still says N/A on adminpanel stats ater an hour) and no good.

so.. im guessing theres some bug with the clientside cache.

but.. please fix this :-\

napo_p2p 03-06-2006 07:27 AM

Have it be:

PHP Code:

join("classname1");
join("classname2"); 

At the top. Not in any block. Just as is.

EDIT:

Quote:

Originally Posted by Warcaptain
Even with that it doesnt work, I have tried all of that.

That is wierd because classes work great for me. I haven't experienced problems serverside or clientside.

Warcaptain 03-06-2006 08:03 AM

Even with that it doesnt work, I have tried all of that.


All times are GMT +2. The time now is 02:55 PM.

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