View Single Post
  #4  
Old 08-24-2009, 03:55 AM
DustyPorViva DustyPorViva is offline
Will work for food. Maybe
DustyPorViva's Avatar
Join Date: Sep 2003
Location: Maryland, USA
Posts: 9,589
DustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond reputeDustyPorViva has a reputation beyond repute
Send a message via AIM to DustyPorViva Send a message via MSN to DustyPorViva
Quote:
Originally Posted by fowlplay4 View Post
I tried to destroy a WNPC from another DBNPC/WNPC using:

PHP Code:
// substituting "npc" with the real name.
findnpc("npc").destroy();
findweapon("npc").destroy(); 
And wasn't able to o:

In theory couldn't you just.. (For now i guess)

PHP Code:
public function destroy() {
  return 
false;

On testbed they actually distribute some script that will do a callstack and such and echo on RC if an NPC tries to destroy it(as well as what NPC it was).

Either way, I don't really see a need for such a lose security. As for whether it's possible or not I'm not sure, but it was a huge thing on Testbed so I figured it was.
Reply With Quote