![]() |
disable serverside destroy()...
Destroy() on the serverside should not work for DBNPCs(excluding putnpc2's), WNPC's, and I guess level NPC's. It's a bit silly to have to put our own prevention methods so people can't put a script in a level and destroy whole weapons. Really, when do you NEED to destroy a WNPC? I mean, I guess client-RC might use that sort of thing, but I'm sure exceptions could be made for that. Either way, I'd like to see some sort of methods worked out that don't involve having scripters make protection for each and every one of their scripts.
|
I agree (client-RC does not use the destroy command anyway).
|
I tried to destroy a WNPC from another DBNPC/WNPC using:
PHP Code:
In theory couldn't you just.. (For now i guess) PHP Code:
|
Quote:
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. |
Didn't know it was actually possible to do that to DBNPCs. For WNPCs, though I think I might disagree.
|
Quote:
|
Not really wanting to spread code, but you would use
PHP Code:
Quote:
|
Quote:
Or so thor claims. I know, not the most effective or best way, but.. |
Quote:
|
Quote:
I guess I should learn to read though since that was already posted. At any rate, weapons should be protected as well. |
| All times are GMT +2. The time now is 05:18 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.