Tree of Savior Forum

[ADDON] LKChat (Alpha)

LKChat

LKChat is chat enhancement addon. With features aimed at both users and addon developers. Sort of a library and addon combination.
I released this in a functional alpha state since release is coming soon and bot spam will pick back up.

LKChat options menu can be opened from chat by typing:
/lkchat or /lkc

I’ll cut to the chase and list the features.

Features

  • Chat Bot/Gold Seller detection, Blocking, and Auto-Reporting
    This feature detects bots with a regex expression then compares the possible spam against a library of spammer keywords. If this is threshold is met, the spammer is blocked. Users have an option to allow auto-reporting.

  • Chat Customization
    As of this version, you can alter the font size and remove timestamps. More features are planned.

  • Quality of Life
    Auto-hide chat input on enter, hide fps display, etc.

  • Slash Commands!
    Other addons can register their slash commands, allowing ease of access or even for testing.

  • Addon Developer Hooks
    Did I say slash commands? Slash commands can be registered after ON_INIT has been called by the engine. And registration is easy calling a function.
    LKChat.RegisterSlash(<Slash Array>, <Function>, <Description>);

  • Bugs
    If you find any, let me know!

  • Chat bubble alignment: This is a known bug and I’m looking into a fix. For now you can fix it by zoning.

Screenshots

Blocked Bot

Click to Full Image

Options

Click to Full Image

##Download
LKChat Alpha v0.6a
Source @ GitHub

##Installation
lkchat.zip file should be extracted in the Tree of Savior folder with the newly extracted files going into /patch/ and not into /data/.
The file should be named 👑lkchat.ipf, rename the file to match if needed. Ensure the crown symbol is leading the filename.
Be sure to use WinRAR or Window’s ZIP Extractor, 7zip can mess up the filename.

##Change Log

Verison 0.6a:
Added option for displaying reason for block/report (enabled by default)
Tweaked spam detection some more
Guild members are now part of your passive whitelist
Users are no longer passively ignore after being blocked only messages based on id
Fixed SpamNotice and System messages menu from showing.

Version 0.6:
Improved gold spam detection, should not longer trigger on players typing in an irregular pattern.
Rewrote spam detection for further message accuracy.
Fixed errors in detecting channel, friend, and player name.

Version 0.5c:
Stability changes
Max font size is now 40.

Version 0.5a:
Disabled pause message state due to loading events with game start being sent out of order.

Version 0.5:
Bot detection has been improved based on your reports with new patterns.
Messages are now paused during world load time.
Slash commands will no longer display a message if they’re added again.
Message drawing has been improved and no longer overlaps.

Version 0.4b:
Disabled chat buffer on loading screens.
Added check for player when testing messages.
Changed unicode symbol to a crown, please remove any older packages.

Version 0.4a:
LKChat config can now be accessed from the cog found on chat input.
Moved transparency, chat balloon, and shout ticker from stock options to lkchat options.
Spam detection has been improved and keyword dictionary has new entries! (Thank you spammers! :3)
Experimental solution for messages during loading screens has been implemented, feedback needed.
Renamed Anti-Spam Detection to Spam Detection.
Spam Detection notices are now red.
Friends list correctly refreshes on init.
Fixed FPS Display on zoning / changing channels.
API now properly hooks before addon initialization.

Oh and I love feedback, good or bad. Feature requests too, I have plenty more planned for this addon. And if you don’t want to post is here you can message me ingame by the name CitrusKingdom on Klaipeda.

91 Likes

WOW AMAZING Keep up the good work! :smiley:

didn’t the vanilla chat system offered altering of font sizes already?

Not easily or without having to find a guide on the forum…

Made a quick update, fixes a minor bug when chatting. >_>

this looks neat! nice job! I wonder what the staff would say about this one o.o

Can you link to any documentation for addon development?

Dropped an update.
v0.1
Fixes whispers.

I’ll post some documentation tomorrow.

Looks good but I ain’t risking it.

May want to open-source it and put the code on github or something like @Excrulon’s Lua mods

I plan to do so sometime tomorrow.

Really really well done mate, great job, just save my sight from these rmt scums. Thanks

This!

And thank you for the initiative!

IMC should pay you. Hey IMC, pay him.

2 Likes

I know is probably dumb to even bring this up, but im going to assume this one is safe to use and does not violates ToS tos.

Its not like I do this stuff professionally.

[quote=“treefosavior, post:15, topic:208502, full:true”]
I know is probably dumb to even bring this up, but im going to assume this one is safe to use and does not violates ToS tos.
[/quote] I’ve been using it nearly all time for over a week now.

2 Likes

But… IMC have monies… and you did a good job… and if they are going to use it which i think they should, they should pay you.

1 Like

DAYYYYYUUUMMM. I’ll just afk in channel 1 and mega report then ;D

2 Likes

Kool. Dude super nice job, this is great. I just set it up and no more bot spam or having to right click.

Much appreciated, thanks!