Loading. Please Wait... 
 |
 |
 |
[ABANDONED] HV - Mini Shop Helper 1.2.4 (2013-07-15), compatibility patch provided by simplesimon32 (2014-10-28) |
|
Nov 9 2012, 01:05
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
It should go without saying: I am no longer actively maintaining this userscript*simplesimon32 has provided two updates at posts 76 and 77QUOTE(simplesimon32 @ Oct 28 2014, 17:12)  Since it's been so long, I've taken the liberty of hacking together a version that works with the current patch. Only tested with Firefox v31, but nothing I changed should impact compatibility.
hvmsh_1.2.5.user.zip ( 25.59k )
Number of downloads: 289ChangeLog: v1.2.5 (2014-10-28) - Updated to be compatible with latest patch (v0.81) - There are also 3 new tags: CODE $COND - the equipment's current condition $DUR - the equipment's durability (max condition) $DURP - current condition, as a percent of durability
- Increased the max length of text in the search filter from 8 to 32 QUOTE(simplesimon32 @ Oct 28 2014, 17:13)  (may as well make use of this double-post) Done. You can either download this version (which is otherwise identical to 1.2.5), or simply change the second @match line in 1.2.5.
hvmsh_1.2.5.1.user.zip ( 25.6k )
Number of downloads: 301ChangeLog: v1.2.5.1 (2014-10-28) - Added support for Forge Enchantment page. *the last update prior to this post was made on Jul 18 2013, 22:45; original post below ----------- I made a script that: - Provides scaled, equipment-specific stats (using functions from the equipment scaling script) - Allows equipment code and price tagging (saved via HTML5 LocalStorage) - Generates BBCode with all of the above - And a whole lot more! (All without external JS libraries--that's why it's "mini"!) ----------- Abridged from initial release: - You have to enter in your own information (only once, thankfully). Nothing here is automatic. - Disabling hotkeys is recommended, to prevent accidental salvaging and whatnot ( item menu script recommended, instead) - The character limits are arbitrarily set to 8 for the code, and 32 for the price tags - With $EZSTATS, relevant stats are displayed for most equipment--special thanks to <3 MidNightPass <3 for help with this bit! ----------- Instructional video (1.2.2--now with captions!): Usage in a nutshell:- Clicking on the HV MSH button with equipment checked = BBCode generated - Clicking on the HV MSH button without equipment checked, or right clicking it anytime = options screen - Right clicking on a tagging field deletes the LocalStorage key ----------- Download here (latest):
hvmsh_1.2.4.user.zip ( 25.83k )
Number of downloads: 821Pay what you want for it. Don't be stingy if you're making millions off of this ;)Don't know what's new? Scroll down to the next post! Don't know what the EZ BBCode placeholders are? Scroll down even more! ----------- Humble Donation Hall of Fame: <3<3 cirrux <3<3<3<3<3<3 jenga201 <3<3<3<3<3<3<3<3 Lement <3<3<3<3 <3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3 pentiuminside <3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3<3 ----------- Doesn't work with the HV Font Engine. Use a Custom Font instead, example:  ----------- Old versions:
hvmsh_1.2.3.user.zip ( 25.77k )
Number of downloads: 185
hvmsh_1.2.2.user.zip ( 9.11k )
Number of downloads: 198
hvmsh_1.2.1.user.zip ( 8.08k )
Number of downloads: 128
hvmsh_1.2.user.zip ( 6.27k )
Number of downloads: 190----------- Planned/potential updates, in no particular order of importance: - Data import/export. Sensible storage management. - Option button and screen (incl. toggle checkbox for enabling hotkeys, etc.) 1.2.1 - Completely hide unset/empty price fields by default (only displayed on-hover/when there's an actual value) cancelled? - Utilize Equipment Ranges data, where appropriate ~ next update? 1.2.3 aww yeah, baby- Easy BBCode output customization, e.g. [$TAG] $URL | $PRICE | $STATS ~ next update 1.2.1 - Fix textarea "tabbing" order (checkbox>tag>price). Add slight padding to buffer out the equipment info hovers. 1.2.1 + cancelled/later? - Checkbox 'save states' (item sets) ~ next update? - dropdown mass-select menus? add/save button placement? (in addition to all-checkbox) - add bbcode by type/prefix/suffix+dropdown? ~ next update? 1.2.3 cancelled in favor of filter - 'auto-check equips with at least one maxed stat' button; after eq range data? dumb - make it work with HentaiVerse Font Engine? low priority. - $#0 and $?#0 incrementing: options for 'start at' and 'increment by' 1.2.2, options later on? - style checkboxes, emphasize/style checked equipment (highlight/bold/color?) 1.2.2 - plagiarize HVSS interesting stats - fix issues with clicking and dragging tagging textareas in equipment panes - reposition columns if others are hidden? - initial version of install is recorded, but should change display to settings.version -> defaultSettings.version 1.2.3 - copy bazaar price to item tag (or multiple thereof?); check items + click price tag column header? - clicking name tag header = tag pop-up box for mass tagging by ezbbcode pattern? - tooltips, dropdown menu for HVMSH button? 1.2.5, tooltips - $DATE (return mm-dd?) useful-ish for knowing how long an item has been sitting in your shop nah This post has been edited by blue penguin: Jan 16 2017, 03:49
|
|
|
|
 |
|
Jun 14 2013, 14:20
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
Changelog----------- 1.1.x (2013-06-10) - Forked HV -get eid & BBCode - Added cruncher/parser from Hentaiverse Equipment Comparison - Added LocalStorage textarea fields for tagging ----------- 1.2 (2013-06-15) - Initial public release - Stylistic changes ----------- 1.2.1 (2013-06-28) - Wrote a new lightbox from scratch - Settings window added, activates when nothing is checked - Rewrote a couple functions, added a whole bunch more - Implemented rudimentary custom BBCode formatting with the following: QUOTE $TAG $URL $NAME $PRICE $EZSTATS - duh $ADB - Attack Damage $ACB - Attack Crit Chance $AAB - Attack Accuracy $BC - Block Chance $BU - Burden $DMG - Damage $EC - Evade Chance $IN - Interference $MA - Magic Accuracy $MCB - Magic Crit Chance $MC - Mana Conservation $MDMG - Magic Damage $PC - Parry Chance $PM - Physical Mitigation $RC - Resist Chance ----------- 1.2.2 (2013-06-30) - Tweaked initial settings setup - Rewrote how options are generated - Moved stuff out of loops that weren't supposed to be there - Tweaked some plagiarized functions - Textareas are now "invisible" when empty and not being interacted with - Added headers for $TAG and $PRICE columns - Unset $TAG and $PRICE tags no longer spit out any value (previously *NEW* and *0K*) - You may delete the LocalStorage key for a price/tag field by right-clicking on it - Right-clicking the HVMSH button now also opens the settings window, even with items checked - Checking a checkbox highlights that equipment item, when you use the individual checkbox - $EZSTATS no longer wraps colour tags around the stats by default - Changed the default output format - Added $#, $E#, $TYPE, $ATYPE, $CAT, and $ACAT: QUOTE $# - counts from 0000 to 1000 $E# - counts based on type eg, TH-S-10 $TYPE - returns type, eg Scythe $ATYPE - returns uppercase letters in type $CAT - returns category, eg Two-Handed $ACAT - returns uppercase letters in category ----------- 1.2.3 (2013-07-15) - defaultSettings.version is now displayed, rather than settings.version (initial install version) - Added a textarea for easy equipment filtering (right-click to clear/reset it) - Select-all checkbox now has proper highlight behavior, only applies to visible equipment, and is unchecked if you activate individual checkboxes - Multi-line EZBBCode output formatting is now supported - Corrected stat display for: $MA $MCB $MC ( thanks, pentiuminside!) - Shortened the output for: $BC $BU $EC $IN $PC $RC - Padded $E#'s output to have at least two digits - Introduced new markup that output only raw numbers: (see this post for more details) QUOTE &ADB &ACB &AAB &BC &BU &DMG &EC &IN &MA &MCB &MC &MDMG &PC &PM &RC - same as $ counterparts, but just the numbers - Added $SLOT, which returns the item slot an armor piece would take, or how many a weapon would take: QUOTE One-handed Weapon - 1H Two-handed Weapon - 2H Staff - 2H Shield - 1H Armor - HE, BD, HA, LG, FT (for head, body, hands, legs, and feet, respectively) - All equipment ranges data was scraped and incorporated as an array (~70KB). [ jsfiddle.net] http://jsfiddle.net/59r8V/ was created for this purpose. - The following are available (more may be added at a later point, to access existing data): QUOTE ~ADB ~ACB ~AAB ~BC ~BU ~DMG ~EC ~IN ~MA ~MCB ~MC ~MDMG ~PC ~PM ~RC - returns Equipment ranges data in 'QMAX±0.0' format, or simply 'QMAX' if close enough (<0.1) !ADB !ACB !AAB !BC !BU !DMG !EC !IN !MA !MCB !MC !MDMG !PC !PM !RC - returns the above, with a stat indicator prefix ~STR ~DEX ~AGI ~END ~INT ~WIS !STR !DEX !AGI !END !INT !WIS - same as above, but for PABs
----------- 1.2.4 (2013-07-15) - Fixed EQ Range placeholders for magic-related stats - Added $MM (and &!~) for Magical Mitigation ----------- 1.2.5 (??) - Added useful functions for Raw JS markup - $TAG and $PRICE now have a maxlength value of 32 - Added mass lock/unlock buttons - Added title attributes for commonly used features This post has been edited by ctxl: Jul 17 2013, 11:10
|
|
|
|
 |
|
Jun 14 2013, 14:21
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
Sample EZ-BBCode markup/output (1.2.3) (available markup, 1.2.4) CODE $TAG $URL $NAME $PRICE $EZSTATS $ADB $ACB $AAB $BC $BU $DMG $EC $IN $MA $MCB $MC $MDMG $MM $PC $PM $RC $# $E# &ADB &ACB &AAB &BC &BU &DMG &EC &IN &MA &MCB &MC &MDMG &MM &PC &PM &RC $TYPE $ATYPE $CAT $ACAT $SLOT !ADB !ACB !AAB !BC !BU !DMG !EC !IN !MA !MCB !MC !MDMG !MM !PC !PM !RC ~ADB ~ACB ~AAB ~BC ~BU ~DMG ~EC ~IN ~MA ~MCB ~MC ~MDMG ~MM ~PC ~PM ~RC ~STR ~DEX ~AGI ~END ~INT ~WIS !STR !DEX !AGI !END !INT !WIS
(1.2.3 default) CODE [$E#] [URL=$URL]$NAME[/URL] !PM !DMG !AAB !ACB !ADB !MA !MDMG !MC !MCB !BC !EC !PC !RC [TH-S-01] Exquisite Demonic Scythe of Slaughter DMG: EMAX+32.6 Acc: EMAX-1.4 Crit: EMAX-0.3 [H-P-01] Fine Power Helmet of Slaughter PMI: SMAX-1.3 Acc: SMAX-3.2 Crit: SMAX-0.8 ADB: SMAX-4.4 [H-P-02] Exquisite Power Armor of Protection PMI: EMAX-0.2 Acc: EMAX-1.2 Crit: EMAX-0.1 ADB: EMAX-4.3 [H-P-03] Exquisite Power Gauntlets of Protection PMI: EMAX-1.1 Acc: EMAX-0.6 Crit: EMAX-0.2 ADB: EMAX-2.6 [H-P-04] Exquisite Power Leggings of Protection PMI: EMAX-0.9 Acc: EMAX-1.2 Crit: EMAX ADB: EMAX-2.6 [H-P-05] Magnificent Power Boots of Protection PMI: MMAX-0.2 Acc: MMAX-0.6 Crit: MMAX-0.3 ADB: MMAX (multi-line example) CODE [$#] [$E#] [URL=$URL]$NAME[/URL] !PM !DMG !AAB !ACB !ADB !MA !MDMG !MC !MCB !BC !EC !PC !RC !STR !DEX !AGI !END !INT !WIS [000] [TH-S-01] Exquisite Demonic Scythe of Slaughter DMG: EMAX+32.6 Acc: EMAX-1.4 Crit: EMAX-0.3 STR: EMAX-2.2 DEX: EMAX AGI: EMAX-1.8 [001] [H-P-01] Fine Power Helmet of Slaughter PMI: SMAX-1.3 Acc: SMAX-3.2 Crit: SMAX-0.8 ADB: SMAX-4.4 STR: SMAX-3.1 DEX: SMAX-1.9 END: SMAX-1.9 [002] [H-P-02] Exquisite Power Armor of Protection PMI: EMAX-0.2 Acc: EMAX-1.2 Crit: EMAX-0.1 ADB: EMAX-4.3 STR: EMAX-2.1 DEX: EMAX-0.3 END: EMAX-1.2 [003] [H-P-03] Exquisite Power Gauntlets of Protection PMI: EMAX-1.1 Acc: EMAX-0.6 Crit: EMAX-0.2 ADB: EMAX-2.6 STR: EMAX-0.6 DEX: EMAX-0.9 AGI: EMAX-1.2 END: EMAX-1.2 [004] [H-P-04] Exquisite Power Leggings of Protection PMI: EMAX-0.9 Acc: EMAX-1.2 Crit: EMAX ADB: EMAX-2.6 STR: EMAX DEX: EMAX-1.8 END: EMAX-0.6 [005] [H-P-05] Magnificent Power Boots of Protection PMI: MMAX-0.2 Acc: MMAX-0.6 Crit: MMAX-0.3 ADB: MMAX STR: MMAX-0.9 DEX: MMAX-0.3 END: MMAX-1.2
(pre-1.2.2 default, via MidNightPass) CODE [$TAG] [URL=$URL]$NAME[/URL] | $PRICE | [color=grey]$EZSTATS[/color] [SC1] Exquisite Demonic Scythe of Slaughter | 2kk | 112.00WD(Void) 27%DOT 4PABs(STR,DEX,AGI,END) LV10[PH2] Fine Power Helmet of Slaughter | 20k | 15.94DMG 5.18PMI 3PABs(STR,DEX,END) LV2[PA1] Exquisite Power Armor of Protection | 200k | 7.60DMG 11.10PMI 3PABs(STR,DEX,END)[PG9] Exquisite Power Gauntlets of Protection | 400k | 6.72DMG 7.74PMI 4PABs(STR,DEX,AGI,END)[PL001] Exquisite Power Leggings of Protection | 400k | 8.45DMG 9.64PMI 3PABs(STR,DEX,END)[PB2] Magnificent Power Boots of Protection | 1m | 8.50DMG 8.03PMI 3PABs(STR,DEX,END) LV3(via pentiuminside) CODE [size=3][b][color=#FF0000][u][_____][/u][/color] [color=#993399][u][№$#0][/u][/color] [u][$E#0][/u][/b] $PM $DMG $AAB $ACB $ADB $MA $MDMG $MC $MCB [url=$URL]$NAME █[/url] [/size] [_____] [№0000] [TH-S-10] DMG: 112.00 Acc: 05.81 Crit: 06.41 Exquisite Demonic Scythe of Slaughter █ [_____] [№0010] [H-P-10] PMI: 05.18 Acc: 01.62 Crit: 00.39 ADB: 15.94 Fine Power Helmet of Slaughter █ [_____] [№0020] [H-P-20] PMI: 11.10 Acc: 04.80 Crit: 01.35 ADB: 07.60 Exquisite Power Armor of Protection █ [_____] [№0030] [H-P-30] PMI: 07.74 Acc: 04.17 Crit: 00.93 ADB: 06.72 Exquisite Power Gauntlets of Protection █ [_____] [№0040] [H-P-40] PMI: 09.64 Acc: 04.80 Crit: 01.35 ADB: 08.45 Exquisite Power Leggings of Protection █ [_____] [№0050] [H-P-50] PMI: 08.03 Acc: 04.22 Crit: 00.73 ADB: 08.50 Magnificent Power Boots of Protection █ This post has been edited by ctxl: Jul 15 2013, 17:35
|
|
|
|
 |
|
Jun 14 2013, 14:42
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
(1.2.5 raw js markup) CODE "[URL="+getURL(alleqdp[i])+"]"+data.Info['Name']+"[/URL] [size=1][EID "+alleqdp[i].getAttribute("onmouseover").match(/equips.+/)[0].match(/\(.+\)/)[0].match(/\w+/g)[0]+"] [LV"+data.Info['Level']+" "+data.Info['EXP'].split(' ').pop()+"PXP] ["+print(data['Damage'])+" "+print(data['Stats'])+eqAbbr("PABs: ",print(data['Primary Attributes']))+"][/size]\n[size=2] "+eqAbbr(eqRange('Physical Mitigation',eqData('Stats','Physical Mitigation',data),equipType(data,false),data,-2.0,'MAX')," PMI, ") +eqAbbr(eqRange('Weapon Damage',eqData('Damage','Damage',data),equipType(data,false),data,-2.0,'MAX')," DMG, ") +eqAbbr(eqRange('Attack Accuracy Bonus',eqData('Stats','Attack Accuracy',data),equipType(data,false),data,-2.0,'MAX')," AAB, ") +eqAbbr(eqRange('Attack Critical Bonus',eqData('Stats','Attack Crit Chance',data),equipType(data,false),data,-2.0,'MAX')," ACB, ") +eqAbbr(eqRange('Attack Damage Bonus',eqData('Stats','Attack Damage',data),equipType(data,false),data,-2.0,'MAX')," ADB, ") +eqAbbr(eqRange('Magic Accuracy Bonus',eqData('Stats','Magic Accuracy',data),equipType(data,false),data,-2.0,'MAX')," MA, ") +eqAbbr(eqRange('Magic Damage Bonus',eqData('Stats','Magic Damage',data),equipType(data,false),data,-2.0,'MAX')," MDMG, ") +eqAbbr(eqRange('Magical Mitigation',eqData('Stats','Magical Mitigation',data),equipType(data,false),data,-2.0,'MAX')," MMI, ") +eqAbbr(eqRange('Mana Conservation',eqData('Stats','Mana Conservation',data),equipType(data,false),data,-2.0,'MAX')," MC, ") +eqAbbr(eqRange('Magic Critical Bonus',eqData('Stats','Magic Crit Chance',data),equipType(data,false),data,-2.0,'MAX')," MCB, ") +eqAbbr(eqRange('Block Chance',eqData('Stats','Block Chance',data),equipType(data,false),data,-2.0,'MAX')," Block, ") +eqAbbr(eqRange('Evade Chance',eqData('Stats','Evade Chance',data),equipType(data,false),data,-2.0,'MAX')," Evade, ") +eqAbbr(eqRange('Parry Chance',eqData('Stats','Parry Chance',data),equipType(data,false),data,-2.0,'MAX')," PC, ") +eqAbbr(eqRange('Resist Chance',eqData('Stats','Resist Chance',data),equipType(data,false),data,-2.0,'MAX')," Resist, ") +eqAbbr(eqRange('STR',eqData('Primary Attributes','Strength',data),equipType(data,false),data,-2.0,'MAX')," STR, ") +eqAbbr(eqRange('DEX',eqData('Primary Attributes','Dexterity',data),equipType(data,false),data,-2.0,'MAX')," DEX, ") +eqAbbr(eqRange('AGI',eqData('Primary Attributes','Agility',data),equipType(data,false),data,-2.0,'MAX')," AGI, ") +eqAbbr(eqRange('END',eqData('Primary Attributes','Endurance',data),equipType(data,false),data,-2.0,'MAX')," END, ") +eqAbbr(eqRange('INT',eqData('Primary Attributes','Intelligence',data),equipType(data,false),data,-2.0,'MAX')," INT, ") +eqAbbr(eqRange('WIS',eqData('Primary Attributes','Wisdom',data),equipType(data,false),data,-2.0,'MAX')," WIS, ") +"[/size][color=#"+toHex(getTag(alleqdp[i])).toString(16).concat('000000').substr(3,6)+"] "+getTag(alleqdp[i])+"[/color] "+getPrice(alleqdp[i],"price") Exquisite Demonic Scythe of Slaughter [EID 16124825] [LV10 MAXPXP] [111.99 D Type: Void 7.70 AS 5.81 AA 6.41 ACC 25.20 B 11.20 I PABs: 7.64STR 5.08DEX 1.20END 1.20AGI ] EMAX+32.6 DMG, EMAX-1.4 AAB, EMAX-0.3 ACB, EMAX-0.0 DEX, EMAX-1.8 AGI, ctxl eq Fine Power Helmet of Slaughter [EID 19296608] [LV2 425PXP] [ 15.94 AD 1.62 AA 0.39 ACC 5.18 PM 4.16 MM 11.90 B 23.80 I PABs: 2.60STR 2.90DEX 2.00END ] SMAX-1.3 PMI, SMAX-0.8 ACB, SMAX-1.0 MMI, SMAX-1.9 DEX, SMAX-1.9 END, ctxl eq Exquisite Power Armor of Protection [EID 25554190] [LV0 325PXP] [ 7.60 AD 4.79 AA 1.35 ACC 11.11 PM 5.61 MM 13.30 B 25.90 I PABs: 5.37STR 5.67DEX 3.57END ] EMAX-0.2 PMI, EMAX-1.2 AAB, EMAX-0.1 ACB, EMAX-1.0 MMI, EMAX-0.3 DEX, EMAX-1.2 END, ctxl eq Exquisite Power Gauntlets of Protection [EID 16877203] [LV0 318PXP] [ 6.72 AD 4.17 AA 0.93 ACC 7.75 PM 4.19 MM 11.20 B 21.00 I PABs: 4.76STR 3.86DEX 2.66END 1.46AGI ] EMAX-1.1 PMI, EMAX-0.7 AAB, EMAX-0.2 ACB, EMAX-1.0 MMI, EMAX-0.6 STR, EMAX-0.9 DEX, EMAX-1.2 AGI, EMAX-1.2 END, ctxl eq Exquisite Power Leggings of Protection [EID 23550714] [LV0 324PXP] [ 8.45 AD 4.79 AA 1.35 ACC 9.64 PM 5.00 MM 14.70 B 21.00 I PABs: 6.57STR 3.87DEX 3.87END ] EMAX-0.9 PMI, EMAX-1.2 AAB, EMAX-0.0 ACB, EMAX-0.0 STR, EMAX-1.8 DEX, EMAX-0.6 END, ctxl eq Magnificent Power Boots of Protection [EID 11329914] [LV3 812PXP] [ 8.50 AD 4.22 AA 0.73 ACC 8.04 PM 4.57 MM 9.80 B 16.10 I PABs: 4.19STR 4.19DEX 2.43END ] MMAX-0.2 PMI, MMAX-0.6 AAB, MMAX-0.3 ACB, MMAX-0.0 ADB, MMAX-0.1 MMI, MMAX-0.9 STR, MMAX-0.3 DEX, MMAX-1.2 END, ctxl eq (1.2.5 raw js markup, used in my summer cleaning sale) CODE "[URL="+getURL(alleqdp[i])+"]"+data.Info['Name']+"[/URL] [size=1][EID "+alleqdp[i].getAttribute("onmouseover").match(/equips.+/)[0].match(/\(.+\)/)[0].match(/\w+/g)[0]+"] [LV"+data.Info['Level']+" "+data.Info['EXP'].split(' ').pop()+"PXP] ["+print(data['Damage'])+" "+print(data['Stats'])+eqAbbr("PABs: ",print(data['Primary Attributes']))+"][/size]\n[size=2] "+eqAbbr(eqRange('Physical Mitigation',eqData('Stats','Physical Mitigation',data),equipType(data,false),data,-1.0,'MAX')," PMI, ") +eqAbbr(eqRange('Weapon Damage',eqData('Damage','Damage',data),equipType(data,false),data,-1.0,'MAX')," DMG, ") +eqAbbr(eqRange('Attack Accuracy Bonus',eqData('Stats','Attack Accuracy',data),equipType(data,false),data,-1.0,'MAX')," AAB, ") +eqAbbr(eqRange('Attack Critical Bonus',eqData('Stats','Attack Crit Chance',data),equipType(data,false),data,-1.0,'MAX')," ACB, ") +eqAbbr(eqRange('Attack Damage Bonus',eqData('Stats','Attack Damage',data),equipType(data,false),data,-1.0,'MAX')," ADB, ") +eqAbbr(eqRange('Magic Accuracy Bonus',eqData('Stats','Magic Accuracy',data),equipType(data,false),data,-1.0,'MAX')," MA, ") +eqAbbr(eqRange('Magic Damage Bonus',eqData('Stats','Magic Damage',data),equipType(data,false),data,-1.0,'MAX')," MDMG, ") +eqAbbr(eqRange('Magical Mitigation',eqData('Stats','Magical Mitigation',data),equipType(data,false),data,-1.0,'MAX')," MMI, ") +eqAbbr(eqRange('Mana Conservation',eqData('Stats','Mana Conservation',data),equipType(data,false),data,-1.0,'MAX')," MC, ") +eqAbbr(eqRange('Magic Critical Bonus',eqData('Stats','Magic Crit Chance',data),equipType(data,false),data,-1.0,'MAX')," MCB, ") +eqAbbr(eqRange('Block Chance',eqData('Stats','Block Chance',data),equipType(data,false),data,-1.0,'MAX')," Block, ") +eqAbbr(eqRange('Evade Chance',eqData('Stats','Evade Chance',data),equipType(data,false),data,-1.0,'MAX')," Evade, ") +eqAbbr(eqRange('Parry Chance',eqData('Stats','Parry Chance',data),equipType(data,false),data,-1.0,'MAX')," PC, ") +eqAbbr(eqRange('Resist Chance',eqData('Stats','Resist Chance',data),equipType(data,false),data,-1.0,'MAX')," Resist, ") +eqAbbr(eqRange('STR',eqData('Primary Attributes','Strength',data),equipType(data,false),data,-1.0,'MAX')," STR, ") +eqAbbr(eqRange('DEX',eqData('Primary Attributes','Dexterity',data),equipType(data,false),data,-1.0,'MAX')," DEX, ") +eqAbbr(eqRange('AGI',eqData('Primary Attributes','Agility',data),equipType(data,false),data,-1.0,'MAX')," AGI, ") +eqAbbr(eqRange('END',eqData('Primary Attributes','Endurance',data),equipType(data,false),data,-1.0,'MAX')," END, ") +eqAbbr(eqRange('INT',eqData('Primary Attributes','Intelligence',data),equipType(data,false),data,-1.0,'MAX')," INT, ") +eqAbbr(eqRange('WIS',eqData('Primary Attributes','Wisdom',data),equipType(data,false),data,-1.0,'MAX')," WIS, ") +"[/size]" Exquisite Demonic Scythe of Slaughter [EID 16124825] [LV10 MAXPXP] [111.99 D Type: Void 7.70 AS 5.81 AA 6.41 ACC 25.20 B 11.20 I PABs: 7.64STR 5.08DEX 1.20END 1.20AGI ] EMAX+32.6 DMG, EMAX-0.3 ACB, EMAX-0.0 DEX, Fine Power Helmet of Slaughter [EID 19296608] [LV2 425PXP] [ 15.94 AD 1.62 AA 0.39 ACC 5.18 PM 4.16 MM 11.90 B 23.80 I PABs: 2.60STR 2.90DEX 2.00END ] SMAX-0.8 ACB, Exquisite Power Armor of Protection [EID 25554190] [LV0 325PXP] [ 7.60 AD 4.79 AA 1.35 ACC 11.11 PM 5.61 MM 13.30 B 25.90 I PABs: 5.37STR 5.67DEX 3.57END ] EMAX-0.2 PMI, EMAX-0.1 ACB, EMAX-0.3 DEX, Exquisite Power Gauntlets of Protection [EID 16877203] [LV0 318PXP] [ 6.72 AD 4.17 AA 0.93 ACC 7.75 PM 4.19 MM 11.20 B 21.00 I PABs: 4.76STR 3.86DEX 2.66END 1.46AGI ] EMAX-0.7 AAB, EMAX-0.2 ACB, EMAX-0.6 STR, EMAX-0.9 DEX, Exquisite Power Leggings of Protection [EID 23550714] [LV0 324PXP] [ 8.45 AD 4.79 AA 1.35 ACC 9.64 PM 5.00 MM 14.70 B 21.00 I PABs: 6.57STR 3.87DEX 3.87END ] EMAX-0.9 PMI, EMAX-0.0 ACB, EMAX-0.0 STR, EMAX-0.6 END, Magnificent Power Boots of Protection [EID 11329914] [LV3 812PXP] [ 8.50 AD 4.22 AA 0.73 ACC 8.04 PM 4.57 MM 9.80 B 16.10 I PABs: 4.19STR 4.19DEX 2.43END ] MMAX-0.2 PMI, MMAX-0.6 AAB, MMAX-0.3 ACB, MMAX-0.0 ADB, MMAX-0.1 MMI, MMAX-0.9 STR, MMAX-0.3 DEX, This post has been edited by ctxl: Jul 17 2013, 13:56
|
|
|
|
 |
|
Jun 14 2013, 14:51
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
-snip-
This post has been edited by ctxl: Jul 17 2013, 11:03
|
|
|
Jun 14 2013, 16:03
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
-snip-
This post has been edited by ctxl: Jun 29 2013, 02:42
|
|
|
Jun 14 2013, 16:03
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
-snip-
This post has been edited by ctxl: Jun 29 2013, 03:02
|
|
|
Jun 14 2013, 23:07
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
-snip-
This post has been edited by ctxl: Jun 29 2013, 06:58
|
|
|
Jun 16 2013, 00:35
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
Now open for business: bug reports, discussion, whatever
I might provide BBCode output customization (matching shop listing styles) at a later date, either as a fee-based service, or as a built-in function
|
|
|
Jun 16 2013, 01:13
|
piyin
Group: Gold Star Club
Posts: 10,819
Joined: 4-February 09

|
mhhhh... pretty complex... why dont you take the older script and try to fix/addapt to the new HV window?
|
|
|
Jun 16 2013, 01:29
|
Homicidalsage
Group: Catgirl Camarilla
Posts: 1,370
Joined: 8-April 08

|
Nice job looks pretty cool
This post has been edited by Homicidalsage: Jun 16 2013, 01:32
|
|
|
Jun 16 2013, 05:09
|
letmegitdat
Group: Members
Posts: 279
Joined: 5-January 09

|
great job with the script, I had something similar half finished before the patch hit. then I kinda abandoned it...
anyway, perhaps you would consider some kind of garbage collection routine to purge dead eids from localstorage?
|
|
|
|
 |
|
Jun 16 2013, 06:31
|
crute
Group: Gold Star Club
Posts: 1,599
Joined: 7-May 12

|
Love the script, makes opening a shop that much easier. Maintaining it is another thing though (IMG:[ invalid] style_emoticons/default/tongue.gif) Since it's so convenient, I foresee that it will become widely used. Here are some improvements that I hope may make the whole WTS easier to read. The scripts could compare the equipment's key values to the max values in the equipment shop. To take the first one hand as an example. old: [*NEW*] Superior Ethereal Axe of Slaughter | *0K* | 52.77WD(Void) 18%DOT 3PABs(STR,DEX,END) new: [*NEW*] Superior Ethereal Axe of Slaughter | *0K* | WD Supmax -6.87 (Void) 18%DOT 3PABs(STR,DEX,END) This feels like a lot to do, but I believe it would make browsing through shops much easier.
|
|
|
|
 |
|
Jun 16 2013, 07:03
|
katsugawa
Group: Members
Posts: 580
Joined: 17-April 09

|
Nicely done.. thx for the script
Ohh one more thing, can you make a backup save or save store list for this
This post has been edited by katsugawa: Jun 16 2013, 07:56
|
|
|
|
 |
|
Jun 16 2013, 13:57
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
QUOTE(letmegitdat @ Jun 15 2013, 20:09)  anyway, perhaps you would consider some kind of garbage collection routine to purge dead eids from localstorage?
Originally tried that, but then changed things so localStorage keys are only generated and written after you modify the default ID and price tags. Assuming 100 bytes/entry and 2.5MB/origin, you'd have to manually enter in tens of thousands of entries before this becomes a problem of any kind. And at that point, I'd just recommend localStorage.clear(); QUOTE(cirrux @ Jun 15 2013, 21:31)  new: [*NEW*] Superior Ethereal Axe of Slaughter | *0K* | WD Supmax -6.87 (Void) 18%DOT 3PABs(STR,DEX,END)
This feels like a lot to do, but I believe it would make browsing through shops much easier.
I definitely had something like this in mind, with the equipment ranges from the wiki. Not for the initial public release, but eventually? Yeah. QUOTE(katsugawa @ Jun 15 2013, 22:03)  Ohh one more thing, can you make a backup save or save store list for this Importing/exporting textarea data for a given equipment tab is definitely doable. But it could get messy. We'll see.
|
|
|
|
 |
|
Jun 16 2013, 17:20
|
letmegitdat
Group: Members
Posts: 279
Joined: 5-January 09

|
1) QUOTE(ctxl @ Jun 16 2013, 13:57)  Originally tried that, but then changed things so localStorage keys are only generated and written after you modify the default ID and price tags.
Assuming 100 bytes/entry and 2.5MB/origin, you'd have to manually enter in tens of thousands of entries before this becomes a problem of any kind. And at that point, I'd just recommend localStorage.clear();
well its not a problem for me, but for most users well... i guess they wouldn't even know of its existence... besides you have other scripts (hvstats for one) that rely heavily on localstorage... a clear is um... 2) QUOTE(ctxl @ Jun 16 2013, 13:57)  I definitely had something like this in mind, with the equipment ranges from the wiki. Not for the initial public release, but eventually? Yeah.
this would be sick! if this happens me and you are bros for life! lol 3) QUOTE(ctxl @ Jun 16 2013, 13:57)  Importing/exporting textarea data for a given equipment tab is definitely doable. But it could get messy. We'll see.
currently with id=notes id_p=price once the item leaves your inventory you kinda lose your *pointer* to that key:value, so its kinda tricky to maintain... a **possible** solution (haven't had coffee yet, just throwing ideas around); could be a changing how your key/values are stored. maybe something like this? "one_hand_active"= "id":[notes, price],"id":[notes, price]... "two_hand_active"= "id":[notes, price],"id":[notes, price]... etc so if current page is forge(not equip shop, because locked items are "missing/does not exist") and on 1h tab, loop through "one_hand_active" to check for dead/empty eids... this also allows: copying "one_hand_active" to "one_hand_slot#" for easy save/load/reset... you can still generate keys only as needed
|
|
|
|
 |
|
Jun 16 2013, 22:56
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
QUOTE(letmegitdat @ Jun 16 2013, 08:20)  once the item leaves your inventory you kinda lose your *pointer* to that key:value, so its kinda tricky to maintain... Lazy me didn't slap the values into "equipment type"-arrays, since that'd require further "what type is this/which array is this in?" logic. I should've at least put everything in one giant collection, but oh well. Individual keys aren't [ jsperf.com] too bad. Doing a global export should be simple (I was thinking by-tab for some reason earlier). Off the top of my head, something like this should work: CODE var i = localStorage.length, regex = /(item_pane|item_pane_p)$/, export = []; while (i--) { var keyname = localStorage.key(i); if (regex.test(keyname)) { var item = {'key':keyname,'value':localStorage.getItem(keyname)}; export.push(item); } } return JSON.stringify(export);
|
|
|
|
 |
|
Jun 20 2013, 02:44
|
pentiuminside
Group: Members
Posts: 3,199
Joined: 23-July 12

|
Hi, ever since the 0.76 patch I'm pretty much out of luck as far as shop scripts go. Before the patch I used the now obsolete Hentaiverse Shop System 0.6.5 to edit my shop, the input text i used with it looks like this one below (quote it for 100% preciseness) ; [_____] [№$#0] [$?#0] $PM $DMG $AAB $ACB $ADB $MA $M-DMG $MC $MCB [&] $NAME █ The above text would with a push of a button produce results like for instance the below (btw, everything in the list below is salvaged); (the advantage with equipment stats stacked in columns like in the example below makes it easy to quickly compare stats for equipment that are pretty much alike.) ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▓▓╔═══╗▓▓▓▓╔══════╗▓▓▓▓╔═══╗▓▓ ██╨███╨████╨██████╨████╨███╨██ [PRICE] [№0000] [HEAVY] ██╥███╥████╥██████╥████╥███╥██ ██╨███╨████╨██████╨████╨███╨██ [___5k] [№0670] [H-P-00] PM: 10.05 Acc: 06.32 Crit: 1.35 ADB: 07.54 Superior Power Armor of Protection █ [___5k] [№0680] [H-P-10] PM: 06.46 Acc: 05.46 Crit: 0.61 ADB: 10.05 Superior Power Armor of Warding █ [___5k] [№0690] [H-P-20] PM: 05.41 Acc: 04.65 Crit: 0.39 ADB: 07.49 Superior Power Boots of Protection █ [___5k] [№0700] [H-P-30] PM: 05.83 Acc: 03.85 Crit: 0.61 ADB: 05.79 Superior Power Boots of Protection █ [___5k] [№0710] [H-P-40] PM: 06.06 Acc: 05.53 Crit: 0.51 ADB: 05.00 Superior Power Boots of Protection █ [___5k] [№0720] [H-P-50] PM: 07.93 Acc: 05.46 Crit: 1.02 ADB: 04.07 Superior Power Helmet of Protection █ [___5k] [№0730] [H-P-60] PM: 06.88 Acc: 05.47 Crit: 0.92 ADB: 06.64 Superior Power Helmet of Protection █ [___5k] [№0740] [H-P-70] PM: 06.04 Acc: 21.60 Crit: 3.12 ADB: 09.20 Superior Power Leggings of Balance █ [___5k] [№0750] [H-P-80] PM: 08.78 Acc: 07.09 Crit: 1.13 ADB: 10.07 Superior Power Leggings of Protection █ [___5k] [№0760] [H-P-90] PM: 08.78 Acc: 05.48 Crit: 0.71 ADB: 10.07 Superior Power Leggings of Protection █ [___5k] [№0770] [H-P-99] PM: 09.41 Acc: 03.89 Crit: 0.82 ADB: 05.83 Superior Power Leggings of Protection █ ██╥███╥████╥██████╥████╥███╥██ ▓▓╚═══╝▓▓▓▓╚══════╝▓▓▓▓╚═══╝▓▓ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░
On the other hand, the script you've written (which I think is awesome btw), produces results like for instance the below; (in the example below, the obvious disadvantage for me is that the equipment stats are not stacked in columns, which makes them quite difficult to compare quickly.) [*NEW*] Crude Katalox Staff of the Heaven-sent | *0K* | 13.65MDMG EDBs(2.77 Holy,7.60 Dark) 4.03INT[*NEW*] Superior Katalox Staff of Destruction | *0K* | 37.97MDMG EDBs(4.63 Holy,7.85 Dark) 2.93INT[*NEW*] Superior Demonic Katalox Staff of Heimdall | *0K* | 13.91MDMG EDBs(15.89 Holy,11.06 Dark) 2.93INT 2.03WIS[*NEW*] Crude Oak Staff of Heimdall | *0K* | EDBs(18.50 Holy) 7.84MDMG 4.29WIS[*NEW*] Legendary Fiery Oak Staff of the Earth-walker | *0K* | EDBs(13.67 Fire,7.24 Cold,9.65 Holy) 20.75MDMG 4.50INT 6.60WIS 9%CR[*NEW*] Crude Silver-tipped Redwood Staff of the Owl | *0K* | 11.91MDMG 0.70INT 1.90WIS[*NEW*] Crude Redwood Staff of Surtr | *0K* | 10.26MDMG EDBs(9.86 Fire,2.06 Cold,7.25 Elec,7.67 Wind)[*NEW*] Fine Fiery Redwood Staff of Destruction | *0K* | 28.80MDMG EDBs(12.04 Fire,3.85 Cold,2.18 Elec,3.07 Wind) 3.32INT[*NEW*] Magnificent Redwood Staff of the Elementalist | *0K* | 23.20MDMG EDBs(6.40 Fire,7.20 Cold,8.00 Elec,6.40 Wind) 4.19INT 5.09WIS[*NEW*] Superior Demonic Willow Staff of Focus | *0K* | 25.86%MC[*NEW*] Magnificent Willow Staff of the Curse-weaver | *0K* | ... QUOTE - Utilize Equipment Ranges data, where appropriate - Easy BBCode output customization, e.g. [$TAG] $URL | $PRICE | $STATS ~ next update - Fix textarea "tabbing" order (checkbox>tag>price). Add slight padding to buffer out the equipment info hovers. ~next update
I'm just letting you know I'm anxiously waiting for the next update that will bring customization, something that is URGENTLY needed in my case. (IMG:[ invalid] style_emoticons/default/laugh.gif) (Nevermind my shop says it will open in august 2013, it may actually happen sooner.) By the time and IF enough customization is added to your script for me to continue updating my shop as I used to (with stats in columns), I promise you now that I'll give you at least half a million credits. Cheers! (IMG:[ invalid] style_emoticons/default/smile.gif) This post has been edited by pentiuminside: Jun 20 2013, 03:07
|
|
|
|
 |
|
Jun 29 2013, 04:13
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
Updated with shiny new features for 1.2.1.
Didn't bother with $Ability, $DTM, $EDB, $MM, $PAB, $PB, etc. at this point. Wasn't sure how to handle $#0 or $?#0 number incrementing, either.
I can add them, or other HV Shop System placeholders, if there's enough interest (and a sample of the desired output is provided).
|
|
|
Jun 30 2013, 17:40
|
ctxl
Group: Members
Posts: 425
Joined: 20-May 12

|
Bugfixes, optimization, and new features in 1.2.2. Changelog is in the second post. Note that $#0 was added as-is. HVSS's $?# is implemented as $E#. Default output was changed. See a sample EZ BBCode markup in the third post.
|
|
|
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:
|
 |
 |
 |
|
|
|