Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-07-2002, 02:20 PM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
Unhappy Weapons not getting deleted...

Well, if you delete a npc or a level with weapos in it, the weapons can be still used, whats up with this?
__________________
Reply With Quote
  #2  
Old 04-08-2002, 03:13 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
The weapons database is maintained independant of the levels. You have to change the NPCs code to
if(playerenters) toweapons weaponname;
if(isweapon) destroy;
That'll update the database with the new code, and everyone who has that weapon will lose that weapon. It's a more elegant way of doing things than the weapons going out with the level I suppose, as you can do more with it...like if(isweapon){
playerrupees+=100;
say2 weaponname refunded;
destroy;
}In a perfect Graal we'd have access to manually edit the weapons database, but we'd screw it up and kill all the weapons on the server, so we don't.
__________________
"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
  #3  
Old 04-08-2002, 05:15 AM
zell12 zell12 is offline
Gone
zell12's Avatar
Join Date: Jun 2001
Location: Alberta, Canada
Posts: 8,541
zell12 has a spectacular aura about
Send a message via ICQ to zell12 Send a message via AIM to zell12 Send a message via MSN to zell12
We tried that already, it doesn't work...
And we should have a list of npcs that use toweapons so we can delet/disable them
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 09:12 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.