Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-22-2005, 09:23 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Exclamation Clientside NPC loading problem

If you change levels before the clientside NPCs of a level are fully loaded, they will load in the wrong level.

Example: worldl-17.nw on Graal2001 Dev, enter cs2_start.nw and exit back to worldl-17.nw before the NPCs finish loading. You will see worldl-17.nw as a nopkzone and sparringzone.

Last edited by Lance; 11-22-2005 at 09:38 PM..
Reply With Quote
  #2  
Old 11-24-2005, 03:23 PM
Magadal Magadal is offline
Banned
Join Date: Jan 2005
Location: Germany
Posts: 942
Magadal will become famous soon enough
Also, sometimes if you enter a level, some of the NPCs are at the wrong positions. Often happens to NPCs with scripts like x+=.5; or something else.
Reply With Quote
  #3  
Old 11-24-2005, 07:12 PM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Magadal
Also, sometimes if you enter a level, some of the NPCs are at the wrong positions. Often happens to NPCs with scripts like x+=.5; or something else.
Put the adjustment in the created event block instead of the playerenters event block. This is not a bug. -_-
Reply With Quote
  #4  
Old 11-25-2005, 02:37 PM
Magadal Magadal is offline
Banned
Join Date: Jan 2005
Location: Germany
Posts: 942
Magadal will become famous soon enough
Quote:
Originally Posted by Lance
Put the adjustment in the created event block instead of the playerenters event block. This is not a bug. -_-

It is in the created event block :).
Reply With Quote
  #5  
Old 11-24-2005, 08:02 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Quote:
Originally Posted by Lance
If you change levels before the clientside NPCs of a level are fully loaded, they will load in the wrong level.

Example: worldl-17.nw on Graal2001 Dev, enter cs2_start.nw and exit back to worldl-17.nw before the NPCs finish loading. You will see worldl-17.nw as a nopkzone and sparringzone.
Normally the npcserver says where the npcs go to so you can never get the npcs into the wrong level. It's a little bit hard to test when having a low ping too x-x Do you also see the npcs in the other level or is it only a problem of the scripts still running when you already entered the other level ?
Reply With Quote
  #6  
Old 11-25-2005, 12:12 AM
Lance Lance is offline
dark overlord
Lance's Avatar
Join Date: Sep 2003
Location: Space Jam Mountain
Posts: 5,072
Lance is on a distinguished road
Quote:
Originally Posted by Stefan
Normally the npcserver says where the npcs go to so you can never get the npcs into the wrong level. It's a little bit hard to test when having a low ping too x-x Do you also see the npcs in the other level or is it only a problem of the scripts still running when you already entered the other level ?
It seems to just keep executing the script when you have entered the other level. I added:

NPC Code:
  addstring client.message,playerenters L:#L, F:#F;



to the script, and according to it the value of #F is the inside level when this happens, but #L is the outside level.
Reply With Quote
Reply


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 06:36 AM.


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