hi poilou
i have made a small change in CConfig.py in Section Globals 'playernames':['Player1','Player2','Player3','Player4','Player5','Player6','Player7','Player8','Player9','Player10']
and in CScreen.py after elif K == '+' and len(Players)<12: i have added
elif K >= 0 and K < 10 and len(Players)<12:
nbplayers=len(Players)
Players.append(self.Config.GetValue('SectionGlobals','playernames')[K])
so i can predefine a list of players and choose them with numbers instead press +, F-Key. Playername and Enter
it would also be great to add the Defaultplayername in Config and add it to the empty list insted the name of the logged in User. But i did not find the way
would be great if you could at this when you have time
cheers
chrigu
Last edit: Chrigu Wuethrich 2017-05-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
yep this i have already used, but by 5 players there are mutliple combinations and i found that the other is (for me) the better way
when i start it with localplayers i'm not able to delete the third player when he didn't play because i can remove only the last
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Chrigu !
I squeezed my brain dry today and added a new feature :)
When you click on a players' name, the player's name is removed from the list.
Could you tell me if the benefit if good for you, combined with the localplayers option ?
This is a preview from a new feature that I expect to do ASAP. I want to be able to click in the menus to perform actions. This would be great for touchscreen users, don't you think ?
Bye
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi poilou
i have made a small change in CConfig.py in Section Globals
'playernames':['Player1','Player2','Player3','Player4','Player5','Player6','Player7','Player8','Player9','Player10']
and in CScreen.py after
elif K == '+' and len(Players)<12:
i have addedso i can predefine a list of players and choose them with numbers instead press +, F-Key. Playername and Enter
it would also be great to add the Defaultplayername in Config and add it to the empty list insted the name of the logged in User. But i did not find the way
would be great if you could at this when you have time
cheers
chrigu
Last edit: Chrigu Wuethrich 2017-05-06
Hi Chrigu !
It was already possible ! Just launch your pyDarts from command line
like this :
pydarts --localplayers=player1,player2,player3,player4,player5,player6
And if you like to make it permanent, just add to the SectionAdvanced of
your config file :
localplayers:player1,player2,player3,player4,player5,player6
Cheers !
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
yep this i have already used, but by 5 players there are mutliple combinations and i found that the other is (for me) the better way
when i start it with localplayers i'm not able to delete the third player when he didn't play because i can remove only the last
cheers
Hi Chrigu !
I squeezed my brain dry today and added a new feature :)
When you click on a players' name, the player's name is removed from the list.
Could you tell me if the benefit if good for you, combined with the localplayers option ?
This is a preview from a new feature that I expect to do ASAP. I want to be able to click in the menus to perform actions. This would be great for touchscreen users, don't you think ?
Bye
awesome
thx
I'm glad that you can also choose the games by clicking
cheers
chrigu