Thread: class problems
View Single Post
  #1  
Old 03-06-2006, 06:53 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
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 :-\
Reply With Quote