Go Back   MTG Vault Forums > MTG Vault > MTG Vault Bugs



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 03-10-2010, 09:48 AM
Seth's Avatar
Seth Seth is offline
Senior Member
 
Join Date: Dec 2009
Location: Belgium
Posts: 627
Default Bulk Import: Bonesplitter

when inputting Bonesplitter using the Bulk Import he imports it as Bonesplitter Sliver

cheers
Reply With Quote
  #2  
Old 03-10-2010, 11:28 AM
Ian Ian is offline
Administrator
 
Join Date: Jul 2009
Posts: 324
Default

Hi Seth

Cheers for that. Unforunately, things like this will happen. The way it works atm (hence why it's a bit beta ) is that it compares the input name to card names using in SQL language, LIKE '%BoneSplitter%' - to pickup any lazy name typing. This effectively checks any card name with BoneSplitter in it's name. So if you type 1x Circle, you'd end up with lots of circles of protection!

Thanks for the feedback!

Cheers
__________________
TCG Vault Network:
http://www.mtgvault.com
http://www.wowtcgvault.com
Reply With Quote
  #3  
Old 03-11-2010, 01:17 PM
Seth's Avatar
Seth Seth is offline
Senior Member
 
Join Date: Dec 2009
Location: Belgium
Posts: 627
Default

Yeah I know, I wrote a bulk insert a while back myself (sometime before yours went online )

After your fetch from the database you should use regular expressions to narrow down the search, try to find an exact match in case of multiple results from the database. If the code can't sort it out you could return a page with links so the user can choose which is the correct card from the list of matches.

cheers

Seth
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:55 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2005 - 2009, MTG Vault.