View Single Post
  #696  
Old 10-18-2010, 02:41 AM
ffcmike ffcmike is offline
Banned
Join Date: Jul 2004
Location: London
Posts: 2,029
ffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond reputeffcmike has a reputation beyond repute
Send a message via AIM to ffcmike Send a message via MSN to ffcmike
Quote:
Originally Posted by Stefan View Post
Sounds like a problem of Classic, those things are not guaranteed to be loaded in order. You can join classes on server-side to guarantee that they are loaded before initialization.
It's not that they aren't being loaded in the right order, it's that they aren't being loaded at all, this wasn't happening with V5 or the previous Client,
it's basically doing things like:

PHP Code:
function canInitialize(){
  return 
player.hasFunction("myFunction");

And as the function is not being joined to the player the system isn't being initialized.

With clientside player classes you seemingly have to join them clientside, we've always had player classes containing both serverside and clientside script joined seperately on the server and client as only the serverside script would work when only joined by the server.
Reply With Quote