Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Dawne Xi
Minmatar 3D Salvage and Acquisitions
|
Posted - 2011.08.07 01:37:00 -
[1]
Edited by: Dawne Xi on 07/08/2011 01:41:33 Edited by: Dawne Xi on 07/08/2011 01:40:07 I am having a problem linking things.. I have some BPC's I made back in 2006 and some that I have made this year and I can't understand why the links to my BPC's made in 2006 work fine, showing the BPC I've had in a can in my hanger since 2006, while the new ones, made this year, show a generic BPO based on the typeID I provide.
Here's a link to a webpage with 2 buttons on it. View it in the In Game Browser in Eve so you can see the 2006 link brings up the correct BPC and the 2011 link brings up a generic BPO link.
http://equo.org/eve/test_buttons.html - View in IGB
Here's the code I am using for both <button type="button" onclick="CCPEVE.showInfo(1153, 361617972)"><font size=1>2006 Antimatter Charge L BPC</font></button> <button type="button" onclick="CCPEVE.showInfo(1176, 1003309071281)"><font size=1>2011 Gamma L BPC</font></button>
Here's a copy / paste of the links when you drag and drop them to chat to get the info numbers [01:34:40] Dawne Xi > <url=showinfo:1153//361617972>Antimatter Charge L Blueprint</url> [01:32:37] Dawne Xi > <url=showinfo:1176//1003309071281>Gamma L Blueprint</url>
Edit Added: Note, another thing I've noticed is that sometimes the info window will update and sometimes it won't when clicking the buttons in game.. So if you click the Antimatter L button and see the Antimatter BPC, then click the Gamma L BPC button, it sometimes will change the top banner of the BP info window, but the information in the bottom is still from the previous info window. Anyone know why this happens? Or could this be related to the problem above? I think it probably is but still wanted to mention it happens.
I'm totally confused here and any help would be appreciated.
|
Callean Drevus
Caldari Icosahedron Crafts and Shipping Silent Infinity
|
Posted - 2011.08.07 08:53:00 -
[2]
Hi,
I've had this problem before, and I believe it is related to the maximum size of an integer in javascript (being somewhere high, but lower than the id's of the item you're trying to retrieve), this is probably due to ccp switching to bigint for each item's id. Problem is, I could never find any evidence for this suspicion.
One solution, is to change the format of your links to follow the outdated model that CCP said they will phase out at one moment, but which currently is the only one that works for all items: CCPEVE.showInfo('5//30003276')
Of course, if anyone knows a better solution to this problem, I'd be happy to hear it too. --- "A fool flatters himself, a wise man flatters the fool."
Chief Developer of EVE Marketeer. |
grootgroot
|
Posted - 2011.08.07 23:09:00 -
[3]
Originally by: Dawne Xi
Here's the code I am using for both <button type="button" onclick="CCPEVE.showInfo(1153, 361617972)"><font size=1>2006 Antimatter Charge L BPC</font></button> <button type="button" onclick="CCPEVE.showInfo(1176, 1003309071281)"><font size=1>2011 Gamma L BPC</font></button>
Just quote the ID. Not ideal, but it works.
<button type="button" onclick="CCPEVE.showInfo(1153, 361617972)"><font size=1>2006 Antimatter Charge L BPC</font></button> <button type="button" onclick="CCPEVE.showInfo(1176, '1003309071281')"><font size=1>2011 Gamma L BPC</font></button>
|
Dawne Xi
Minmatar 3D Salvage and Acquisitions
|
Posted - 2011.08.08 14:53:00 -
[4]
Callean and grootgroot thank you so much for the help, I've been pulling my hair out trying to figure this out.
The quote thing worked on the half dozen links I've tested and seems to have done the trick :)
|
Callean Drevus
Caldari Icosahedron Crafts and Shipping Silent Infinity
|
Posted - 2011.08.09 00:41:00 -
[5]
Just for completeness, grootgroot's answer is obviously the correct one. Will be changing over to use that too :) --- "A fool flatters himself, a wise man flatters the fool."
Chief Developer of EVE Marketeer. |
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |