Poster: Xruptor at 6/12/2005 6:57:01 AM PDT Subject: Petition for IsItemValid() - ItemsMatrix / LL |
| |
This petition is for the functionality of both LootLink and ItemsMatrix respectively.
Hello I'm he creator of ItemsMatrix, A mod that functions similar to the popular LootLink. Since the 1.5.0 patch itemlinks which are not stored on the server disconnects you. This is causing many problems for the thousands of people that use ItemsMatrix and LootLink. Before you could check to see if the itemlink loaded in the tooltip and if it was empty it was invalid. Now you can't even load the invalid link without it disconnecting you.
Problems that have arisen since patch:
-If a person searches for items and one of them has an invalid link. BOOM they get disconnected.
-If they hover over an item that is invalid. BOOM they get disconnected.
-If they try to link an item that is invalid. BOOM they get disconnected.
the lists goes on and on...
-------------------------------------------
Petition for IsItemValid(itemlink)
Here is my plea and petition. That you implement some function to determine if the link is valid on the server or not. Then have it return as a Boolean. This way ItemsMartix and LootLink can still function. We can use this function to alert the user that at the current time that item is not able to be displayed and or linked. This way you guys get what you wanted and our mods still work.
We have worked very hard to provide a great mod for thousands to use. Please don't let our hard work go to waste when there can be a simple solution.
Best Regards
-Derkyle aka Xruptor
*await a blue response*[ post edited by Xruptor ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post158304 |
| |
Poster: slouken at 6/13/2005 7:29:29 PM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix / LL |
| |
Q u o t e:
Petition for IsItemValid(itemlink)
Here is my plea and petition. That you implement some function to determine if the link is valid on the server or not. Then have it return as a Boolean. This way ItemsMartix and LootLink can still function. We can use this function to alert the user that at the current time that item is not able to be displayed and or linked. This way you guys get what you wanted and our mods still work.
I can provide a function to tell you whether or not the item is in the local item cache, and is safe to request a tooltip for.
I don't use either mod myself, but it seems like to make it really useful, you would need to store lots of extraneous information for sorting and filtering purposes (e.g. epic axes level 50+, etc.) Wouldn't it be more helpful just to keep pertinent information in persistent variables and have custom tooltips? I know this doesn't solve the sending links to other people problem, but you're not really supposed to be doing that anyway for items you can't see.
You might also provide filters for data collection, just to keep the data size down. e.g. "leather crafting components", or "epic axes", or whatever. You can also use tricks to reduce the size of the data even further, like packing the info encoded into a single string, and then parsing that dynamically, etc.
Unless an in-game item database is added to WoW, this is about as good as you're going to get, I think.[ post edited by slouken ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post159626 |
Poster: slouken at 6/14/2005 9:17:06 AM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix / LL |
| |
Q u o t e: OMG thank you so much! It's what I've been waiting for! Yes the check to the itemcache db would be wonderful! It would prevent the disconnects and if the item isn't in the itemcache then we can give a 'to bad the item isn't available to link.' rather then users getting disconnected.
It just means the item is safe to create a tooltip for, not that it's safe to link. If you're sure that's what you want, I can do it. Personally, I think generating your own mini-tooltips is probably a more consistent and useful way to go.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post159862 |
Poster: slouken at 6/14/2005 9:47:39 AM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix |
| |
By the way, /signed doesn't do any good. It just wastes my time as I wait to hear back from the author.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post159869 |
Poster: slouken at 6/14/2005 12:20:06 PM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix |
| |
Q u o t e: What I'm planning on doing is checking to see if the item can be linked via itemlink if they have seen it that day. Using a function to check to see if that is valid or not is a good thing. Because if they can use the itemlink, there is no need to generate the custom tooltip. If they can't then a custom tooltip would have to be generated. It's just a means to prevent errors from occuring and granting the user the option if valid to see the actual link again or to view the tooltip information that is stored.
The function would only return true if the item is in the local cache, and you can generate a tooltip for it. It does not return any information on whether or not the link itself is valid to send to other people.
For consistency's sake, it might be better just to always use a custom tooltip and always generate custom lootlink links.
Unless you explicitly want the above function, I'm done here. I have bugs to fix. :)
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post160022 |
Poster: slouken at 6/14/2005 12:39:12 PM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix |
| |
Q u o t e: I imagine the above function would be useful for those who want their addons to fetch the names of items from links (so the addon can decide between just asking for a tooltip, or having to wander off through a tradeskill tree looking for it).
Okay, I'm not going to add it. Even here nobody seems to understand what it would actually do. It would not validate whether or not a link can be shown in a tooltip. It would not validate whether or not a link can be sent to someone else. It would only validate whether or not a stored link could be shown locally in a tooltip. Since you're not actually supposed to store links, and I was just trying to be helpful, it's a moot point.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post160040 |
Poster: slouken at 6/14/2005 5:02:50 PM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix / LL |
| |
I spoke with the designers, and they're fine with mods that create in-game databases of items, as long as the player has actually seen them.
So, to that end, I added the function GetItemInfo(), which takes as a parameter either an item ID, or an item link, and returns the item name and the full item chat hyperlink, if that item is in the local cache.
You can use this as a test to see whether or not the item is in the local cache for purposes of displaying it in a tooltip.
Note that you cannot send this item's chat hyperlink to other players unless you have seen that item in this play session.
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post160340 |
Poster: slouken at 6/14/2005 8:25:32 PM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix / LL |
| |
I'm going to refine the return values of GetItemInfo() tomorrow. I'll probably include name, quality color code, and SetHyperlink() safe item link. Is there anything else that's common to all items that would be useful?
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post160521 |
Poster: slouken at 6/15/2005 10:17:23 AM PDT Subject: Re: Petition for IsItemValid() - ItemsMatrix / LL |
| |
Q u o t e: Now that I think about it. If possible could you return the information that is parsed to be shown in a tooltip?
No, there is way too much processing going on there to replicate.
I've finalized what GetItemInfo() will return:
function foo(x)
local name, link, quality, minLevel, class, subclass, maxStack = GetItemInfo(x);
if ( name ) then
message(name.." ("..link..") quality="..quality..", minLevel="..minLevel..", class="..class..", subclass="..subclass.." maxStack="..maxStack);
else
message("Item not cached");
end
end
Okay, I've spent way too much time on this. Now back to work. :)[ post edited by slouken ]
|
| | http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=158304&p=#post160912 |