when I launch HoOne with more than 3 players pydarts closes ( I try pydarts 1.2.0 beta 18, on windows 10 and on raspberry pi, same results)
The debug message:
[DEBUG] Found these games : 321_Zlip/Bermuda_Triangle/By_Fives/Cricket/Football/Ho_One/Kapital/Killer/Kinito/Practice/Sample_game/Scram_Cricket/Shanghai [DEBUG] Waiting for game choice [DEBUG] Inserting image into cache images/321_Zlip.png [DEBUG] Input debug (pyGame) : (292, 308) [DEBUG] Clicked on select|5 [DEBUG] Inserting image into cache images/Ho_One.png [DEBUG] Input debug (pyGame) : (839, 645) [DEBUG] Clicked on return [DEBUG] Working on section Ho_One of your config file. [DEBUG] Don't forget that you may create section named Ho_One to customize pyDarts [DEBUG] Waiting for game options [DEBUG] Input debug (pyGame) : (902, 640) [DEBUG] Clicked on return [DEBUG] Checking for handicaps! [FATAL]Error getting required config value startpercent. No command line, no config found, no default Abort
Error in sys.excepthook:
Original exception was:
End error message.
I might have found a temporary solution. I just added starpercent:0 in the pydarts.cfg in [sectionglobals] as it appears to have no default value.
Anyone else having this issue?
best regards,
poukah
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tested with startpercent:0.4 but I didn't notice any change.
I didn't see the "startpercent" key in CConfig.py in the last source. Maybe it's missing?
cheers
Last edit: poukah 2021-03-09
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
After a night of thinking (not all night be quiet), I changed my mind
and I have done the following :
Handicap Ratio is now expressed as a percentage, as a game option :
default is 40 but can be setup in pydarts.cfg in the [Ho_One] section or
directly in the game options.
Handicap is calculated from this value (40 = 0.4).
Hope this will solve your issues, please let me know !
Cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
when I launch HoOne with more than 3 players pydarts closes ( I try pydarts 1.2.0 beta 18, on windows 10 and on raspberry pi, same results)
The debug message:
End error message.
I might have found a temporary solution. I just added starpercent:0 in the pydarts.cfg in [sectionglobals] as it appears to have no default value.
Anyone else having this issue?
best regards,
poukah
Hi,
Have you tested with the value "startpercent:0.4" ?
Regards
Hi,
I tested with startpercent:0.4 but I didn't notice any change.
I didn't see the "startpercent" key in CConfig.py in the last source. Maybe it's missing?
cheers
Last edit: poukah 2021-03-09
I've fixed this one. startpercent has nothing to do in SectionGlobals
It must be starting from now in a [Ho_One] section of your config file
or fallback to default 0.4 value.
Cheers !
After a night of thinking (not all night be quiet), I changed my mind
and I have done the following :
Handicap Ratio is now expressed as a percentage, as a game option :
default is 40 but can be setup in pydarts.cfg in the [Ho_One] section or
directly in the game options.
Handicap is calculated from this value (40 = 0.4).
Hope this will solve your issues, please let me know !
Cheers
Hi poilou, hi guys!
I tested it quickly this morning without and with modification and I can confirm that
your changes solved the issue, thanks a lot!
cheers!