Update, etc

Moderator: SharksGM

Singin the BLUES

Re: Update, etc

Post by Singin the BLUES »

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.
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.......
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

Feel free to e-mail your lines to the league.
Singin the BLUES

Re: Update, etc

Post by Singin the BLUES »

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
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

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.
Singin the BLUES

Re: Update, etc

Post by Singin the BLUES »

I am all for that. This site is one of the best i have seen in all aspects.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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.
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...

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.)
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

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?
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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?
Ok, doing it now.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

Done. The current "players.ehm" file in the ftp site is corrupt, for me at least.
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

Bub(NYR) wrote:Done. The current "players.ehm" file in the ftp site is corrupt, for me at least.
So there is an issue with players and teams, anything else?
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

Not that I've seen or found.
Calgary.Flames

Re: Update, etc

Post by Calgary.Flames »

What are those scores now shown on the front page?
You haven't simmed yet, right?
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

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.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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
Singin the BLUES

Re: Update, etc

Post by Singin the BLUES »

I tried to sim ahead and i got a Runtime Error 6 "overflow"
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
How far ahead did you sim?
User avatar
SharksGM
Site Admin
Posts: 8501
Joined: Tue Sep 22, 2009 9:21 pm

Re: Update, etc

Post by SharksGM »

Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
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

Re: Update, etc

Post by Singin the BLUES »

Bub(NYR) wrote:
Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
How far ahead did you sim?
to the next day, that was it......and it shut down EHM and then i tried it again and same thing happened
Singin the BLUES

Re: Update, etc

Post by Singin the BLUES »

Ok i did all my teams lines and position changes and training. Hopefully it all took. :shock:
User avatar
SharksGM
Site Admin
Posts: 8501
Joined: Tue Sep 22, 2009 9:21 pm

Re: Update, etc

Post by SharksGM »

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.
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

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.
CapsGM

Re: Update, etc

Post by CapsGM »

SharksGM wrote:I thought forwards could play any position on the PP too?
Correct.
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.
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.
User avatar
SharksGM
Site Admin
Posts: 8501
Joined: Tue Sep 22, 2009 9:21 pm

Re: Update, etc

Post by SharksGM »

CapsGM wrote:
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.
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.
if(player_off < 60)
print "What are you doing, Dave? I can't let you do that, Dave."
exit
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

Just did some training and position changes, seemed 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
Still seems okay....
Most recent file here.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

Singin the BLUES wrote:
Bub(NYR) wrote:
Singin the BLUES wrote:I tried to sim ahead and i got a Runtime Error 6 "overflow"
How far ahead did you sim?
to the next day, that was it......and it shut down EHM and then i tried it again and same thing happened
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.

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.
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

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.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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.
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.
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

SharksGM wrote:
CapsGM wrote:
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.
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.
if(player_off < 60)
print "What are you doing, Dave? I can't let you do that, Dave."
exit
if (gm_hasbrain = true)
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?"
Bruins_GM

Re: Update, etc

Post by Bruins_GM »

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).
This would be perfect. I've got EHM open anyway to check shots/GA/TA, and I like using it for lines as well.
User avatar
SharksGM
Site Admin
Posts: 8501
Joined: Tue Sep 22, 2009 9:21 pm

Re: Update, etc

Post by SharksGM »

Pat, did you get the runtime error simming through normally? I thought it only happened when fastsimming, not with every GM assigned.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

SharksGM wrote:Pat, did you get the runtime error simming through normally? I thought it only happened when fastsimming, not with every GM assigned.
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.
Singin the BLUES

Re: Update, etc

Post by Singin the BLUES »

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 :)
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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 :)
Yep. Use version 1.18 to get through the pre-season. You can download the exe file at fhockey.com.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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...
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

Tampa Bay GM wrote:Just did some training and position changes, seemed 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
Still seems okay....
FYI, I fixed this error. Odd that it worked with the wrong filename... but you should no longer see this error.

Image
Last edited by GM Office Q on Mon Sep 15, 2014 12:12 pm, edited 1 time in total.
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

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.
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

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?
User avatar
GM Office Q
Posts: 932
Joined: Fri Sep 18, 2009 7:59 pm

Re: Update, etc

Post by GM Office Q »

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?
You can try all five error cases in one shot, and all five error messages should appear at the top of the page.
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

Wanted to get some more clarification on waivers:
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.
What about a player under 26 making more then 1M?

Over 26 but making less then 1M?
Most recent file here.
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

Tampa Bay GM wrote:Wanted to get some more clarification on waivers:
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.
What about a player under 26 making more then 1M?

Over 26 but making less then 1M?
ttt
Most recent file here.
AP21 (ARZ)

Re: Update, etc

Post by AP21 (ARZ) »

I hope someone has a better answer for us than "ttt".
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

AP21 (ARZ) wrote:I hope someone has a better answer for us than "ttt".
ttt = to the top, ducy.
Most recent file here.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

Tampa Bay GM wrote:
AP21 (ARZ) wrote:I hope someone has a better answer for us than "ttt".
ttt = to the top, ducy.
We're looking at it.
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

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?
Most recent file here.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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?
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?
User avatar
Jets GM
Posts: 4592
Joined: Sat Sep 19, 2009 1:33 am
Location: Toronto, ON

Re: Update, etc

Post by Jets GM »

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.
Most recent file here.
AP21 (ARZ)

Re: Update, etc

Post by AP21 (ARZ) »

I guess I need to expand my cybervocabulary.
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

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.
There's still a 1.5M max individual player salary for the AHL, excepting players on their ELC.

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.
User avatar
TorontoGM
Posts: 2297
Joined: Wed Sep 30, 2009 9:23 pm
Location: Vancouver BC

Re: Update, etc

Post by TorontoGM »

Has anyone talked to Ottawa lately?
User avatar
Commish Bub(NYR)
Posts: 6507
Joined: Sat Sep 26, 2009 11:30 am
Location: Maine

Re: Update, etc

Post by Commish Bub(NYR) »

TorontoGM wrote:Has anyone talked to Ottawa lately?
I have a pm and an email out to him. No reply.
Post Reply

Return to “League Memos”