![]() |
Classes?
I got a simple NPC in some of my levels which is just joining a class, nothing else...but after restarting Graal, its not there, so I have to do update level to show it...So my question is -> is this problem Graal or script related? I was not sure, but its not happening with my other classes, so I thought it might be a scripting problem :/
|
Would need to know the script or at least the server name/level name.
|
NPC Script
PHP Code:
PHP Code:
I also noticed its not happening with this class only, and it happened in other levels too. Btw, its happening on Esteria (thats why I asked you to restart it, Stefan :P). |
I've always joined classes serverside. I guess it doesn't actually matter?
|
Quote:
Edit: Omfg, that fixed it, thanx alot xD |
Yeah it's needs to be serverside since it's reading a script from the server. :P
|
Quote:
|
Don't worry, I've done worse. :P
|
If possible you should join on serverside yes. It is possible to use join on clientside, but if they class is not loaded yet then the onCreated function will never be called, and so the npc is not shown.
|
| All times are GMT +2. The time now is 12:39 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.