Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Make equipment ranges up to date again!, Everybody, please join in and help
You can count on me!
Did you install the HV Item script?
Yes, of course! [ 14 ] ** [66.67%]
No [ 7 ] ** [33.33%]
For creators of scripts that use the equipment range data: did you update the DB credentials?
Yes, of course! [ 0 ] ** [0.00%]
No [ 2 ] ** [9.52%]
I am not the creator of such a script, sorry [ 19 ] ** [90.48%]
Total Votes: 42
Guests cannot vote 

 
post Apr 3 2019, 08:52
Post #1
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 13,509
Joined: 19-February 16
Level 500 (Ponyslayer)


The HentaiVerse needs you! We will build that database!

Seriously: in the past, lots of players submitted their equipment ranges into the database. That database got polluted because there was no good filter that blocked obsolete equipment. That has been fixed by decondelite (thx!)

Please, install the script at the bottom of this post

And if you are the creator of a script that uses the equipment range data, please contact decondelite and make sure you have the up-to-date credentials for the database.

How to feed the equipment database
Simply add the following script to your Tampermonkey in Chrome/Firefox, and you don't even need to think about it.
CODE
// ==UserScript==
// @name           HV - Items
// @namespace      hvitems
// @version        2.1
// @description    Registers equipment in the equipment database
// @author         Jenga, decondelite
// @grant          none
// @match          *://*.hentaiverse.org/?s=Bazaar&ss=es*
// @match          *://*.hentaiverse.org/?s=Character&ss=in*
// @match          *://*.hentaiverse.org/?s=Forge&ss=sa*
// @match          *://*.hentaiverse.org/?s=Bazaar&ss=fr*
// ==/UserScript==

var equipment = [];
for(var eid in dynjs_equip) {
    // Skips equipment before v0.83 (bugged power was during v0.82)
    if (eid<74306995) continue;
    equipment.push({"eid":eid, "key":dynjs_equip[eid].k});
}

if(equipment.length > 0){
  var httpReq = new XMLHttpRequest();
  var data = new FormData();
  data.append('action', 'store');
  data.append('equipment', JSON.stringify(equipment));
  httpReq.open("POST","https://hvitems.niblseed.com/");
  httpReq.send( data );
}


Thank you!

This post has been edited by DJNoni: Apr 3 2019, 08:54
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 4 2019, 01:25
Post #2
sickentide



sexromancer
*******
Group: Catgirl Camarilla
Posts: 1,355
Joined: 31-August 10
Level 500 (Ponyslayer)


i have installed this and went through my inventory containing some items outside the known ranges. will the new ranges show up in live percentile ranges by themselves, or will this take some work on Superlatanium's part?

and since item ID is a simple incrementing number, would it be practical to simply crawl through all IDs from the obsolete cutoff point to the newest and update the ranges with data from all extant, unforged items?

This post has been edited by sickentide: Apr 4 2019, 01:30
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 4 2019, 07:29
Post #3
Noni



Hataraku Noni-sama
***********
Group: Catgirl Camarilla
Posts: 13,509
Joined: 19-February 16
Level 500 (Ponyslayer)


QUOTE(sickentide @ Apr 4 2019, 01:25) *

i have installed this and went through my inventory containing some items outside the known ranges. will the new ranges show up in live percentile ranges by themselves, or will this take some work on Superlatanium's part?

and since item ID is a simple incrementing number, would it be practical to simply crawl through all IDs from the obsolete cutoff point to the newest and update the ranges with data from all extant, unforged items?


This would take some work on Superlatanium's part, he has to upldate his DB connection credentials. I hope he did that, but he must be very busy because he doesn't respond.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Apr 4 2019, 08:12
Post #4
KitsuneAbby



Curse God of the Hentai Shrine
**********
Group: Catgirl Camarilla
Posts: 7,572
Joined: 12-July 14
Level 500 (Ponyslayer)


QUOTE(sickentide @ Apr 3 2019, 23:25) *

i have installed this and went through my inventory containing some items outside the known ranges. will the new ranges show up in live percentile ranges by themselves, or will this take some work on Superlatanium's part?

and since item ID is a simple incrementing number, would it be practical to simply crawl through all IDs from the obsolete cutoff point to the newest and update the ranges with data from all extant, unforged items?

Crawling? That's not a thing we do with SQL servers.
Especially when we're talking about millions of equipment entries, each having around 10-20 entries of stats.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 


Lo-Fi Version Time is now: 7th September 2025 - 16:27