I am not talking about playign a player out of his positions.....it is just that say a player has a C/LW......well you have to go into team management or whatever it is and change the position and then go back and insert that player into the line up......and also......we only have LW/RW on the PK......and it wont let u put a center at RW unless you change him AGAIN.......Colorado wrote:Hey guys,
Can some one confirm the following issues, and add anything else that needs to be changed:
- There is some sort of issue with setting training using the office. It appears that it is caused by team training, not individual player training.
- We need to allow for forwards to be used at defense on the powerplay.
- All other functions work properly.
I see STL mentioned he would like to have the ability to select players using their alternate positions when setting lines. While I see his point, to a degree, you can't do this in EHM either. Yes, you can set a player to play out of position if you have an out-of-position guy selected, but if you hit the "L" tab, you will only see your left wingers. This would not be difficult to add, but then it kind of makes the "switch position" function on the roster management page trivial. Pat/Tim/Adam, you guys make the call.
Update, etc
Moderator: SharksGM
Re: Update, etc
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
Feel free to e-mail your lines to the league.
Re: Update, etc
I will do that.....i sthere anything concrete about when preseason is going to start? is it tomorrow? ....i see a cpl of different comments about it. Just so everyone is on the same page here
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
I still say we give Quinn and the rest of the team time to get GM Office running without any errors or problems. It will save the staff so much time in the long run, and the pre-season can wait a week or two.
Most recent file here.
Re: Update, etc
I am all for that. This site is one of the best i have seen in all aspects.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Yes, I checked an uncorrupted file with one from the ftp site, and got errors. Specifically, a runtime error 62 "input beyond end of file" error, that caused Player Scout to shut down and then caused the game to shut down when I opened certain players. However, I could not find anything that looked wrong when I checked the players file. I suppose it could very well be the teams.ehm file (wasn't there an earlier problem with this file that you fixed?), but why would that cause Player Scout to shut down? Unless PS uses the teams file and I'm not aware of it...Colorado wrote:Making changes to the rules regarding line submissions is trivial. I can have that done by Sunday when I have a chance to get to the code. It seems like the only line "problems" are just the PK and PP issues discussed - so if you don't care about those problems for your first preseason game if you have a game before Sunday, then go ahead and use the tool to submit your lines. If not, just e-mail them to the lines account.
It seems like the only issue that may take some figuring out is the training issue. Pat, can you confirm that the problem is somewhere inside the teams.ehm file? It looks like you ran a diff between a healthy file and a corrupted file but didn't find anything noticably bad, is that right? If so, there may be some invalid training numbers... Without having the code in front of me, I bet the EHM sliders in-game don't correspond exactly to round numbers like 10, 20, 30, 40, 50% etc. Perhaps one of those numbers is invalid.
Also, I see a bug on the standings page that is giving a divide by zero warning. This will be a trivial change as well.
Could the whole thing be as simple as having just one person, ie the simmer, change the training numbers? Perhaps GM Office is rounding them off in an EHM-unacceptable way? (Just guessing.)
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
The GM office now accepts:
- Any forward at any forward position on the PK
- Any forward at defense on the PP
Pat, could you upload:
A 'good' teams.ehm called teams_good.ehm
A 'bad' teams.ehm called teams_bad.ehm
Just so I can run the diff?
- Any forward at any forward position on the PK
- Any forward at defense on the PP
Pat, could you upload:
A 'good' teams.ehm called teams_good.ehm
A 'bad' teams.ehm called teams_bad.ehm
Just so I can run the diff?
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Ok, doing it now.Colorado wrote:The GM office now accepts:
- Any forward at any forward position on the PK
- Any forward at defense on the PP
Pat, could you upload:
A 'good' teams.ehm called teams_good.ehm
A 'bad' teams.ehm called teams_bad.ehm
Just so I can run the diff?
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Done. The current "players.ehm" file in the ftp site is corrupt, for me at least.
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
So there is an issue with players and teams, anything else?Bub(NYR) wrote:Done. The current "players.ehm" file in the ftp site is corrupt, for me at least.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Not that I've seen or found.
Re: Update, etc
What are those scores now shown on the front page?
You haven't simmed yet, right?
You haven't simmed yet, right?
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
Since the new schedule hasn't been uploaded to the site yet, it is showing the last day of the regular season for the current file (last season). Once the new schedule is uploaded, it will show the first day of the regular season for 14-15. I anticipate there will be a php looping problem for when there are zero games played, so I'll see if I can fix that. But, it's a small problem since it will go away as long as there is at least one game where the score isn't 0-0.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Ok, everyone, gather 'round:
Quinn's made some adjustments to GM Office, and we think the errors the files were generating for me have been overcome. So....I would like to begin pre-season games tomorrow night. That's Wednesday night for those of you living in windowless rooms. Usual time for sims is any time after 9pm Eastern Time (US), but since I'll probably do a double or triple sim (two or three days), I will most likely begin this particular sim at 7pm. Since it's only pre-season, no big loss if you've missed doing your lines or whatever.
Anyway, GM Office is good to go, so you can now use it for all its intended, um, uses. As for the file, I've entered in all applicable roster and staff moves, entered in trades, signed free agents, etc. For the newbies out there, remember that there are no waiver claims in the pre-season, unless someone is waived outright, like Pronger just was. (In other words, you can't go claiming a 30-year-old who is sent to the minors.)
And here is the link to the zip file, should anyone want it:
http://www.ehechockey.com/EHEC.zip
Quinn's made some adjustments to GM Office, and we think the errors the files were generating for me have been overcome. So....I would like to begin pre-season games tomorrow night. That's Wednesday night for those of you living in windowless rooms. Usual time for sims is any time after 9pm Eastern Time (US), but since I'll probably do a double or triple sim (two or three days), I will most likely begin this particular sim at 7pm. Since it's only pre-season, no big loss if you've missed doing your lines or whatever.
Anyway, GM Office is good to go, so you can now use it for all its intended, um, uses. As for the file, I've entered in all applicable roster and staff moves, entered in trades, signed free agents, etc. For the newbies out there, remember that there are no waiver claims in the pre-season, unless someone is waived outright, like Pronger just was. (In other words, you can't go claiming a 30-year-old who is sent to the minors.)
And here is the link to the zip file, should anyone want it:
http://www.ehechockey.com/EHEC.zip
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
How far ahead did you sim?Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
- SharksGM
- Site Admin
- Posts: 8502
- Joined: Tue Sep 22, 2009 9:21 pm
Re: Update, etc
You have to lower all team budgets to ~68 million or so and then lower all player salaries significantly or it will crash if you autosim in the preseason.Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
Re: Update, etc
to the next day, that was it......and it shut down EHM and then i tried it again and same thing happenedBub(NYR) wrote:How far ahead did you sim?Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
Re: Update, etc
Ok i did all my teams lines and position changes and training. Hopefully it all took. 

- SharksGM
- Site Admin
- Posts: 8502
- Joined: Tue Sep 22, 2009 9:21 pm
Re: Update, etc
I thought forwards could play any position on the PP too?
It would be nice to have an upload/download lines button on the lineup page. It's not always going to be possible to do lines through the office (e.g. after a trade that hasn't been processed yet).
Also it's kind a bit difficult to assign players to the point on the PP since it lists literally every skater on your roster by order of ID.
Lastly, it doesn't seem like the GM office checks for players assigned to multiple lines, or that only 18 skaters are dressed.
It would be nice to have an upload/download lines button on the lineup page. It's not always going to be possible to do lines through the office (e.g. after a trade that hasn't been processed yet).
Also it's kind a bit difficult to assign players to the point on the PP since it lists literally every skater on your roster by order of ID.
Lastly, it doesn't seem like the GM office checks for players assigned to multiple lines, or that only 18 skaters are dressed.
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
The GM office does not check for any line rules. Is it confirmed that there will be no rule changes? When I originally wrote the GM office, we had certain GMs in the league complaining about some of the rules, so I left it, but that was quite a while ago.
I don't know about the any forward at any position rule on the PP. I don't see any reason why we need this, but it's up to Pat, Adam, Tim. Actually, if you guys could remind me of all the line restrictions, I'll see if I can work on getting those set before the regular season.
As for 18 skaters/skaters on multiple lines, I'll add this in too, but EHM won't take your lines if you do that anyway. That'll get you computered.
I don't know about the any forward at any position rule on the PP. I don't see any reason why we need this, but it's up to Pat, Adam, Tim. Actually, if you guys could remind me of all the line restrictions, I'll see if I can work on getting those set before the regular season.
As for 18 skaters/skaters on multiple lines, I'll add this in too, but EHM won't take your lines if you do that anyway. That'll get you computered.
Re: Update, etc
Correct.SharksGM wrote:I thought forwards could play any position on the PP too?
We'll look into implementing a virtual intelligence into GM Office so it can predict when you never want to assign a player to play point on the powerplay.SharksGM wrote:Also it's kind a bit difficult to assign players to the point on the PP since it lists literally every skater on your roster by order of ID.
- SharksGM
- Site Admin
- Posts: 8502
- Joined: Tue Sep 22, 2009 9:21 pm
Re: Update, etc
if(player_off < 60)CapsGM wrote:We'll look into implementing a virtual intelligence into GM Office so it can predict when you never want to assign a player to play point on the powerplay.SharksGM wrote:Also it's kind a bit difficult to assign players to the point on the PP since it lists literally every skater on your roster by order of ID.
print "What are you doing, Dave? I can't let you do that, Dave."
exit
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
Just did some training and position changes, seemed okay.
Did my lines, and got this:
Still seems okay....
Did my lines, and got this:
Code: Select all
[phpBB Debug] PHP Notice: in file /homepages/40/d297809242/htdocs/ehec/display_edit_lines.php on line 55: file() [function.file]: Filename cannot be empty
NHL lineup saved. - OK
Most recent file here.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Okay, huh....now I'm getting the same thing. Checking on the fhockey.com forums, it appears this is financially related. The fix appears to be one of two things: 1) apply a 24% salary rollback (there is a tool to do this) for every player, or 2) use version 1.18 until you get past the error. The error appears to be more likely to occur during pre-season, probably because salaries are out of whack. I've opened and advanced the sim past the error using 1.18, but haven't gone far enough to see if it goes away in ver 1.16 after the pre-season.Singin the BLUES wrote:to the next day, that was it......and it shut down EHM and then i tried it again and same thing happenedBub(NYR) wrote:How far ahead did you sim?Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
Unless there is something wrong with using 1.18, I'm leaning towards doing that, unless there is an easy way to bump salaries back up 24% after the pre-season.
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
What do we currently use? It seems most changes were made when 1.17 was released according to fhockey, so I doubt switching to 1.18 would be a big deal. Apparently it's just really slow.
Most recent file here.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Yeah, it can be slow, and I think there are issues with how it handles the draft classes it creates. But that's also not an issue for us.Tampa Bay GM wrote:What do we currently use? It seems most changes were made when 1.17 was released according to fhockey, so I doubt switching to 1.18 would be a big deal. Apparently it's just really slow.
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
if (gm_hasbrain = true)SharksGM wrote:if(player_off < 60)CapsGM wrote:We'll look into implementing a virtual intelligence into GM Office so it can predict when you never want to assign a player to play point on the powerplay.SharksGM wrote:Also it's kind a bit difficult to assign players to the point on the PP since it lists literally every skater on your roster by order of ID.
print "What are you doing, Dave? I can't let you do that, Dave."
exit
set line1_strategy = 1
set line2_strategy = 3
set line3_strategy = 4
set line4_strategy = 3
if (shift_length_array != [60,50,50,20])
set line1_length = 60
set line2_length = 50
set line3_length = 50
set line4_length = 20
print "really?"
Re: Update, etc
This would be perfect. I've got EHM open anyway to check shots/GA/TA, and I like using it for lines as well.SharksGM wrote: It would be nice to have an upload/download lines button on the lineup page. It's not always going to be possible to do lines through the office (e.g. after a trade that hasn't been processed yet).
- SharksGM
- Site Admin
- Posts: 8502
- Joined: Tue Sep 22, 2009 9:21 pm
Re: Update, etc
Pat, did you get the runtime error simming through normally? I thought it only happened when fastsimming, not with every GM assigned.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Yep, I did. I'll keep trying it through the pre-season, and then see if it goes away once rosters get back to normal before the regular season starts.SharksGM wrote:Pat, did you get the runtime error simming through normally? I thought it only happened when fastsimming, not with every GM assigned.
Re: Update, etc
Runtime error 6 Overflow right? I got it again when i tried to sim ahead......i like to sim ahead sonmetimes to see if players are developing or slumping 

- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Yep. Use version 1.18 to get through the pre-season. You can download the exe file at fhockey.com.Singin the BLUES wrote:Runtime error 6 Overflow right? I got it again when i tried to sim ahead......i like to sim ahead sonmetimes to see if players are developing or slumping
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Thanks to Dan, I've updated our schedule to reflect the actual NHL schedule for 2014-15. I've double-checked Dan's work and everyone does indeed have 82 games. Nice work, Dan. One step closer to the regular season...
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
FYI, I fixed this error. Odd that it worked with the wrong filename... but you should no longer see this error.Tampa Bay GM wrote:Just did some training and position changes, seemed okay.
Did my lines, and got this:
Still seems okay....Code: Select all
[phpBB Debug] PHP Notice: in file /homepages/40/d297809242/htdocs/ehec/display_edit_lines.php on line 55: file() [function.file]: Filename cannot be empty NHL lineup saved. - OK

Last edited by GM Office Q on Mon Sep 15, 2014 12:12 pm, edited 1 time in total.
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
Nice to see things running so smoothly, picking up momentum as we get closer to reaching the start of season 5!
Most recent file here.
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
I haven't added in line rules yet (max shift length, max usage of H+G, etc), but I added a double shifting safeguard.
- Double shifting someone on even stength
- Double shifting someone on PP
- Double shifting someone on PK
- Using a player on PP who is NOT dressed at even strength
- Using a player on PK who is NOT dressed at even strength
- A regular set of lines
If the code is working, the first five test cases above should notify you of a problem and NOT save your lines. The bottom test cases should work as normal and should notify you that your NHL lineup has been saved. In that case, your lines are refreshed after clicking OK. Could someone try these test cases out to verify they are working?
- Double shifting someone on even stength
- Double shifting someone on PP
- Double shifting someone on PK
- Using a player on PP who is NOT dressed at even strength
- Using a player on PK who is NOT dressed at even strength
- A regular set of lines
If the code is working, the first five test cases above should notify you of a problem and NOT save your lines. The bottom test cases should work as normal and should notify you that your NHL lineup has been saved. In that case, your lines are refreshed after clicking OK. Could someone try these test cases out to verify they are working?
- GM Office Q
- Posts: 932
- Joined: Fri Sep 18, 2009 7:59 pm
Re: Update, etc
You can try all five error cases in one shot, and all five error messages should appear at the top of the page.Colorado wrote:I haven't added in line rules yet (max shift length, max usage of H+G, etc), but I added a double shifting safeguard.
- Double shifting someone on even stength
- Double shifting someone on PP
- Double shifting someone on PK
- Using a player on PP who is NOT dressed at even strength
- Using a player on PK who is NOT dressed at even strength
- A regular set of lines
If the code is working, the first five test cases above should notify you of a problem and NOT save your lines. The bottom test cases should work as normal and should notify you that your NHL lineup has been saved. In that case, your lines are refreshed after clicking OK. Could someone try these test cases out to verify they are working?
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
Wanted to get some more clarification on waivers:
Over 26 but making less then 1M?
What about a player under 26 making more then 1M?Regarding waivers, you asked for it, you got it:
Any player making at least $1M and 26 or older is subject to being claimed on waivers. The exception is for emergency recalls: If you need to call up a guy to keep your roster at 22 players, he is not subject to waivers when he is demoted as long as he is sent down when the player he "replaced" is no longer injured.
Over 26 but making less then 1M?
Most recent file here.
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
tttTampa Bay GM wrote:Wanted to get some more clarification on waivers:
What about a player under 26 making more then 1M?Regarding waivers, you asked for it, you got it:
Any player making at least $1M and 26 or older is subject to being claimed on waivers. The exception is for emergency recalls: If you need to call up a guy to keep your roster at 22 players, he is not subject to waivers when he is demoted as long as he is sent down when the player he "replaced" is no longer injured.
Over 26 but making less then 1M?
Most recent file here.
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
ttt = to the top, ducy.AP21 (ARZ) wrote:I hope someone has a better answer for us than "ttt".
Most recent file here.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
We're looking at it.Tampa Bay GM wrote:ttt = to the top, ducy.AP21 (ARZ) wrote:I hope someone has a better answer for us than "ttt".
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
No problem. GMs should start considering sneeking guys down now before the pre-season ends before waiver rules start to apply.
IIRC, there are no waivers during the pre-season?
IIRC, there are no waivers during the pre-season?
Most recent file here.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
Correct; plus, there will be about a week (?) between the end of pre-season games and the start of the regular season. I don't think we've enforced waivers during that lull before, have we?Tampa Bay GM wrote:No problem. GMs should start considering sneeking guys down now before the pre-season ends before waiver rules start to apply.
IIRC, there are no waivers during the pre-season?
- Jets GM
- Posts: 4592
- Joined: Sat Sep 19, 2009 1:33 am
- Location: Toronto, ON
Re: Update, etc
I wouldnt know. However, it wasnt as big of a deal. We had two-way contracts, 1.5m/U25 rule and max salary rule. Now, iirc, there is no max salary for AHL and grey area about who will be excluded from waivers.
That lul would be a nice grace period since the waiver rules havent been established/will be announced late.
That lul would be a nice grace period since the waiver rules havent been established/will be announced late.
Most recent file here.
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
There's still a 1.5M max individual player salary for the AHL, excepting players on their ELC.Tampa Bay GM wrote:I wouldnt know. However, it wasnt as big of a deal. We had two-way contracts, 1.5m/U25 rule and max salary rule. Now, iirc, there is no max salary for AHL and grey area about who will be excluded from waivers.
That lul would be a nice grace period since the waiver rules havent been established/will be announced late.
Also, this is a good place to announce this: we've already gotten a couple of team reviews/previews, and I'd like to see more. So we'll come up with a little list of rewards to encourage GMs to write up season previews of whatever version you'd like, sometime before the season starts. The rewards won't be huge, but they should be worth it.
- TorontoGM
- Posts: 2297
- Joined: Wed Sep 30, 2009 9:23 pm
- Location: Vancouver BC
Re: Update, etc
Has anyone talked to Ottawa lately?
- Commish Bub(NYR)
- Posts: 6507
- Joined: Sat Sep 26, 2009 11:30 am
- Location: Maine
Re: Update, etc
I have a pm and an email out to him. No reply.TorontoGM wrote:Has anyone talked to Ottawa lately?