Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > New Scripting Engine (GS2)
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 06-26-2006, 10:21 PM
Yen Yen is offline
Banned
Yen's Avatar
Join Date: Oct 2005
Location: Nova Scotia, Canada
Posts: 1,085
Yen is an unknown quantity at this point
Send a message via AIM to Yen Send a message via MSN to Yen
join() lag

Alright..
My systems use clientside joins in order to access all of my functions.

One function checks if the player is able to equip an item.
When the player logs on, the system makes sure the player is able to equip everything they have equipped. If they can't equip an item, it unequips it.
However, the check is being done before the classes are joined to the NPC.. So the CanEquip() function isn't being found, so it thinks it's returning true, and unequips all of the player's items.

Is there any way to make it load the class before the 'created' function is called?
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


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


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