PDA

View Full Version : Green/Teal Server Wiki Auction Trackers [Suggestion]


Omzy
11-06-2019, 07:03 PM
Maybe I missed it somewhere, but does anyone know if the devs plan to add additional tabs to the wiki for Green/Teal server item prices? The wiki seems to be a pretty integral part of the in-game economy and I'm hopeful that there will be dedicated trackers for these servers. If there aren't, there will be a lot of confusion with people assuming Blue prices apply to Green, etc.

loramin
11-06-2019, 07:39 PM
Basically it boils down to "everyone beg Ravhin". And I wish I had a better answer, but I don't.

The wiki auction system (and anything wiki-related that requires a database) relies on custom PHP extensions, ie. PHP code that a player (Ravhin) wrote, and that Rogean then installed. If we want it to work differently, someone has to change that code, and convince Rogean to install the new version.

Ravhin made all that code publically available: there's a link to it at http://wiki.project1999.com/utils/wikiUtils.php, and anyone who knows PHP could make the changes and send them to Rogean ... but so far no one has stepped up.

(And while I personally <3 the wiki, and even though I am a programmer ... and even though I can write PHP, if someone puts a gun to my head ... let's just say I'm not a fan of that particular language.)

Omzy
11-06-2019, 07:44 PM
Interesting. That actually sounds like a fun little project for me. I'm a long-time programmer in many languages and I wouldn't mind at least testing my hand at it. I'll let you know if anything comes of it. If anyone else wants to take a crack, go for it--at the end of the day, just having something nice and functional is the goal :)

Edit: Here's a question -- should Green/Teal have the same tracker? Should the wiki attempt to resolve the 2 servers into 1 from a price perspective, or should they have separate economies? I'm thinking if they have 2 separate it would be easier to implement and players could just compare them if needed rather than attempting to combine for now.

loramin
11-06-2019, 07:51 PM
Interesting. That actually sounds like a fun little project for me. I'm a long-time programmer in many languages and I wouldn't mind at least testing my hand at it. I'll let you know if anything comes of it. If anyone else wants to take a crack, go for it--at the end of the day, just having something nice and functional is the goal :)

Edit: Here's a question -- should Green/Teal have the same tracker? Should the wiki attempt to resolve the 2 servers into 1 from a price perspective, or should they have separate economies? I'm thinking if they have 2 separate it would be easier to implement and players could just compare them if needed rather than attempting to combine for now.

Awesome! As I said I'm a programmer, so I know all about getting excited to start a project ... and then not finishing it (the wiki is littered with such projects of mine in fact) ... but if you do pull it off obviously a lot of people would love you.

As for the two server thing, keep in mind that there's a strong chance the two will merge at some point. Because of that, and because the Green/Teal economies should be about the same, I'd lean more towards having one combined tracker for both.

But don't let "perfect become the enemy of good": we'd all be better off with separate trackers for Green and Teal, vs. only having the current Blue tracker.

Omzy
11-06-2019, 07:54 PM
If my assumptions are correct, it would just be a matter of adding tabs to the web page/top of the tracker, and then hooking up extra links to duplicated trackers that connect to the other servers. Really very small changes, just a matter of finding the appropriate pieces of code. But i'll post here if I am able to get it done. I'm a busy guy as well.

Pyrocat
11-06-2019, 08:39 PM
More classic without it, just have to play things by ear.

Ravhin
11-09-2019, 02:55 PM
Hi everyone,

I have made the wiki auction tracker server-aware, now people can upload logs for each server: http://wiki.project1999.com/Special:AuctionTracker

please do so (also for red), some extra data would be useful!

At the bottom of this page you can see the "top 20" stats.

We are still thinking of the best way to add the data to individual item pages. Thinking right now that the existing auction box will have tabs at the top, one for each server, to flip between otherwise identical versions of the box. What do you think?

loramin
11-09-2019, 05:17 PM
Hi everyone,

I have made the wiki auction tracker server-aware, now people can upload logs for each server: http://wiki.project1999.com/Special:AuctionTracker

please do so (also for red), some extra data would be useful!

At the bottom of this page you can see the "top 20" stats.

We are still thinking of the best way to add the data to individual item pages. Thinking right now that the existing auction box will have tabs at the top, one for each server, to flip between otherwise identical versions of the box. What do you think?

First off, that's AWESOME news. I know a lot of people will be super excited to hear this.

Tabs sound great to me. If you'd like me to take the front-end code of making them work I'll be happy to: if so just have the server output all the trackers to the page, but with all (or all except blue?) style="display:none", and I can use JS to add the tabs and make them show the hidden trackers.

Also whether we do that, or whether you want to take a different approach, I think it might be nice to save which server someone clicks on in their local storage, so that if you switch to Green once, you wouldn't have to keep doing so each time: it would "remember" your server choice.

I've already done this sort of thing with the checkbox lists (eg. on epic quests), so it wouldn't be hard to make it work to remember the server choice also, unless anyone is opposed to the idea.

Ravhin
11-10-2019, 08:47 AM
Sounds good, you can test here:

http://wiki.project1999.com/Stein_of_Moggok

(green and teal are present but hidden)

Baler
11-10-2019, 09:40 AM
Can we get a ****ing check on prices to make sure something like 5000000 doesn't slip through and throw off the entire graph?

I already know how corrupt the price tracker on the wiki is but it's annoying when the largest portion of it shown is broken.

Omzy
11-10-2019, 03:05 PM
@loramin - If you think you'd make quick progress on the front end, go for it. Or we could maybe get a Discord channel and chat about it back and forth until we come up with something. I setup a mediawiki on my local machine and have the tracker installed, but it would take some time to process how it functions and where to make changes and I've got several competing things right now. It's good to see Ravhin is available to help and has already made logs for each server uploadable :)

@Baler, there is already an outliers check in the algorithm

Baler
11-10-2019, 03:07 PM
@Baler, there is already an outliers check in the algorithm
must be new-er then.

edit: https://wiki.project1999.com/Velium_Blue_Diamond_Bracelet
All Time Avg
1688470 ± 60165109

All Time Range
1 / 2147483647

https://wiki.project1999.com/Black_Sapphire_Velium_Necklace

editedit: here is an example of data that's far below price which would affect the graph dramatically
https://wiki.project1999.com/Crown_of_King_Tranix

I hope you'll please excuse my forum behavior for I try to put my best foot forwards for the wiki.
These are not demands but merely concerns for an issue I've noticed.

loramin
11-10-2019, 03:26 PM
It's done: thanks to Ravhin the wiki now has auction trackers for every server!

https://i.imgur.com/mWvUilj.gif

@loramin - If you think you'd make quick progress on the front end, go for it. Or we could maybe get a Discord channel and chat about it back and forth until we come up with something. I setup a mediawiki on my local machine and have the tracker installed, but it would take some time to process how it functions and where to make changes and I've got several competing things right now. It's good to see Ravhin is available to help and has already made logs for each server uploadable :)

I made quick progress :)

BUT ... it's awesome that you have a "dev instance" of media wiki, and as I'm sure Ravhin will agree there are LOTS of ideas for things that people would love to see that are server-side only, that he just doesn't have time for.

For that matter, there are plenty of things that are front-end only, that I don't have time for. On that end, you can see the entirety of the wiki's front-end code at:

http://wiki.project1999.com/MediaWiki:Common.js

There are sub-files for various parts of the wiki (eg. the Per-Level Hunting Guide has a ton of unique filtering logic, so got its own JS file), but you can see them all referenced from that one. You'll need me (or another wiki admin) to add new JS (or CSS) code, but by using the browser dev tools you can write/test such code completely independently, and then just send it to an admin to be added when it's ready.

Whether you, or anyone else, wants to help on the front-end, back-end or some combination, we'd all welcome more enhancements. And if you have any questions, just ask me (unless it's PHP-related, in which case you have to pester Ravhin :)).

Baler
11-10-2019, 03:36 PM
First, Thank You Ravhin.
It's done: thanks to Ravhin the wiki now has auction trackers for every server!


Is it complete?
This is what I see with firefox

https://i.imgur.com/9neDz18.png

Omzy
11-10-2019, 04:07 PM
Excellent work Ravhin and Loramin! I am also seeing the blank tab box on most items, which may be a small bug with it, but the items it is working on looks perfect! I haven't been able to test the cookie/tab saving yet.

Baler
11-10-2019, 04:16 PM
https://wiki.project1999.com/Stein_of_Moggok
https://i.imgur.com/bdRBLQj.gif

Ah okay I see now. Yeah that's amazing :D

loramin
11-10-2019, 05:07 PM
Excellent work Ravhin and Loramin! I am also seeing the blank tab box on most items, which may be a small bug with it, but the items it is working on looks perfect! I haven't been able to test the cookie/tab saving yet.

Cookie- (or rather "localStorage-") saving isn't in yet: it's a future enhancement I'll make when I can find the time.

Wallicker
11-10-2019, 06:00 PM
Doesn’t seem to be working for anything except the linked stein of moggok

Ravhin
11-10-2019, 08:45 PM
I nuked the entire cache (poor server), should be working globally now.

p.s. Baler there is a new interface for admins to fix bad prices, so just bring any (like those) to their attention

loramin
11-11-2019, 10:51 AM
I nuked the entire cache (poor server), should be working globally now.

p.s. Baler there is a new interface for admins to fix bad prices, so just bring any (like those) to their attention

https://i.imgur.com/Oe7KX0d.gif

Baler
11-11-2019, 11:22 AM
I nuked the entire cache (poor server), should be working globally now.

p.s. Baler there is a new interface for admins to fix bad prices, so just bring any (like those) to their attention

Excellent news. Thank you so, so much for continuing to serve the project 1999 players via the wiki. My quip about bad auction prices was mostly RnF banter. I'm certain a majority of users will use the auction tracker responsibly.