1
reply
7838 views
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
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
Can be used to make Runewords:
Advertisment
Hide ads
Greetings stranger!
You don't appear to be logged in...No matches
)--x}-KURAST-{x--(
1