statistics
People Online: 13
Today's Visitors: 299
Total Visitors: 3,001,104
September 06, 2010, 05:49:39 AM
Shoutbox
   
 
[DevTeam] [lothaer]: woot woot
[Guest] [Araidine]: Thanks, Pazza! You rock!
[Developer] [Pazza]: Araidine, sorry about the colors, I thought for sure I would have caught your problem. Its hard to fix when I can't seem to reproduce it.
[Developer] [Pazza]: I'll try again
[Guest] [Eronian23]: For some reason I cannot download 3.3.6 the button only sends me 3.3.4
[Developer] [Pazza]: Clear your browsers cache or download from curse.
[Guest] [brunobrunolegal]: wim me when I see you talk to someone appears lua error I have done everything to help me thanks!
[DevTeam] [lothaer]: Pazza you gonna update on wowui and wpwinterface?
[DevTeam] [lothaer]: ATTENTION WIM USERS IF YOU ARE RUNNING WOW VERSION 3.3.3 THEN DO NOT UPGRADE TO THIS VERSION OF WIM YOU MUST USE WIM VERSION 3.3.4
[DevTeam] [lothaer]: not that anyone is gonna read that ><
[Developer] [Pazza]: loather, i completely forgot. thanks for reminding me
[Developer] [Pazza]: i'll upload on there when I get back to the computer on saturday. *on android*
[DevTeam] [lothaer]:
[DevTeam] [mysticalos]: pazza if you want to use the code i put in forums to make new one work with both patches, it's pretty straight forward. people aren't gonna listen, they're just gonna install what curse client tells them is new
[Developer] [Pazza]: It's not that simple. The logic has changed in a few areas and it isn't worth the hassle.
[Guest] [Zephix]: After I updated my WIM, I got an error?? And I can't fix it. I've tried to redownload / reset my WIM but nothing works.. Can you help?
[Guest] [Rising]: There's a bug related to using 3.3.5 and 3.3.6 in Europe as the WoW servers havent been updated. It's detailed in the forum and the fix is use WIM 3.3.4. Where can I get the older 3.3.4 version?
[Guest] [Rising]: never mind. I found it. You can get older versions on the curse website
[Guest] [Theillur]: Anyone else not able to link achievements into WIM windows anymore?
[DevTeam] [mysticalos]: Anything planned to address achievement linking to whispers. Or maybe item links using their natural color instead of always blue?
[Developer] [Pazza]: I am out of town this week... Linking will be fixed when I return...
[Guest] [kosajk]: well im not sure how often you are checking coments anyway i want to sugest that in realid friends frame wim should show only initial letters
[DevTeam] [lothaer]: you gonna have to take that up with Blizzard Kosajk
[Guest] [CanadianJeff]: I wanna be able to delete my history well keeping my settings intact
[Guest] [CanadianJeff]: for example charector wide delete or realm wide delete
[DevTeam] [mysticalos]: Blizz seems to have broken BN_FRIEND_INFO_CHANGED when realms came back up. can no longer grab char info at all. i suspect it's a bug cause even blizz own gui/friends list cannot display this info
[Guest] [Skink]: Hey. Is it possible to hide the standard "WoW Chat Window" entirely?
[Guest] [Reur]: are you guys aware of the fact that you can't link acheivements in an IM window after the newest update?
[Guest] [Reur]: sorry... i found the note on the forum... hope you guys can get it fixed soon
[Guest] [Baurge]: not sure if people are still using this, but I've recently started getting pop ups that there is an update available but cannot find one anywhere. I've completely uninstalled WIM and have reinstalled. I'm running 3.3.7, any thoughts?
lothaer lets out a long, drawn-out sigh.
[Guest] [mikky05v]: After putting WIM in the proper wow addons floder it isn't showing up in wow.. thoughts?
lothaer tells a joke.
[Guest] [Grene]: how do i disable the default Wowo window with WiM i cannot locvate it
[Guest] [Grene]: i mean to say the default chat window
[DevTeam] [lothaer]: i dont think you can
[Guest] [Chiaki]: Hey guys, it's me, Chiaki Perhaps you remember me when I mention the keyword: BEER FEST
[Guest] [Chiaki]: I translated your WIM to german back in those days ^
[Guest] [Chiaki]: How's the situation now, do you need any new translation action?
[Guest] [Chiaki]: You guys don't look into the shoutbox often, do you? oO
[DevTeam] [Nachonut]: Not really a fact of looking at the shoutbox, more or less I guess how often on the page? DAS BOOT!
[Guest] [Zasurus]: level
[Guest] [Zasurus]: Ment to search for that... But any idea how to get the level displayed next to people's names like (80:GuyName]: Message...)
[Guest] [Zasurus]: I have added a topic in General Discussion. If anyone knows I would love some help.
[Guest] [Chiaki]: So...do you need further translation or not? ^^
[Guest] [Zasurus]: Your better off using the forum mate. Not many ppl seem to look at this!
[Guest] [jenifaerie]: so, what type of chatting are we supposed to do in this area
[Guest] [jenifaerie]: ok, well , what i want is a WIM i can use in XP, outside WOW, not to chat with wow buddies, but other ppl i have as friends. So, make a WIM for xp , woo hoo, that would be cool .
[DevTeam] [lothaer]: ...
[Guest] [jenifaerie]: shout it out, jenifaerie has another post to peruse. let me know if it sparks conversation or imagination.
 
   
   
News: World of Warcraft v3.3.0
 
Pages: [1]
Print
Author Topic: Guild2Guild Integration  (Read 428 times)
Flisher
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« on: June 12, 2010, 10:35:40 AM »

Hi,

I`m not the g2g author but I`m using both addon and got some coding experience in the past (CosmosUI team member, CharactersViewer, Pawnshop, RaidAwareness, FearWardHelper and a few other prototype.

The addond G2G allow 2 guilds to talk together in a single channel, using a relay.
The relay repeat in the guild channel, so message are displayed like this for people not using G2G:

[Relay]: [Relayed] Relayed Message.

People using the addon get their guildchat hijacked input, and the addon parse the message from the official relay and remove calculate the real sender to fake the following message in the Guildchat tab:
[Relayed]: Relayed Message.

I'm trying to find where to try to include the code to trim the relay name and fake the real sender as the relayed person in WIM.

I looked at the WIM code but i'm a bit lost.

The hotfix could probably be done in WIM, G2G or I could even develop an addon with WIM and G2G as a depedency to do the job but I can't find where guild message are handled in WIM.

If you can point me to the right place I could probably try to ingegrate a fix and discuss the solution here.

Thank's.
Thank's for your assistance.
Logged
Pazza
Administrator
Hero Member
*****

Karma: +86/-15
Offline Offline

Posts: 1342


Effin A


View Profile WWW
« Reply #1 on: June 17, 2010, 08:01:03 AM »

I'm a little confused on how you are doing this. If you explain to me exactly what you need for this to work, I might be able to add an API for you. I have quite a few API's in WIM already but i never got around to documenting them. What you need might already exist, if not, I can certainly look into adding something.

In a little more detail, explain how g2g works as your previous message i'm not following too well.
Logged

My hobbies consume way too much time :-).
Flisher
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« Reply #2 on: June 17, 2010, 01:23:59 PM »

Ok, here is how G2G work.

I'll use the following setup for the explanation:

GuildA:
   Alpha (player using G2G, relay)
   Amazon (player using G2G)
   Archimonde

GuildB:
   Boya (player using G2G, relay)
   Bingo (player using G2G)
   Bravo


G2G evaluate 'who' will be considerd the relay on each guild according to multiple parameter, then decided Alpha and Boya.

When Anyone from guild A speak, Alpha will repeat the  text to a normal, hidden channel used to communicate between the 2 guild.
When text is seen from that specific channel by Boya, he repeat this text to is own guild chat.

Example of what is really happening:

Amazon say the following in the guild chat: "Hello",
Alpha read the guild channel and see "[Amazon]: Hello"
Alpha will  say to the hidden channel: "[Amazon]: Hello"
Boya will read from the hidden channel and retransmit to is own guild channel: "[Amazon]: Hello"

Bravo player, from the second guild, will see "[Boya]: Amazon: Hello"
However, Bingo, who use G2G,  will check on every guild chat message if it come from the official relay, and if yes, will trim the relay name and 'fake' the following message: "[Amazon]: Hello" in the normal chat tab.

G2G hook the regular chat function and simply replace the speaker name or id in the hook.

Now, when we use WIM, the trim and replace still happen in the regular windows, but WIM doesn't take that in account so we see the relay name as the speaker, and the original speaker in the text message. 

you can contact me on gtalk at flisher@gmail.com, or flisher@hotmail.com for more information.
Note that I'm not the G2G author, but can try to find the nicest fix, either in WIM, G2G or standalone plugin.
Logged
Flisher
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« Reply #3 on: June 17, 2010, 01:41:50 PM »

Here is trimmed down version of the code of G2G (removed all the check and config thing)

Code:
local found, realSender, msg
found,_,realSender,msg = string.find(arg1, "%[([^%]]*)%]: (.*)")
if (found) then
arg1 = Guild2Guild_Vars.color..msg
arg2 = realSender -- to see if setting the global variable helps
guid = Guild2Guild_Vars.CachedPlayerIDs[arg2];
if (guid) then
arg12 = guid
else
arg12=""
end
end
-- Call the original ChatFrame_OnEvent function for default handling of the event.
G2GOldChatHandler(self, event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12);

Basicaly, if I knew how or where the "print" job is called in WIM I could give you the real code to implement the correct job.
Another way would be for me to convince the G2G author to add the fix in is code, or create a separate addon having WIM and Guild2Guild as a depedency and hook the proper thing.

Thank for your interest.

Sidenote: here is a screenshot on picasa showing the difference:
http://picasaweb.google.com/lh/photo/0JhP57p_JqkoVLKqOrPWtSZQkWi7wVgXObBxLiw4APg?feat=directlink
Logged
Flisher
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« Reply #4 on: June 17, 2010, 07:25:08 PM »

Ok, here is a simpler way to request the help Smiley

I need to find a way to intercept the event and replace arg1 (msg), arg2(sender) and sometime 12(guid) from the the guild chat and officer chat event.

By handling those parameter before WIM start to do is usual job, everything would be fine.
Logged
Flisher
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« Reply #5 on: June 18, 2010, 05:33:30 PM »

You can find my first integration plugin, called Guild2GGuild_WIM and available on curse.com

http://wow.curse.com/downloads/wow-addons/details/g2g_wim.aspx

The only limitation seem to come from the fact that there seem to be some restriction when using GUID to retrieve the class information, but I don't think there is any workaround(using cached GUID for people that your client didn't saw anywhere directly).
Logged
Stewart
Global Moderator
Sr. Member
*****

Karma: +4/-0
Offline Offline

Posts: 294



View Profile
« Reply #6 on: June 18, 2010, 06:57:02 PM »

GUID class data is only available for people whom you have seen since logging in, either directly or in chat. By routing the chat between guilds, this information isn't propagated to the second guild, unless you pass it along with the chat message.
Logged
Flisher
Newbie
*

Karma: +0/-0
Offline Offline

Posts: 6


View Profile
« Reply #7 on: June 18, 2010, 09:37:58 PM »

Found that limitattion about the GUID.
G2G use a caching system so I can reverse-enginer the GUID from the cached information when available.  however, the GetPlayerInfoByGUID won't return anything following the limitation you just explained.

I'll check if I can hook the GetPlayerInfoByGUID function to return cached information as well.  At this point, it's only a minor esthetic fix and I might skip this step.
Logged
Stewart
Global Moderator
Sr. Member
*****

Karma: +4/-0
Offline Offline

Posts: 294



View Profile
« Reply #8 on: June 19, 2010, 09:59:41 AM »

That would taint a large portion of the UI most likely
Logged
Pages: [1]
Print
Jump to:  

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