Welcome Guest ( Log In | Register )

7 Pages V « < 5 6 7  
Reply to this topicStart new topic
> GM Script - Equipment shop helper, Quicken the equipment listing a little bit

 
post Jul 4 2012, 22:52
Post #121
Shadowsong



Supreme Сasual Dating - Verified Damsels
******
Group: Members
Posts: 889
Joined: 5-January 09
Level 290 (Godslayer)


thank you I have it working now the problem might have been that I was trying to import the items from my inventory page not from the Bazaar page.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 4 2012, 22:54
Post #122
FarFaraway



The best way to do it wrong
***
Group: Members
Posts: 172
Joined: 31-March 09
Level 299 (Godslayer)


My little fork can add the items ;-)
Try it and love it

OR await the 0.4 version of my fork. Finally with fair auto prices (good for shop novice)
My second last big main goal for my fork

This post has been edited by FarFaraway: Jul 4 2012, 22:57
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Jul 5 2012, 06:49
Post #123
Shadowsong



Supreme Сasual Dating - Verified Damsels
******
Group: Members
Posts: 889
Joined: 5-January 09
Level 290 (Godslayer)


the 0.4v you should see if you could add a feature that you could easily adjust the sale price scaling compared to the bazaar instead of the set 50%.

just made my first sale thank you.

This post has been edited by Shadowsong: Jul 5 2012, 06:52
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 1 2012, 01:00
Post #124
el h



It's all about the Pentiums, baby!
*******
Group: Members
Posts: 1,329
Joined: 10-November 09
Level 405 (Ascended)


For the people still using my simple shop script:
QUOTE(el h @ Feb 29 2012, 23:17) *

Another edit: Now with two-level grouping:
Edit-edit: handles old equipment names better:
you can paste it to the address bar to use it, or make a bookmarklet of it.

edit^3: removed levels, handles Fiery etc:
CODE
javas cript: var eType = ""; var part1url = ""; var accall = {}; common.set_text_selected = function(){}; common.show_popup_box = function(z1,z2,z3,z4,z5,z6,z7,html) { eType = html.replace(/<[^>]*>/g, "").replace(/^([^&]*) &.*$/, "$1"); }; equips.set_equipmentcopy = function(eid, key){ part1url = "http://hentaiverse.org/pages/showequip.php?eid=" + eid + "&key=" + key; }; shops.set_selected_item = function(position, eid, zzzz, price, name) { if(position != "item_pane")return; var c = eType; var c2 = (name.replace(/(Ethereal|Fiery|Arctic|Shocking|Tempestuous|Hallowed|Demonic|Astral) /, "").replace(/(\S+)-(trimmed|adorned|tipped) /, "").replace("Dragon Hide", "Dragon-Hide").replace(/(Gold|Silver|Bronze|Diamond|Ruby|Emerald|Mithril|Prism|Platinum|Steel|Titanium|Iron|Sapphire) /,"") + " unknown").replace(/^(\S+)\s+(\S+)\s+(\S+)(\s.*)?$/, {"One-handed Weapon": "$2", "Two-handed Weapon": "$2", "Staff": "$2", "Shield": "$2", "Cloth Armor": "$3", "Light Armor": "$3", "Heavy Armor": "$3"}[c]); var c2s = {"Cap": "Head", "Robe": "Body", "Gloves": "Hands", "Pants": "Legs", "Shoes": "Feet", "Helmet": "Head", "Cuirass": "Body", "Armor": "Body", "Gauntlets": "Hands", "Greaves": "Legs", "Leggings": "Legs", "Sabatons": "Feet", "Breastplate": "Body", "Boots": "Feet", "Coif": "Head", "Hauberk": "Body"}[c2]; if(c2s) c2 = c2s; if(!accall[c])accall[c]={}; if(!accall[c][c2])accall[c][c2]=[]; accall[c][c2].push({s: "[url=" + part1url + "]" + name + "[/url]\n"}); }; function go(){ accall = {}; var el = document.getElementsByClassName("eqdp"); for(var i = 0; i < el.length; i++) { el[i].onmouseover(); el[i].onclick(); } var s = ""; for(var c in accall) { s += "[color=#000099][b][size=3]" + c + "[/size][/b][/color]\n"; for(var c2 in accall[c]) { s += "[b]" + c2 + "[/b]\n"; for (var i = 0; i < accall[c][c2].length; i++) s += accall[c][c2][i].s; s += "\n"; }} document.body.innerHTML = s.replace(/\n/g, "<br />"); }; go();

remove the space from "javas cript"

This post has been edited by el h: Aug 1 2012, 01:01
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 5 2012, 20:06
Post #125
Insania



The Irregular
*******
Group: Gold Star Club
Posts: 1,475
Joined: 21-October 10
Level 462 (Godslayer)


For some reason this script isn't working anymore. Pressing "K" doesn't copy the link of the item to the equipment shop helper page.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Aug 5 2012, 20:29
Post #126
FarFaraway



The best way to do it wrong
***
Group: Members
Posts: 172
Joined: 31-March 09
Level 299 (Godslayer)


QUOTE(Insania @ Aug 5 2012, 20:06) *

For some reason this script isn't working anymore.

There where a big update of HV and the script have a bunch of trouble to find the level (because the classic level is obsolete)
Maybe you can enjoy the Script fork called "HV Shop System".
You can add the items with the k key and get the list. Also there are a bunch of additional functions but you can still use it in the good old style.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Sep 14 2012, 19:54
Post #127
richlich



イヤ━(*´∀`)━━ン!!
*******
Group: Members
Posts: 2,278
Joined: 28-July 12
Level 339 (Godslayer)


Nevermind.

This post has been edited by richlich: Sep 14 2012, 19:55
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 5 2012, 23:32
Post #128
Lei Asakura



Newcomer
*
Group: Recruits
Posts: 16
Joined: 30-November 12
Level 74 (Champion)


well.... this is odd..... it wont work.......
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Dec 5 2012, 23:35
Post #129
arialinnoc



Rest time!! _(:з」∠)_
**********
Group: Gold Star Club
Posts: 7,704
Joined: 6-April 10
Level 500 (Newbie)


It's not work for me too.
I use this
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

 
post Nov 16 2016, 14:02
Post #130
BMstar



Newcomer
*
Group: Members
Posts: 37
Joined: 31-October 16
Level 201 (Destined)


don't know how to use this... says error when I try to load it (IMG:[invalid] style_emoticons/default/huh.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post


7 Pages V « < 5 6 7
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: 22nd April 2025 - 21:54