Thread: New NPCServer
View Single Post
  #1  
Old 06-01-2013, 10:35 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
Exclamation New NPCServer

The npcserver has been updated, some servers have been updated already for the changes:

- Having two functions with the same name in the same script is now reported as error
- Having two switch-cases with the same parameter will be displayed as warning
- Look in logs/syntaxerrors.txt to see errors of NPCs in levels
- If a script is updated and has bugs then the server will continue to run the old script (but the script needs to be fixed before the next server restart)
- New script function [level.]findareaplayers(x,y,width,height)
- Fixed a crashing bug when returning TStaticVar or SQL objects in functions

There is also a problem with setting nicks on some servers, there is a new option which is accidently set to false but should be set to true, so add
PHP Code:
enableclientsidenick=true 
if you see problems with setting nick names with "setnick" or RC.
Reply With Quote