HomeTown Forums
Chatlog search program - Printable Version

+- HomeTown Forums (https://hometownmc.com:443/forums)
+-- Forum: General (https://hometownmc.com:443/forums/forumdisplay.php?fid=3)
+--- Forum: Off Topic (https://hometownmc.com:443/forums/forumdisplay.php?fid=9)
+--- Thread: Chatlog search program (/showthread.php?tid=4698)

Pages: 1 2


RE: Chatlog search program - Penguin - 07-19-2019

So today at work I had to compile one of my python scripts into an executable...

So since I now know how to do that, I'll be able to make a windows executable that searches through the chat logs.

I'll probably write that tonight and post here again :>

Also, for linux and *shudder* mac, I _may_ be able to make a version for you guys too


RE: Chatlog search program - Cil - 07-19-2019

yay! glad to hear it


RE: Chatlog search program - victorycry - 07-20-2019

Looking forward!!


RE: Chatlog search program - Penguin - 07-20-2019

I may or may not have forgotten how to open gzip files and it's taking a little longer than expected. On the brightside, the config file is working properly and it is iterating through the chatlogs quite nicely.

TODOs:

- Get gzip extraction working properly
- Check for "results" folder, or create one.
- Write search results into a text file inside results folder (or overwrite a previous search for the same term)
- (possibly) allow refinement of search by before and after dates
- (possibly) allow more complex searching by implementing regex matching

actually, wait. regex matching is super easy in python. I'll put that in tomorrow


RE: Chatlog search program - Penguin - 07-28-2019

OK guys I finally made this program.

You can download it from onedrive here


RE: Chatlog search program - Cil - 07-28-2019

Yay!


RE: Chatlog search program - EspInquisition - 07-28-2019

(07-28-2019, 03:18 AM)Penguin Wrote: OK guys I finally made this program.

You can download it from onedrive here

Can I get the python source code? Just for fun and learning


RE: Chatlog search program - Penguin - 07-28-2019

(07-28-2019, 02:37 PM)EspInquisition Wrote: Can I get the python source code? Just for fun and learning

Code is now available on github