It is currently Tue May 06, 2025 5:14 am

All times are UTC - 8 hours [ DST ]




Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4  Next
Author Message
Offline
 Post subject: Re: Diagrams Should Work Now
Post #21 Posted: Thu Apr 22, 2010 9:33 am 
Honinbo

Posts: 9552
Liked others: 1602
Was liked: 1712
KGS: Kirby
Tygem: 커비라고해
Joaz Banbeck wrote:
Jordus wrote:
...to do this just wrap the go tags with indent tags...


Thanks. Ideally, I'd like nested indents.

Heck, while I'm wishing, I'd like arrows ( multi-colored ) and clouds or regions ( sort of likethe purple 'define region' function of eidogo, but not limited to being rectangular - also multi-colored )


For the latter part of your request, do you mean that you'd like the ability to draw a convex shape around an area on the board (a hexagon, for example)?

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #22 Posted: Thu Apr 22, 2010 9:59 am 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
You can do anything that can be done with Sensei's diagrams, so lines, arrows and certain kinds of shading are possible using diagram search thingies.

Click Here To Show Diagram Code
[go]$$B
$$ ----------------
$$ | . . . V B . . . .
$$ | . . B ? ? V B . .
$$ | . V ? ? ? ? ? V .
$$ | . B ? ? ? ? ? ? B
$$ | V ? ? ? ? ? ? ? V
$$ | B ? ? ? ? ? ? B .
$$ | . V ? ? ? ? ? V .
$$ | . . B V ? ? B . .
$$ | . . . . B V . . .
$$ {LN D18 H16}
$$ {LN H16 F12}
$$ {LN F12 B14}
$$ {LN B14 D18}
$$ [B|FooBar][/go]

Those are all things that are available in the SGF standard too; differen't colored lines and arrows aren't able to be specified in SGF, so that might be harder. I may dig in to the sltxt2png code to see what can be done. I always wished that the diagrams were prettily anti-aliased. But now I'm making too many projects for myself...

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #23 Posted: Thu Apr 22, 2010 10:05 am 
Gosei
User avatar

Posts: 1449
Liked others: 1562
Was liked: 140
Rank: KGS 6k
GD Posts: 892
fwiffo wrote:
You can do anything that can be done with Sensei's diagrams, so lines, arrows and certain kinds of shading are possible using diagram search thingies.

Click Here To Show Diagram Code
[go]$$B
$$ ----------------
$$ | . . . V B . . . .
$$ | . . B ? ? V B . .
$$ | . V ? ? ? ? ? V .
$$ | . B ? ? ? ? ? ? B
$$ | V ? ? ? ? ? ? ? V
$$ | B ? ? ? ? ? ? B .
$$ | . V ? ? ? ? ? V .
$$ | . . B V ? ? B . .
$$ | . . . . B V . . .
$$ {LN D18 H16}
$$ {LN H16 F12}
$$ {LN F12 B14}
$$ {LN B14 D18}
$$ [B|FooBar][/go]

:o Awesome image!

_________________
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #24 Posted: Thu Apr 22, 2010 10:09 am 
Honinbo

Posts: 9552
Liked others: 1602
Was liked: 1712
KGS: Kirby
Tygem: 커비라고해
fwiffo wrote:
You can do anything that can be done with Sensei's diagrams, so lines, arrows and certain kinds of shading are possible using diagram search thingies.

Click Here To Show Diagram Code
[go]$$B
$$ ----------------
$$ | . . . V B . . . .
$$ | . . B ? ? V B . .
$$ | . V ? ? ? ? ? V .
$$ | . B ? ? ? ? ? ? B
$$ | V ? ? ? ? ? ? ? V
$$ | B ? ? ? ? ? ? B .
$$ | . V ? ? ? ? ? V .
$$ | . . B V ? ? B . .
$$ | . . . . B V . . .
$$ {LN D18 H16}
$$ {LN H16 F12}
$$ {LN F12 B14}
$$ {LN B14 D18}
$$ [B|FooBar][/go]

Those are all things that are available in the SGF standard too; differen't colored lines and arrows aren't able to be specified in SGF, so that might be harder. I may dig in to the sltxt2png code to see what can be done. I always wished that the diagrams were prettily anti-aliased. But now I'm making too many projects for myself...


Yes, leave some for me to work on ;)

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #25 Posted: Thu Apr 22, 2010 11:49 am 
Lives in gote
User avatar

Posts: 450
Location: Portland, OR USA
Liked others: 257
Was liked: 287
KGS: wms
Help! MY DIAGRAM ASPLODE!

See viewtopic.php?f=37&t=161&p=984#p984

When I edit, I see the "go" tags with the $$ stuff in between. But when I save it, it sprays all this crap all over.

What do I do to fix it?

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #26 Posted: Thu Apr 22, 2010 12:27 pm 
Honinbo

Posts: 9552
Liked others: 1602
Was liked: 1712
KGS: Kirby
Tygem: 커비라고해
wms wrote:
Help! MY DIAGRAM ASPLODE!

See http://lifein19x19.com/forum/viewtopic. ... p=984#p984

When I edit, I see the "go" tags with the $$ stuff in between. But when I save it, it sprays all this crap all over.

What do I do to fix it?


Thanks, wms. You found another bug. For now, try using "Move 55" instead of "Move #55". I'll fix this when I come home from work tonight.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #27 Posted: Thu Apr 22, 2010 12:56 pm 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
One thing that is going to cause trouble for a lot of characters is embedding the go code inside the Javascript tag. I worked around that for the EidoGo thing by putting the {TEXT} portion inside a separate tag and having the javascript pull it out using foo.innerHTML or some such. Of course, you'll still have to escape &, ?, #, etc. for the call to the server and undo the conversion of newlines to <br /> and other mangling phpbb does. But you won't have to worry about characters that potentially break Javascript strings (e.g. \, ", etc. which have the potential for malicious javascript injection too).

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #28 Posted: Thu Apr 22, 2010 3:23 pm 
Site Admin
User avatar

Posts: 1125
Location: Allegan, MI, USA
Liked others: 18
Was liked: 121
Rank: KGS 9k
Universal go server handle: Jordus
testing black

should the size of the stone smilies be smaller?

_________________
I'm thinking...

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #29 Posted: Thu Apr 22, 2010 3:28 pm 
Gosei
User avatar

Posts: 1449
Liked others: 1562
Was liked: 140
Rank: KGS 6k
GD Posts: 892
I like the size, but you should avoid having words with b on them on the forum. :P
Bee, butterfly, baby.

You should be careful about what to use for smilie substitution.

_________________
a1h1 [1d]: You just need to curse the gods and defend.
Good Go = Shape.
Associação Portuguesa de Go

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #30 Posted: Thu Apr 22, 2010 3:29 pm 
Site Admin
User avatar

Posts: 1125
Location: Allegan, MI, USA
Liked others: 18
Was liked: 121
Rank: KGS 9k
Universal go server handle: Jordus
my bad :P

right now it is ":black:" for the smilie. should I switch it to something else? :black:

and for the rest i i think b1, b2, b3 etc is good no?

for white it will mirror black with b replaced with w

_________________
I'm thinking...

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #31 Posted: Thu Apr 22, 2010 7:05 pm 
Gosei
User avatar

Posts: 1435
Location: California
Liked others: 53
Was liked: 171
Rank: Out of practice
GD Posts: 1104
KGS: fwiffo
I think they should all have colons for consistency, e.g. :black:, :b1:, :b2:, :w1:, :w2:, etc. That's the standard for "exotic" smileys, like :ugeek: == Image, etc.

_________________
KGS 4 kyu - Game Archive - Keyboard Otaku

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #32 Posted: Thu Apr 22, 2010 8:13 pm 
Lives in gote
User avatar

Posts: 505
Location: Montana
Liked others: 80
Was liked: 62
fwiffo wrote:
I think they should all have colons for consistency, e.g. :black:, :b1:, :b2:, :w1:, :w2:, etc. That's the standard for "exotic" smileys, like :ugeek: == Image, etc.

Agreed. Better to keep things consistent. And good to see it was already fixed so it does take the colon and the word. There were a few pretty funny posts because of the non-unique matching. ;)

_________________
KGS: schultz [?].

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #33 Posted: Fri Apr 23, 2010 7:43 pm 
Honinbo

Posts: 9552
Liked others: 1602
Was liked: 1712
KGS: Kirby
Tygem: 커비라고해
Added SGF hyperlinks to diagrams, so that you can download them.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #34 Posted: Sat Apr 24, 2010 11:15 am 
Dies with sente
User avatar

Posts: 72
Liked others: 0
Was liked: 2
Rank: 4K
GD Posts: 1393
I "think" I had an issue with white space in front of a diagram line....

For example this doesn't work ... the diagram was cut n' pasted from a working diagram's "show code" link. The space added to the beginning breaks it....

Click Here To Show Diagram Code
[go]$$c
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . X . |
$$ | . . . O . . O O . X . . X X . O O X . |
$$ | . . . , . . . X . , . . O . O . X . . |
$$ | . . O . . . . . . X X . O . . . . . . |
$$ | . . . . . . . . . X O . . . O X . . . |
$$ | . . . . . . . . . O O . O . X X . . . |
$$ | . . . . . . . . . . . . . . . . . X . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . X , . . . . . , . . . . . , . O . |
$$ | . . . . . . . . . . . . . . . X X O . |
$$ | . . . . . . . . . . . . . . . . O . . |
$$ | . . . . . . . . . . . . . . . O . . . |
$$ | . . . . . . . . . . . B O . . O X . . |
$$ | . . . . . . . . . . . . . . . . X . . |
$$ | . . X , . . . . . , . X . O . O . X . |
$$ | . . . . X . O . . O . X . . . O X . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]

_________________
Photo Blog:
http://blog.lunchisoptional.com

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #35 Posted: Sat Apr 24, 2010 11:16 am 
Site Admin
User avatar

Posts: 1125
Location: Allegan, MI, USA
Liked others: 18
Was liked: 121
Rank: KGS 9k
Universal go server handle: Jordus
i think I got it fixed.... and added the go tags in the copy code

_________________
I'm thinking...

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #36 Posted: Sat Apr 24, 2010 11:25 am 
Dies with sente
User avatar

Posts: 72
Liked others: 0
Was liked: 2
Rank: 4K
GD Posts: 1393
Jordus, when you pasted that in did it not put 4 spaces in front of every line?

EDIT: You are faster than my question....

_________________
Photo Blog:
http://blog.lunchisoptional.com

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #37 Posted: Sat Apr 24, 2010 11:26 am 
Site Admin
User avatar

Posts: 1125
Location: Allegan, MI, USA
Liked others: 18
Was liked: 121
Rank: KGS 9k
Universal go server handle: Jordus
when taking from an original diagram it did... not from your source...

however, when I added the go tags to the source code, the diagrams that did put spaces before for me didnt....

so hopefully that took care of it.

_________________
I'm thinking...

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #38 Posted: Sat Apr 24, 2010 4:20 pm 
Dies with sente
User avatar

Posts: 72
Liked others: 0
Was liked: 2
Rank: 4K
GD Posts: 1393
Sounds good, it should be a good fix, at least for the time being.

At some point the diagrammer could be taught to ignore any whitespace prior to a '$', but for now, who cares, on with the Malkovich games! :D

_________________
Photo Blog:
http://blog.lunchisoptional.com

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #39 Posted: Sat Apr 24, 2010 9:21 pm 
Honinbo

Posts: 9552
Liked others: 1602
Was liked: 1712
KGS: Kirby
Tygem: 커비라고해
sumiyaka wrote:
Sounds good, it should be a good fix, at least for the time being.

At some point the diagrammer could be taught to ignore any whitespace prior to a '$', but for now, who cares, on with the Malkovich games! :D


I'll try to get to this today or tomorrow.

_________________
be immersed

Top
 Profile  
 
Offline
 Post subject: Re: Diagrams Should Work Now
Post #40 Posted: Sun Apr 25, 2010 10:50 am 
Honinbo

Posts: 9552
Liked others: 1602
Was liked: 1712
KGS: Kirby
Tygem: 커비라고해
test...

Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


                              
Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]


[indent]
Click Here To Show Diagram Code
[go]$$Bc
$$ ---------------------------------------
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . X O O . . . . . . . . . . . . . . . |
$$ | . X X O O . . X . , . . . . . , X . . |
$$ | . X O X . . . . . . . . . . . . . . . |
$$ | . . O X . . . . . . . . . . . . . . . |
$$ | . . O B . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . , . . . . . , . . . . . , . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . X . . . . . . . . . . . . . |
$$ | . . X . X . . . . . . . . . . . . . . |
$$ | . . . , . O . . . , . . . . . O . . . |
$$ | . . . O . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ | . . . . . . . . . . . . . . . . . . . |
$$ ---------------------------------------[/go]
[/indent]

_________________
be immersed

Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 64 posts ]  Go to page Previous  1, 2, 3, 4  Next

All times are UTC - 8 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group