by woogerboy21 » 07 Mar 2010, 04:38
- "Contributors Price Scripts" | Open
- Magic Universe DE http://www.slightlymagic.net/forum/viewtopic.php?f=32&t=8174 (LordHelmchen)
- "Import Prices Usage" | Open
- Support for the per site .lua based scripts I have written has been dropped for the time being.
I have attached (and plan to maintain) the "Import Prices.lua" script.This pricing script is designed for individuals to create or collect there own pricing information in whatever means they so choose and import that information into the magic album application. To do so create the file "cardprices.txt" in the root folder of the magic album application. Inside the file each line represents a card and its associated information.
The expected line format is as follows:
Valid complete example line:
Abuna Acolyte 0.24 Scars of Mirrodin English * nonfoil cardnote
Abuna Acolyte 0.24 Scars of Mirrodin English 0 nonfoil cardnote
Valid part-complete example line:
Abuna Acolyte 0.24 Scars of Mirrodin
Invalid line examples:
Abuna Acolyte 0.24 SOM eng 0 nonfoil
Abuna Acolyte 0.24 eng 0 nonfoil
setname must match setnames defined in "tab" table inside the script
cardlanguage must match a language defined in the suplang table inside the script
price values must not contain commas
you must define a card name
you must define a card price
you must define a card set name
all other values if not present will use default values listed below
cardlanguage will default to english (eng)
cardversion will default to * (all versions)
cardfoiling will default to nonfoil
- "Available External Pricing Collection Scripts" | Open
- Contributor pricing scripts are supported by the original contributor
- Pricing scripts have only been verified to collect most recent standard format sets
- You can have multiple copies of the import prices script
- Make sure when you have multiple copies, to name them different and edit each to pointing to a different pricing file
- MA Version 1.5 or newer is required
- "Release Notes" | Open
- Release 2.1 (9/22/2012)
- Added support for the DD: Izzet vs. Golgari
- Added support for the FTV: Realms Set
- Added support for the Magic 2013 Core Set
- Added support for the Planechase 2012 Edition Set
- Import Prices 21.zip
- (4.42 KiB) Downloaded 72 times
- Import Prices 20.zip
- (4.4 KiB) Downloaded 49 times
- Import Prices 19.zip
- (4.39 KiB) Downloaded 54 times
by woogerboy21 » 07 Mar 2010, 15:25
Try using there regular site rather than the mobile version. I found this to be an easier solution. The url is something like this:Goblin Hero wrote:How? Site doesn't include one big file with all the prices.
- Code: Select all
- Code: Select all
- Code: Select all
- Code: Select all
by Goblin Hero » 07 Mar 2010, 16:21
Standard page is ~900Kb size, several mobile pages for the same set are ten times smaller. Not sure what will be quicker.woogerboy21 wrote:Try using there regular site rather than the mobile version. I found this to be an easier solution. The url is something like this:Goblin Hero wrote:How? Site doesn't include one big file with all the prices.
by woogerboy21 » 11 Mar 2010, 06:00
Were would you like pricing scripts placed or sent for possible inclusion in the MA application?
(oh and btw, the script I sent you to take a look at for this site. scrap it)
by Goblin Hero » 11 Mar 2010, 06:22
Place it on the forum. After testing I'll add it to official distribution.woogerboy21 wrote:Were would you like pricing scripts placed or sent for possible inclusion in the MA application?
by woogerboy21 » 11 Mar 2010, 13:04
Also is there a list of what extensions are allowed in the forum? Its telling me .LUA isnt allowed (which is understandable) but also .txt is not allowed.
Edit: Also if you like the way the code works, I have found the method used in it to identify the name / cost from a site works for a number of sites and could be easily reproduced for the other sites.
- MA LUA MTG Fanatic Pricing Script
- (1.9 KiB) Downloaded 187 times
by goldaar » 12 Mar 2010, 06:44
- Posts: 13
- Joined: 18 Dec 2009, 04:19
- Has thanked: 0 time
- Been thanked: 0 time
by Goblin Hero » 12 Mar 2010, 07:23
It's not implemented yet. But it's the next feature to do. You will be able to display price you want or min or max or avg value.goldaar wrote:I don't think it's implemented yet, but I thought I would ask anyway, is there a way to flip between price data without actually editing the files, it only seems to take the CSV at the top, with no way of using a different price csv.
by woogerboy21 » 14 Mar 2010, 22:36
by Goblin Hero » 15 Mar 2010, 06:34
Thank you for your gift Marked this as a high priority task.woogerboy21 wrote:Will you be able to have the price data exported to a csv file when you choose to export your inventory list?
by woogerboy21 » 15 Mar 2010, 11:59
Your welcoe. I don't know if many say it but I personally find your application useful so keep up the good work.Goblin Hero wrote:Thank you for your gift Marked this as a high priority task.woogerboy21 wrote:Will you be able to have the price data exported to a csv file when you choose to export your inventory list?
by woogerboy21 » 17 Mar 2010, 03:00
Also whats the deal with the price selection? (Maximum/Average/Minimum)?
by Goblin Hero » 17 Mar 2010, 07:01
First argument is the text to display inside progress bar, second - percentage from 0 to 100.woogerboy21 wrote:Course could you explain the ma.SetPBar function?
ma.Log function now writes text to Magic Album.log. All script errors also would be saved there. IO library is enabled.
If you have several prices MA will calculate and display max/min/avg value using all the available prices.woogerboy21 wrote:Also whats the deal with the price selection? (Maximum/Average/Minimum)?
by woogerboy21 » 17 Mar 2010, 12:11
How would you assign several prices to a single card? Do you pass in single prices over and over using the ma.SetPrice function or do you pass in multiple prices seperated by some value using the ma.SetPrice function? Or some other way?Goblin Hero wrote:If you have several prices MA will calculate and display max/min/avg value using all the available prices.
Also if the first argument is the text to display inside the progress bar I am not seeing any text in the progress bar for the mtgmintcard lua script that is being passed it. Are you, or bug?Goblin Hero wrote:First argument is the text to display inside progress bar, second - percentage from 0 to 100.
Who is online
Users browsing this forum: No registered users and 1 guest