Graal Forums  

Go Back   Graal Forums > Development Forums > Future Improvements
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-22-2006, 04:42 PM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
new rc search function

I know you can search for files in the rc with
/find file.png or .nw or .* etc.

but how about searching for npc text within the .nw level files that are on your server.

For example:

/findnpctext addweapon

would return a list of all the levels and their locations
where, in that level, addweapon is in an npc, within the .nw file.
basically treat the .nw levels as plain text files and do a search on all of them.
would make finding and cataloging those levels where quests and weapons are added easier, especially as a server grows in size.
Reply With Quote
  #2  
Old 05-22-2006, 06:08 PM
excaliber7388 excaliber7388 is offline
Banned
excaliber7388's Avatar
Join Date: Jul 2005
Location: US
Posts: 5,229
excaliber7388 can only hope to improve
Send a message via AIM to excaliber7388
Yeah, someone mentioned it to me before, it's a great idea.
Reply With Quote
  #3  
Old 05-22-2006, 09:28 PM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
yep ... i could throw one together in perl in about 10 minutes and host it on my website, but then uploading every level to my website would be a pain ... so its not that hard to do ... and it would help a lot in the development and troubleshooting
Reply With Quote
  #4  
Old 05-24-2006, 02:34 PM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
To do this before, when Unholy Nation was having problems, I think Projectshifter just downloaded all of the NPCWs and did a grep on them xD

This would be a nice feature to have, though.
But make it so that you can specify the directory, and whether if it's recursive or not.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote
  #5  
Old 05-24-2006, 11:05 PM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
Quote:
Originally Posted by ApothiX
To do this before, when Unholy Nation was having problems, I think Projectshifter just downloaded all of the NPCWs and did a grep on them xD
sounds very similar to what i did when i worked for a newspaper website for an archive text search.

so .. build it into rc already .. please?
Reply With Quote
  #6  
Old 05-24-2006, 11:14 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Yes but might lag if you do something like

/fincnpctext function
Reply With Quote
  #7  
Old 05-25-2006, 05:58 PM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
Quote:
Originally Posted by Warcaptain
Yes but might lag if you do something like

/fincnpctext function
text searching on a linux server with commands like grep, even over 100 megs of data (which even graal levels and npc should never amount to even on a large server) only takes a couple of seconds at most. so lag would not be that big of ,an issue, and this would mainly be used for troubleshooting anyways.
Reply With Quote
  #8  
Old 05-25-2006, 09:37 PM
KuJi KuJi is offline
Banned
Join Date: Apr 2004
Location: Staten Island, New York
Posts: 2,202
KuJi will become famous soon enough
Send a message via ICQ to KuJi Send a message via AIM to KuJi Send a message via MSN to KuJi Send a message via Yahoo to KuJi
Flood the rc chat?
Reply With Quote
  #9  
Old 05-25-2006, 10:49 PM
Andy0687 Andy0687 is offline
Enigma
Join Date: Feb 2002
Posts: 1,072
Andy0687 is on a distinguished road
Quote:
Originally Posted by KuJi
Flood the rc chat?
It will be visible only to the client who searches it anyways.
Reply With Quote
  #10  
Old 05-26-2006, 04:44 AM
Prozac Prozac is offline
one of the good guys
Prozac's Avatar
Join Date: Jan 2006
Posts: 245
Prozac is on a distinguished road
Send a message via AIM to Prozac
and it could be intergrated with my old idea
for having a separate rc tab to direct npc server related featured to.
(i mentioned this some months ago, to leave the rc chat open for chat, and search-npc feedback into another window for those who know what they are doing)
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 01:25 AM.


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