Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 06-12-2007, 04:57 AM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
kill the blocks!

I found a bunch of levels that old staff members scrood up using staff blocks >
the quickest way to delete them is:
/clearnpcs levelname "deletes local db npcs from a level (including gralats)"
but i was wondering if there was a way to delete all db npcs form every level

so is this posible?
__________________
**FLIP OUT**
Reply With Quote
  #2  
Old 06-12-2007, 05:08 AM
bscharff bscharff is offline
Bloo
bscharff's Avatar
Join Date: Sep 2006
Location: San Antonio, Texas
Posts: 185
bscharff has a little shameless behaviour in the past
Send a message via AIM to bscharff Send a message via MSN to bscharff Send a message via Yahoo to bscharff
I think (not sure)
you just go on rc and say /clearnpcs
Not sure so don't blame me if it dosen't work ;]
Reply With Quote
  #3  
Old 06-12-2007, 04:43 PM
theHAWKER theHAWKER is offline
**FLIP OUT**
theHAWKER's Avatar
Join Date: Mar 2006
Location: canada, vancouver
Posts: 768
theHAWKER is an unknown quantity at this point
Quote:
Originally Posted by bscharff View Post
I think (not sure)
you just go on rc and say /clearnpcs
Not sure so don't blame me if it dosen't work ;]
nope

"The level is not served by this server"
__________________
**FLIP OUT**
Reply With Quote
  #4  
Old 06-12-2007, 05:11 PM
Twinny Twinny is offline
My empire of dirt
Twinny's Avatar
Join Date: Mar 2006
Location: Australia
Posts: 2,422
Twinny is just really niceTwinny is just really nice
Send a message via AIM to Twinny
The best you can do is /clearnpcs something.gmap

There might be some cheaty method like deleting all the files from the folder but I don't know the full effects
Reply With Quote
  #5  
Old 06-12-2007, 08:02 PM
zokemon zokemon is offline
That one guy...
zokemon's Avatar
Join Date: Mar 2001
Location: Sonoma County, California
Posts: 2,925
zokemon is a jewel in the roughzokemon is a jewel in the rough
Send a message via ICQ to zokemon Send a message via AIM to zokemon Send a message via MSN to zokemon Send a message via Yahoo to zokemon
Deleting the files from the server won't remove the npcs unless you restart the Gserver and/or NPC Server before re-uploading them, I think.

Best method I suggest is to just script something that checks the level list of levels served by the npc server (using clientrc functions) and then have the npc server say "/clearnpcs whatever" for each level in the list.

If you do this, make sure to delete the script after you are done! This could be very malicious to your server and should only remain on their when you are using it.
__________________
Do it with a DON!
Reply With Quote
  #6  
Old 06-13-2007, 12:39 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
In the npcs/ folder in RC file browser, and then go to the ones that say localnpc... and delete them all.
__________________
Reply With Quote
  #7  
Old 06-13-2007, 01:49 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
Find one of those people who've been going around on servers deleting crap and see if they can help :o
(If it's not apparent enough, this is a joke)

Last edited by DustyPorViva; 06-13-2007 at 02:31 AM..
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 08:33 PM.


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