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 01-18-2003, 02:24 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
Exclamation 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?
Reply With Quote
  #2  
Old 01-18-2003, 03:16 PM
Loriel Loriel is offline
Somewhat rusty
Loriel's Avatar
Join Date: Mar 2001
Posts: 5,059
Loriel is a name known to allLoriel is a name known to allLoriel is a name known to allLoriel is a name known to all
For weapons, the correct command is removeweapon nameAnd for DB NPCs, destroy; is SUPPOSED to remove the NPC.
Reply With Quote
  #3  
Old 01-18-2003, 03:31 PM
GrowlZ1010 GrowlZ1010 is offline
defunct
Join Date: May 2002
Posts: 187
GrowlZ1010 is on a distinguished road
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.
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:35 PM.


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