View Single Post
  #3  
Old 02-17-2009, 03:04 AM
Tyhm Tyhm is offline
Psionic Youth
Tyhm's Avatar
Join Date: Mar 2001
Location: Babord, West Graal Deaths:1009 Kills:1
Posts: 5,635
Tyhm has a spectacular aura about
Yeah, done that bit and it's basically giving me the 404. I think I have to /restart something before it'll find the right file, but that's okay, I'd rather have the player touch an NPC and the NPC sets their strings than the NPC calls a text file to set their string from some magical muddy database I can neither access nor control...
PHP Code:
public function itemExists(temp.id) {
  
temp.item ItemDB.("item_" temp.id);
  if (
temp.item != NULL) return true;
  else return 
false;

And naturally, ItemDB is not defined in this class, nor does this class join to any others...I hate inheriting other peoples' test scripts...

Nor is ItemDB mentioned in any other weapons or classes (except this class's GetItem function, which calls it to return one line thereof, and that's all)...

Nor does the word "join" occur in Any scripts on the server at all...it's all rather frustrating.
__________________
"Whatever," said Bean, "I was just glad to get out of the toilet."

"Power does not corrupt. Fear corrupts, perhaps the fear of a loss of power."- John Steinbeck
"I'm only acting retarded, what's your excuse?" queried the Gord.
- My pet, the Levelup Gnome

http://forums.graalonline.com/forums...&postcount=233
Reply With Quote