☰
d2jsp
Rules
Help
Forum Gold FAQ
Live Streams
Photo Gallery
Hourly Raffle
Ladder Slasher
Log In
Register
Log In
Register
Account Recovery
Resend Validation Email
d2jsp Forums
>
d2jsp
>
Ladder Slasher
> Questions
Prev
1
2
Add Reply
New Topic
New Poll
Views: 563
Replies: 17
Track Topic
oRq1
Member
Posts: 2,335
Joined: Jun 20 2005
Gold
:
4.15
#11
Jan 19 2020 11:02am
is there any way to check id's of my items which i have on characters so i can see see what prices they were bought/sold in the past?
Bigheaded
Member
Posts: 11,722
Joined: Sep 17 2005
Gold
:
19,012.03
#12
Jan 19 2020 11:06am
Quote (oRq1 @ Jan 19 2020 05:02pm)
is there any way to check id's of my items which i have on characters so i can see see what prices they were bought/sold in the past?
firefox or chrome? roughly the same method
oRq1
Member
Posts: 2,335
Joined: Jun 20 2005
Gold
:
4.15
#13
Jan 19 2020 11:07am
chrome
Bigheaded
Member
Posts: 11,722
Joined: Sep 17 2005
Gold
:
19,012.03
#14
Jan 19 2020 11:08am
You must find the character with the item on, lets argue the 139ee + vit dagger i own:
https://forums.d2jsp.org/user.php?c=3&i=193561&p=517481
open a second browser to have ANY item history, so i usually click forum gold logs, and select one:
https://ladderslasher.d2jsp.org/itemHistory.php?i=1209073649&c=0
Go back to the first window, right click on the item, click "inspect"
On the right side you'll have "elements",
Hover down the "div class" until it highlights the item you're interested in.
Select the bunch of code above, right click -> copy -> copy element
you should get: <!-- 10364397 -->
we only want the number: 10364397
go to the second browser, replace the item history of the other item with the one you want:
https://ladderslasher.d2jsp.org/itemHistory.php?i=10364397&c=0
MommysMilk
Member
Posts: 15,144
Joined: Aug 2 2006
Gold
:
9,025.34
#15
Jan 19 2020 11:09am
Quote (mclarke @ 19 Jan 2020 18:08)
You must find the character with the item on, lets argue the 139ee + vit dagger i own:
https://forums.d2jsp.org/user.php?c=3&i=193561&p=517481
open a second browser to have ANY item history, so i usually click forum gold logs, and select one:
https://ladderslasher.d2jsp.org/itemHistory.php?i=1209073649&c=0
Go back to the first window, right click on the item, click "inspect"
On the right side you'll have "elements",
Hover down the "div class" until it highlights the item you're interested in.
Select the bunch of code above, right click -> copy -> copy element
you should get: <!-- 10364397 -->
we only want the number: 10364397
go to the second browser, replace the item history of the other item with the one you want:
https://ladderslasher.d2jsp.org/itemHistory.php?i=10364397&c=0
or there is a browser add on so its shown always under the item stats ^ (the item id number)
This post was edited by Formee on Jan 19 2020 11:09am
oRq1
Member
Posts: 2,335
Joined: Jun 20 2005
Gold
:
4.15
#16
Jan 19 2020 11:10am
thx master
i might have further questions there
dont make to make another thread
im very grateful and kinda like this game ;p
XnaadgeHc
Member
Posts: 15,166
Joined: Jan 17 2006
Gold
:
116,644.00
Trader:
Trusted
#17
Jan 19 2020 11:54am
You have to keep in mind that the price you see in item history is not always the real price you bought/sold. You can have sent 500fg directly to the seller, and he put let's say the item on mp for 19fg to avoid the fee. (for a deal of 519fg).
So you will see on item history that you bought it 19fg.
Meridius
Member
Posts: 23,728
Joined: Aug 21 2007
Gold
:
433.48
Trader:
Trusted
#18
Jan 19 2020 11:57am
Quote (Meridius @ 6 Dec 2019 20:30)
ID showing in inventories while in forum (and clickable)
Code
// ==UserScript==
// @name Show Item IDs
// @namespace http://tampermonkey.net/
// @version 0.1
// @author Dante@JSP
// @match http*://forums.d2jsp.org/user.php?c=*&i=*&p=*
// ==/UserScript==
/* jshint ignore:start */
(function() {
var elements = Array.apply(null, document.querySelectorAll('dd.ce'))
// Get all elements except the first because we don't want that
.slice(1)
// Convert nodeList to native arrays and remove the text elements
.map(a => Array.apply(null, a.childNodes).filter(b => b.nodeType !== 3))
.reduce( (prev, curr) => prev.concat(curr), [])
// Filter empty elements that are at the end
.filter(a => a.className !== 'c');
elements
.reduce( (prev, curr) => {
// Previous node was a comment and current node is an item
if (prev.nodeType === 8 && curr.nodeType === 1) {
const id = prev.data.match(/\d{1,99}/)[0];
const core = document.querySelectorAll('.ftbt')[0].childNodes[1].childNodes[2].childNodes[1].innerHTML === 'Original' ? 0 : 1;
const url = `http://ladderslasher.d2jsp.org/itemHistory.php?i=${id}&c=${core}`
curr.innerHTML += `<br/><a href=${url}>ID: ${id}</a>`;
curr.style.height = '100%'
}
// Always return the node for the next iteration
return curr;
}, {nodeType: null})
var maxHeight = elements
.reduce( (prev, curr) => prev > curr.offsetHeight || !curr.offsetHeight ? prev : curr.offsetHeight, 0);
elements
.forEach(ell => {ell.nodeType === 1 && (ell.style.height = `${maxHeight}px`)});
})()
Here is a browser script
Use tampermonkey for it
Go Back To
Ladder Slasher
Topic List
Prev
1
2
Add Reply
New Topic
New Poll
© 2003-2024 d2jsp
Contact