BBO Discussion Forums: How do I upload a LIN file (How to insert a hand diagram) - BBO Discussion Forums

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

How do I upload a LIN file (How to insert a hand diagram)

#1 User is offline   jillybean 

  • hooked
  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,691
  • Joined: 2003-November-15
  • Gender:Female
  • Location:Vancouver #1 city in the world :)
  • Interests:Bridge, skiing

Posted 2011-March-20, 10:38

I have never worked out how to load a lin file from `myhands`to these forums so that I can post the complete hand, auction and play.
With the old forums it was a simple process using Wayne`s lin convertor.

Can someone help, please.
Searching for your own mistakes is the only way to learn this game. - Fluffy

And no matter what methods you play, it is essential, for anyone aspiring to learn to be a good player, to learn the importance of bidding shape properly. - MikeH

SLOW DOWN! This is not a speedball :)
0

#2 User is offline   inquiry 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 14,563
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Amelia Island, FL
  • Interests:Bridge, what else?

Posted 2011-March-20, 20:16

View Postjillybean, on 2011-March-20, 10:38, said:

I have never worked out how to load a lin file from `myhands`to these forums so that I can post the complete hand, auction and play.
With the old forums it was a simple process using Wayne`s lin convertor.

Can someone help, please.


So here is what you do Basically, get the lin file from the movie found on the traveller page, and substitute in the text as shown in the code snippet below.

Here is a hand I played online, I have put it in code...
http://www.bridgebase.com/tools/handviewer.html?lin=pn|inquiry,ilane,wgcr,jmcw|st%7C%7Cmd%7C3S467QHKD467C45JKA%2CS35H67TQADQKC2368%2CS2TKAH4589D28JACT%2C
%7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7C1D%7Cmb%7Cp%7Cmb%7C1S%7Cmb%7C2H%7Cmb%7C2S%7Cmb%7Cp%7Cmb%7C3S%7Cmb%7Cp%7Cmb%7C4S%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CC
2%7Cpc%7CCT%7Cpc%7CCQ%7Cpc%7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7CS7%7Cpc%7CH6%7Cpc%7CSQ%7Cpc%7CS5%7Cpc%7CS2%7Cpc%7CS9%7Cpc%7CCJ%7Cpc%7CC3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CCK%7Cpc%7CC6%7Cpc%7CH9%7Cpc%7CC9%7C
pc%7CD4%7Cpc%7CDQ%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CSK%7Cpc%7CSJ%7Cpc%7CC4%7Cpc%7CH7%7Cpc%7CD8%7Cpc%7CDT%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CC8%7Cmc%7C11%7C]400|300|See it works. Dont' forget the last close bracket BEFORE the vertical and horizonal numbers. [/hv]


And like this on the page
See it works. Don't forget the last close bracket BEFORE the vetical and horizonal numbers.


Hope that helps.

It is best to use the format from the traveller since the way you posted the hand will be missing is a month or two when the hands are no longer current.
--Ben--

#3 User is offline   jillybean 

  • hooked
  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 7,691
  • Joined: 2003-November-15
  • Gender:Female
  • Location:Vancouver #1 city in the world :)
  • Interests:Bridge, skiing

Posted 2011-March-20, 21:56

almost, I had to remove "colour"?, or I perhaps I needed to set a colour?


Thanks Ben :) It was a lot easier the old way!
Searching for your own mistakes is the only way to learn this game. - Fluffy

And no matter what methods you play, it is essential, for anyone aspiring to learn to be a good player, to learn the importance of bidding shape properly. - MikeH

SLOW DOWN! This is not a speedball :)
0

#4 User is offline   cloa513 

  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,435
  • Joined: 2008-December-02

Posted 2011-October-08, 17:58

View Postjillybean, on 2011-March-20, 21:56, said:

almost, I had to remove "colour"?, or I perhaps I needed to set a colour?


Thanks Ben :) It was a lot easier the old way!

I tried this and it doesn't work- I get a blank tableau.

My lin doesn't look anything like yours- no % (vertical lines instead) and no
{comments}
in the original file.
0

#5 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,539
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2011-October-08, 20:28

We've had this question asked about a half-dozen times over the past month or so. Can we please pin this thread, so people might find it in the future? Thanks.
0

#6 User is offline   cloa513 

  • PipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 1,435
  • Joined: 2008-December-02

Posted 2011-October-08, 21:46

View PostBbradley62, on 2011-October-08, 20:28, said:

We've had this question asked about a half-dozen times over the past month or so. Can we please pin this thread, so people might find it in the future? Thanks.


It should be made more general- how to post a hand?
0

#7 User is offline   RunemPard 

  • PipPipPipPipPip
  • Group: Full Members
  • Posts: 580
  • Joined: 2012-January-11
  • Gender:Male
  • Location:Sweden
  • Interests:Bridge...some other things too I suppose.

Posted 2012-February-19, 16:09

See it works. Dont' forget the last close bracket BEFORE the vertical and horizonal numbers.



testing?
The American Swede of BBF...I eat my meatballs with blueberries, okay?
Junior - Always looking for new partners to improve my play with..I have my fair share of brilliancy and blunders.

"Did your mother really marry a Mr Head and name her son Richard?" - jillybean
0

#8 User is offline   inquiry 

  • PipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 14,563
  • Joined: 2003-February-13
  • Gender:Male
  • Location:Amelia Island, FL
  • Interests:Bridge, what else?

Posted 2012-February-19, 16:18

RenemPard, you had hard returns in the file you pasted in. This is why it didn't show the auction of the play. I edited your file and only removed these hard returns, to get what is shown... Try pasting your source again, and see how to find those returns and eliminate them. If you copy the html directly, you will not have this problem.
--Ben--

#9 User is offline   dboxley 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 327
  • Joined: 2003-March-20
  • Gender:Male
  • Location:Indianapolis

Posted 2012-June-18, 12:48

View Postinquiry, on 2011-March-20, 20:16, said:

So here is what you do Basically, get the lin file from the movie found on the traveller page, and substitute in the text as shown in the code snippet below.

Here is a hand I played online, I have put it in code...
http://www.bridgebase.com/tools/handviewer.html?lin=pn|inquiry,ilane,wgcr,jmcw|st%7C%7Cmd%7C3S467QHKD467C45JKA%2CS35H67TQADQ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Cmb%7Cp%7Cmb%7Cp%7Cpc%7CC
2%7Cpc%7CCT%7Cpc%7CCQ%7Cpc%7CCA%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cpc%7CH2%7Cpc%7CHQ%7Cpc%7CH4%7Cpc%7CH3%7Cpc%7CS4%7Cpc%7CS6%7Cpc%7CS3%7Cpc%7CSA%7Cpc%7CS8%7Cpc%
7CH8%7Cpc%7CHJ%7Cpc%7CS7%7Cpc%7CH6%7Cpc%7CSQ%7Cpc%7CS5%7Cpc%7CS2%7Cpc%7CS9%7Cpc%7CCJ%7Cpc%7CC3%7Cpc%7CD2%7Cpc%7CC7%7Cpc%7CCK%7Cpc%7CC6%7Cpc%7CH9%7Cpc%7CC9%7C
pc%7CD4%7Cpc%7CDQ%7Cpc%7CDA%7Cpc%7CD3%7Cpc%7CSK%7Cpc%7CSJ%7Cpc%7CC4%7Cpc%7CH7%7Cpc%7CD8%7Cpc%7CDT%7Cpc%7CD6%7Cpc%7CDK%7Cpc%7CC8%7Cmc%7C11%7C]400|300|See it works. Dont' forget the last close bracket BEFORE the vertical and horizonal numbers. [/hv]


And like this on the page
See it works. Don't forget the last close bracket BEFORE the vetical and horizonal numbers.


Hope that helps.

It is best to use the format from the traveller since the way you posted the hand will be missing is a month or two when the hands are no longer current.






Here is what my lin file looks like:

pn|lenoi,dboxley,marinaelen,madge19|st||md|2S2469TH245TAD3TKC,S3QH8JD2469QC36QA,

S7H679QKD57C78TJK,|rh||ah|Board 4|sv|b|mb|p|mb|p|mb|1S|mb|p|mb|1N|mb|2H|mb|p|mb|p|mb|d|mb|p|mb|p|mb|p|pg||pc|SA|pc|S2|pc|S3|pc|

S7|pg||pc|SK|pc|S4|pc|SQ|pc|H6|pg||pc|H7|pc|H3|pc|HA|pc|H8|pg||pc|S6|pc|D2|pc|HQ|pc|S5|pg||pc|D7|pc

|D8|pc|DK|pc|D6|pg||pc|S9|pc|HJ|pc|HK|pc|S8|pg||pc|D5|pc|DJ|pc|D3|pc|D4|pg||pc|DA|pc|DT|pc|D9|pc|H9|pg||pc|

CT|pc|C2|pc|H2|pc|C3|pg||pc|ST|pc|C6|pc|C7|pc|SJ|pg||pc|C4|pc|H4|pc|CQ|pc|C8|pg||pc|H5|pc|DQ|mc|10|


This is nothing like your file. I just downloaded the lin file, edited it with notepad and copied it into this post. What am I doing wrong?
0

#10 User is offline   Bbradley62 

  • PipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 6,539
  • Joined: 2010-February-01
  • Gender:Male
  • Location:Brooklyn, NY, USA

Posted 2012-June-18, 13:04

Don't download anything. Look at the hand in myhands: http://online.bridge...time=1340078400
and copy and paste what you see in the gray sub-heading area (below the blue top part) into the forum to get your starting point.
0

#11 User is offline   oryctolagi 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 158
  • Joined: 2015-September-19
  • Gender:Male
  • Location:UK

Posted 2015-November-11, 14:49

How do I insert a single hand plus the bidding, into this forum? And make it anonymous (no players names). And can I shift myself to the South position?
0

#12 User is offline   isityou 

  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 2010-September-20
  • Gender:Male
  • Location:France

Posted 2017-February-03, 16:10

If this works, could someone tell me please what they think of the bidding sequence?
EDIT: didn't work Posted Image

[hv=bbo=y&lin=pn|hellsbels,Hollis_,isityou,kentkentke|st%7C%7Cmd%7C3S23468TJH579JDC4J%2CS59H2TD5TJQKC279A%2CSH468QKD4689C358T%2C%7Crh%7C%7Cah%7CBoard%205%7Csv%7Cn%7Cmb%7Cp%7Cmb%7C2N%7Cmb%7Cp%7Cmb%7C4C%7Cmb%7Cp%7Cmb%7C4D%7Cmb%7Cp%7Cmb%7C4N%7Cmb%7Cp%7Cmb%7C5D%7Cmb%7Cp%7Cmb%7Cp%7Cmb%7Cp%7Cpc%7CSJ%7Cpc%7CS5%7Cpc%7CD4%7Cpc%7CS7%7Cpc%7CHK%7Cpc%7CHA%7Cpc%7CH5%7Cmc%7C12%7C]400|300|Just testing[/hv]

0

#13 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 15,860
  • Joined: 2004-August-21
  • Gender:Male

Posted 2017-February-03, 19:47

It works OK for me:

[/red]Just testing


You shouldn't have "[/red]" before "Just testing", though.

#14 User is offline   isityou 

  • PipPip
  • Group: Members
  • Posts: 11
  • Joined: 2010-September-20
  • Gender:Male
  • Location:France

Posted 2017-February-07, 02:44

View Postbarmar, on 2017-February-03, 19:47, said:

It works OK for me:

[/red]Just testing


You shouldn't have "[/red]" before "Just testing", though.


Thank you for your reply barmar but
1. I deleted "[/red]" from the code line ... still didn't work
2. had a look at your code line of the hand and it seems to show "[/red]" - although yours works
Anyway, it's not important because I still can't get it to work with or without.

EDIT:
I copied your code line below ... and now I am completely lost .... it works ! I will examine the 2 code lines to see if I can work it out.
Did you have a look at the bidding on the hand? What did you think of it and would you bid the same in the East seat?

[/red]Just testing

0

#15 User is offline   barmar 

  • PipPipPipPipPipPipPipPipPipPipPip
  • Group: Admin
  • Posts: 15,860
  • Joined: 2004-August-21
  • Gender:Male

Posted 2017-February-07, 11:07

View Postisityou, on 2017-February-07, 02:44, said:

Did you have a look at the bidding on the hand? What did you think of it and would you bid the same in the East seat?

No, I didn't. If you want to ask about bridge, post the hand in one of the bridge-related forums.

#16 User is offline   kenberg 

  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 8,707
  • Joined: 2004-September-22
  • Location:Northern Maryland

Posted 2017-March-07, 20:54

Can the hand editor, or anything, be used to create hand with only NS cards?
Here is what I wanted to do:

Create a NS deal.
Create the same deal with various layouts of the EW cards.
Discuss this with people by providing the tinyurl address

I was looking at
http://www.bridgebas...ared-deals.html
and all the deals seem to include all four hands. I assume I am missing something.
Ken
0

#17 User is offline   smerriman 

  • PipPipPipPip
  • Group: Full Members
  • Posts: 338
  • Joined: 2014-March-15
  • Gender:Male

Posted 2017-March-07, 21:48

I believe if you just use the hand editor and only provide cards to North/South, it will work fine.

To be honest, I never use the hand editor - often I want to grab a hand I played, remove some information (eg partner or opponents cards or bidding) - I just edit the URL directly.

Consider this URL:

http://www.bridgebase.com/tools/handviewer.html?sn=smerriman&s=SAKQJT92HA4DQ3CKT&wn=Robot&w=SH932DT9654CA7642&nn=Robot&n=S8HQJT8765D872CJ9&en=Robot&e=S76543HKDAKJCQ853&d=w&v=n&b=12&a=PP1S(Major%20suit%20opening%20--%205+%20%21S%3B%2011-21%20HCP%3B%2012-22%20total%20points)PPP&p=SAD4S8S3SKC2H5S5SQD5D2S7SJC4D8S6STD6D7S4CTCACJC5DTH8DAD3DKDQD9H7HKHAH2H6S9H3C9C3CKC6HQCQS2C7HJC8H4H9HTDJ


The format is actually quite readable:

sn, wn, nn, en = names of players
s, w, n, e = cards of players
d = dealer (n/e/s/w)
v = vulnerability (o for nobody, e for e/w, n for n/s, b for both)
b = 12 (board number at top left)
a = auction (if you ignore the alerts, it's a simple format: PP1SPPP)
p = cards played
(there's also a parameter for early claims, like c=12 I think).

All you do is provide the info you want - eg if you remove everything except north and south cards and you get this simple URL which works nicely:

http://www.bridgebase.com/tools/handviewer.html?s=SAKQJT92HA4DQ3CKT&n=S8HQJT8765D872CJ9

0

#18 User is offline   kenberg 

  • PipPipPipPipPipPipPipPipPip
  • Group: Advanced Members
  • Posts: 8,707
  • Joined: 2004-September-22
  • Location:Northern Maryland

Posted 2017-March-08, 08:19

Yes, I see, thanks.

I had used this sort of thing when posting hands in forum discussions, but it had not occurred to me that I could make it work outside that setting. Nice and simple.
Ken
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users