WebClientAPI

Any questions related to version 2 or version 3 should be ask here. / Toutes les questions sur la version 2 ou la version 3 devraient être demandées ici.
daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

Sorry fr late reply. The database is "LHDGV2020-STHS.db" not like my previous comment (since I type it so typo).

I did try both options but there is no message like "Load and Process SQLite Database complete."

For Manual Command it show "Process Database Command Ran Successfully"
For Auto Load Lines, it show "Successfully loaded 0 lines files found in the directory"

Is there other checklist I need to do?

Thanks Simon

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

If you see the "Load and Process SQLite Database complete." message, it means the file was process correctly. Do you see any transaction in your STHS transaction log?

What your website URL?
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

I did check in the log: SELECT LeagueLog.* FROM LeagueLog

There is no log related to WebClient DB Load after I use the autoload lines function.

Here is the file you can help to look into:
WebClient: http://www.lhdgv.ca/WebClientIndex.php
Data file: http://www.lhdgv.ca/LHDGV2020-STHS.db
League File: http://www.lhdgv.ca/Anh/demo/LHDGV2020.sth

I don't know if there is any additional configuration in the league file I need to do,

Thanks a lot Simon

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

Hi.

I want to download your STH file but your webserver doesn't allow me. Can you either rename the extension to bin or email it to me.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

I did mail you the STH file + DB file.

Thanks a lot for your support

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

If you look at your transaction history, you’ll see the following lines.

[1/29/2020 9:11:23 PM] - Successfully loaded Anaheim lines done with Web Base Client and SQLite Database.
[1/29/2020 8:15:43 PM] - Successfully loaded Anaheim lines done with Web Base Client and SQLite Database.
[1/27/2020 8:48:14 PM] - Successfully loaded Anaheim lines done with Web Base Client and SQLite Database.
[1/26/2020 11:31:23 AM] - Successfully loaded Anaheim lines done with Web Base Client and SQLite Database.
[1/24/2020 9:03:54 PM] - Successfully loaded Anaheim lines done with Web Base Client and SQLite Database.
[1/22/2020 9:00:30 PM] - Successfully loaded Anaheim lines done with Web Base Client and SQLite Database.

This confirm the lines were load correctly.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

It works now.

I need your help in another addition.

If 1 GM both use the WebClient & later on also submit the Trio file.

Then when we do Auto Lines, the Simulator will process which one.

Thanks

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

Both of them, The WebClient first then after the Trio Line.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Thanks a lot Simon

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

It's me again.

I did do the testing and the lines & rosters updated is OK. I did check the lines & rosters after using the "Auto Load Lines". After that the simulation went OK but only for the first game.
I have some issue need your advice

Scenario 1. Player A is 100 Condition, he's in the bench & later when I update him in the Pro Line & do the simulation it's OK. He participated in the game and scored. However, when I extract the DB, player A back to the bench again with 99 Condition (not less than 95 so he suppose to stay in the ProLine)

Scenario 2: Player B currently in line 4 C, I move him to line 3 C and do the simulation. I do 2 games per simulation so this Player B suppose to be in line 3 for game 1 & game 2. However, when I do the simulation, he appear in game 1 line 3C but in game 2 is someone else I never dressed.

Do you have any idea what's is going wrong here?

Thanks Simon.

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

Hi.

The WebClient doesn't allow you make your roster and lines up for 10 days in row. You can desactivate this option (Disable Multiple Lines in Row) to help you.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

Currently the option is unchecked. Now what need to do is tick on that option?

Thanks

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

You need to tick it.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

daongochoanganh
New in Town / Le Ptit Nouveau
Posts: 27
Joined: Wed Apr 17, 2019 1:09 am

Re: WebClientAPI

Post by daongochoanganh »

Hi Simon,

Sorry for the late reply. It works like magic now ....

Thank you

SimonT
STHS Owner / Propriétaire du STHS
Posts: 13689
Joined: Sat Oct 08, 2005 4:18 pm
Location: Montreal, Canada
Contact:

Re: WebClientAPI

Post by SimonT »

Great to hear that.
-SimonT
Forum Administrator / Administrateur du Forum
STHS Owner / Propriètaire du STHS
English V2 & V3 Manual - Manuel V2 & V3 Français

Post Reply