Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Future Improvements (https://forums.graalonline.com/forums/forumdisplay.php?f=10)
-   -   new rc search function (https://forums.graalonline.com/forums/showthread.php?t=66174)

Prozac 05-22-2006 04:42 PM

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.

excaliber7388 05-22-2006 06:08 PM

Yeah, someone mentioned it to me before, it's a great idea.

Prozac 05-22-2006 09:28 PM

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

ApothiX 05-24-2006 02:34 PM

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.

Prozac 05-24-2006 11:05 PM

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?

Warcaptain 05-24-2006 11:14 PM

Yes but might lag if you do something like

/fincnpctext function

Prozac 05-25-2006 05:58 PM

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.

KuJi 05-25-2006 09:37 PM

Flood the rc chat?

Andy0687 05-25-2006 10:49 PM

Quote:

Originally Posted by KuJi
Flood the rc chat?

It will be visible only to the client who searches it anyways.

Prozac 05-26-2006 04:44 AM

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)


All times are GMT +2. The time now is 04:10 PM.

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