• Home
  • Index
  • Search
  • Download
  • Server Rules
  • House Roleplay Laws
  • Player Utilities
  • Player Help
  • Forum Utilities
  • Returning Player?
  • Toggle Sidebar
Interactive Nav-Map
Tutorials
Wiki (mostly outdated)
Technology Chart
Rep hack list
ID reference
Restart reference
Players Online
Player Activity
Faction Activity
Player Base Status
Discord Help Channel
Mactan Network
Missing Powerplant
Stuck in Connecticut
Account Banned
Lost Ship/Account
POB Restoration
Member List
Forum Stats
Show Team
View New Posts
View Today's Posts
Calendar
Help
Archive Mode




Hi there Guest,  
Existing user?   Sign in    Create account
Login
Username:
Password: Lost Password?
 
  Discovery Gaming Community Discovery Development Discovery Developers Forum Discovery Unofficial Development
« Previous 1 2 3 4 Next »
Log Filter

Server Time (24h)

Players Online

Events
If you can see this you have JavaScript disabled

Latest activity

Thread Modes
Log Filter
Offline Corile
04-17-2017, 12:43 PM, (This post was last modified: 04-17-2017, 01:22 PM by Corile.)
#1
C::iemka pl
Posts: 3,080
Threads: 246
Joined: Apr 2014

Hello.

I wrote a small web app to filter and prettify DSAce logs from the game to put in posts so that they look a bit nicer.

Log Filter

Features:
  • Five filters: remove screen resize messages, remove timestamps, remove death messages, remove docking messages, remove oorp stuff (currently: // messages, auto-buy log, game shutdown, /time, /showscan, /net, TLAGSNET log)
  • Templating
  • Log whitelist

Usage:
The templating is fairly simple. If "Remove timestamps" is checked, $1 indicates the ship name, otherwise $1 is the timestamp and $2 is the name.

Whitelist will remove all messages unless they contain a particular string (such as a char name). One string per line. Using whitelist is preferrable to the five checkbox filters, because it ensures that only wanted messages pass through the filter.

Example usage:
[+]Spoiler
Input:
Code:
[05.02.2017 18:21:47] False.Alarm: Konbanwa.
[05.02.2017 18:21:54] [KNF]KDS-Asahi|66th: Please cut your engines, Samura ship.
[05.02.2017 18:22:19] [KNF]KDS-Asahi|66th: Counterfeit software? Hm.
[05.02.2017 18:22:21] Core|WV-Umbra: Trix: Corsair, ya're here with a bad altitude.
[05.02.2017 18:22:38] [KNF]KDS-Asahi|66th: Well. You are lucky were are not in Kusari sovereign space.
[05.02.2017 18:22:45] C::CNS-Perseus: Icarus: I don't really know what you're talking about, honestly.
[05.02.2017 18:22:45] C::CNS-Perseus: //wtf?
[05.02.2017 18:22:45] CONSOLE: Possible cheating detected: Core|APM-Eternity
[05.02.2017 18:22:46] [KNF]KDS-Asahi|66th: Was this Corsair escorting you?
[05.02.2017 18:22:49] False.Alarm: That's what our Liberty partners gave us in Detroit...
[05.02.2017 18:22:57] False.Alarm: No, he was not.
[05.02.2017 18:23:04] Elune: **Yours...-join-...~focres~....(anger)...(?)....not|helping...against...ours|light..(!)**
[05.02.2017 18:23:05] [KNF]KDS-Asahi|66th: Did they try to pirate you?
[05.02.2017 18:23:06] Core|WV-Umbra: Trix: Oh you do know.
[05.02.2017 18:23:21] False.Alarm: Yes, I had to pay him a bit.
[05.02.2017 18:23:27] [KNF]KDS-Asahi|66th: Attention attention! We are detecting anomalies in the vicinity! Be careful!
[05.02.2017 18:23:42] [KNF]KDS-Asahi|66th: You did pirate a Samura vessel, Corsair? That's crude.
[05.02.2017 18:23:57] C::CNS-Perseus: Icarus: That's not true.
[05.02.2017 18:23:57] Core|WV-Umbra: Trix: Escorting a Samura vessel... With a contraband? How interesting.
[05.02.2017 18:24:26] False.Alarm: Why would he escort me ? He pirated me!
[05.02.2017 18:24:27] [KNF]KDS-Asahi|66th: Core, this Samura vessel should be leaving the area without delay. It's too dangerous here.
[05.02.2017 18:24:36] False.Alarm: Alright, I will.
[05.02.2017 18:24:41] Elune: **..{observing situation}..**
[05.02.2017 18:24:45] Core|WV-Umbra: Trix: Okay, i think we should end this here, shouldn't we?
[05.02.2017 18:25:07] [KNF]KDS-Asahi|66th: Is counterfeit software considered as illegal by the Core?
[05.02.2017 18:25:09] Death: Toor was put out of action by GMG|Shin,Shima, (Gun).
[05.02.2017 18:25:11] C::CNS-Perseus: Icarus: If you're implying you're gonna detonate self-destruction charges then go ahead.

Settings:
Remove resize messages, remove OORP.
Template:
Code:
[font=Consolas][size=x-small][color=#888888]$1[/color][/size][/font] [b][font=Consolas][color=#AAAAAA]<$2>[/color][/font][/b]
Whitelist:
Code:
Perseus
Elune
False.Alarm
[KNF]KDS-Asahi|66th

Output:
Quote:[05.02.2017 18:21:47] <False.Alarm> Konbanwa.
[05.02.2017 18:21:54] <[KNF]KDS-Asahi|66th> Please cut your engines, Samura ship.
[05.02.2017 18:22:19] <[KNF]KDS-Asahi|66th> Counterfeit software? Hm.
[05.02.2017 18:22:38] <[KNF]KDS-Asahi|66th> Well. You are lucky were are not in Kusari sovereign space.
[05.02.2017 18:22:45] <C::CNS-Perseus> Icarus: I don't really know what you're talking about, honestly.
[05.02.2017 18:22:46] <[KNF]KDS-Asahi|66th> Was this Corsair escorting you?
[05.02.2017 18:22:49] <False.Alarm> That's what our Liberty partners gave us in Detroit...
[05.02.2017 18:22:57] <False.Alarm> No, he was not.
[05.02.2017 18:23:04] <Elune> **Yours...-join-...~focres~....(anger)...(?)....not|helping...against...ours|light..(!)**
[05.02.2017 18:23:05] <[KNF]KDS-Asahi|66th> Did they try to pirate you?
[05.02.2017 18:23:21] <False.Alarm> Yes, I had to pay him a bit.
[05.02.2017 18:23:27] <[KNF]KDS-Asahi|66th> Attention attention! We are detecting anomalies in the vicinity! Be careful!
[05.02.2017 18:23:42] <[KNF]KDS-Asahi|66th> You did pirate a Samura vessel, Corsair? That's crude.
[05.02.2017 18:23:57] <C::CNS-Perseus> Icarus: That's not true.
[05.02.2017 18:24:26] <False.Alarm> Why would he escort me ? He pirated me!
[05.02.2017 18:24:27] <[KNF]KDS-Asahi|66th> Core, this Samura vessel should be leaving the area without delay. It's too dangerous here.
[05.02.2017 18:24:36] <False.Alarm> Alright, I will.
[05.02.2017 18:24:41] <Elune> **..{observing situation}..**
[05.02.2017 18:25:07] <[KNF]KDS-Asahi|66th> Is counterfeit software considered as illegal by the Core?
[05.02.2017 18:25:11] <C::CNS-Perseus> Icarus: If you're implying you're gonna detonate self-destruction charges then go ahead.




Custodi // High City of Heraklion // The Cult of Archangels
Log Filter // Post Creator // Manhattan
Reply  
Offline Alley
04-17-2017, 01:06 PM,
#2
Member
Posts: 4,541
Threads: 408
Joined: Jun 2009

Nice work

Laz Wrote: Alley was right.
Reply  
Offline Sombra Hookier
04-17-2017, 01:08 PM,
#3
Naughty Blue Panda
Posts: 6,290
Threads: 434
Joined: Feb 2014

Pretty cool! Can you add something to remove the [05.02.2017 18:24:27]s? And could that also work with Skype logs, as they are pretty similar, with name and date?




It's been three great years. I put more effort into things than most other people here and in return got everything I wanted.

Nothing beats the feeling of success and seeing how other people get angry and jealous for being able to earn things with quality, and without breaking the rules.

It's easy not to be a dick. You should try it.


Reply  
Offline Corile
04-17-2017, 01:12 PM, (This post was last modified: 04-17-2017, 01:14 PM by Corile.)
#4
C::iemka pl
Posts: 3,080
Threads: 246
Joined: Apr 2014

(04-17-2017, 01:08 PM)Sombra Hookier Wrote: Pretty cool! Can you add something to remove the [05.02.2017 18:24:27]s? And could that also work with Skype logs, as they are pretty similar, with name and date?

Remove timestamps?

And no, I won't add functionality for skype because you should stop using skype.




Custodi // High City of Heraklion // The Cult of Archangels
Log Filter // Post Creator // Manhattan
Reply  
Offline Sombra Hookier
04-17-2017, 01:30 PM,
#5
Naughty Blue Panda
Posts: 6,290
Threads: 434
Joined: Feb 2014

Oh, it thought timestamps was related to /time

Good job anyway. ;3




It's been three great years. I put more effort into things than most other people here and in return got everything I wanted.

Nothing beats the feeling of success and seeing how other people get angry and jealous for being able to earn things with quality, and without breaking the rules.

It's easy not to be a dick. You should try it.


Reply  
Offline WolfO9
07-06-2018, 03:07 PM, (This post was last modified: 07-10-2018, 01:44 PM by WolfO9.)
#6
Member
Posts: 74
Threads: 4
Joined: Feb 2018

Thank you sir!

Rhowex isn’t real, Bowex is better!
Reply  


  • View a Printable Version
  • Subscribe to this thread


Users browsing this thread:
1 Guest(s)



Powered By MyBB, © 2002-2021 MyBB Group. Theme © 2014 iAndrew & DiscoveryGC
  • Contact Us
  •  Lite mode
Linear Mode
Threaded Mode