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:
|
Very nice, especially the new script function. Thanks!
|
Nice updates
Can you make echo a log-able function http://forums.graalonline.com/forums...hp?t=134267946 |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
Is there any way to enable/disable GS3 strict mode?
|
Quote:
|
Quote:
Currently, compiling any script with the //#GS3 tag, GS3 included or not, will return something like this: PHP Code:
|
is there any way to make sure all scripts are working fine before we do a restarted?
Lets say someone is updating and doesn't notice an error for example |
Quote:
|
the object of the player
HTML Code:
for (temp.p: findareaplayers(this.x, this.y, 10, 10)) { |
gj :)
|
All times are GMT +2. The time now is 07:24 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.