Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   Potential BIG problem: destroy serverside (https://forums.graalonline.com/forums/showthread.php?t=42065)

GrowlZ1010 01-18-2003 02:24 PM

Potential BIG problem: destroy serverside
 
The destroy; command, used on the serverside, has some interesting results.

* On a weapon in the NC, it destroys the weapon's serverside half, leaving only clientside commands and an undeletable, uneditable shell in the lists.
* Used in a database NPC, the database NPC will be completely obliterated.

This could cause a whole lot of problems. Example: A script is written to sort through all the NPCs in a level using with (npcs), to clear all NPCs that might survive an update level command, then sends to the RC /updatelevel #F. The weapon would destroy itself.

Or say some well-meaning staffer adds destroy; to the Control-NPC, assuming that it'll destroy a NPC selected with with. Imagine what that could cause. This may well work fine, as obviously I haven't tested it. I don't want to. :T

Shouldn't this 'feature' be removed or, at best, updated so that destroy; doesn't have such automatically disastrous effects on the serverside?

Loriel 01-18-2003 03:16 PM

For weapons, the correct command is removeweapon nameAnd for DB NPCs, destroy; is SUPPOSED to remove the NPC.

GrowlZ1010 01-18-2003 03:31 PM

Quote:

Originally posted by Loriel
For weapons, the correct command is removeweapon nameAnd for DB NPCs, destroy; is SUPPOSED to remove the NPC.
I'm aware of both of these things. The main thing I'm highlighting is the weapons bug. What possible use could there be in leaving a half-shell of a weapon? Either make destroy delete it or don't delete it, but what it does now is pretty useless.


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

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