Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Weapons not getting deleted... (https://forums.graalonline.com/forums/showthread.php?t=27101)

zell12 04-07-2002 02:20 PM

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?

Tyhm 04-08-2002 03:13 AM

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.

zell12 04-08-2002 05:15 AM

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 :)


All times are GMT +2. The time now is 08:57 PM.

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