It is currently 31 Oct 2025, 17:54
   
Text Size

Pricing (Scripts and Notes)

Moderators: charmer, CCGHQ Admins

Re: Pricing (Scripts and Notes)

Postby wilmheath » 28 Oct 2010, 18:58

So would anyone be interested in helping secure my site(mtgotraders.com) from scrapping? I would pay of course.
wilmheath
 
Posts: 9
Joined: 27 Sep 2010, 15:35
Has thanked: 0 time
Been thanked: 0 time

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 28 Oct 2010, 19:53

wilmheath wrote:So would anyone be interested in helping secure my site(mtgotraders.com) from scrapping? I would pay of course.
I actually have something like this on my list of things to do / learn. Not necessarily to secure your site specifically but figure out how to generate images using php. Its a low priority at the moment though. Lately been working on my firearm proficiency :)
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby wilmheath » 28 Oct 2010, 19:56

woogerboy21 wrote:
wilmheath wrote:So would anyone be interested in helping secure my site(mtgotraders.com) from scrapping? I would pay of course.
I actually have something like this on my list of things to do / learn. Not necessarily to secure your site specifically but figure out how to generate images using php. Its a low priority at the moment though. Lately been working on my firearm proficiency :)
Yeah i'm hoping to find someone that knows how to setup bot traps without catching legit bots and users.
wilmheath
 
Posts: 9
Joined: 27 Sep 2010, 15:35
Has thanked: 0 time
Been thanked: 0 time

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 29 Oct 2010, 13:50

Yeah i'm hoping to find someone that knows how to setup bot traps without catching legit bots and users.
There may be a way, unless the bot making the request uses some fancy way to identify itself when making an http get request the only other way I can see would be identifying and blocking source IP address's. If anyone has any other idea's I can't see how the web server itself would be able to determin what is a bot and what isn't. When your presenting data to the general public most communication is generic and with that makes it hard to identify specifics.
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby wilmheath » 29 Oct 2010, 14:19

woogerboy21 wrote:
Yeah i'm hoping to find someone that knows how to setup bot traps without catching legit bots and users.
There may be a way, unless the bot making the request uses some fancy way to identify itself when making an http get request the only other way I can see would be identifying and blocking source IP address's. If anyone has any other idea's I can't see how the web server itself would be able to determin what is a bot and what isn't. When your presenting data to the general public most communication is generic and with that makes it hard to identify specifics.
Well the way a trap works is you setup a hidden icon with a link. The bots always go to it since they are going through the site's code instead of viewing the site like a human would with a browser. Once the bot hits the "trap" it is added to the block list and then immediately banned from the server.
wilmheath
 
Posts: 9
Joined: 27 Sep 2010, 15:35
Has thanked: 0 time
Been thanked: 0 time

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 29 Oct 2010, 15:01

wilmheath wrote:
woogerboy21 wrote:
Yeah i'm hoping to find someone that knows how to setup bot traps without catching legit bots and users.
There may be a way, unless the bot making the request uses some fancy way to identify itself when making an http get request the only other way I can see would be identifying and blocking source IP address's. If anyone has any other idea's I can't see how the web server itself would be able to determin what is a bot and what isn't. When your presenting data to the general public most communication is generic and with that makes it hard to identify specifics.
Well the way a trap works is you setup a hidden icon with a link. The bots always go to it since they are going through the site's code instead of viewing the site like a human would with a browser. Once the bot hits the "trap" it is added to the block list and then immediately banned from the server.
That would work but wouldn't stop "approved" bots (if there were any in your mind).
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby wilmheath » 29 Oct 2010, 15:11

Approved bots stop and read the robots.txt file. So you would have to make sure that the bots that obey the robots.txt file are marked as "good".
wilmheath
 
Posts: 9
Joined: 27 Sep 2010, 15:35
Has thanked: 0 time
Been thanked: 0 time

Re: Pricing (Scripts and Notes)

Postby Mr.C » 30 Nov 2010, 09:39

Any ideas on why the TCGPlayerLOW takes overnight to run, while the others finish in minutes? I'm doing in again now, and it looks like it will take a billion years again...
Mr.C
 
Posts: 49
Joined: 13 Jun 2008, 07:58
Has thanked: 0 time
Been thanked: 0 time

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 30 Nov 2010, 14:05

Mr.C wrote:Any ideas on why the TCGPlayerLOW takes overnight to run, while the others finish in minutes? I'm doing in again now, and it looks like it will take a billion years again...
Not off the top of my head, the script code is exactly the same between the 3 scripts. The only difference would be the variable that defines what html block to identify containing the specific pricing data. My guess (just a guess) there site has something going on.

edit:
I just tried the "low" script and it only took maybe 12 minutes or so to run?
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 01 Dec 2010, 18:10

Went through all the pricing sites and added the "Fire & Lightning" set to those that had card prices listed. Also updated AbuGames and GamingEtc scripts for newer page layouts. If I missed anything let me know and I can take a look. I'm finding it difficult to keep track of which site has been updated up to what set so I may end up dropping that information from the main page but have to think about it.
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 02 Dec 2010, 01:12

Looking for a way to import your own prices into the Magic Album application? Maybe you own your own shop or think you can collect prices using other methods than writting a LUA script? Here's your solution. The LocalPrices.lua script will read the contents of a text file named cardprices.txt located in the same directory as the magicalbum.exe file and import the pricing contents. Inside the zip is an example cardprices.txt file to give you an idea of the format and more details are outlined in the .lua script file. Just open it and read the details along the top of the script.

I plan to incorperate this into the pricing scripts release but didn't feel the need to re-release the release posted today.

Code: Select all
script version 1.0
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:
(cardname{tab}cardprice{tab}setname{tab}cardlanguage{tab}cardversion{tab}foil/nonfoil)
valid complete example line:
Abuna Acolyte   0.24   Scars of Mirrodin   English   *   nonfoil
Abuna Acolyte   0.24   Scars of Mirrodin   English   0   nonfoil

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   Scars of Mirrodin   english   0   nonfoil
Abuna Acolyte   0.24      eng   0   nonfoil

requirements:
setname must match setnames defined in "tab" table (see below)
cardlanguage must match a language  defined in the suplang table (see below)
price values must not contain commas
you must define a card name
you must define a card price
you must define a card set nam
all other values if not present will use default values listed below

defaults:
cardlanguage will default to english (eng)
cardversion will default to * (all versions)
cardfoiling will default ot nonfoil
Attachments
LocalPrices.zip
(363 Bytes) Downloaded 471 times
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 01 Feb 2011, 21:27

All sites with available MBS card pricing scripts have been updated. I have NOT done any testing on the scripts so if you find any problems let me know. One thing to note, if you arent getting prices for the newest set check the site you are not getting prices for first to make sure the card names dont have some indicator that they are a "pre-release" sale item. Commonly sites such as www.starcitygames.com or www.abugames.com will have an extra set of characters in the card name indicating a presale causing the located name to not match the name of the card in the database. After the cards are released those sites will drop the extension to the card name and prices should begin collecting properly.
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby kristijanH » 02 Feb 2011, 16:39

Is it possible to make a dollar/euro etc. converter inside MA?
kristijanH
 
Posts: 218
Joined: 24 Nov 2009, 13:49
Has thanked: 52 times
Been thanked: 11 times

Re: Pricing (Scripts and Notes)

Postby woogerboy21 » 02 Feb 2011, 16:44

kristijanH wrote:Is it possible to make a dollar/euro etc. converter inside MA?
That would be a feature request that Goblin Hero would need to implement. There isn't a way for me to have that in the lua scripts (kinda). I could put in a conversion variable and it would convert the US dollar to Euro but a user would always have to set the variable value for the current price of the Euro and inside the application you would still always see the US $.
User avatar
woogerboy21
HQ Team Member
 
Posts: 1136
Joined: 19 Jul 2009, 00:15
Location: USA
Has thanked: 21 times
Been thanked: 152 times

Re: Pricing (Scripts and Notes)

Postby kristijanH » 03 Feb 2011, 17:14

I know Goblin Hero would have to do it but I just comented here because this is the thread for prices. Another question that hopefully you can awser. How does the updates work? I'm updating prices for TCGPlayer LOW and it's taking ages to update. More than 8 hours and I'm still at one third let say. If I stop can I continue tomorrow? Will that work or do I have to update it in one shoot? Also I would like to see update all function. That would make it easier to update so you don't have to look for every store if it's updated yet before going on another one. Cheers
kristijanH
 
Posts: 218
Joined: 24 Nov 2009, 13:49
Has thanked: 52 times
Been thanked: 11 times

PreviousNext

Return to Magic Album

Who is online

Users browsing this forum: No registered users and 8 guests

Main Menu

User Menu

Our Partners


Who is online

In total there are 8 users online :: 0 registered, 0 hidden and 8 guests (based on users active over the past 10 minutes)
Most users ever online was 9298 on 10 Oct 2025, 12:54

Users browsing this forum: No registered users and 8 guests

Login Form