![]() |
Script calling WTFDIE
Okay, this is pissing me the **** off.
I have a function in a class, 'GetInventoryVar(item,var)' It returns the variable for an item. If I do 'GetInventoryVar("Short Sword","quantity")' it returns the number of Short Swords I have. I originally had it planned so that if the item it's trying to get doesn't exist in the player's attributes, it sends an error to the console. However, I made a spell identification system. Spells being with a '$.' It was spamming the error, because the spell isn't an item. The problem is that none of my scripts call the function on a .05 second timeout. On top of that, I put a check in to make sure it's not trying to get a spell, commented out the echo, added another echo, but it didn't do **** all. It's still echoing the same thing, even though the command is commented out. The function doesn't exist anywhere else. WTF is wrong? |
Zzz.. Someone screwed with a system. It's not spamming anymore, but it's still doing the echo, even though I removed it from the script. :/
|
do you have anything like sendtorc or anything of the such?
|
scriptlogfunctions=call sendtonc
put that in your serveroptions and check the log files for where it's coming from. |
It's coming from the class, but it's not in the class. :(
|
Quote:
Did you try restarting you NPC Server or GServer? Also, take a look at the text file of the class that's saved on the FTP, in scripts/* or something like that. |
All times are GMT +2. The time now is 02:35 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.