Moonshyne
World of Warcraft® guild on Ravenholdt·EU, and UI Addon creation & development

...powered by Darkmoon Special Reserveâ„¢!
Thu 09 Sep 2010 21:22:24 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: MyRolePlay 3.3.55 (compatible with WoW 3.3.5.12340) released!
Home Help Search Login Register
Pages: 1
Print
Author Topic: An odd bug...?  (Read 1395 times)
0 Members and 1 Guest are viewing this topic.
Elandru Moonshyne
Founder

Online

Posts: 218



« on: Thu 04 Jun 2009 23:08:56 »

From a user who PMed me:—
Quote
I don't know whether you'd want to classify this as a bug or a feature.  I play a character named Tatjana on Thorium Brotherhood.  In the Grizzly Hills, there is a quest NPC also named Tatjana.  From what I can tell, when I am online, anyone with MyRoleplay installed who looks at the NPC Tatjana will be given my character's description.  That is to say, MyRoleplay will identify the NPC as having the full name "Tatjana Natalia Aliston", that she is 5'11" and weighs 175 lbs., and so forth.

I don't know whether this is something you would want to fix, but I thought you might find it amusing.
Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Elandru Moonshyne
Founder

Online

Posts: 218



« Reply #1 on: Thu 04 Jun 2009 23:16:41 »

The thing I can't work out is that since time immemorial, the function that displays the tooltip clearly checks if UnitIsPlayer first, and it'd be checking the mouseover. It doesn't feed it unit names, but actually the UnitId "mouseover" (or possibly "player" or "target", but mostly  "mouseover").

The entire function is wrapped in that if-statement.

That said, I can't discount this. I'm sure I've seen it. Recently. Very recently, an NPC just walking around. I'm investigating to see if there's a WoW client bug that may cause UnitIsPlayer() to return 1 for some NPCs. That would cause an issue if a player has the same name—but so far, I haven't been able to trigger it.

Maybe it only happens with some NPCs.

So if you've seen this bug, please track down what NPC you saw it on and where and under what circumstances, so I can try to reproduce (and either fix it, or let Blizzard know upstream to fix the client, and perhaps work around it with UnitGUID?).

I note also that party members who don't react with UnitIsVisible don't have a custom tooltip. I'm wondering if there's a fix there.

I've also done a 3.0.51 with (slightly) optimised split function, and finally added the proper chat frame filter—now that we can do that reliably—so that non-debug versions of MRP don't show the channel list for the xtensionxtooltip2 and MyWarcraftCo channels. Purists who actually preferred and got used to knowing by that which other roleplayers were online and not in the respective user chat channels that RP communities tend to build can simply enable MRP_DEBUG in the top of MyRolePlay.lua.

But at the moment, 3.0.50 works OK... if I can figure out this bug...
Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Tatjana
Visitor

Offline

Posts: 4


« Reply #2 on: Tue 09 Jun 2009 00:09:43 »

Okay, here's what I've found after a bit of testing by hanging around "Tatjana", the NPC.

Immediately upon loading MRP, NPC-Tatjana is given a MRP symbol, indicating that there is a description to be had.  When I click on that description, it tells me that the person's name is "Tatjana Natalia Aliston" (my character's full name), but it does not have any of the other information from my character.  Under Stats it has Level: 00, if that helps.

If I click on myself and check my own description out, then click on the mob and check her description, I get the full description.  But it's apparently only after I've loaded my own description that it does this.

Other people have reported to me that my description is on the mob.  I'll try to find out what circumstances those are.
Logged
Elandru Moonshyne
Founder

Online

Posts: 218



« Reply #3 on: Tue 09 Jun 2009 06:21:53 »

When you do, could you confirm that you're running the latest version of MRP, and also do this when you're near her and are mousing over her?

Let me know the results. I'd be very, very interested to see what it says.

Code:
/script print((UnitIsPlayer("mouseover") or 0)..UnitGUID("mouseover"));
Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Tatjana
Visitor

Offline

Posts: 4


« Reply #4 on: Tue 09 Jun 2009 21:04:01 »

I'm running MyRolePlay 3.0.50.

The code returned: 00xF530006BEB05EF3C

I had a friend check with FlagRSP.  They got the symbol indicating a description was available, but they got no description from it, whether or not they had already viewed my description.

I targeted NPC-Tatjana and did a "/script print(UnitIsPlayer("target"));" just for giggles.  It returned "nil".

Hope this helps.
Logged
Tatjana
Visitor

Offline

Posts: 4


« Reply #5 on: Tue 09 Jun 2009 21:40:36 »

Some screenshots:





Logged
Elandru Moonshyne
Founder

Online

Posts: 218



« Reply #6 on: Tue 09 Jun 2009 22:03:41 »

It sounds like there's a bug in FlagRSP as well. It should be checking if UnitIsPlayer before checking to see if the name's known to it.

I have been unable to reproduce the tooltip coming up on mouseover. As you can see, it's not confusing you with the NPC, and knows full well which is a player and which isn't (and the GUID is that of an NPC too, so there's no cache confusion either).

MRP won't display the tooltip unless UnitIsPlayer. Others might, I have no control over the other mods, but if they are then they have their own bug.

However, on closer examination of the code, though it won't show the tooltip it might show the MRP button...

...it does, yeah. Fix incoming.


Logged

Ravenholdt�EU: Elandru (80 NE Hunter), Dulcamara (80 NE Rogue), and many, many others ...
Tatjana
Visitor

Offline

Posts: 4


« Reply #7 on: Sun 14 Jun 2009 18:36:37 »

Tested the new download today.  It works now!

Thanks!
Logged
Pages: 1
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC
World of Warcraft® and Blizzard Entertainment® are all trademarks or registered trademarks of Blizzard Entertainment in the United States and/or other countries.
These terms and all related materials, logos, and images are copyright © Blizzard Entertainment. This site is in no way associated with or endorsed by Blizzard Entertainment®.
Valid XHTML 1.0! Valid CSS!