statistics
People Online: 10
Today's Visitors: 429
Total Visitors: 3,727,939
February 07, 2012, 05:00:55 PM
Shoutbox
   
 
[Guest] [joshmiller83]: Can we get an Astrolabe fix please? Or has WIM stopped being developed?
[DevTeam] [Astaldo]: You can disable wim2wim for now or visit the forum thread where you originally posted the issue
[DevTeam] [Zeke]: Yay for spam!
[DevTeam] [Zeke]: ....
[DevTeam] [Zeke]: I love that I get emailed when someone reports spam on the boards, but I can't do anything about it.
[DevTeam] [Nachonut]: lol i got you
[DevTeam] [Astaldo]: How about "hide email address from public checked" and it's still visible in all my posts...
[DevTeam] [Astaldo]: I'd delete my account on this site, but by the time I realized the problem half the spambots on the planet had it already
[Developer] [Pazza]: Astaldo if you log out and view your profile with a refresh you'll see that your email is hidden.
[Developer] [Pazza]: Your user level on the forums permit you to see emails even though they are marked hidden.
[DevTeam] [Astaldo]: Ah.. thanks for the clarification and apologies for "crying wolf" in that case :
[DevTeam] [Kaidenn]: PAZZA! i miss you.
[DevTeam] [Nachonut]: Lol, it's funny how it takes spam message reports to get me to come back
[DevTeam] [sylvanaar]: Check out the beta tester forum. Need alpha testers and feedback so I can come up with a maintenance plan.
[Developer] [Pazza]: loaded some new spam prevention modules... lets see if this stops the bastards.
[DevTeam] [Maziel]: Thought I'd check in and say Howdy Doody from Australia
[DevTeam] [Maziel]: Yeah the spam from shoes salesmen was becoming insane
[Guest] [Delakando]: What ever happened to the ability to track friend's location by wim? Other then just showing their general zone location.
Zeke pokes his head around the corner.
[DevTeam] [Zeke]: Anybody home?
[Guest] [Theillur]: I would like to know if it is just me.
[Guest] [Theillur]: http://www.wimaddon.com/forums/index.php/topic,1796.0.html
[Guest] [Nev]: I'm here
[Guest] [Nev]: I don't think anyone else is though
[Guest] [tomasio]: great site [url=http://freeonlinemusicvideos.net].[/url] [url=http://freepeopleclothing.org].[/url]
[Guest] [Theillur]: Nev it is not working for Zeke as well.
[DevTeam] [lothaer]: im here
[DevTeam] [lothaer]: ...
lothaer yawns sleepily.
[DevTeam] [lothaer]: sooooooooooooooooo
[Guest] [j3ff]: Hello. It is very quiet. I would love a response to my thread directly below your "Been very quiet" thread!
[DevTeam] [lothaer]: Check out my new post in the Skins forum
[DevTeam] [lothaer]: Posted a new download in the skins forum check it out
[DevTeam] [lothaer]: Zeke, Maziel, Pazza, Nachonut, sylvanaar, Kaidenn, Astaldo where are you?
[DevTeam] [lothaer]: It would be a real shame if WIM was left to die.
[DevTeam] [lothaer]: i think these forums are dead, Sylvanaar dosnt post on them as he only bug fixes when possible. WIMs future isnt very bright
[Guest] [justgiz]: Yea, its rather sad.
[Guest] [silvercola]: I wish it had skype
[DevTeam] [lothaer]: noy possible for a addon to do.
[DevTeam] [lothaer]: ...........
[Guest] [elzershark]: where is the download file?
lothaer beckons everyone over to you.
[DevTeam] [lothaer]: has anyone been able to take WIM to the beta yet?
[DevTeam] [lothaer]: PTR*
[DevTeam] [Maziel]: *sticks head up and looks around*
lothaer cries.
[DevTeam] [lothaer]: who the hell flagged my post as spam?
[Guest] [primalforce]: Hey guys
[DevTeam] [lothaer]: hello Primalforce.
[DevTeam] [lothaer]: PAZZA COME BACK!!!
 
   
   
News: World of Warcraft v4.0.1
 
Pages: [1]
Print
Author Topic: WIM and Chat Alias Lite  (Read 1701 times)
Beaudine
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile
« on: November 08, 2008, 08:19:42 AM »

I recently started using an addon named Chat Alias Lite (CAL), and it works fine substituting any string in any channel, except in whispers, which WIM intercept. I tested, and it works fine if WIM is not enabled, but I can't live without WIM! Cheesy

CAL works in the manner that if I write i.e. "%name, %level %class %race" (no quotes), it will replace that with "Arlyn, 70 Hunter Blood Elf". WIM however, does not let CAL substitute the aliases. Sad

Is there a way to let CAL and WIM work together? I don't see how editing anything in CAL can make this possible, as WIM seem to have its own hooks into the whisper function in WoW... Can you please help? Undecided

Thanks for any reply...
Logged
Stewart
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« Reply #1 on: November 09, 2008, 05:53:45 PM »

ok so here's the deal:

The bad news:
WIM is sending content ONLY through ChatThrottleLib:SendChatMessage, since CTL sends messages from their to its own saved copy of the global SendChatMessage the hooks never run (As CTL is likely loaded first). In the current state anything that hooks SendChatMessage won't neccesarily work with WIM. Pazza, any thoughts on how to fixxor this?

The worse news:
CAL is badly coded and generates a throwaway table for every single chat message sent (:O naught coder)

The good news:
I've written a rough hack:
http://www.stewartatkins.org/wim/ChatAliasLite.lua
This hooks both SendChatMessage and ChatThrottleLib:SendChatMessage, (didn't fix any of the naught coding, its 2am). I make no guarantees about how well this is going to work, but it worked for me, so /shrug
Logged
Beaudine
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile
« Reply #2 on: November 09, 2008, 06:14:09 PM »

The sad news is that your jerryrigged code of CAL didn't work here. No errors, works like before, still not working with WIM... Sad Thanks for trying though.
Logged
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #3 on: November 09, 2008, 09:17:51 PM »

CTL hooks SendChatMessage soley to measure data being sent for throttling purposes. It doesn't actually hook it to modify anything but rather it is a post hook. or at least should be. The purpose of CTL's hook is solely to metrics so it knows how to throttle.  if i remember correctly. I will have to look at the code again...
Logged

My hobbies consume way too much time :-).
Pazza
Administrator
Hero Member
*****

Karma: +89/-15
Offline Offline

Posts: 1375


Effin A


View Profile WWW
« Reply #4 on: November 09, 2008, 09:22:01 PM »

For reference ChatThrottleLib.ORIG_SendChatMessage is a pointer to the origional function. You could hook this if needed.
Logged

My hobbies consume way too much time :-).
Stewart
Global Moderator
Sr. Member
*****

Karma: +6/-0
Offline Offline

Posts: 294



View Profile
« Reply #5 on: November 10, 2008, 05:54:08 AM »

Ok try that link again, i've put some new code in there. But if that doesn't work then i give up

Pazza: I think the problem is that CTL is taking its pointer to SendChatMessage before everything else hooks it, and when WIM calls CTL:SCM the message goes straigt to CTL's original SendChatMessage bypassing all the hooks after CTL was loaded
Logged
Beaudine
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 9


View Profile
« Reply #6 on: November 11, 2008, 02:51:50 PM »

Thanks, Stewart! This time it worked perfectly. Thanks a billion! Cheesy I will add a link to your fixed code to CAL's page at WoWInterface (most recent version, the one on Curse is old!).
Logged
Pages: [1]
Print
Jump to:  

You must be logged in to send a message to the shout box.
     
  test stamp