Hi
I see lines loaded by web client but still there is a salary cap error
[2023-10-26 11:38:54 PM] JMXpress are expected to be over the salary cap by $2,415,676!
[2023-10-26 11:38:43 PM] Successfully loaded JMXpress lines done with Web Base Client and SQLite Database from IP:173.180.15.124 .
Can this be fixed?
web client is allowing roster saves with bad salary cap
-
- The Addict / Le Drogué
- Posts: 770
- Joined: Mon Aug 14, 2006 5:15 pm
- Location: Vancouver, BC
- Contact:
web client is allowing roster saves with bad salary cap
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14776
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: web client is allowing roster saves with bad salary cap
Sadly, the WebClient doesn't check if the new roster salary cap is correct or not.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
-
- The Addict / Le Drogué
- Posts: 770
- Joined: Mon Aug 14, 2006 5:15 pm
- Location: Vancouver, BC
- Contact:
Re: web client is allowing roster saves with bad salary cap
So it won't be able to ever?
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14776
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: web client is allowing roster saves with bad salary cap
It's a very complexe calculation to do in Javascript and the STHS has multiple option for salary cap. So it's even more complexe calculation in Javascript. It's doable but Javascript is not something I'm very good at. ![Sad :(](./images/smilies/icon_sad.gif)
![Sad :(](./images/smilies/icon_sad.gif)
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
-
- The Addict / Le Drogué
- Posts: 770
- Joined: Mon Aug 14, 2006 5:15 pm
- Location: Vancouver, BC
- Contact:
Re: web client is allowing roster saves with bad salary cap
I guess the Player Salary Cap hit in the Roster menu of the STHS application is not a persistent field? It's a calculated value?
I'm just thinking out loud here but if there is a persistent field to store that value, and then the web client can have something to use to do a more simple sum calculation?
It would probably affect the simulator performance though to calculate every player's remaining salary cap hit and store the value![Smile :)](./images/smilies/icon_smile.gif)
I'm just thinking out loud here but if there is a persistent field to store that value, and then the web client can have something to use to do a more simple sum calculation?
It would probably affect the simulator performance though to calculate every player's remaining salary cap hit and store the value
![Smile :)](./images/smilies/icon_smile.gif)
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
Re: web client is allowing roster saves with bad salary cap
I'll take a look if I can make something.
The Javascript part of the WebClient is a mess IMHO.
The Javascript part of the WebClient is a mess IMHO.
-
- The Addict / Le Drogué
- Posts: 770
- Joined: Mon Aug 14, 2006 5:15 pm
- Location: Vancouver, BC
- Contact:
Re: web client is allowing roster saves with bad salary cap
Ooops, missed this reply, thank you for considering it!
Happy New Year, hope you and everyone had a great holiday season!
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14776
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: web client is allowing roster saves with bad salary cap
In the next version of the STHS, the Web Client will now print a transaction log when a GM saved his roster and lines up by the WebClient. The time for this transaction will be based on your time of the webserver, normally the GMT time.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
-
- The Addict / Le Drogué
- Posts: 770
- Joined: Mon Aug 14, 2006 5:15 pm
- Location: Vancouver, BC
- Contact:
Re: web client is allowing roster saves with bad salary cap
Thanks, I'm wondering though, does it help the web client prevent bad roster saves due to salary cap issues?
BFHL Admin/Commish
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
http://www.thebfhl.ca/bfhl
Now in Season 15, using BRHL Player v2.1 Ratings modified.
-
- STHS Owner / Propriétaire du STHS
- Posts: 14776
- Joined: Sat Oct 08, 2005 4:18 pm
- Location: Montreal, Canada
- Contact:
Re: web client is allowing roster saves with bad salary cap
No.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français