Download
(7Kb)
Download
Updated: 07-04-08 06:53 PM
Pictures
File Info
Updated:07-04-08 06:53 PM
Created:unknown
Downloads:5,103
Favorites:13
MD5:

LS Chat (Anavar Update)  Popular! (More than 5000 hits)

Version: 2.7
by: Anavar [More]

LS Chat (Anavar Update) v2.7

Take control of your chat box!

-> Remove Chat Scroll Buttons Enables you to remove the buttons next to the chatframes. The buttons are still clickable eventhough they are invisible, the 'Goto Bottom' button will still flash if you are not at the bottom as well.

-> Mouse Wheel Scrolling The mod also allows you to scroll in the chatframes with the mouse wheel and timestamps chat messages as they come in (with or without seconds).

-> DOS style editing for the chat box Arrow Keys can be enabled for 'DOS style editing/repeating' in the chat window.

-> Suppress Emote Spam Will kill excess emote spam in your chat window

-> Toggle Edit Box You can move the chat edit box to the top of your chat window

/lschat command for options

this project also has some spam control for emotes and annoying system messages (ie: duel spam or drunk spam)

** changes in 2.7
- added more specific drunk text suppression
- minor update - I just get annoyed with all the yellow "so and so is drunk" system messages ;-)

** Changes for 2.6.3
+ suppress drunk messages from system
+ updated to current patch
Optional Files (0)


Post A Reply Comment Options
Unread 03-14-07, 08:53 PM  
t0nedef
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 6
Uploads: 1
Another feature i would like to see is a scroll to bottom arrow that appears to remind you when you have scrolled up so you don't miss messages. Also, would it be possible to relocate the side buttons to the inside of the chatframe on the right side. I've tried other mods that do this, but this is the only one that lets me turn the dos style editing on and off. i don't like it when i'm trying to battle, and i can't use my arrow keys for moving because the editbox is open.

Love this mod, keep up with the good work
Report comment to moderator  
Reply With Quote
Unread 01-08-07, 10:49 AM  
Scre3m
A Murloc Raider
 
Scre3m's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 31
Uploads: 2
A couple of other ideas ...

01) Allow /o (officers) to be moved to another channel separately from /g (guild).
02) Unlocking the edit box so that it can be moved anywhere on the screen.
Report comment to moderator  
Reply With Quote
Unread 01-07-07, 08:50 PM  
Scre3m
A Murloc Raider
 
Scre3m's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 31
Uploads: 2
Excellent. Thanks!
Report comment to moderator  
Reply With Quote
Unread 01-07-07, 07:43 PM  
Anavar
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
2.6

ok everything is updated - I added text fading also (used part of that code from the mod you linked Scre3m, thanks)

I'm liking the time stamps now that I've given them a try ... like I said never really used that feature before but now that I have I can't go back :-)
Report comment to moderator  
Reply With Quote
Unread 01-07-07, 10:56 AM  
napgravy
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Anavar
Nap,

nice job .. thanks for the fix

I'll update it and post an update in a day (or less)

how should I credit you? Nap? Napgravy?
I certainly don't deserve any credit but if you feel you must, then Napgravy would be good. I look forward to the next release! Thanks Anavar.

nap
Report comment to moderator  
Reply With Quote
Unread 01-07-07, 08:30 AM  
Anavar
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
Nap,

nice job .. thanks for the fix

I'll update it and post an update in a day (or less)

how should I credit you? Nap? Napgravy?
Report comment to moderator  
Reply With Quote
Unread 01-06-07, 05:22 PM  
napgravy
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Well, I determined that the time stamp problem is not caused by a conflict with another mod by disabling all of the others I use. So I decided to take a look at the code to see what is happening.

Turns out that the code is parsing the full date string to extract the hours, minutes, and seconds. LUA delivers the date string that is formatted as described by your operating systems locale setting. I run WoW on a Mac and that is why my time stamp was getting screwed up - its locale format is slightly different than that of a PC.

Parsing the full date string is not really the best (or most efficient) way to get the time stamp. LUA can provide the hours/mins/secs directly without having to parse it out of a string. I re-wrote and streamlined the "AddMessage" function to grab hours/mins/secs directly. It should now work on both Macs and PCs with any kind of locale setting.

During my testing I also found that the "Use 24 hour format" option was not fully implemented. There was some convoluted code to determine whether it was "am" or "pm" but the option never worked at all. I cleaned that up a bit and made sure it worked as well.

Below is the updated "AddMessage" function from Chat.lua in its entirety. Feel free to use as you see fit. Once again, thanks for keeping this mod going - I find it very useful!

nap

Code:
	AddMessage = function(this, msg, r, g, b, id)
		if msg ~= nil then
			if(LSChatConfig.StampEnabled) then
				local stamp
				local AMPM
				if (LSChatConfig.StampStyle) then
					hour=date("%H")
					AMPM=""
				else
					hour=date("%I")
					AMPM=strlower(date("%p"))
				end
				local minute=date("%M")
				local second=date("%S")
				stamp = "[" .. hour .. ":" .. minute
				if (LSChatConfig.StampSeconds) then
					stamp = stamp .. ":" .. second
				end
				msg = stamp .. AMPM .. "] " .. msg
			end
			this:Original_AddMessage(msg, r, g, b, id); --call the real AddMessage function
		end
	end;
Report comment to moderator  
Reply With Quote
Unread 01-06-07, 10:52 AM  
napgravy
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
Originally posted by Anavar
Nap,

I'll look into it - I don't use that feature - when I picked up this mod and continued it's evolution that option has remained unchanged. Maybe it's flawed. Are you on a version other than En US ?

I'll see what I can find

Edit: I just used the options without any problems - maybe you have a mod conflict .. I'll keep looking ... but on first try it worked fine
Hi again!

I'm using the EnUS version of WoW. I suppose it could be a conflict with another mod but this is the only "chat" related mod that i have - that doesn't mean there isn't a conflict though. Let me do some troubleshooting over the next couple of days to see if I can track it down. If I can come up with a cause (or even a fix!) I will let you know.

Keep up the good work on this mod though!

nap
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 10:46 PM  
Anavar
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
Originally posted by Scre3m
One request, could you add the option to turn off text fading? Take a look at what my very simple addon does.

DisableChatTextFading
ok I can add it with the next update

I'm planning on adding an option to filter out duel notices also - so I'll add both at once
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 07:12 PM  
Scre3m
A Murloc Raider
 
Scre3m's Avatar
AddOn Author - Click to view AddOns

Forum posts: 6
File comments: 31
Uploads: 2
One request, could you add the option to turn off text fading? Take a look at what my very simple addon does.

DisableChatTextFading
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 05:04 PM  
Anavar
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
Originally posted by napgravy
First time I tried the mod - and the timestamp feature does not seem to work properly for me. Example time stamp "[ :5::4]". Enabling/disabling seconds and 24hr format yielded equally strange looking timestamps. Other than that, it looks pretty good.

nap
Nap,

I'll look into it - I don't use that feature - when I picked up this mod and continued it's evolution that option has remained unchanged. Maybe it's flawed. Are you on a version other than En US ?

I'll see what I can find

Edit: I just used the options without any problems - maybe you have a mod conflict .. I'll keep looking ... but on first try it worked fine
Last edited by Anavar : 01-05-07 at 05:08 PM.
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 04:53 PM  
napgravy
A Kobold Labourer

Forum posts: 0
File comments: 5
Uploads: 0
First time I tried the mod - and the timestamp feature does not seem to work properly for me. Example time stamp "[ :5::4]". Enabling/disabling seconds and 24hr format yielded equally strange looking timestamps. Other than that, it looks pretty good.

nap
Report comment to moderator  
Reply With Quote
Unread 01-05-07, 12:53 PM  
Anavar
A Kobold Labourer
AddOn Author - Click to view AddOns

Forum posts: 1
File comments: 8
Uploads: 1
Changes For 2.5

Changes in v 2.5

Improved the emote spam routine ... if you don't use this option then you don't need the update

it will now detect and suppress multiple emotes from players even if they are different emotes .. it will only allow 1 emote in your chat window from any player (done in a row)

so say player x emotes /love 100x you will only see it once

or say player x does 100 different emotes in a row you will only see the first one in your chat window
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: