Page 1 of 3
GM Office
Posted: Tue Aug 19, 2014 6:44 pm
by flyergp21
Hi guys, just to let you know that my GM Office page isn't working properly, it is empty. If someone could help me, it would be highly appreciated. Thanks!
Re: GM Office
Posted: Tue Aug 19, 2014 7:50 pm
by TorontoGM
I think your GM office page has to be set up or something....I believe Quinn is the only one who can do it and he's on vacation.
Re: GM Office
Posted: Tue Aug 19, 2014 8:06 pm
by SharksGM
You should have access now.
Re: GM Office
Posted: Tue Aug 19, 2014 8:44 pm
by flyergp21
Yes, thanks!
Re: GM Office
Posted: Mon Oct 13, 2014 12:40 pm
by Singin the BLUES
Gm office is right screwed up with now......I dont know about anyone else, but a cpl of Gms have told me that too
Re: GM Office
Posted: Mon Oct 13, 2014 1:04 pm
by Commish Bub(NYR)
Something's definitely gone wonky with GM Office. We're trying to figure out what's what and will let you know when it's fixed.
Re: GM Office
Posted: Mon Oct 13, 2014 1:28 pm
by MartyFromOTTAWA
Welcome back in DA league Vik!!
Re: GM Office
Posted: Mon Oct 13, 2014 1:42 pm
by Jets GM
It's working again, but I did the same thing an hour an hour ago to fix it. It seems to work for a bit, and revert back.
Trying to figure it out.
Re: GM Office
Posted: Mon Oct 13, 2014 1:52 pm
by MartyFromOTTAWA
Actually each time i demote someone, it fucks it up...
Re: GM Office
Posted: Mon Oct 13, 2014 1:59 pm
by Singin the BLUES
And it wont change anything when i do training changes with staff either.....AHL it did...NHL it wont
Re: GM Office
Posted: Mon Oct 13, 2014 2:12 pm
by Jets GM
So clearly I haven't uploaded something right, or did something to cause this while I was figuring out the first problem I had uploading the zip/EHM file(s).
My apologies.
Quinn, the former COL GM who designed the site, has been contacted. It is Thanksgiving, so we might have to wait a bit before he can take a look. Whether we have a short delay in the simming schedule, or revert to using e-mail for tonight's sim, we will let you know well before tonight's 9PM deadline for instructions.
Thank you for your patience.
Re: GM Office
Posted: Mon Oct 13, 2014 2:18 pm
by Commish Bub(NYR)
Justin, I don't think it's your problem; I think it's one of the php files on the ftp site that's causing the trouble.
I can get to everything in GMO now, but most of my lineup isn't showing up.
Bear with us folks, we're getting there....
Re: GM Office
Posted: Mon Oct 13, 2014 2:20 pm
by Jets GM
Commish Bub(NYR) wrote:Justin, I don't think it's your problem; I think it's one of the php files on the ftp site that's causing the trouble.
I can get to everything in GMO now, but most of my lineup isn't showing up.
Bear with us folks, we're getting there....
I think we were always able to get into GMO, it was NHL/AHL Lineups weren't displaying properly. Training was messed up to, but I could manage my staff.
Re: GM Office
Posted: Mon Oct 13, 2014 2:32 pm
by SharksGM
Bub, did you change anything in variables.php besides the GM names?
Re: GM Office
Posted: Mon Oct 13, 2014 2:38 pm
by Jets GM
SharksGM wrote:Bub, did you change anything in variables.php besides the GM names?
I did, I added Vik.
Re: GM Office
Posted: Mon Oct 13, 2014 3:05 pm
by SharksGM
There's something messed up in players.ehm, because it's not reading past player #155. Someone around Derek Joslin is the issue. Either that or there's a bug in get_player_attributes.php. The roster pages are also affected.
For now just leave it alone until we can figure out why it's stuck on that player.
Re: GM Office
Posted: Mon Oct 13, 2014 3:09 pm
by Jets GM
SharksGM wrote:There's something messed up in players.ehm, because it's not reading past player #155. Someone around Derek Joslin is the issue. Either that or there's a bug in get_player_attributes.php. The roster pages are also affected.
For now just leave it alone until we can figure out why it's stuck on that player.
Okay. I don't think it's players.ehm because when I re-up it to the "files" directory it makes GM Office work fine until someone tries to demote/promote a player (or maybe do anything at all).
Re: GM Office
Posted: Mon Oct 13, 2014 3:17 pm
by Commish Bub(NYR)
Quinn's taking a look at it.
If it doesn't get fixed tonight, folks can send lines files to the league email at
commissioner@ehechockey.com.
There are only four games tonight; if enough GMs from that set of eight teams have trouble, however, we may postpone the sim until tomorrow.
Re: GM Office
Posted: Mon Oct 13, 2014 3:28 pm
by SharksGM
The problem is Kent Simpson. The two lines in the file:
59 73 74 72 78 74 1 21 1 1 1
1992 26 3 900000 2 2010 3 27 21
are a single line in
http://www.ehechockey.com/files/players.ehm for some reason:
59 73 74 72 78 74 1 51 1 1 1 1992 26 3 900000 2 2010 3 27 21
After that everything gets misaligned and data gets read from the wrong lines. I'm not entirely sure why just yet.
Re: GM Office
Posted: Mon Oct 13, 2014 3:35 pm
by Commish Bub(NYR)
Well, my GMO is working fine now. Access to everything and all players are showing.
Anyone else still having problems? Probably fixing Simpson fixed everything.
Re: GM Office
Posted: Mon Oct 13, 2014 3:36 pm
by SharksGM
I re-uploaded the players.ehm from EHEC.zip into files/ and it seems to work fine. I demoted/promoted a player, changed my lines and nothing strange happened.
It seems likely that it's something to do with Kent Simpson. Was he manually traded recently? Ottawa, are you trying to demote him?
Re: GM Office
Posted: Mon Oct 13, 2014 3:37 pm
by Commish Bub(NYR)
He was just traded; so probably an editing mistake. Happens.
Re: GM Office
Posted: Mon Oct 13, 2014 3:38 pm
by MartyFromOTTAWA
He's the guy i'm trying to demote!
Re: GM Office
Posted: Mon Oct 13, 2014 3:38 pm
by Jets GM
Yes I in-putted the TOR/OTT file involving Kent Simpson.
I in-putted him IN EHM, not through editing players.ehm.
Should I not be doing that? I would prefer to do it in-game since it updates their history tab, and also I avoid touching part of the savefile manually.
Re: GM Office
Posted: Mon Oct 13, 2014 3:41 pm
by Commish Bub(NYR)
Either way is fine; I usually do it through EHM, but sometimes if I'm already in the file, I'll do it that way.
I'll play around with the file tonight before the sim and see if doing other trades mucks up anything.
Re: GM Office
Posted: Mon Oct 13, 2014 3:43 pm
by SharksGM
MartyFromOTTAWA wrote:He's the guy i'm trying to demote!
Can you stop trying to demote him through GM Office for now?
I'll upload the players.ehm from EHEC.zip with Simpson already demoted.
Re: GM Office
Posted: Mon Oct 13, 2014 3:48 pm
by Jets GM
Fuckin' Kent Simpson.
Re: GM Office
Posted: Mon Oct 13, 2014 3:49 pm
by SharksGM
Anyway I don't see an obvious reason why Kent Simpson is messing things up, but if Quinn is still looking at it, things that output newlines should probably write PHP_EOL instead of "\n" ("\n" is a new line character on Linux; on Windows it's "\r\n").
Also I'm not really sure why only one of the functions in display_edit_roster_profarmjr.php outputs a new line character, it seems like they all should?
Re: GM Office
Posted: Mon Oct 13, 2014 4:01 pm
by Commish Bub(NYR)
Couldn't tell you; I'll run it by Quinn.
Re: GM Office
Posted: Mon Oct 13, 2014 4:01 pm
by MartyFromOTTAWA
Ok good!
But can i set up his training to Goalie?
Re: GM Office
Posted: Mon Oct 13, 2014 4:02 pm
by Commish Bub(NYR)
You should be able to, yes.
Re: GM Office
Posted: Mon Oct 13, 2014 4:19 pm
by Jets GM
Hmm, well it's good to know my fears of destroying the game-file haven't come true......yet.
Sorry about the hold-up boys; I'm not sure how much of a role my EHM incompetence played here, but we'll get things back on track with everyone we have here helping out.
Re: GM Office
Posted: Mon Oct 13, 2014 5:03 pm
by MartyFromOTTAWA
Not able to edit my lineup though
Re: GM Office
Posted: Mon Oct 13, 2014 5:14 pm
by Commish Bub(NYR)
MartyFromOTTAWA wrote:Not able to edit my lineup though
Kent Simpson strikes again. Wtf? His entry in players.ehm was messed up again. I fixed it, so you should be good to go.
Don't touch him, tho.

Re: GM Office
Posted: Mon Oct 13, 2014 6:39 pm
by MartyFromOTTAWA
It works!
Thx guys
Re: GM Office
Posted: Wed Oct 15, 2014 4:30 am
by MartyFromOTTAWA
Ok now its fucked up because of Mason Raymond

Re: GM Office
Posted: Wed Oct 15, 2014 5:36 am
by Dallas Stars GM
Jhonas Enroth is (for unexplainable reason

) missing on my team
Marek Svatos is also missing, he is in MTL.
Re: GM Office
Posted: Wed Oct 15, 2014 8:07 am
by Singin the BLUES
Laurent Brossiot is missing from GM office for my AHL goaltending. He is listed on my team in EHM but not Gm office
Just looked a 2nd time and there is a few others i am missing on my AHL team
Ryan White
Simon Hjalmarsson
Logan Pyett
Re: GM Office
Posted: Wed Oct 15, 2014 9:42 am
by jamesredwings
Missing Backstrom , Rajala and Irving from the roster management screen.
Thanks for correcting, got a big game 2nite against the big bad Bruins!
Re: GM Office
Posted: Wed Oct 15, 2014 10:19 am
by SharksGM
MartyFromOTTAWA wrote:Ok now its fucked up because of Mason Raymond

What did you do with him exactly? Change positions or training?
Dallas Stars GM wrote:Jhonas Enroth is (for unexplainable reason

) missing on my team
It's not inexplicable, everyone who comes after Raymond in the file is missing.
The more worrisome part is that the lines for the player after Raymond (Dustin Kohn) got messed up too. Kohn is a shitty UFA but it could happen to a better player some time...
Re: GM Office
Posted: Wed Oct 15, 2014 10:38 am
by Jets GM
Is a player getting traded in-game to cause for this?
Or is it GM's trying to edit a player "waiting to join his new team" in-game?
Re: GM Office
Posted: Wed Oct 15, 2014 10:39 am
by Commish Bub(NYR)
Ok, this is bizarre. I'll have Quinn take a look and see why this happens sometimes, but not most of the time.
Maybe the problem is YOU, Ottawa! I think you're going to have to stick with your lineup that way it is for the rest of the season. Sorry.

Re: GM Office
Posted: Wed Oct 15, 2014 10:51 am
by Commish Bub(NYR)
Tampa Bay GM wrote:Is a player getting traded in-game to cause for this?
Or is it GM's trying to edit a player "waiting to join his new team" in-game?
Hm. That's interesting; maybe it does have something to do with that. I've asked Quinn to take a look anyway.
Re: GM Office
Posted: Wed Oct 15, 2014 11:12 am
by SharksGM
I believe Marty tried to change Raymond's position (which isn't really needed anymore, but never mind).
I fixed players.ehm. I also uploaded a fix that should prevent failing to write a new line when editing a player through the roster page. It should guard against accidentally writing two line breaks too, but if anyone spots any issues with the GM office, please check if the player you were trying to modify is still ok in
http://www.ehechockey.com/files/players.ehm. Everything I tried in my own GM office works but then I never had Marty's problem in the first place so

Re: GM Office
Posted: Wed Oct 15, 2014 12:59 pm
by MartyFromOTTAWA
It seems working well now
Re: GM Office
Posted: Wed Oct 15, 2014 7:44 pm
by jamesredwings
like magic everything is back to normal
Re: GM Office
Posted: Thu Oct 16, 2014 1:28 am
by SharksGM
Just a note, I had to edit the players.ehm to set Tony Lagerstrom's alternate position back to RW. Somehow it had been switched to C, so his main and alternate position were both set to C.
If anyone notices one of their players' possible positions changing, let me know. I tried to reproduce the bug by changing my player's positions in the office and nothing seemed off. I don't see anything obviously wrong in the code either.
I think there is a possibility that if two people try to do something in the GM office at the exact same time, one of the changes might not go through... or only go partly through. I'm not sure about that.
Re: GM Office
Posted: Fri Oct 17, 2014 9:01 am
by Singin the BLUES
My lines didnt take at all yesterday. Dont know what is wrong
Re: GM Office
Posted: Fri Oct 17, 2014 9:14 am
by Jets GM
I in-putted STLpro.lns. Not sure what happen.
Re: GM Office
Posted: Fri Oct 17, 2014 9:19 am
by Singin the BLUES
Before someone says anything about my 20 sec illegal line....
2 days ago, Julien and i were talking , and he was showing me about the new feature in GM office in regards to HAG/NZT time limits......well i tried the 20 sec first line thing and told him that that was still able to be done.....roll ahead to yesterday morning, i redid my lines and didnt look back on it until Julien just messaged me saying i had a 20 sec first line......so i dont know wtf happened.......I just dont want to be blamed for illegal lines lol.......And i am smart enough to know that you dont use D&C or R&G on the road.......which is what my lines should for this last game