 |
 |
 |
HV Script Thread, Discuss your creations. Includes guidelines and infos for script creation (2020-02-28 upd) |
|
May 31 2012, 23:23
|
hzqr
Group: Gold Star Club
Posts: 4,672
Joined: 13-May 09

|
hvma3.user.zip ( 3.7k )
Number of downloads: 166 New version of this that adds [ i1194.photobucket.com] monster data (you'll need to scan each monster beforehand to record its type, though).
|
|
|
Jun 1 2012, 22:02
|
youngfolk
Group: Members
Posts: 336
Joined: 6-November 10

|
Thanks for that, Tiap.
|
|
|
|
 |
|
Jun 6 2012, 17:53
|
Ilirith
Group: Gold Star Club
Posts: 513
Joined: 31-July 08

|
QUOTE(Ilirith @ Jun 6 2012, 04:45)  I figured out what broke the Shrine tracking and initial Proficiency gathering. Apparently if i enable Column View, then it won't get far enough in the if/else routines. Fixed it and i added Spiritual to the proficiency sidebar as well. Download below (IMG:[ invalid] style_emoticons/default/smile.gif) The fix is just the normal HVSTAT with the fixed column view condition plus having added Spiritual to the proficiency sidebar.
HVSTAT_5220fix.ZIP ( 158.81k )
Number of downloads: 99The fixaddon contains both fixes as well as an addition to the Battle Summary, you can now have it show some of your proficiency gains. I added it for when i'm grinding proficiency, its nice to be able to see how much it increased, without having to write down your proficiencies manually. It is enabled by default just as the normal battle summary is, but it can be disabled in the options.
HVSTAT_522fixaddon.zip ( 159.07k )
Number of downloads: 62Thought i'd might as well add it here. of course the fixaddon is by no means an actual release of HVSTAT, its just my own version in case someone wanted the proficiency summary that i used. [Edit] I finished the Proficiency summary, it can now show all proficiencies, as well as you can enable/disable which kind of proficiencies you want shown, hopefully cutting abit down on eventual clutter.
HVSTAT_522_profsum.ZIP ( 159.41k )
Number of downloads: 93 This post has been edited by Ilirith: Jun 8 2012, 21:37
|
|
|
|
 |
|
Jun 11 2012, 09:35
|
TheGreyPanther
Group: Gold Star Club
Posts: 3,764
Joined: 8-April 11

|
QUOTE(LangTuTaiHoa @ May 1 2012, 19:39)  Done: Monster lab next-previous links. The script adds 2 links to move to the next or previous monsters. Edit the loop variable at the start for 2 modes: loop mode: pressing next on the last monster brings you back to the first, and vice versa as pressing previous on the first monster. No loop mode: pressing next on the last monster and previous on the first monster do nothing. Default is loop mode. Visit the main monster list once for it to remember the number of monsters.Download:
monsterlabnextprev1.0.zip ( 890bytes )
Number of downloads: 337
If it doesn't work in your FF, use this version
monsterlabnextprev1.1forFF.zip ( 901bytes )
Number of downloads: 335
The new version of Monster Lab breaks this script. The next-previous links only appear on the "Skill Editor" tab and when used they send you to the correct monster but to it's "Monsters Stats" tab making going through all the monsters more tedious again. Hoping you would be so kind as to make your wonderful script work on all three tabs? Thank you beforehand from TheGreyPanther! Edit: If understand the code correctly the problem is the placement of the links i.e. the line CODE var pane = document.getElementById('skillform').children[2]; must be replaced by something else for the "Monster Stats" and "Chaos Upgrades" tab. Remember enough programming to figure that out but not enough to find with what is should be substituted. This post has been edited by TheGreyPanther: Jun 11 2012, 10:34
|
|
|
|
 |
|
Jun 11 2012, 12:10
|
Ilirith
Group: Gold Star Club
Posts: 513
Joined: 31-July 08

|
replace CODE var pane = document.getElementById('skillform').children[2];
with CODE var pane = document.getElementById('upgrade_text');
|
|
|
|
 |
|
Jun 11 2012, 12:54
|
TheGreyPanther
Group: Gold Star Club
Posts: 3,764
Joined: 8-April 11

|
Thank you Ilirith! It sort of works. The problem is that when you hoover over the crystal and chaos token bars the tooltip showing how many are needed for the next level appear right where the previous-next links are placed. The links disappear until you reload the page or move to another tab. On the "Monsters Stats" tab, the stat part at the bottom moves when you hoover over the bar but that's probably a custom font problem. Edit: Replacing it simply with your suggestion removes the links from the "Skill Editor" so to get it on all tabs I simply made an if-else. CODE if(location.href.indexOf('http://hentaiverse.org/?s=Bazaar&ss=ml&slot='+i.toString()+'&pane=skills') != -1) { var pane = document.getElementById('skillform').children[2]; } else { var pane = document.getElementById('upgrade_text'); } This post has been edited by TheGreyPanther: Jun 11 2012, 14:02
|
|
|
|
 |
|
Jun 11 2012, 20:18
|
Ilirith
Group: Gold Star Club
Posts: 513
Joined: 31-July 08

|
CODE
// ==UserScript== // @name Monster lab next-previous link // @namespace http://hentaiverse.org // @version 1.0 // @description Displays links to next-previous monsters // @match http://hentaiverse.org/?s=Bazaar&ss=ml* // @copyright 2012+, LangTuTaiHoa // ==/UserScript==
var loop = true;
if(location.href.indexOf('http://hentaiverse.org/?s=Bazaar&ss=ml&slot=') != -1) { var i = parseInt(location.href.substring(44, location.href.length)); var prev, next; if(loop) { if(i == 1) prev = localStorage.monsterlabCount; else prev = i - 1; if(i == localStorage.monsterlabCount) next = 1; else next = i + 1; } else { if(i == 1) prev = 1; else prev = i - 1; if(i == localStorage.monsterlabCount) next = localStorage.monsterlabCount; else next = i + 1; } if(location.href.indexOf('http://hentaiverse.org/?s=Bazaar&ss=ml&slot='+i.toString()+'&pane=skills') != -1) { var pane = document.getElementById('skill_pane'); var mPage = '&pane=skills'; } else { if(location.href.indexOf('http://hentaiverse.org/?s=Bazaar&ss=ml&slot='+i.toString()+'&pane=chaos') != -1) { var pane = document.getElementById('chaos_pane'); var mPage = '&pane=chaos'; } else { var pane = document.getElementById('stats_pane'); var mPage = '';
}} pane.style.cssText = 'width:700px; margin:10px auto'; var div = document.createElement("div"); div.style.cssText = "float:left; width: 200px; font-weight: bold; font-size: 11pt; display: inline; "; var prevA = document.createElement("a"); prevA.href = 'http://hentaiverse.org/?s=Bazaar&ss=ml&slot=' + prev.toString() + mPage; prevA.style.cssText = 'text-decoration:none;'; prevA.innerText = '<< Previous Monster <<'; div.appendChild(prevA); var div2 = document.createElement("div"); div2.style.cssText = "float:right; width: 200px; font-weight: bold; font-size: 11pt; display: inline; "; var nextA = document.createElement("a"); nextA.href = 'http://hentaiverse.org/?s=Bazaar&ss=ml&slot=' + next.toString() + mPage; nextA.style.cssText = 'text-decoration:none;'; nextA.innerText = '>> Next Monster >>'; div2.appendChild(nextA); pane.appendChild(div); pane.appendChild(div2); } else { var monsters = document.getElementsByClassName('ms msa'); localStorage.monsterlabCount = monsters.length; }
Will display Previous/Next on the Stats page, Skill Editor and the Chaos Page, as well as the links will point to the same page for the previous/next monster.
|
|
|
|
 |
|
Jun 11 2012, 20:48
|
TheGreyPanther
Group: Gold Star Club
Posts: 3,764
Joined: 8-April 11

|
QUOTE(Ilirith @ Jun 11 2012, 20:18)  code... Will display Previous/Next on the Stats page, Skill Editor and the Chaos Page, as well as the links will point to the same page for the previous/next monster.
Thank you Ilirith you are a king among kings! (IMG:[ invalid] style_emoticons/default/biggrin.gif)
|
|
|
|
 |
|
Jun 11 2012, 21:55
|
Death Grunty
Group: Gold Star Club
Posts: 2,788
Joined: 18-November 09

|
This one's very simple. You can change color of predefined keywords in the bazaar. (Obviously works only with custom fonts.) Best used for fast scrolling the bazaar all filter. The types you're interested in are then highlighted in different colors. The code is easy to edit too. So replace the keywords and/or colors and you're done. Oh and fyi, the ones at the bottom of the keywords list take precedence. So if you see a Magnificent Phase Robe, it'll be blue. CODE // ==UserScript== // @name Bazaar Highlights // @namespace // @description Highlight MW Equipment types. // @include http://hentaiverse.org/?s=Bazaar&ss=es* // @include http://hentaiverse.org/pages/showequip.php?eid=*
// ==/UserScript==
(function() {
// key: word to match, value a dictionary of style elements to apply // to blocks containing that word. const COLOR_MAP = { "helmet of the battlecaster": {"color": "orange"}, "breastplate of the battlecaster": {"color": "orange"}, "gauntlets of the battlecaster": {"color": "orange"}, "leggings of the battlecaster": {"color": "orange"}, "boots of the battlecaster": {"color": "orange"}, "phase": {"color": "red"}, "power helmet of slaughter": {"color": "red"}, "power armor of slaughter": {"color": "red"}, "power gauntlets of slaughter": {"color": "red"}, "power leggings of slaughter": {"color": "red"}, "power boots of slaughter": {"color": "red"}, "shade": {"color": "red"}, "shield helmet of the barrier": {"color": "red"}, "shield cuirass of the barrier": {"color": "red"}, "shield gauntlets of the barrier": {"color": "red"}, "shield greaves of the barrier": {"color": "red"}, "shield sabatons of the barrier": {"color": "red"}, "ethereal": {"color": "red"}, "magnificent": {"color": "blue"}, "legendary": {"color": "blue"}, "trimmed phase": {"color": "blue"}, };
function highlightText() {
var allTextNodes = document.evaluate('//text()', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < allTextNodes.snapshotLength; i++) { var ele = allTextNodes.snapshotItem(i); for (var key in COLOR_MAP) { if (ele.nodeValue.toLowerCase().indexOf(key) != -1) { // TODO(ark) perhaps make it only highlight the word? var span = document.createElement("span"); ele.parentNode.replaceChild(span, ele); span.appendChild(ele); for (var css in COLOR_MAP[key]) { span.style[css] = COLOR_MAP[key][css]; } } } } }
highlightText(); })();
bazaarhighlights.zip ( 930bytes )
Number of downloads: 794This post has been edited by Death Grunty: Jun 12 2012, 00:41
|
|
|
|
 |
|
Jun 11 2012, 23:58
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(Death Grunty @ Jun 11 2012, 23:55)  This one's very simpe. You can change color of predefined keywords in the bazaar. (Obviously works only with custom fonts.) Best used for fast scrolling the bazaar all filter. The types you're interested in are then highlighted in different colors. The code is easy to edit too. So replace the keywords and/or colors and you're done.
Oh and fyi, the ones at the bottom of the keywords list take precedence. So if you see a Magnificent Phase Robe, it'll be blue. (IMG:[ i2.lulzimg.com] http://i2.lulzimg.com/d1d13c676b.png) This post has been edited by Evil Scorpio: Jun 12 2012, 00:03
|
|
|
|
 |
|
Jun 13 2012, 10:18
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
A variation of Death Grunty's script. This one is for Item Shop to track down rare materials. FYI it works together with Grunty's script without any problems. Default color settings and preferences:Binding of Destruction Binding of Slaughter Mid-Grade Metals Mid-Grade Wood Binding of Protection Binding of the Fleet Binding of Friendship Binding of Isaac Binding of Balance Binding of Focus Crystallized Phazon High-Grade Metals High-Grade Wood Voidseeker Shard Aether Shard Featherweight Shardjs file:
itemshophighlights.zip ( 946bytes )
Number of downloads: 875CODE // ==UserScript== // @name Item Shop Highlights // @namespace // @version 1.0 // @description Highlight rare materials. // @include http://hentaiverse.org/?s=Bazaar&ss=is*
// ==/UserScript==
(function() {
// key: word to match, value a dictionary of style elements to apply // to blocks containing that word. const COLOR_MAP = { "binding of destruction": {"color": "red"}, "binding of slaughter": {"color": "red"}, "mid-grade metals": {"color": "orange"}, "mid-grade wood": {"color": "orange"}, "binding of protection": {"color": "green"}, "binding of the fleet": {"color": "green"}, "binding of friendship": {"color": "green"}, "binding of isaac": {"color": "green"}, "binding of balance": {"color": "green"}, "binding of focus": {"color": "green"}, "crystallized phazon": {"color": "blue"}, "high-grade metals": {"color": "blue"}, "high-grade wood": {"color": "blue"}, "voidseeker shard": {"color": "darkviolet"}, "aether shard": {"color": "darkviolet"}, "featherweight shard": {"color": "darkviolet"}, };
function highlightText() {
var allTextNodes = document.evaluate('//text()', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < allTextNodes.snapshotLength; i++) { var ele = allTextNodes.snapshotItem(i); for (var key in COLOR_MAP) { if (ele.nodeValue.toLowerCase().indexOf(key) != -1) { // TODO(ark) perhaps make it only highlight the word? var span = document.createElement("span"); ele.parentNode.replaceChild(span, ele); span.appendChild(ele); for (var css in COLOR_MAP[key]) { span.style[css] = COLOR_MAP[key][css]; } } } } }
highlightText(); })(); This post has been edited by Evil Scorpio: Jun 13 2012, 10:30
|
|
|
|
 |
|
Jun 19 2012, 19:07
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
Another highlighting script. This one made for Forge, Inventory and Equipment Selection screens. It highlights different types of equipment for easier orientation. I made it for myself (I have a poor vision), but maybe it'll be useful for somebody else. Color preferences are easily changeable. You can find a full list of color codes [ vvz.nw.ru] here, for example. Default color settings:Standart Items:- Phase
- Gossamer
- Kevlar
- Shade
- Shield
- Power
- Dragon Hide
- Silk
- Ethereal
Old items: - Gold, Silver, Bronze, Diamond, Ruby, Emerald, Mithril, Prism, Platinum, Steel, Titanium, Iron
- -trimmed, -adorned
- Mitons, Hauberk, Coif
js file:
playerequipmenthighlights.zip ( 1019bytes )
Number of downloads: 726CODE // ==UserScript== // @name Player Equipment Highlights // @namespace // @version 1.0 // @description Highlights players equipment // @include http://hentaiverse.org/?s=Bazaar&ss=fr* // @include http://hentaiverse.org/?s=Character&ss=in* // @include http://hentaiverse.org/?s=Character&ss=eq&slot* // @exclude http://hentaiverse.org/?s=Bazaar&ss=fr&filter=Shield
// ==/UserScript==
(function() {
// key: word to match, value a dictionary of style elements to apply // to blocks containing that word. const COLOR_MAP = { "phase": {"color": "royalblue"}, "gossamer": {"color": "teal"}, "kevlar": {"color": "darkgreen"}, "shade": {"color": "darkviolet"}, "power": {"color": "red"}, "shield": {"color": "darkblue"}, "dragon hide": {"color": "chocolate"}, "silk": {"color": "orchid"}, "ethereal": {"color": "mediumorchid"}, "gold": {"color": "gray"}, "silver": {"color": "gray"}, "bronze": {"color": "gray"}, "diamond": {"color": "gray"}, "ruby": {"color": "gray"}, "emerald": {"color": "gray"}, "mithril": {"color": "gray"}, "prism": {"color": "gray"}, "platinum": {"color": "gray"}, "steel": {"color": "gray"}, "titanium": {"color": "gray"}, "iron": {"color": "gray"}, "-trimmed": {"color": "gray"}, "-adorned": {"color": "gray"}, "-tipped": {"color": "gray"}, "chainmail": {"color": "gray"}, "mitons": {"color": "gray"}, "coif": {"color": "gray"}, "hauberk": {"color": "gray"}, };
function highlightText() {
var allTextNodes = document.evaluate('//text()', document, null, XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null);
for (var i = 0; i < allTextNodes.snapshotLength; i++) { var ele = allTextNodes.snapshotItem(i); for (var key in COLOR_MAP) { if (ele.nodeValue.toLowerCase().indexOf(key) != -1) { var span = document.createElement("span"); ele.parentNode.replaceChild(span, ele); span.appendChild(ele); for (var css in COLOR_MAP[key]) { span.style[css] = COLOR_MAP[key][css]; } } } } }
highlightText(); })();
|
|
|
|
 |
|
Jun 19 2012, 19:41
|
TheGreyPanther
Group: Gold Star Club
Posts: 3,764
Joined: 8-April 11

|
I find it difficult to manage karma imbuement sometimes. So here I formally request a karma script. I described what it would ideally would do in Ask the Experts! which I repost here. QUOTE(TheGreyPanther @ Jun 6 2012, 23:20)  Have been wondering how long it take to recharge your Karma Power. I looked in EHWiki - Karma which says Does this mean that it always takes 3 hours and 20 minutes to completely recharge? Is there a way to make sure Karmic Exhaustion doesn't kick in when you imbue somebody? It's a two way street so it isn't enough to check UCP - Karma. Imbuing Karma correctly can be quite a pain. Karma Notifier is very nice but not especially useful as to find out that your Karma Bar is full you must refresh a page in the forum where you have posted until you get a pop-up. Something like HV Random Encounter Notification would be nice that counts down to full Karma Power. Combined with Quick Karma Imbuing Script and a way to avoid Karma Exhaustion would be ideal. LangTuTaiHoa is apparently behind all this scripts for which I am sincerely grateful. I know that not many care about Karma but I do and hopefully somebody else who reads this and have more programming skills then I. To avoid Karma Exhaustion it should save your imbues and UCP - Karma and calculate and show what KE will affect an imbue and when it will wear off. This post has been edited by TheGreyPanther: Jun 19 2012, 19:43
|
|
|
|
 |
|
Jun 19 2012, 20:10
|
hentai_fusion
Group: Gold Star Club
Posts: 33,644
Joined: 14-August 09

|
can help modify the script to include monsters?...
edit: nvm kind of figured it out myself...
This post has been edited by hentai_fusion: Jun 19 2012, 20:14
|
|
|
|
 |
|
Jun 24 2012, 07:17
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(FarFaraway @ Jun 17 2012, 00:15)  >>UPDATE Hentaiverse Shop System 0.1<<Hello out There Here is a mod. The price came from the bazar. Fell free for some advice to create realistic values. NEW: - Use Bazar Price(!!!)
- Higher Prices for rare Item combination (power slouther,...) {thx to etothex}
- update: jQuery 1.7.2
Comming soon: - Add all Equip with one button
- Add all items to the list
- muck out the code (not to soon)
Install Link: [ userscripts.org] Hentaiverse Shop System @ [ userscripts.org] userscripts.orgseek: 50x50 png Symbol for "add all equips" thx @ Evil Scorpio50x50 png Symbol for "add good and better equips" thx @ Evil Scorpio50x50 png Symbol for "add only the better equip" thx @ Evil Scorpio50x50 png Symbol for "add all items" thx @ Evil Scorpiooptional: Symbol for the script thx @ Evil Scorpio Thanks @ aoyamamotoko(for the script); el h (i get the clue with the price there, but with a worse way), sigo8 (not important for this script, but a motivation to create a personal script), etothex (simply helpful) and Evil Scorpio (images on request - wahoooo!) A replacement for Equipment Shop Helper based on its code.
|
|
|
|
 |
|
Jun 24 2012, 10:13
|
hentai_fusion
Group: Gold Star Club
Posts: 33,644
Joined: 14-August 09

|
just tried out the script above but it doesn't feel like it makes use of the bazaar price...
anyone has a script that gets the price from the bazaar? or figures out the equation that determines the bazaar price?
|
|
|
Jun 24 2012, 17:00
|
FarFaraway
Group: Members
Posts: 172
Joined: 31-March 09

|
QUOTE(hentai_fusion @ Jun 24 2012, 10:13)  anyone has a script that gets the price from the bazaar? or figures out the equation that determines the bazaar price?
Tip: Try $BAZARPRICE or $BAZARPRICE50 The first is the pure bazarprice and the second is the bazarprice with a 50% addition PS: Try out the new and improved 0.2 Version. Add everything just with 1 button. It's a kind of magic ;-) This post has been edited by FarFaraway: Jun 24 2012, 17:03
|
|
|
|
 |
|
Jun 24 2012, 17:48
|
Evil Scorpio
Group: Gold Star Club
Posts: 6,565
Joined: 9-May 10

|
QUOTE(FarFaraway @ Jun 24 2012, 19:00)  Tip: Try $BAZARPRICE or $BAZARPRICE50
The first is the pure bazarprice and the second is the bazarprice with a 50% addition
PS: Try out the new and improved 0.2 Version. Add everything just with 1 button. It's a kind of magic ;-)
You can make the new post here with a new version description and link. It would be easier. I've made the quote of your post just to show people the script. (IMG:[ invalid] style_emoticons/default/smile.gif)
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|