Bonjour Poilou
First I want to say that your project is pretty nice. I use your program on a bar machine with a switch on the matrix so I am able to play original games from the machine and also pydarts (One friend is in progress to do the same thing so we will be very soon able to play online with pydarts)
On the killer game, we found a bug when we play with more than 2 players. The program crush if a player is allready dead and when an other player hit the number of the dead man
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your support. I definitly think your idea is good and I would have enough time to find a cheap bar machine and test it by myself... I had this idea a few years ago but never tried... If it works great, I am pretty curious of how the matrix can be done on this type of machine and if you feel courageous enough to make a plan and pictures it would be a great illustration on the wiki !
Regarding your bug with the killer game, I cannot reproduce it, neither on branch v0.9 and branch v1.0. Could you tell me if you have Windows or Linux ? x32 python or x64 ? Wich branch and which build do you use ?
Cheers :)
Last edit: poilou 2016-10-13
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It's a bar machine at home : you will find some pictures and description on http://barbuscup.webnode.fr/arduino/
I have not update this page with the switch but I will do it
For pydarts, I use v0.9 on windows 7 and x32 python
You will find bellow the end of the crush report :
[DEBUG] ###### NEW ROUND ######### [DEBUG] Game Round 2. Round of player Famille Mottu. Dart 3. [DEBUG] DEBUGINPUT : You hit "=" which is associated to "T1" in your configurati
on file. [DEBUG] You have played : T1 [DEBUG] Still no winner ...
[DEBUG] ###### NEW ROUND ######### [DEBUG] Game Round 2. Round of player Player1. Dart 1. [DEBUG] DEBUGINPUT : You hit "h" which is associated to "S15" in your configurat
ion file. [DEBUG] You have played : S15
Traceback (most recent call last):
File "pydarts.py", line 411, in <module>
PostDarts = objGame.PostDartsChecks(DartStroke,LSTJoueurs,actualround,actual
player,playerlaunch)
File "C:\Games\pydarts_v0.9.0\games\Killer.py", line 98, in PostDartsChecks
self.TxtRecap += "On enleve {} au joueur {}\n" % (TouchToAdd,actualplayer)
TypeError: not all arguments converted during string formatting
C:\Games\pydarts_v0.9.0>
Thanks for you help
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Bonjour Poilou
First I want to say that your project is pretty nice. I use your program on a bar machine with a switch on the matrix so I am able to play original games from the machine and also pydarts (One friend is in progress to do the same thing so we will be very soon able to play online with pydarts)
On the killer game, we found a bug when we play with more than 2 players. The program crush if a player is allready dead and when an other player hit the number of the dead man
a bar machine in a bar or at home?
If it is in a bar we gonna come for a drink!
Hello amigo :)
Thanks for your support. I definitly think your idea is good and I would have enough time to find a cheap bar machine and test it by myself... I had this idea a few years ago but never tried... If it works great, I am pretty curious of how the matrix can be done on this type of machine and if you feel courageous enough to make a plan and pictures it would be a great illustration on the wiki !
Regarding your bug with the killer game, I cannot reproduce it, neither on branch v0.9 and branch v1.0. Could you tell me if you have Windows or Linux ? x32 python or x64 ? Wich branch and which build do you use ?
Cheers :)
Last edit: poilou 2016-10-13
Another thing : could you launch pydarts from terminal, reproduce the issue and send me the logs ?
Thanks for your help !
Diego
It's a bar machine at home : you will find some pictures and description on http://barbuscup.webnode.fr/arduino/
I have not update this page with the switch but I will do it
For pydarts, I use v0.9 on windows 7 and x32 python
You will find bellow the end of the crush report :
[DEBUG] ###### NEW ROUND #########
[DEBUG] Game Round 2. Round of player Famille Mottu. Dart 3.
[DEBUG] DEBUGINPUT : You hit "=" which is associated to "T1" in your configurati
on file.
[DEBUG] You have played : T1
[DEBUG] Still no winner ...
[DEBUG] ###### NEW ROUND #########
[DEBUG] Game Round 2. Round of player Player1. Dart 1.
[DEBUG] DEBUGINPUT : You hit "h" which is associated to "S15" in your configurat
ion file.
[DEBUG] You have played : S15
Traceback (most recent call last):
File "pydarts.py", line 411, in <module>
PostDarts = objGame.PostDartsChecks(DartStroke,LSTJoueurs,actualround,actual
player,playerlaunch)
File "C:\Games\pydarts_v0.9.0\games\Killer.py", line 98, in PostDartsChecks
self.TxtRecap += "On enleve {} au joueur {}\n" % (TouchToAdd,actualplayer)
TypeError: not all arguments converted during string formatting
C:\Games\pydarts_v0.9.0>
Thanks for you help
Hi ludal :)
Could you try this Killer.py file instead of yours ?
https://framadrop.org/r/tc5n0Mzy82#q6aTJR+o/FWLnpHqdC8vinZUXawENT8MecCDT63VzLw=
(or take the latest v0.9 branch)
and tell me if it goes better ?
Cheers :)
Hi poilou
Ok I will try when I go back to home and I will keep you inform
Have a nice day
Poilou
You know what... your update of killer.py works :-)
Thanks
Bull's eye :)
Enjoy yor beautiful bar board en send us pictures of both of you :)