![]() |
Strange server side error..
For some reason this script triggers off a error but i don't know why it does maybe i'm ignorant but here it is and yes it is triggered to serverside but it says this stupid error though. :\
NPC Code: GraalScript: Function setlevel2 not found at line 22 in script of MD/Tool (in level event_swimrace3.nw at pos (0, 0)) All local db npcs from level event_swimrace3.nw have been removed GraalScript: Function addweapon not found at line 40 in script of MD/Tool (in level event_swimrace3.nw at pos (0, 0)) |
Well, I'm probably wrong but it doesn't look like you're checking to make sure the result from findPlayer succeeded.
|
Well it does go through the people receive items and it summons so i don't know what the problem is. :/
|
It's probably because 'p' is NULL ('findplayer' did not find the player).
EDIT: Rick beat me :p. Adding a check will get rid of that: PHP Code:
|
Quote:
Weapon/GUI-script MD/Tool added/updated by Moondeath_2 Player: Moondeath_2 has logged on GV-4.03. New Client-RC: *Moondeath_2 (Moondeath_2) I then summoned Nitro, so yes it got rid of the error except for the item giver. Edit: Nevermind that it does work, thanks. |
| All times are GMT +2. The time now is 10:17 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.