jan 2
Moderator: SharksGM
- SharksGM
- Site Admin
- Posts: 8501
- Joined: Tue Sep 22, 2009 9:21 pm
Re: jan 2
Well, I suppose playing to a tie on the road and gambling on the shootout is better than losing outright.
If anyone cares, I've noticed that EHM seems to be giving vopatizing players in the AHL negative fighting, which screws up file reading - there's supposed to be two spaces between each number in players.ehm and the minus sign takes up one of them. Anyway, for now I'm periodically boosting the fighting ratings of players this happens to. This should stop once losers like Brad Marchand are out of the league.
If anyone cares, I've noticed that EHM seems to be giving vopatizing players in the AHL negative fighting, which screws up file reading - there's supposed to be two spaces between each number in players.ehm and the minus sign takes up one of them. Anyway, for now I'm periodically boosting the fighting ratings of players this happens to. This should stop once losers like Brad Marchand are out of the league.
- Vik (Habs)
- Posts: 2788
- Joined: Sun Oct 12, 2014 12:46 pm
Re: jan 2
My solution is to replace any "-" in a string with " -" when reading the file.SharksGM wrote: ↑Thu Jan 03, 2019 1:32 amIf anyone cares, I've noticed that EHM seems to be giving vopatizing players in the AHL negative fighting, which screws up file reading - there's supposed to be two spaces between each number in players.ehm and the minus sign takes up one of them. Anyway, for now I'm periodically boosting the fighting ratings of players this happens to. This should stop once losers like Brad Marchand are out of the league.
- SharksGM
- Site Admin
- Posts: 8501
- Joined: Tue Sep 22, 2009 9:21 pm
Re: jan 2
Yeah there are lots of workarounds, but EHM shouldn't be giving negative attributes in the first place. I don't know why it bothers with double spacing everything in the first place when one space would do.Vik (Habs) wrote: ↑Thu Jan 03, 2019 4:05 amMy solution is to replace any "-" in a string with " -" when reading the file.SharksGM wrote: ↑Thu Jan 03, 2019 1:32 amIf anyone cares, I've noticed that EHM seems to be giving vopatizing players in the AHL negative fighting, which screws up file reading - there's supposed to be two spaces between each number in players.ehm and the minus sign takes up one of them. Anyway, for now I'm periodically boosting the fighting ratings of players this happens to. This should stop once losers like Brad Marchand are out of the league.
- Vik (Habs)
- Posts: 2788
- Joined: Sun Oct 12, 2014 12:46 pm
Re: jan 2
Been a few years since I've done it but, if memory serves, it's how VisualBasic does it. I think it's if you do...SharksGM wrote: ↑Sun Jan 06, 2019 11:15 pmYeah there are lots of workarounds, but EHM shouldn't be giving negative attributes in the first place. I don't know why it bothers with double spacing everything in the first place when one space would do.Vik (Habs) wrote: ↑Thu Jan 03, 2019 4:05 amMy solution is to replace any "-" in a string with " -" when reading the file.SharksGM wrote: ↑Thu Jan 03, 2019 1:32 amIf anyone cares, I've noticed that EHM seems to be giving vopatizing players in the AHL negative fighting, which screws up file reading - there's supposed to be two spaces between each number in players.ehm and the minus sign takes up one of them. Anyway, for now I'm periodically boosting the fighting ratings of players this happens to. This should stop once losers like Brad Marchand are out of the league.
Print a, b, c
Where a, b, and c are all numbers, it puts two spaces between each of them if positive or one and a - if negative. So blame VB rather than EHM for the two spaces I guess is what I'm saying.