Search the database
Search forum topics
Search members
Search for trades
diablo2.io is supported by ads
diablo2.io is supported by ads
1 reply   7837 views
1

Viewing own trade counts as a view, Not helpful.

No data yet

Bug Report

2

Description

Device: PC
Browser: Vivaldi
OS: Windows

Steps to reproduce:

Go to trade listings,
click on own trade,
click the back button,
clicking on listing,
etc.
Will cause views to increment.

Anything else to add:

Consider matching the userID of the person viewing, in a dictionary Post : Hashset<UserID>
Then views are just the length of the hashset.

Currently I assume you have Post: int (views)

and then whenever someone clicks the post, it just increments without validation.

Hashmap / hashset will automatically filter out duplicate userIDs
5

Can be used to make Runewords:

7
Device: PC
Browser: Vivaldi
OS: Windows

Steps to reproduce:

Go to trade listings,
click on own trade,
click the back button,
clicking on listing,
etc.
Will cause views to increment.

Anything else to add:

Consider matching the userID of the person viewing, in a dictionary Post : Hashset<UserID>
Then views are just the length of the hashset.

Currently I assume you have Post: int (views)

and then whenever someone clicks the post, it just increments without validation.

Hashmap / hashset will automatically filter out duplicate userIDs
7
User avatar

Teebling 8401Admin

Europe PC
Thanks for report and proposed solution Kurast, I'll add this to the backlog!

9

Advertisment

Hide ads
999

Greetings stranger!

You don't appear to be logged in...

99

Who is online

Users browsing Bug Reports: No registered users and 9 guests.

No matches
 

 

 

 

You haven't specified which diablo2.io user you completed this trade with. This means that you will not be able to exchange trust.

Are you sure you want to continue?

Yes, continue without username
No, I will specify a username
Choose which dclone tracking options you want to see in this widget:
Value:
Hide ads forever by supporting the site with a donation.

Greetings adblocker...

Warriv asks that you consider disabling your adblocker when using diablo2.io

Ad revenue helps keep the servers going and supports me, the site's creator :)

A one-time donation hides all ads, forever:
Make a donation