Simulation Hockey League

Full Version: Bug Report: Stats page game links are incorrect
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello and welcome to my bug report, by premierbromanov age 28 and a half

go to the stats page: https://simulationhockey.com/schedule.ph...n=53&st=ps

click on Tampa Bay vs Rage game link

behold! It is wrong!

Some of the game links are right. Some are not. Womp womp!

this concludes the bug report.
I see what you mean
Ah yes, something that I’ve been trying to fix, the current issue is

So the way the schedule is outputted it goes like
Game 1
Game 2
Game 3
Game 4

Of like each game

But the way the PBP are outputted to the file. Like PBP_1 is not always game 1
So it could be like
PBP_Game_1
PBP_Game_4
PBP_Game_3
PBP_Game_2


So I’ve been trying to sort it through a couple ways. We are working on it
There's literally a note on the bottom of the page aaying the links aren't alwaya in the correct order for the day.
03-23-2020, 06:56 PMluketd Wrote: [ -> ]Ah yes, something that I’ve been trying to fix, the current issue is

So the way the schedule is outputted it goes like
Game 1
Game 2
Game 3
Game 4

Of like each game

But the way the PBP are outputted to the file. Like PBP_1 is not always game 1
So it could be like
PBP_Game_1
PBP_Game_4
PBP_Game_3
PBP_Game_2


So I’ve been trying to sort it through a couple ways. We are working on it

int num = Convert.ToInt32(title.split('_')[2]);
sort();
03-24-2020, 02:22 AMMutedfaith Wrote: [ -> ]There's literally a note on the bottom of the page aaying the links aren't alwaya in the correct order for the day.

additional bug notes:

note is too small.
03-24-2020, 10:22 AMPremierBromanov Wrote: [ -> ]
03-23-2020, 06:56 PMluketd Wrote: [ -> ]Ah yes, something that I’ve been trying to fix, the current issue is

So the way the schedule is outputted it goes like
Game 1
Game 2
Game 3
Game 4

Of like each game

But the way the PBP are outputted to the file. Like PBP_1 is not always game 1
So it could be like
PBP_Game_1
PBP_Game_4
PBP_Game_3
PBP_Game_2


So I’ve been trying to sort it through a couple ways. We are working on it

int num = Convert.ToInt32(title.split('_')[2]);
sort();

if only it was that simple :(
03-24-2020, 10:26 AMluketd Wrote: [ -> ]
03-24-2020, 10:22 AMPremierBromanov Wrote: [ -> ]int num = Convert.ToInt32(title.split('_')[2]);
sort();

if only it was that simple :(

how do we output? Now im curious
03-24-2020, 10:30 AMPremierBromanov Wrote: [ -> ]
03-24-2020, 10:26 AMluketd Wrote: [ -> ]if only it was that simple :(

how do we output? Now im curious

Fhm exports to csv files, the pbps are not part of that, they are separate files that are created for each game. The schedules.csv file does not have an indicator of what game number it is, actually it has no unique identifier. The plan we came up with was parsing the pbp itself to find out which game it is and compare that to the schedule row. We've been working on it but it's not a simple task.