LordHelmchen's price import - BFZ and mkm
by Goblin Hero
Moderators: charmer, CCGHQ Admins
2.9.2 sitescripts
by LordHelmchen » 06 Mar 2014, 01:38
- Attachments
-
- LHpi.tcgplayerPriceGuide.lua.zip
- (14.17 KiB) Downloaded 692 times
-
- LHpi.mtgmintcard.lua.zip
- (10.75 KiB) Downloaded 669 times
-
- LHpi.magicuniverseDE.lua.zip
- (12.62 KiB) Downloaded 673 times
-
- LHpi.trader-onlineDE.lua.zip
- (13.08 KiB) Downloaded 630 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
2.10
by LordHelmchen » 07 Mar 2014, 00:29
I'll stop now
More or less only a developer convenience release, 2.9 is still fine.
This implements anthonybe's feature request. Apart from LHpi.mtgmintprice.lua with STRICTEXPECTED=true, no sitescript is affected. If you want, you can just change
More or less only a developer convenience release, 2.9 is still fine.
This implements anthonybe's feature request. Apart from LHpi.mtgmintprice.lua with STRICTEXPECTED=true, no sitescript is affected. If you want, you can just change
- Code: Select all
libver="2.9"
- Code: Select all
libver="2.10"
- Attachments
-
- LHpi.mtgmintcard.lua.zip
- (10.79 KiB) Downloaded 662 times
-
- LHpi-v2.10.lua.zip
- (16.69 KiB) Downloaded 706 times
-
- LHpi.sitescriptTemplate-v2.10.2.9.lua.zip
- (9.14 KiB) Downloaded 655 times
-
- dummyMA.zip
- (7.6 KiB) Downloaded 697 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: 2.9.2 release
by Bloodnut » 10 Mar 2014, 11:07
I have a feeling you have a dartboard at home with "Bloodnut" placed in the centerLordHelmchen wrote:This should stabilize development for a while, unless Bloodnut finds another bug
2.11.3 release (JOU)
by LordHelmchen » 02 May 2014, 02:10
Here's the sitescripts, with Journey into Nyx. Also, tcgplayer-PriceGuide have improved their variant marking, so I could make more educated guesses there. Sadly, this meant a small fix was needed in the library to match their variant suffix, so my grand plan of only needing to update the Data file for this set's release failed All other scripts have been bumped to the latest library version to have them all at the same version again.
As usual, find documentation in the wiki, and post comments here.
I even tested them a final time just before attaching Time to set Bloodnut loose on them. Whose reports were much appreciated and who's not at all involvend in any flinging of sharp objects from me
edit: Whose vs who's
As usual, find documentation in the wiki, and post comments here.
I even tested them a final time just before attaching Time to set Bloodnut loose on them. Whose reports were much appreciated and who's not at all involvend in any flinging of sharp objects from me
edit: Whose vs who's
- Attachments
-
- LHpi.tcgplayerPriceGuide.lua.zip
- (16.57 KiB) Downloaded 708 times
-
- LHpi.magicuniverseDE.lua.zip
- (12.67 KiB) Downloaded 688 times
-
- LHpi.mtgmintcard.lua.zip
- (10.95 KiB) Downloaded 707 times
-
- LHpi.trader-onlineDE.lua.zip
- (13.36 KiB) Downloaded 661 times
Last edited by LordHelmchen on 02 May 2014, 20:57, edited 3 times in total.
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: LordHelmchen's price import (lua) (updated 2014-03-06)
by LordHelmchen » 02 May 2014, 02:12
And once again I need more than five attachments.
- Attachments
-
- LHpi-v2.11.lua.zip
- !get fixed version below instead!
- (16.65 KiB) Downloaded 647 times
-
- LHpi.Data-v3.lua.zip
- (22.06 KiB) Downloaded 689 times
Last edited by LordHelmchen on 05 May 2014, 12:52, edited 2 times in total.
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: LordHelmchen's price import (lua) (updated 2014-05-02)
by Bloodnut » 04 May 2014, 21:09
All scripts seems to work well... surprisingly!
EDIT: well, if you don't count that bug where you only download either foil-only or non-foil only but it's not "mission critical".
EDIT: well, if you don't count that bug where you only download either foil-only or non-foil only but it's not "mission critical".
Re: LordHelmchen's price import (lua) (updated 2014-05-02)
by LordHelmchen » 05 May 2014, 09:48
Bloodnut wrote:All scripts seems to work well... surprisingly!
If you are referring to the one you reported [2nd March, that should have been fixed in libver 2.9:EDIT: well, if you don't count that bug where you only download either foil-only or non-foil only but it's not "mission critical".
In all other cases: Would you care to elaborate? I don't see anything unusual in either of the three modes:library changelog 2.9 wrote:fixed and improved MergeCardrows (was broken if importfoil=="N" or "O" - reported by Bloodnut)
- Code: Select all
magicuniverseDE.lua:
regular only: 17341 set, 11 failed English cards 15886 set, 16 failed German cards 19 set, 0 failed Italian cards ; 1116 dropped, 140 namereplaced and 0 foiltweaked.
foil only : 8010 set, 407 failed English cards 8001 set, 416 failed German cards 0 set, 0 failed Italian cards ; 0 dropped, 35 namereplaced and 0 foiltweaked.
both : 17342 set, 418 failed English cards 15887 set, 423 failed German cards 19 set, 0 failed Italian cards ; 1116 dropped, 175 namereplaced and 0 foiltweaked.
expected : 17342 set, 418 failed English cards 15887 set, 423 failed German cards 19 set, 0 failed Italian cards ; 1116 dropped, 175 namereplaced and 0 foiltweaked.
mtgmintcard.lua:
regular only: 19774 set, 2 failed English cards 6684 set, 186 failed Simplified Chinese cards ; 847 dropped, 86 namereplaced and 0 foiltweaked.
foil only : 10390 set, 0 failed English cards 5750 set, 0 failed Simplified Chinese cards ; 1 dropped, 13 namereplaced and 2 foiltweaked.
both : 19851 set, 2 failed English cards 6697 set, 186 failed Simplified Chinese cards ; 846 dropped, 99 namereplaced and 4 foiltweaked.
expected : 19851 set, 2 failed English cards 6697 set, 186 failed Simplified Chinese cards ; 846 dropped, 99 namereplaced and 4 foiltweaked.
tcgplayerPriceGuide.lua: *(see below)
regular only: 20351 set, 5 failed English cards ; 165 dropped, 446 namereplaced and 2 foiltweaked.
foil only : 0 set, 0 failed English cards ; 0 dropped, 0 namereplaced and 0 foiltweaked.
both : 20360 set, 5 failed English cards ; 156 dropped, 446 namereplaced and 11 foiltweaked.
expected : 20365 set, 5 failed English cards ; 154 dropped, 446 namereplaced and 11 foiltweaked.
trader-onlineDE.lua:
regular only: 19788 set, 2 failed English cards 17939 set, 13 failed German cards 429 set, 0 failed Italian cards ; 823 dropped, 235 namereplaced and 0 foiltweaked.
foil only : 8310 set, 0 failed English cards 6488 set, 0 failed German cards 0 set, 0 failed Italian cards ; 531 dropped, 74 namereplaced and 0 foiltweaked.
both : 19797 set, 2 failed English cards 17940 set, 13 failed German cards 429 set, 0 failed Italian cards ; 1345 dropped, 311 namereplaced and 9 foiltweaked.
expected : 19797 set, 2 failed English cards 17940 set, 13 failed German cards 429 set, 0 failed Italian cards ; 1347 dropped, 311 namereplaced and 9 foiltweaked.
- Code: Select all
Total counted : 9 set, 0 failed English cards ; 20507 dropped, 0 namereplaced and 9 foiltweaked.
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: LordHelmchen's price import (lua) (updated 2014-05-02)
by Bloodnut » 05 May 2014, 12:12
Take a look at the screen shots. this error happens on all scripts except on the tcgplayer script.
notice in the screenshots that when I select to download 'regular' the error says 'foilprice' (line 1022) but when I select 'foil' the error says 'regprice' (line 1021)
notice in the screenshots that when I select to download 'regular' the error says 'foilprice' (line 1022) but when I select 'foil' the error says 'regprice' (line 1021)
Re: LordHelmchen's price import (lua) (updated 2014-05-02)
by LordHelmchen » 05 May 2014, 12:48
Ok, I can see what might be happenning and it's easy to construct it so that there's no reason for the script to error out here. I will change the lib to prevent this error in the future (without changing the version number).Bloodnut wrote:notice in the screenshots that when I select to download 'regular' the error says 'foilprice' (line 1022) but when I select 'foil' the error says 'regprice' (line 1021)
redownload or change lines 1020 to 1022:
- Code: Select all
if card.names then card.names[lid]=nil end
if card.regprice then card.regprice[lid]=nil end
if card.foilprice then card.foilprice[lid]=nil end
Ah! Strike that. You selected English only, whereas I test with all languages selected (not that there is much besides English and German to import, yet).
And that's why I ask to see a logfile if the script misbehaves. The first 9 lines would have told me the difference between my test and your usage Allthough I admit that the screenshots did show the error (that would not have showed up in the log), and you cleverly moved the error message to include your settings
- for example | Open
- LHpi library 2.11 loaded and executed successfully.
LHpi lib is ready to use.
LHpi.Data Prices\lib\LHpi.Data-v3.lua loaded and ready for execution.
LHpi.Data is ready to use.
Importing Sets: { [806]="Journey into Nyx";[797]="Magic 2014";[802]="Born of the Gods";[800]="Theros";[795]="Dragon’s Maze";[793]="Gatecrash";[791]="Return to Ravnica";}
Importing Languages: { [1]="English";}
Importing Foil Only Card Prices
9%: "Collecting Magic 2014 into table (id 797)"
- Attachments
-
- LHpi-v2.11.lua.zip
- hotfixed, same version number
- (16.7 KiB) Downloaded 667 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: LordHelmchen's price import (lua) (updated 2014-05-02)
by Bloodnut » 05 May 2014, 15:58
I completely forgot about the logs. you're right about that.
I don't bother with other languages even though I have some non-English cards, I don't use it for trading really, only to sort by price or see if some card is an anomaly (by thinking it's crap but suddenly seeing a high price for it).
the scripts work now. good job.
I don't bother with other languages even though I have some non-English cards, I don't use it for trading really, only to sort by price or see if some card is an anomaly (by thinking it's crap but suddenly seeing a high price for it).
the scripts work now. good job.
mtgprice.com.lua
by LordHelmchen » 04 Jun 2014, 14:11
I did not plan to include it in the sitescript collection, but now that the cat is out of the bag and it has been downloaded a dual-digit number of times, I can at least upload the newer version to make it compatible with the latest lib and data...
It still needs a lot of namereplace tables. I'm not that much interested in $ prices, so if you are, consider voluteering to finish and maintain it.
It still needs a lot of namereplace tables. I'm not that much interested in $ prices, so if you are, consider voluteering to finish and maintain it.
- Attachments
-
- LHpi.mtgprice.com.lua.zip
- 2.11.3.3
- (9.14 KiB) Downloaded 605 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
2.12.4 release (M15)
by LordHelmchen » 19 Jul 2014, 16:29
Its time for another big update. Most prominent change is the addition of the 2015 Coreset. Also includes changes to be compatible to the new mtgmintcard site layout.
Check the wiki for full changelog.
Once again there were a few changes to be made to the library, so maybe Khans of Tharkir will finally be a data-only update
Note that the M15 Beast tokens (5 and 9) are currently missing version numbers in MA, so their price will be averaged (where available).
Check the wiki for full changelog.
Once again there were a few changes to be made to the library, so maybe Khans of Tharkir will finally be a data-only update
Note that the M15 Beast tokens (5 and 9) are currently missing version numbers in MA, so their price will be averaged (where available).
- Attachments
-
- LHpi.mtgprice.com.lua.zip
- 2.12.4.3
volunteer wanted for basic lands' namereplacement tables - (9.55 KiB) Downloaded 611 times
-
- LHpi.tcgplayerPriceGuide.lua.zip
- 2.12.4.12
- (18.2 KiB) Downloaded 619 times
-
- LHpi.trader-onlineDE.lua.zip
- 2.12.4.12
- (13.79 KiB) Downloaded 675 times
-
- LHpi.mtgmintcard.lua.zip
- 2.12.4.12
- (11.93 KiB) Downloaded 619 times
-
- LHpi.magicuniverseDE.lua.zip
- 2.12.4.12
- (13.15 KiB) Downloaded 608 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: 2.12.4 release (M15)
by LordHelmchen » 19 Jul 2014, 16:34
And here's the content for your Prices\lib folder.
Goblin Hero: is there a chance to grant me an exception to the 5-attachments-per-post-limit, so I won't have to double-post on new releases anymore?
Goblin Hero: is there a chance to grant me an exception to the 5-attachments-per-post-limit, so I won't have to double-post on new releases anymore?
- Attachments
-
- LHpi-v2.12.lua.zip
- you'll need this
- (17.41 KiB) Downloaded 638 times
-
- LHpi.Data-v4.lua.zip
- and this
- (23.07 KiB) Downloaded 673 times
-
- LHpi.sitescriptTemplate-v2.12.4.10.lua.zip
- empty template
- (9.55 KiB) Downloaded 606 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
2.13.5 release (KTK)
by LordHelmchen » 28 Oct 2014, 22:39
Finally I got around to finish the new version. Besides Khans of Tarkir, this release features object type awareness, so I can finally distinguish between regular cards and oversized commanders having the same cardname and empty variant field. Of course, that means I was wring when I predicted a Data-only update
Starting with Prices\lib\ contents in this post, sitescripts in the next.
Starting with Prices\lib\ contents in this post, sitescripts in the next.
- Attachments
-
- LHpi-v2.13.lua.zip
- you'll need this
- (18.87 KiB) Downloaded 710 times
-
- LHpi.Data-v5.lua.zip
- and this
- (28.65 KiB) Downloaded 687 times
-
- LHpi.sitescriptTemplate-v2.13.5.11.lua.zip
- empty template for developers
- (9.86 KiB) Downloaded 584 times
-
- dummyMA.zip
- you probably don't need this
- (7.84 KiB) Downloaded 602 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
Re: LordHelmchen's price import (lua) (updated 2014-07-19)
by LordHelmchen » 28 Oct 2014, 22:42
and here's as much sitescripts that I can fit into one posting
- Attachments
-
- LHpi.trader-onlineDE.lua.zip
- (14.45 KiB) Downloaded 780 times
-
- LHpi.tcgplayerPriceGuide.lua.zip
- (19.07 KiB) Downloaded 696 times
-
- LHpi.mtgprice.com.lua.zip
- still not a clean release, volunteer wanted for basic lands' namereplacement tables
- (10.17 KiB) Downloaded 656 times
-
- LHpi.mtgmintcard.lua.zip
- (12.41 KiB) Downloaded 645 times
-
- LHpi.magicuniverseDE.lua.zip
- (13.7 KiB) Downloaded 655 times
- LordHelmchen
- Posts: 125
- Joined: 21 Aug 2012, 16:06
- Has thanked: 21 times
- Been thanked: 32 times
61 posts
• Page 3 of 5 • 1, 2, 3, 4, 5
Who is online
Users browsing this forum: No registered users and 45 guests