Options greyed out

Comments, questions, rants, etc, that are specifically about KGS go here.
Post Reply
bleep69
Dies in gote
Posts: 24
Joined: Thu Sep 02, 2010 12:25 pm
Rank: KGS 10 kyu
GD Posts: 40
KGS: bleep69
Has thanked: 1 time

Options greyed out

Post by bleep69 »

Hi,

Whenever I play, all the options are greyed out - I can't save, add time, etc...

Anyone know why this is so?
User avatar
Li Kao
Lives in gote
Posts: 643
Joined: Wed Apr 21, 2010 10:37 am
Rank: KGS 3k
GD Posts: 0
KGS: LiKao / Loki
Location: Munich, Germany
Has thanked: 115 times
Been thanked: 102 times

Re: Options greyed out

Post by Li Kao »

Some options are grayed out when you're using the applet instead of the webstart. In particular the score-estimator and file related functions. This is because java applets have less permissions.

But I see no reason why Add-Time should be grayed out.
Sanity is for the weak.
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Options greyed out

Post by wms »

Add time is enable if all these are true:
* The game is not a tournament game
* You are a player in the game
* The game is not over

The code is very straightforward. One of those must not be the case if you are seeing it grayed out.

Code: Select all

    boolean canAddTime =
      (!cGame.gameType.isTournament() &&
       (cGame.getRole() != null) && (cGame.getRole().team != -1) &&
       !cGame.isOver());
    add1MinMI.setEnabled(canAddTime);
    add5MinMI.setEnabled(canAddTime);
User avatar
gaius
Lives in gote
Posts: 476
Joined: Tue Apr 27, 2010 2:55 am
Rank: Dutch 2 dan
GD Posts: 56
KGS: hopjesvla
Has thanked: 193 times
Been thanked: 83 times

Re: Options greyed out

Post by gaius »

Off-topic, but I have been wondering about this for a while: why is there no "add 1 period" option in byo-yomi? In a friendly blitz game, the addtime option can be nice, but you might not want to replenish all of your opponent's periods at once.
My name is Gijs, from Utrecht, NL.

When in doubt, play the most aggressive move
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Options greyed out

Post by wms »

gaius wrote:Off-topic, but I have been wondering about this for a while: why is there no "add 1 period" option in byo-yomi? In a friendly blitz game, the addtime option can be nice, but you might not want to replenish all of your opponent's periods at once.
It just didn't seem a worthwhile option for me. I don't want the menus to grow huge, and the two current options - add a little time, or add a bunch - seem to me to be enough.
User avatar
stalkor
Lives in gote
Posts: 397
Joined: Fri Aug 06, 2010 3:30 pm
Rank: KGS 1d
GD Posts: 0
KGS: stalkor
Location: Netherlands
Has thanked: 102 times
Been thanked: 66 times
Contact:

Re: Options greyed out

Post by stalkor »

since we're asking wms questions let me also ask one:)

when can we expect the next update for KGS? And are there new features coming with that update?
admin of the ASR league and KGS admin
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Options greyed out

Post by wms »

stalkor wrote:since we're asking wms questions let me also ask one:)

when can we expect the next update for KGS? And are there new features coming with that update?

Don't know when it will be ready. Maybe a month. Maybe more.

Changes already done:

* Can't send messages to somebody who has censored you any more.
* Raised max connection limit from 2500 to 4000.
* Added admin chat that players in a game can see.
* Updated Bulgarian translation.
* Fixed bug in user graphs (web+client) where a user who shut off his
rank will have a non-moving graph (but the end date keeps changing).

And I'm also working on the system so advertisers can manage their own ads (right now they send me the ads, I put them up. They paypal me, I add the money to the database. It's a pain. I don't have many advertisers but it's still a pain).

So no huge user-visible changes but improvements.
User avatar
stalkor
Lives in gote
Posts: 397
Joined: Fri Aug 06, 2010 3:30 pm
Rank: KGS 1d
GD Posts: 0
KGS: stalkor
Location: Netherlands
Has thanked: 102 times
Been thanked: 66 times
Contact:

Re: Options greyed out

Post by stalkor »

they seem like good improvements, especially the fact you need to up max connections to 4000 looks like KGS is growing which is a good sign:)

i hope that if you have time you can improve the buddysystem since the ASR league i run is handy for using the buddy system to see if players in the class they play in are online. Most of the people complain that they already have a lot of buddies and a lot of them tend to make a 2nd account to seperate the different lists. assigning colors to names in your buddy list or being able to make multiple buddylists should help a lot:)
admin of the ASR league and KGS admin
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Options greyed out

Post by wms »

stalkor wrote:they seem like good improvements, especially the fact you need to up max connections to 4000 looks like KGS is growing which is a good sign:)

i hope that if you have time you can improve the buddysystem since the ASR league i run is handy for using the buddy system to see if players in the class they play in are online. Most of the people complain that they already have a lot of buddies and a lot of them tend to make a 2nd account to seperate the different lists. assigning colors to names in your buddy list or being able to make multiple buddylists should help a lot:)
I have been asked for the ability to put a note on each buddy. It's something I hope to get to some day. Would that do it for you?
User avatar
stalkor
Lives in gote
Posts: 397
Joined: Fri Aug 06, 2010 3:30 pm
Rank: KGS 1d
GD Posts: 0
KGS: stalkor
Location: Netherlands
Has thanked: 102 times
Been thanked: 66 times
Contact:

Re: Options greyed out

Post by stalkor »

if the note is visible on the players list in the room then yes. colorcoding or making lists inside the buddylist would be even better as long as there is distinction in the players list it's all ok.

i'm not sure if the name "note" is viewed correctly by me, since i'm not a native english speaking person, i view note as an extra feature inside the user profile page (like a tab?), am i right about that?
admin of the ASR league and KGS admin
User avatar
wms
Lives in gote
Posts: 450
Joined: Tue Apr 20, 2010 4:23 pm
GD Posts: 0
KGS: wms
Location: Portland, OR USA
Has thanked: 257 times
Been thanked: 287 times
Contact:

Re: Options greyed out

Post by wms »

stalkor wrote:if the note is visible on the players list in the room then yes. colorcoding or making lists inside the buddylist would be even better as long as there is distinction in the players list it's all ok.

i'm not sure if the name "note" is viewed correctly by me, since i'm not a native english speaking person, i view note as an extra feature inside the user profile page (like a tab?), am i right about that?
No, it sounds like it won't help you. The note is for you, so you can remember why you made somebody a buddy. Other people won't be able to see it.
User avatar
Li Kao
Lives in gote
Posts: 643
Joined: Wed Apr 21, 2010 10:37 am
Rank: KGS 3k
GD Posts: 0
KGS: LiKao / Loki
Location: Munich, Germany
Has thanked: 115 times
Been thanked: 102 times

Re: Options greyed out

Post by Li Kao »

That feature would help me at least. Noting why I buddied/fanned someone or whose alternative account it is, is something I've wanted for a long time.

And please add some of the very easy to code features like time/rank-stamping chat messages.
Sanity is for the weak.
User avatar
palapiku
Lives in sente
Posts: 761
Joined: Sun Apr 25, 2010 11:25 pm
Rank: the k-word
GD Posts: 0
Has thanked: 152 times
Been thanked: 204 times

Re: Options greyed out

Post by palapiku »

wms wrote:
stalkor wrote:if the note is visible on the players list in the room then yes. colorcoding or making lists inside the buddylist would be even better as long as there is distinction in the players list it's all ok.

i'm not sure if the name "note" is viewed correctly by me, since i'm not a native english speaking person, i view note as an extra feature inside the user profile page (like a tab?), am i right about that?
No, it sounds like it won't help you. The note is for you, so you can remember why you made somebody a buddy. Other people won't be able to see it.

This sounds like a very useful feature in general - no need to limit it to buddies.
User avatar
stalkor
Lives in gote
Posts: 397
Joined: Fri Aug 06, 2010 3:30 pm
Rank: KGS 1d
GD Posts: 0
KGS: stalkor
Location: Netherlands
Has thanked: 102 times
Been thanked: 66 times
Contact:

Re: Options greyed out

Post by stalkor »

wms wrote:
stalkor wrote:if the note is visible on the players list in the room then yes. colorcoding or making lists inside the buddylist would be even better as long as there is distinction in the players list it's all ok.

i'm not sure if the name "note" is viewed correctly by me, since i'm not a native english speaking person, i view note as an extra feature inside the user profile page (like a tab?), am i right about that?
No, it sounds like it won't help you. The note is for you, so you can remember why you made somebody a buddy. Other people won't be able to see it.


it will help and it won't help.

every month when the league renews all (at the moment 300+) players have to unbuddy and rebuddy all their classmates (14 per class) so it would help to know which were your old classmates or you might forget and get confused.
It would also greatly help if it were possible to add more players in one time so i can format a string on the site for players to copy paste and be done in 1 go.
The many in one go adding is handy in a lot of cases like private rooms or private teaching games in which you want to add a lot of people at once.
admin of the ASR league and KGS admin
xed_over
Oza
Posts: 2264
Joined: Mon Apr 19, 2010 11:51 am
Has thanked: 1179 times
Been thanked: 553 times

Re: Options greyed out

Post by xed_over »

wms wrote:* Added admin chat that players in a game can see.

yea !!! (speaking as a TD who can now ask an Admin to relay messages to his players)
Post Reply