PDA

View Full Version : Project Cars Dedicated Server GUI Launcher, with “live timing“ (results, timetable,)



Pages : [1] 2

cogent
16-06-2015, 18:44
Project Cars Dedicated Server GUI:

GitHub Download (https://github.com/CogentHub/PCDSG/releases)
PCDSG StartUp Guide.PDF (http://www.cogent.myds.me/PCDSGwiki/lib/exe/fetch.php?media=pcdsg_startup_guide.pdf)

PCDSG is a Launcher for the Steam Project Cars Dedicated Server app with some additional features.
For example, read/write/create to/from server.cfg, RaceControl Window with Server controls, Kick, Ban, creates Penalty and Experience Points, automatic Server messages for Events and Points, Pit Stop detection a.s.o........
https://steamdb.info/app/332670/

Minimum OS requirements: Windows XP SP3 or Windows Server 2003 SP2.
If it does not start then install Microsoft .NET Framework 4.5 (https://www.microsoft.com/de-de/download/details.aspx?id=30653)



Infos from version 0.99 or older:

Preview PCDSG 0.98:
http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.98.jpg


General/Various information:

What you need:

MS Internet Explorer (tested with IE11)
MS Excel > 2007 (tested with Excel 2010) (Only needed if want to use the .htm record / save function)


Howto:

Be sure you have latest Steam Dedicated Server APP installed - https://steamdb.info/app/332670/
Be sure your server.cfg is ok, use a clean one without remarks. If you have problems use server.cfg that comes with PCDSG or compare your file with it.
Start PCDSG.exe and follow the StartUp guide to set PCDSG for "local" or "remote" use. Have also a look into the "PCDSG StartUp Guide.pdf" File.
Go to settings menu and check or choose the needed path to Steam Dedicated Server APP. Settings explanation. (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths)
Add Server Name in TAB2 and change some other settings if you want
Start Server / Connect to Server
Use it, Button explanation. (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_TAB1_Buttons.jpg) Test and report bugs here ;)



Whitelist and Blacklist:
It only detects the SteamID, the rest of the informations in the same line of the Files are only for the GUI.



More Details, upcoming Updates and Informations to the Changes will be released / can be found on PCDSG web page (http://www.cogent.myds.me/PCDSG.html).

PCDSG@web.de

david42fr
17-06-2015, 07:20
Are you interested in a french version?

cogent
17-06-2015, 15:45
Are you interested in a french version?

Sure, it is also a widely used language.
But it is for the users, I can not speak french ;)
OK I am joking, sure that will be great.
Thanks you for your offer, I would integrate it in the next version.

david42fr
18-06-2015, 09:11
Here is the french version.

Hope there's no error or misunderstanding because :

- I'm on a desktop without the dedicated server, so no test allowed!
- some settings are quite unknown for me (path to html web page/status for example)
208176

When I'll be at home, I'll try it to test the differents settings and buttons!

--------

Edit: some info
- even if I select english, lot of things are in german
- when I launch server, on the PCars server tab, there's an error, impossible to see the web page

Continuing tests!

cogent
18-06-2015, 16:10
Here is the french version.

Hope there's no error or misunderstanding because :

- I'm on a desktop without the dedicated server, so no test allowed!
- some settings are quite unknown for me (path to html web page/status for example)
208176

When I'll be at home, I'll try it to test the differents settings and buttons!

--------

Edit: some info
- even if I select english, lot of things are in german
- when I launch server, on the PCars server tab, there's an error, impossible to see the web page

Continuing tests!

First, thank's for the FR language file.
I still have some text messages for example hardcoded, that's the reason why some things still are in german after changing language.

Regarding the Language of the Buttons, text is in the picture.


Put attached files in <Install Dir>\system\gfx" to "rename" two off the three Buttons.
The idea was to copy/rename the pictures depending on selected language in settings menu.
But as I already told, I add this after program is finish.
Here some older discussion regarding this:
http://forum.projectcarsgame.com/showthread.php?30417-Dedicated-Server-GUI&p=977878&viewfull=1#post977878
Until now I have not implemented this "picture switch", but will do it for the next update.

If you get an error, please send me an picture of the error message so that I can fix it.
There are informations in the error message that helps me to find the line/issue in the code.
Try to launch Server from the settings Tab (TAB2). Will this produce the same error message?


Edit:
Ok I think I know what you meen regarding "- when I launch server, on the PCars server tab, there's an error, impossible to see the web page".
I have fixt it, please try it and confirm.
French can now be selected in settings menu.
Added also 18 new text variables for some of the hard coded language.
http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.41.zip
This .zip contains only the updated files.

david42fr
19-06-2015, 09:44
New lines added. I fixed some errors.

The error is OK now, I've the server status (maybe you could make your software use fullscreen for viewing this tab?)
For the buttons, the english version is OK and french people will understand them!
Here's the file

thuro76
19-06-2015, 16:09
Can you explain how it works with a private message, so I could translate it in Italian if you are interested

cogent
19-06-2015, 17:41
New lines added. I fixed some errors.

The error is OK now, I've the server status (maybe you could make your software use fullscreen for viewing this tab?)
For the buttons, the english version is OK and french people will understand them!
Here's the file


Thanks for the file and for the Feedback.
Today I will change few more things and release this fix together with the language files tomorrow as 0.5.

For full screen view you can use button 1 on Tab 1.
It opens the Status page with standard web browser.
But I also already thought to make the window bigger or option for fullscreen.
This will be necessary to show the results page without the need to scroll.
Loading the results page instead of the status page in Tab1 was already implemented. This caused the error you got, have removed it for now.


Settings explanation (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths.jpg) and Buttons explanation (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_TAB1_Buttons.jpg)

Edit:
How can I make spoilers?

cogent
23-06-2015, 20:44
New Version 0.5:
Example picture (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.5.jpg)

Fixed some errors reported by users and changed some functions. (For example the integrated Status page that was not loaded correctly)
Removed html web page for now but will rewrite it for version 0.6.
Added new Status Window / Table with Session Information.
Added more language files (EN,FR) shared by users (LiveWire, david42fr)



Online Virus Scan:
Detaction rate: using www.virustotal.com
I cannot avoid that some people get warnings.
Results from version 0.5 - (5/54) (https://www.virustotal.com/de/file/2826f1cc741d98b46e00c03a767bab9a0f40b4dbee90b80a0695edcf103be180/analysis/1435088449/)



Howto:

Be sure you have latest Steam Dedicated Server APP installed - https://steamdb.info/app/332670/
Start PCDSG.exe
Go to settings menu and choose the needed path to Steam Dedicated Server APP. Settings explanation. (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths)
Add Server Name in TAB2 and change some other settings if you want
Start Server
Use it, Button explanation. (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_TAB1_Buttons.jpg) Test and report bugs here ;)

norbs
24-06-2015, 02:51
Finally got it working. Didn't realise it had to go in the same directory as the dedicated server executable. Well that was the only way I could get it working.

Thanks.

-IGN- Spinster
24-06-2015, 17:05
I tried this App and it runs but my DS did not show up online and I had no results recording.. I am not sure why.. I restored my DS and it is showing online again.

norbs
25-06-2015, 00:18
Hi cogent.

Is there any historical data available? I can see the live data, but it would be great for the software to keep race results etc for use in leagues.

Thanks.

cogent
25-06-2015, 10:36
Finally got it working. Didn't realise it had to go in the same directory as the dedicated server executable. Well that was the only way I could get it working.

Thanks.

Hi norbs,

thanks for testing and for the Feedback.
Normaly it is not needed to put the program files into the same directory as the dedicated server executable.
This is not necesarry if you enter the path to the dedicated server folder in the settings window.
http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths
But I can not be sure that there is somewhere an bug in it, for me it works with the path value in settings menu.

Regarding your question about "historical data", yes this is planned and was already in version 0.4 implemented.
But as you can see I removed it for version 0.5 because there was some bugs and it was too complicated and could cause different errors.
At the moment I am rewriting it for version 0.6.
Test from yesterday --> http://www.cogent.myds.me/PCDSGUI_STATS/Results.htm
As you can see there will be an "Results" page (it's finished) and an timetable page (working on it).
At the bottom of the Results page the program will link the previous sessions timetable with all driven lap times.


@-IGN- Spinster:
I am not sure how you mean this. Does it work now for you?

norbs
25-06-2015, 19:06
Hi norbs,

thanks for testing and for the Feedback.
Normaly it is not needed to put the program files into the same directory as the dedicated server executable.
This is not necesarry if you enter the path to the dedicated server folder in the settings window.
http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths
But I can not be sure that there is somewhere an bug in it, for me it works with the path value in settings menu.

Regarding your question about "historical data", yes this is planned and was already in version 0.4 implemented.
But as you can see I removed it for version 0.5 because there was some bugs and it was too complicated and could cause different errors.
At the moment I am rewriting it for version 0.6.
Test from yesterday --> http://www.cogent.myds.me/PCDSGUI_STATS/Results.htm
As you can see there will be an "Results" page (it's finished) and an timetable page (working on it).
At the bottom of the Results page the program will link the previous sessions timetable with all driven lap times.


@-IGN- Spinster:
I am not sure how you mean this. Does it work now for you?

Excellent. Thanks for letting me know.

Robert Gerke
25-06-2015, 19:58
Wow, what a nice an easy to use it Tool. :yes:

Thanks very much.

One big Question, is there a Step by Steb manual for absloute php
and web programming beginners,( in german language ?) how i
create a live time and Result html page on my Webpage, and how
i must config your tool?

Thats would be great!

cogent
26-06-2015, 17:27
Thanks for Feedback Robert.
I am sure there are a lot of tutorials and books out there, use google.
If you only want to integrate the results and timetable that the program creates dann you only need to save it on your web space.
Then link to the page or integrate it with a frame in your page.
I will explain that later after the function is finished.

For example here is the link to the page I created with the tool, it's saved on my web space.
Results page (http://www.cogent.myds.me/PCDSGUI_STATS/Results.htm)
Timetable page (http://www.cogent.myds.me/PCDSGUI_STATS/Timetable.htm)

The data you see on the pages are from the last time Server was running.
This page will show the content while Server is running.

cogent
27-06-2015, 16:41
New Test Version 0.6.
Example picture (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.6.jpg)

New Version 0.6:

Fixed some bugs reported by users.
Added new Results web page with information about the running Session. (Content is updated every 15 seconds, if you start recording)
Added new Timetable web page with information about the running Session. (Content is updated every 15 seconds, if you start recording)
Added more language variables (DE + EN language files already updated, but FR still needs to be updated and is missing the new variables)
Added some groups to the settings menu



If you have web space within your home network then you can add the folder where you want to save the files and where they are available.
Look at the settings example picture for some instructions.
Settings explanation. (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths)

Here some examples from last Test.
Race Results: Results.htm (http://www.cogent.myds.me/PCDSGUI_STATS/examples_0.6/Results.htm)
Race Timetable: Timetable.htm (http://www.cogent.myds.me/PCDSGUI_STATS/examples_0.6/Timetable.htm)

Edit:
Update function (settings menu) should work, can someone test it?
Sure for me inside of the home Network where the files are it works fine.
But what is from outside and with other firewall and virus scanner then I use, could not test it from outside.
The probability that it is blocked or other messages appear is high, because files are downloaded and copied.

david42fr
27-06-2015, 20:33
Here is the french version:

cogent
27-06-2015, 21:50
Here is the french version:

Thanks, I have updated the link on first post to your post NR18 for the case someone didn't see it here.
Filename should only have two letter for the country to be recognised by the program.

david42fr
28-06-2015, 06:43
Yes, it's an error when posting it, sorry.

When I work on it, I give the version number as not to use an old one.

Mattias
30-06-2015, 12:35
Wow, what a nice an easy to use it Tool. :yes:

Thanks very much.

One big Question, is there a Step by Steb manual for absloute php
and web programming beginners,( in german language ?) how i
create a live time and Result html page on my Webpage, and how
i must config your tool?

Thats would be great!

You don't want php for live updates, check out regular html/css/javascript.
I'd recommend angular.js as frontend framework.

You can learn these frameworks/languages here for free (english): http://www.codecademy.com/learn
Check out the Angular.JS course: http://www.codecademy.com/en/learn/learn-angularjs

cogent
30-06-2015, 14:29
I got visit on Sunday and we had driven a bit.
Could test the program and some new changes very well.
Has recorded 90 minutes Practice1 and 30 from Practice2 without errors.
1 x 39 Laps and 1 x 14 Laps. Recording worked the hole 2 hours without errors or the need to stop it.

Now after having this information I already started to save the files somewhere else when new session starts so that they will not be overwritten anymore.
They record now 50 Laps and not only 30, I removed this limitation.
Added PB to the timetable page.

LCCMarc
30-06-2015, 15:04
Hello,
Have you tried Windows 8.1?
With me, it works on Windows 7 but not on 8.1.
Good work on your part.
Excuse me for my bad english, I use a translator

cogent
02-07-2015, 10:31
Hello LCCMarc.

No I have not tested Windows 8.1 because I don't have it.
I could only test Windows 7. Thanks for reporting that.
Can you tell me what exactly not work?
Maybe I can fix it for 8.1...but I need to know what or where is the problem.

LCCMarc
02-07-2015, 16:25
Hello Cogent,

Here are two screenshots with errors:
210362210363

cogent
02-07-2015, 17:24
Ok thanks.
Later today I will release version 0.7, I finished it and it will also have some changes in code.
After this I can look into it. But for now I have to add the Info that the "Start save as HTM" Button doesn't work with W8.1.

LCCMarc
02-07-2015, 17:51
OK thanks in advance :)

cogent
02-07-2015, 21:52
New Version 0.7:

Fixed some bugs reported by users.
Changed standard Save path to <Install Dir\data\> (not nessesary to change any path in settings for saving HTML files as in last version)
Results and Timetalbe pages will now be saved in Program folder. <Install dir\data\>
Added more language variables (DE + EN language files already updated, but FR still needs to be updated and is missing the new variables)

Example picture (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.7)

david42fr
03-07-2015, 09:58
Translation done ;)

Peter Marcus
05-07-2015, 15:10
Hi, great work man.

Same problem also in version 0.7
Variable must be of type "object"

I used windows 7 and also Windows Server 2008R2

Thanks for hard work
Peter

cogent
07-07-2015, 10:35
Hi, great work man.

Same problem also in version 0.7
Variable must be of type "object"

I used windows 7 and also Windows Server 2008R2

Thanks for hard work
Peter


@Peter:
This is not a bug from the tool, this is because something is missing on yours system.
The next version will produce the same error if you don't have MS Internet Explorer (tested with IE11) and MS Excel >= 2007 installed.

Two Videos of PCDSG_0.7 running (With some new functions, for example Server Best Time) (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Videos.aspx)

riflex91
07-07-2015, 15:41
I could code a website to display the best 5 (?) times for each track and stuff :)

cogent
07-07-2015, 22:19
I could code a website to display the best 5 (?) times for each track and stuff :)

Feel free to do so :)

Here's an example how I have integrated it.
PCDSG webseite (http://www.cogent.myds.me/PCDSGUI_STATS/PCDSG.html)

I have also integrated the AutoIndex PHP Script by Justin Hagstrom (http://autoindex.sourceforge.net).
No modification was necessary. Only need to set the folders and files to be hidden in settings menu on first start.
You can test it with the "server records - file browser" button on the page or with this link (http://www.cogent.myds.me/PCDSGUI_STATS/index.php).

AutoIndex PHP Script by Justin Hagstrom:
http://autoindex.sourceforge.net

Sidonicus
09-07-2015, 23:45
Just putting it out there as a possibility.... getting this impressive work to also output results in a format compaible with the Simracing League system (http://sls.simracing.pl/). It is open source, certainly free. Has served me well in the past but dev seems to have stopped. If not familiar with it check it out- its PHP poetry. I think it would be easy enough to use the existing setup in SLS for say RACE07 (as a starting point) but import the results file produced by this PCDS as a .txt file. The output PCDS would just need to be in the format (very basic) SLS expects in the upload. That would then be league management heaven ! SLS has a EULA that prohibits redistribution or modification, however if your just modifying the PCDS output format, not the SLS PHP I figure no harm no foul. But I'm loving the development going on here and have been happily testing the output.... keep it up !

cogent
12-07-2015, 16:05
New Version 0.8:


Added "Server Best" recording. The best driven time will be saved and shown every time you use the track/car combination.
Added Event Overview with hyperlinks to the Event Sessions that was already driven.
New option in settings menu "Save Location"
Depending on save location it will save the output files in "local mode" to standard Save path <Install Dir\data\> or in "web" mode to the selected folder (settings menu)
Added more language variables (Other language files miss the updated strings)


HTM Output files from version 0.8:
Results (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.8_HTM_Vorschau.jpg)
LAP by LAP Timetable (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.8_HTM_Timetable.jpg)

Sidonicus
13-07-2015, 10:10
Getting a VB runtime error in Module 9 macro.
"unable to set NumberFormat property of the range class" in Selection.NumberFormat = "mm:ss,000"
should it not be mm:ss.000 ?????

cogent
13-07-2015, 12:07
Getting a VB runtime error in Module 9 macro.
"unable to set NumberFormat property of the range class" in Selection.NumberFormat = "mm:ss,000"
should it not be mm:ss.000 ?????

Hi.

Strange, I tested it a lot and did not get this error.
I will check it later today and change it so that this line is not longer needed.
Wich Excel version do you use?


FYI
On my system: If the macro is started from inside Excel then it is mm:ss.000, that's true.
But if the macro is started from outside as I do with the tool, then it needs to be mm:ss,000.
Don't know why this is so, maybe only an issue on my side, did you already tried to change it to mm:ss.000?

After a error like this happens you need to delete the results.xlsm file and use again the file from the .zip download.
This is because of the filter names Excel use. After 2 x errors they cannot delete/overwrite the filter names.
I thought I had already removed all this number format codes, it seems this one was forgotten.

Edit:
It's fixed.
As I mentioned I do not get this error, I have tested it again to be sure. Maybe it's related to the Excel version. To avoid this I removed this line from code because it's no longer needed, now should work for you and others with this issue.
I have updated the download with the new results.xlsm file.

Download 0.8 again or delete the line on your file or Download only the new Excel file and copy it to system folder

Results.xlsm (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/Results.xlsm)

Sidonicus
13-07-2015, 13:14
Thanks Codent
Excel 2007
Worth noting I am trying to get this going on an AWS Server 2012 platform. Adds a few challenges. It seems to like Firefox more than IE11???? Prob due to the increased macro/active-x security involved in a Server 2012 OS.
Changing to .000 did make the error go away but that's a moot point now, have DL the new results file.
After I open a few ports I'll try running on my local PC to find out which of my issues are due to AWS platform.
Getting a few oddities. Happy to pass on bugs and help thrash them out as no doubt I wont be the only one interested in getting this going on AWS.

Great work.... keep it coming

cogent
13-07-2015, 16:22
Thanks for reporting it, as you can see there are not so much feedback regarding errors.

"It seems to like Firefox more than IE11????"
No, they don't.
I used the IE getfile method, they should not work with Firefox.
But it is also possible to do it with Firefox, for now I decided to do it with IE because it should already be on most of the system.

I can not test it directly on my server, I use a Linux Server.
Because of that the tool is running on my local PC (Office PC, not the game PC where PCars is running).
I use the Server only for saving the files so that they are accessable from outside of my Network.
For that I create an Network Drive to my web folders so that I can use the path in the program.

http://www.7tutorials.com/how-map-drives-windows-7
I have not tested it with FTP, but should also be possible.
Sure you can also put in the Server path "\\myserver\web\...". That's it.

If possible try it first with local settings on a PC, then this way with Network Drive to be sure that it works, then try it on the Server to have comparison.
If you get it working directly on your AWS Server 2012 please share with us how you managed it, if you get errors I can try to find some fix or workaround.

Sidonicus
14-07-2015, 13:03
Hey Cogent
Making progress testing at this end. App running bug free and now using IIS on the server to direct publish the html result folder.
Incorporated an iframe into my website site with auto-refresh. Will send some links next time.
progressing well... dare we talk about wish list yet ;)

cogent
14-07-2015, 17:23
Hey Cogent
Making progress testing at this end. App running bug free and now using IIS on the server to direct publish the html result folder.
Incorporated an iframe into my website site with auto-refresh. Will send some links next time.
progressing well... dare we talk about wish list yet ;)

Nice to hear, I am pleased.
You already have wishes ;)
Sure we can, I will try to do what is possible.

I also have some points on my todo list.
Since release of version 0.8 I already have changed or added some things and others will follow.
Maybe you have seen the "Server records - File Browser" on the program webpage?
Server records - File Browser Button is on the right side (http://www.cogent.myds.me/PCDSGUI_STATS/PCDSG.html)
Now I have also integrated it into the tool so that it can be opened directly from the tool without the use of a web Browser.

Here some pictures of it.
PCDSG_Event_Browser_1.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_1.jpg)
PCDSG_Event_Browser_2.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_2.jpg)
PCDSG_Event_Browser_3.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_3.jpg)
PCDSG_Event_Browser_4.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_4.jpg)

Regarding the "auto-refresh"....the files "Results.htm" and "Timetable.htm" already have it in the code.
Look at the line number 7, there the program writes this line depending on the local or web settings so that it also refresh if the files are only stored on the local hard drive.
If settings are "Local": <meta http-equiv="refresh" content="20; URL=file:///F:\coding\PCDSG\data\html\Timetable.htm" />
If settings are "Web": <meta http-equiv="refresh" content="20; URL=http://www.mypage/xxx/data/html/Timetable.htm" />

I changed it yesterday because it can happen that the page trys to refresh in that one second where the file is not available because it's been created by the program in that moment.
This will only happen if both time intervals take place, unfortunately at the same time. With the time one can catch the other.
To avoid that I check now first if the file exists and refresh, if they not exists page will wait 2 seconds and refresh it then.
For that I wrote this short php file.



<?php
$filename = '/xxx/yyy/data/html/Race1.htm';

$file = 'http://www.mywebpage.com/yyy/data/html/Race1.htm';
$file_headers = @get_headers($file);
if($file_headers[0] == 'HTTP/1.1 404 Not Found') {
$exists = false;
wait(2000);
echo "<meta http-equiv='refresh' content='0; URL=http://www.mywebpage.com/yyy/data/html/Race1.htm' />";;
}
else {
$exists = true;
echo "<meta http-equiv='refresh' content='0; URL=http://www.mywebpage.com/yyy/data/html/Race1.htm' />";
}?>


Now the htm files refers to this php and this php will then load the htm on every refresh.
This will be optional and will need to be chosen in the settings because it will not work if someone use the "local" settings.

david42fr
17-07-2015, 14:22
Here is the translation, hope it's OK, because german to french is harder than english to french

cogent
18-07-2015, 08:16
Here is the translation, hope it's OK, because german to french is harder than english to french

Thanks, added it to my files.
Today you will have a new one to edit ;) version 0.9 is already done.

PCDSG 0.9 - Changes:

Added Whitelist support (now the tool will use the "whitelist.cfg" file from the Steam Dedicated Server APP)
Added Blacklist support (now the tool will use the "blacklist.cfg" file from the Steam Dedicated Server APP)
Added two (Whitelist and Blacklist) new Tabs to the program. Depending on the enabled Whitelist or Blacklist in Server settings (Tab 2) it will show the Tab for the chosen list. (You can add and remove user from or to the list from this Tab, Steam ID is neccessary, adding other information are optional)
'Event recordings - File Browser' Window added (it uses the AutoIndex PHP Script by Justin Hagstrom (http://autoindex.sourceforge.net/))
'Drivers ALL Time recording Window added, it saves the Driver name, Steam ID, Joining Time and the current ping....this list will grow with the time and adds more users to it everytime you run it. (it is possible to add users from this list direcly to the 'Whitelist ' or 'Blacklist')
Added new 'reload.php' file (this file is now used to refresh the "Results.htm" and the "Timetable.htm" file in 'web mode'. In local mode it refreshes like in version 0.8.


... Ok, I think that's it for now.
Here some pictures:
212305212306212308

PCDSG_Event_Browser_1.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_1.jpg)
PCDSG_Event_Browser_2.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_2.jpg)
PCDSG_Event_Browser_3.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_3.jpg)
PCDSG_Event_Browser_4.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_4.jpg)

Will be realeased during the day.

Edit:
How to remove this last picture that shows under "Attached Images"?

Chako
18-07-2015, 21:34
Hi i cant found de DL-Link for 0.9 ?:p

cogent
18-07-2015, 23:02
Hi i cant found de DL-Link for 0.9 ?:p

On first post in this Thread :cool:

Hondo
19-07-2015, 03:06
Hi Is it possible to track number of pit stop for each driver during a race?

cogent
19-07-2015, 07:22
Hi Is it possible to track number of pit stop for each driver during a race?

Yes, should be possible.

Hondo
19-07-2015, 07:52
That would be awesome for league support that have mandatory pit stops. Which will allow us admins to check that ever driver did pit during the race. Would you be able to add this in the next update?

Also when I try to record I get the following error:

Line 28822 (File "C:User\Hondo\Downloads\Test\PCDSG.exe"):
Error: Variable Must be of type "Object".

Now i read in a post that you saud you need to have inter explorer 11 & excel 2007. Is excel 2007 need on the server. I'm running on a dedicated server and excel installed.

Thanks in advance.

cogent
19-07-2015, 08:36
That would be awesome for league support that have mandatory pit stops. Which will allow us admins to check that ever driver did pit during the race. Would you be able to add this in the next update?

Also when I try to record I get the following error:

Line 28822 (File "C:User\Hondo\Downloads\Test\PCDSG.exe"):
Error: Variable Must be of type "Object".

Now i read in a post that you saud you need to have inter explorer 11 & excel 2007. Is excel 2007 need on the server. I'm running on a dedicated server and excel installed.

Thanks in advance.

Yes, this error is because there are missing one of this programs.

The program was made to:
- Run on local PC where the DS will be startet and is running
- Create .htm Files and save them locally on the hard drive or on a network folder (ftp should also work but could not test it) - How to create network folders and FTP folders with W7 (http://www.7tutorials.com/how-map-drives-windows-7)
- It uses Internet Explorer 11 and MS Excel on this local PC where the DS and the PCDS GUI is running, so it needs it on the local PC.

If you don't have this and try to use a DS that is runing outside your home network then it will not work the "normal" way.
You need to have access to the api using your public IP or DYNDNS or something simular.

Regarding Pit Stops, Thanks for the Feedback.
I will try to put it in the next Update.
If you don't have any suggestions I think that I will put it inside the Results.htm page or with colors in to the Timetable.htm.......we will see.

Hondo
19-07-2015, 08:58
Yes, this error is because there are missing one of this programs.

The program was made to:
- Run on local PC where the DS will be startet and is running
- Create .htm Files and save them locally on the hard drive or on a network folder (ftp should also work but could not test it) - How to create network folders and FTP folders with W7 (http://www.7tutorials.com/how-map-drives-windows-7)
- It uses Internet Explorer 11 and MS Excel on this local PC where the DS and the PCDS GUI is running, so it needs it on the local PC.

If you don't have this and try to use a DS that is runing outside your home network then it will not work the "normal" way.
You need to have access to the api using your public IP or DYNDNS or something simular.

Regarding Pit Stops, Thanks for the Feedback.
I will try to put it in the next Update.
If you don't have any suggestions I think that I will put it inside the Results.htm page or with colors in to the Timetable.htm.......we will see.

Thank you for the quick response....

I'm going try and install Excel and see if that fixes it. I will let you know.

Can I please suggest to also have the pit stop in the stats page that displays the "PB Information" as well as in the result page. This way the admins can keep a track of the who has pitted during the race.

Also is it possible set the Stats Page (PB Information") maybe automatically refresh it self like maybe every 5 seconds or have the option set how often you want the the stats updated rather than hitting the refresh. This way the admins can keep an eye on the stats easily.

Thank you.

cogent
19-07-2015, 10:07
I will see what I can do for the pit stops.
Regarding the auto update of the stats page you mean, will do that with the next update.
In the meantime you can use the 'Event recordings - File Browser' Window, it displays and refresh the results page and the timetable page everay 15 and 20 seconds.

I used it Yesterday for that and it works good, some issues with refreshing from time to time.
Just select the current Session Files instead of the old ones and make the windows bigger for the timetable page.

PCDSG_Event_Browser_2.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_2.jpg)
PCDSG_Event_Browser_3.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_3.jpg)
PCDSG_Event_Browser_4.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_4.jpg)

Sure, for the other window the automatic update is also planned.

Hondo
19-07-2015, 10:17
I will see what I can do for the pit stops.
Regarding the auto update of the stats page you mean, will do that with the next update.
In the meantime you can use the 'Event recordings - File Browser' Window, it displays and refresh the results page and the timetable page everay 15 and 20 seconds.

I used it Yesterday for that and it works good, some issues with refreshing from time to time.
Just select the current Session Files instead of the old ones and make the windows bigger for the timetable page.

PCDSG_Event_Browser_2.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_2.jpg)
PCDSG_Event_Browser_3.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_3.jpg)
PCDSG_Event_Browser_4.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Event_Browser_4.jpg)

Sure, for the other window the automatic update is also planned.



But to do that I need to have excel installed and results to be recording right?

I'm currently running a race for one of our leagues, it has already started but I didn't get time to install excel so I dont think the result page will work. At the moment i'm looking at the "PB Information" window and keeping an eye on the race.

Also another suggestion.... sorry but I think it will be use for admins....

In the PB information screen, would it be possible to sort the fields.... for example clicking on the "Position" field sort the it in order of position of drivers....

cogent
20-07-2015, 23:11
But to do that I need to have excel installed and results to be recording right?

I'm currently running a race for one of our leagues, it has already started but I didn't get time to install excel so I dont think the result page will work. At the moment i'm looking at the "PB Information" window and keeping an eye on the race.

Also another suggestion.... sorry but I think it will be use for admins....

In the PB information screen, would it be possible to sort the fields.... for example clicking on the "Position" field sort the it in order of position of drivers....


Try this one, here a Video of the changes. (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Videos.aspx) It's Video NR 3.

PCDSG_0.91 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.91.php)

Added to the STATS window (PCDSG - PB Informationen):

Automatic content/window update
Filtering by positions
Pit Stops counter (test)
Some colors for different states during the Session
Car will now be displayed for every driver by car name
Changing of the update interval time (min = 5 seconds, max = 59 seconds) "on the fly" possible, needs one interval bevor it takes over
Changing of the update method "on the fly" possible, needs one interval bevor it takes over



Regarding the Pit Stops counter I need your Feedback.
I have tested it as you can see on the Video and it detects the Pit Stop, but it's not easy to check if it was right on a public lobby.
To optimise it I need to know where it fails to change something.
Maybe someone can test it and report the issues.

If a PitStop is detected it writes a new file "PitStops.ini" into the system directory.
Use it to check/compare and to report issues.

Sidonicus
21-07-2015, 07:53
Regarding the Pit Stops counter I need your Feedback.

Cogent
Quick feedback on 0.91: EB FB button is now broken its trying to open file PCDSG_Stats_Event_Browser.au3 which is prob just a typo :) .exe not.au3?
I'm still slugging away with this on an AWS with mixed results. Main part confusing the hell out of my limited skills is replacing http://www.mywebpage.de to use my own setting.
No need to use FTP or an external site as I'm using IIS on the same AWS. That way C:\PCDSG\data\html\ is published in IIS and can be both the local and web folder.
But whenever I hit EB FB (in v 0.9) it links to http://www.cogent.mydns.me/PCDSGUI_STATS/index.php - I'm presuming this is embedded in the exe code as I cant find a way to change what the EB FB button links to so I can set it to be either my own webspace or use the IIS. Keep it up!

david42fr
21-07-2015, 08:09
Here is the latest translation.

There's no whitelist tab?

cogent
21-07-2015, 09:19
Here is the latest translation.

There's no whitelist tab?

Thanks for the .ini.
Whitelist TAB is TAB4 and Blacklist Tab is TAB5.
If Blacklist Tab is set to true then it will hide Whitelist Tab and vice versa.

@Sidonicus :
Thanks for reporting it. You are right, just a typo.
I wrote it right in the code but wrong in the Filename.
It should be "PCDSG_Stats_Event_Browser.exe" and not "PCDSG_Stats_Ebent_Browser.exe".
Rename the .exe file to fix it.

FYI:
If you use the "local" settings it will replace the links with "file:///"
If you use the "web" settings it will replace the links with "http://"
Don't use "local" mode if you want to share the files, even if you can share them to the Server the links will be wrong.

Using "web" mode you only need to write the address to the web folder on your server in settings menu.
Explanation:
http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_settings_paths_web.jpg

For testing put for example the "Server Offline.htm" file from system folder into your web folder and rename it also to "Results.htm".
Then try to open/access it with your Internet Explorer to be sure it is accessible and that the address you put in settings menu is right.

You was right, the link to the "index".php page was hardcoded in the file "PCDSG_Stats_Event_Browser.exe".
It's fixed now. It reads the needed Adress from the value in line "EventBrowser_page" in config.ini".
Write the complete web adress/path to the config.ini file.

You have installed the "AutoIndex PHP Script" by Justin Hagstrom (http://autoindex.sourceforge.net/)?
It's needed for the Event records - File browser to work.
I have compiled a new version of the file "PCDSG_Stats_Event_Browser.exe" with the fix for the address. It's now also included in the 0.91 Download.
PCDSG_Stats_Event_Browser.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_Stats_Event_Browser.zip)

Sidonicus
22-07-2015, 06:11
Hi Cogent
Quick question to fill in the blanks for me (again). How does the app upload to http server if configured? eg http://www.mywebpage.de/xxx/data/html/
I'm presuming its not FTP as I cant find any config options for FTP account. I'm just wondering how its posting the info and what I need to do in my webspace about permissions?

Hondo
22-07-2015, 07:32
hi Cognet,

OK im trying the latest version and im getting the following error.

http://i61.tinypic.com/nwdhsy.jpg

Boxes pops up with "32" in it and nothing is being recorded.

cogent
22-07-2015, 07:58
hi Cognet,

OK im trying the latest version and im getting the following error.

http://i61.tinypic.com/nwdhsy.jpg

Boxes pops up with "32" in it and nothing is being recorded.


I have to say.....SORRY.
I forgot to remove this, it's not an error it's a message box I forgot to remove.
This message box was for testing to see if they double the number of Lines they read.
For explanation, first loop are 16 lines, I put this message box in to see if they do number of line x 2.

I will remove it today until releasing the changes I have done yesterday and maybe also some from today.

If you use the STATs page "PB Informationen" and someone makes a PitStop they will also pop up some message boxes.
This is for testing and will be in the code until I am sure that it works and everything is recorded and show for the right user.

It's already a good step you have done. Maybe you can explain later for others how you got it working......after everything works good for you.
It seems to run and to save the Files in the folder I can see in the background of your picture.
Try it with version 0.9 from first page, it don't have this msgboxes for testing or wait and try it with the new test version 0.92 I will release later.
But first I want to finish user Info, Kick and Ban function.
I will not release Test versions on first page anymore, so you can grab the "stable" version there and the test version here in the posts.

Hondo
22-07-2015, 08:16
Hi Cognet,

I did leave the message 32 running and did a race. (Quali + 1 lap race). Even though the files were created no data was saved. Cant explain why.

I did a race with my self and rest are AI? could that be the reason? Does AI stats get recorded? or only human players?

Hondo
22-07-2015, 08:55
Okay I did a another test. I want to really test out the pit stop so I'm using your test version

So 5 mins Quali & 1 lap race.

I run the server and click on "start saving results" button. Log on to server and do the race. I can the files are created in the html folder. After the race i click on "Stop saving results" button.

Go to the HTML folder and open the Results.htm file. I can see the results table but no data at all :(

cogent
22-07-2015, 16:21
Okay I did a another test. I want to really test out the pit stop so I'm using your test version

So 5 mins Quali & 1 lap race.

I run the server and click on "start saving results" button. Log on to server and do the race. I can the files are created in the html folder. After the race i click on "Stop saving results" button.

Go to the HTML folder and open the Results.htm file. I can see the results table but no data at all :(

Click on the message box.
The msgbox pause it, as long as they are visible there are no data to read/write.

Please Check also if you have the file "status.json" in system folder.
Check if the program creates it.
They only create the .htm files without data if the server is Idle or if there are no data to read.
On your picture I could see it wrotes some data, Server name and date.
Macros allowed, some kind of extra protection?

The Pit Stops are only available in this Window for now, the .htm files don't have it because it's something new.
http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Status_Window_2.jpg

Buttons:
http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_GUI_Buttons_1.jpg


Download Update to version 0.92: (Only the updated files, replace the old fiels from version 0.9 or 0.91)
PCDSG_Update_0.92.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_Update_0.92.zip)

cogent
27-07-2015, 14:32
I have rewritten some code, added new informations and some auto Kick functions.
A lot have changed in the code and the way they store the data.
I also started to implement some error handlers and msgboxes for better understanding why it not works as it should (for example, if IE is missing and they cannot get the data from DS or create the needed Files).

Download:
PCDSG_0.93 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.93.php)

Video showing the Changed Status Overview Window and saving Results and Log. --> It's Video number 4, the others are older (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Videos.aspx)


Changed Status Overview Window (Added Log and User History)
Changed Filenames (to be more understandable)
Added right-click menu with Kick, Ban and some user informations to the Status Overview Window
Changed Blacklist and Whitelist and the way they write the files because of some issues, now works fine
Added Auto Kick list for new Blacklisted user (if using user History Button to add to Blacklist) to not have to restart the server, user on that list will be kicked repeatedly every loop if detected
Added Auto Kick user by Rules, users that are parking on the track will be kicked. Thats the only rule at the moment. Duration until they are Kicked is depending on the update intervall for the Status Overview Window, they will be Kicked every second update loop.
Added Save Function to the Status Overview Window for Results and Log. From that Window both are saved as .txt Files in Program folder.
...



Known issues:
- If the Changed Status Overview Window is open before someone is on the server and the update loop takes place then you can receive error because of variable with wrong or empty values. You have to open the Status Overview Window again.
- If you kick the last user (the admin) from the Server and still have the Changed Status Overview Window open then you can receive error because of variable with wrong or empty values. You have to open the Status Overview Window again.
- In some special situations you can also receive this error because of variables with wrong or empty values from the processes that are updating the data. In that case you will only miss one update loop, on next loop they will continue even if the message is on the screen.
- On the first or second updates of the Status Overview Window the content of the Log file shown in the Window can be corrupt


Edit:
The download had the wrong language files (only FR) or the wrong version number (All had 0.8).
Now I have updated the download file with the correct language files, please redownload it if you had wrong version number displayed.
FR still display 0.92 because it's not updated until now. EN and DE are up to date. Some text are only hardcoded in EN and not available in the language files in this update.

erickgoldner
27-07-2015, 22:24
I have rewritten some code, added new informations and some auto Kick functions.
A lot have changed in the code and the way they store the data.
I also started to implement some error handlers and msgboxes for better understanding why it not works as it should (for example, if IE is missing and they cannot get the data from DS or create the needed Files).

Download:
PCDSG_0.93 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.93.php)

Video showing the Changed Status Overview Window and saving Results and Log. --> It's Video number 4, the others are older (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_Videos.aspx)


Changed Status Overview Window (Added Log and User History)
Changed Filenames (to be more understandable)
Added right-click menu with Kick, Ban and some user informations to the Status Overview Window
Changed Blacklist and Whitelist and the way they write the files because of some issues, now works fine
Added Auto Kick list for new Blacklisted user (if using user History Button to add to Blacklist) to not have to restart the server, user on that list will be kicked repeatedly every loop if detected
Added Auto Kick user by Rules, users that are parking on the track will be kicked. Thats the only rule at the moment. Duration until they are Kicked is depending on the update intervall for the Status Overview Window, they will be Kicked every second update loop.
Added Save Function to the Status Overview Window for Results and Log. From that Window both are saved as .txt Files in Program folder.
...



Known issues:
- If the Changed Status Overview Window is open before someone is on the server and the update loop takes place then you can receive error because of variable with wrong or empty values. You have to open the Status Overview Window again.
- If you kick the last user (the admin) from the Server and still have the Changed Status Overview Window open then you can receive error because of variable with wrong or empty values. You have to open the Status Overview Window again.
- In some special situations you can also receive this error because of variables with wrong or empty values from the processes that are updating the data. In that case you will only miss one update loop, on next loop they will continue even if the message is on the screen.
- On the first or second updates of the Status Overview Window the content of the Log file shown in the Window can be corrupt


Edit:
The download had the wrong language files (only FR) or the wrong version number (All had 0.8).
Now I have updated the download file with the correct language files, please redownload it if you had wrong version number displayed.
FR still display 0.92 because it's not updated until now. EN and DE are up to date. Some text are only hardcoded in EN and not available in the language files in this update.

Hello Cogent!
Nice job with the app!

Currently i´m experiencing a problem when a click on the button to start saving the results and timetable .htm files.
213563
So i can´t seem to be able to record the data! Other functions seems to be working well!

Ps.: I´m on Windows 10, dunno if it has anything to do with the problem.

cogent
27-07-2015, 23:38
Hello Cogent!
Nice job with the app!

Currently i´m experiencing a problem when a click on the button to start saving the results and timetable .htm files.
213563
So i can´t seem to be able to record the data! Other functions seems to be working well!

Ps.: I´m on Windows 10, dunno if it has anything to do with the problem.

Thanks for feedback.
This error is because of missing MS Excel installation.

Short explanation.
I use some Excel APIs to write the data and some Excel VBA macros to create the .htm File.
This error message means that the program was not able to create the object that is needed to get access to the Excel APIs.
Next Time I will also write an error handler for that. It will then still not work but you will not receive this error message. Will be a message that tell you that Excel is missing (or maybe some version with different calls, I have only tested Excel 2010).
Or it will hide the Buttons if Excel is missing, something like that.

Without Excel you can only save the Results and the Log as .txt File using the save Buttons in Status Overview Window.
Maybe I can add also Open Office support, or someone else with VBA knowledge does want to help and translate the macros to open office......
I don't want to start with it until the other things are complete ready.

LCCMarc
27-07-2015, 23:39
Same problem for Windows 8;)

erickgoldner
28-07-2015, 02:25
Thanks for feedback.
This error is because of missing MS Excel installation.

Short explanation.
I use some Excel APIs to write the data and some Excel VBA macros to create the .htm File.
This error message means that the program was not able to create the object that is needed to get access to the Excel APIs.
Next Time I will also write an error handler for that. It will then still not work but you will not receive this error message. Will be a message that tell you that Excel is missing (or maybe some version with different calls, I have only tested Excel 2010).
Or it will hide the Buttons if Excel is missing, something like that.

Without Excel you can only save the Results and the Log as .txt File using the save Buttons in Status Overview Window.
Maybe I can add also Open Office support, or someone else with VBA knowledge does want to help and translate the macros to open office......
I don't want to start with it until the other things are complete ready.

That was it!
Since im on a fresh Win 10 install, still didn´t install my office package!

So i just installed and it now it's working good!

Will continue to run on my private server to test it!

Great job again!

Hondo
30-07-2015, 13:53
Hi Cogent,

I'm having all sorts of issues with the latest version. First thing I noticed after starting the server it looks like every 5 seconds it tries to load the dedicated server again. And keep doing the same thing over and over. I see another dedicated servers window pops and then closes down ever 5 seconds. I'm not sure if this is causing my other issues im experiencing....

If I try to run the stats page, I get the following error.

213837

I have never been able to get this work as this error keep coming.

Other issues is that if I click on "start saving results" and go in to multiplayer, there seems to lot of debug error messages in the background.

And it seems like every time it does this it also kicks me from the multiplayer.

Let me know if you need any more info to troubleshoot.

Thanks,
Hondo

cogent
30-07-2015, 15:52
Hi Cogent,

I'm having all sorts of issues with the latest version. First thing I noticed after starting the server it looks like every 5 seconds it tried to load the dedicated server again. And keep doing the same thing over and over. I see another dedicated servers server window pops and then closes down ever 5 seconds. I'm not if this is causing my other issues im experiencing....

If I try to run the stats page, I get the following error.

213837

I have never been able to get this work as this error keep coming.

Other issues is that if I click on "start saving results" and go in to multiplayer, there seems to lot of debug error messages in the background.

And it seems like every time it does this it also kicks me from the multiplayer.

Let me know if you need any more info to troubleshoot.

Thanks,
Hondo

Hi Hondo.

Let's start with the Error message from your picture.
This or a similar error message can happen in some situations, I fixed a few of them (hopefully all) yesterday with error handlers, sleep calls and checking values before using it.
But it is not normal that you receive them all the time, normally this only happens from time to time and only on few situations where the variables have wrong data.

What I see on your picture is that you have 5 of 5 players in the game and 22 #Racers Valid. How does this happen? AI Cars?
I started the tool with limitation of max. 20 Players. On the new parts of the code it's already more (max. 32), but maybe there are still some parts with the limitation of 20 in the code.
In that case some arrays and variables can have wrong number of values or the max range of it is to bit.
Please try it only with max. 20 Players to exclude this.


Regarding the permanent start of the Dedicated Server every 5 second's, thank's for reporting that.
After a short look into the code I think I know the problem and will change that.
It does this if the Dedicated Server path is not the standard installation path "C:\Program Files (x86)\Steam\SteamApps\common\Project CARS Dedicated Server\".
I think this is the case on your system?
Why? Because I forgot to remove the hard coded path. Now its searching for the startet DS from that folder, if this is not the case it will start it...this causes the loop.
Sorry. I have to use the path from the settings, then this will not happen anymore.


Regarding you been kicking from the Server, this can be the new Kicking by rules for parking cars.
I noticed that yesterday while trying to drive on the Nordschleife, this happens to me until I reach the second or third corner.
I was able to reproduce this a few times so that I found the issue and was able to fix it yesterday.
After that the kicking during driving stops but still works if the cars are parked on the track.


Thank's for reporting, I will fix the issue regarding installation path and hope that the others solve your problem.
But I think there are also some issues with the max. number of participants, maybe you have used more then 20.

cogent
30-07-2015, 20:31
Ok, here is the Update with some fixes and optimisation.
I have tested it after compiling by hosting one 30 min. Qualifying and 3 laps race.
I have deactivate "automatic kick users by rules" that kicks parking cars because on some tracks it kicks you also if you are driving.
This does not happen on every track, but on some it does. It's rewritten and works better now, but still not ok on all tracks.
Because of that it's now deactivated by default......seems to need more optimisation.
Still possible to activate, test and use it.

Download:
PCDSG_0.94 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.94.php)

No new features in this version, only bug fixes and some optimisations.


@Hondo:
Path is now ok, I have removed the hard coded path.
Hope yo have more luck with this version.

Hondo
31-07-2015, 03:15
Hi cognet,

Just wanted to report back my findings. Overall I think we are heading in the right direction and the latest version I had less errors. So I would like to thank you first of all for putting out a new version so quickly.

My racing league is starting Round 1 of our GT3 championship this Sunday so I'm trying to get this up and running before then. Okay this is what I tried.

5 mins Qualifying
1 lap race
20 cars on track (19 AI & Me) - I couldn't find actually real players to test at this stage.

Test 1 - Jumped on started the qualifying. I also hit the button to start saving results.

Opened up Timing Window and I got this error straight away.

213884

So i thought I'll shut it down start all over again.



Test 2 - Jumped on started the qualifying. I also hit the button to start saving results.

Opened up timing window. it was stable and reporting accurate data this time. So I went ahead and qualified and then did the race.

Results looks good in the timing window and I wanted to keep the data. So i clicked on save and I got this error straight away.

213885

I want to do more testing soon and I will report back any issues. is there a reason why the max players needs to be set at 20? can I go higher as 25 or 30? Just want to make sure if we get the numbers this weekend that we are covered.

Thanks,
Hondo

cogent
31-07-2015, 09:52
Good to hear that it is better now.

Test 1:
This message is already one of the new I have build in for better handling situations where the data ist missing or corrupt.
Restart is not necessary. The process running in the background that checks this and produce this message will only skip one loop and try it again on the next.
I will put a short timer in this message so that it disappears automatically after 3 seconds and will not force users to click ok or to think that they have to restart the tool/Server.
So, this is not a big issue and it's how I wanted to have it.


Test 2:
This happens because the recorded data is already gone and the results table are empty.
For example, the log data are still there so that this error does not appear saving the log data.
But the results data was already replaced/deleted.
Have to implement here also a message like the other above.
Why? Because I did not check if the session is over to stop data updating.
This means he will still update after session end and everyone has gone and replace the data with empty data.
At the moment you need to save them directly after the qualy, race or whatever you have driven before the next starts.


The .HTM File recording have the Check for finisched session already in the code by checking last Session/current Session/next Session and save the files at the End vor every session in seperatly files with session name.
But on this Window it is still missing, will add it for the next Update.


If you only want to use this timing window you do not have to Click the button to start saving results.
This two functions worked separately. Sure, you can use both at the same time, no problem.
I have also do that for testing and to be sure that the one does not interrupt the other.
But it is not necessary. Only explain this to avoid misunderstanding.
If you have used it as you told, then you should have the recorded .htm Files for Qualy and Race (Results and Timetable for every Session separately) in the folder where it saves them.
Is that the case? Have a look.


Why max. 20?
Because of some loops that Checks only up to 20, for example "For 1 to 20 .... loop
Some of them are already replaced with the number of participants valid, for example "For 1 to $NR_participants .... loop
Need to Check them all and if necessary replace them so that it is able to do more then 20.
But I need to be carefull, if the loop goes over max. users available then dimension range problems on some variables.
If the loop does less then max. users available then some variables that the next part of the code need don't exist/are not available and will report errors.


From the actual point of developing everything is working as it should.
The first error message is ok and from me, the second one are because trying to save data that is not longer available.
The first one will receive the 3 seconds timer so that program can continue working after that and the second one needs some Check for finished Session to keep the data and not replace it.

Thanks

Hondo
31-07-2015, 10:51
Thanks Cognet.

I just did a test with 5 players with 3 laps and this time it ran successfully. No errors were outputted. I'll do more testing. There were couple of things.

1. I asked everyone to pit at least once, and timing screen did not show that anyone pitted. Pitted columns remained at 0. This is one of the things important to make sure that everyone does their mandatory pits during the race.
2. Looking at the results after the race, is it possible the to save results exactly how it shown in the timing screen? maybe it is saved that way already i just have not been able to figure out where I can find it.

Thanks,
Hondo

cogent
31-07-2015, 11:17
Thanks Cognet.

I just did a test with 5 players with 3 laps and this time it ran successfully. No errors were outputted. I'll do more testing. There were couple of things.

1. I asked everyone to pit at least once, and timing screen did not show that anyone putted. Pitted columns remained at 0. This is one of the things important to make sure that everyone does their mandatory pits during the race.
2. Looking at the results after the race, is it possible the to save results exactly how it shown in the timing screen? maybe it is saved that way already i just have not been able to figure out where I can find it.

Thanks,
Hondo


1. I already noticed that. Pit Stops seems to be broken since I changed the code for version 0.93. Have to change some variables to get it working as on 0.9.
In 0.9 it was able to detect the Pit Stops and showed them in the results, but not sure if they wrote it down for the right person......it was untested from my side and no one gave feedback regarding that.
It's already on the todo list.

2. If you have not changed the save folder in settings and use the standard "local" path that is default then you can find the .htm files in <Install dir\data\html\>
If you mean the saved results from the timing window after you have saved it manually with the save button then you can find it in <Install dir\Saved RESULTS File.txt> and <Install dir\Saved Log File.txt>
Both will never be deleted, new Results or Log will be added at the end after a new line with Date and Time.
Regarding the Log, you will see that they are useless for checking race events for the drivers after a race because of missing refID, I do not write it down at the moment.
Will add the matching names for the IDs and replace the IDs with the names in the future. Will also add the complete unprocessed Log from the DS, at the moment I only use some of the values that I do edit for the timing Window.


The "Saved RESULTS File.txt" shows the data exactly how it is shown in the timing screen.
In the .HTM file it's different, they only save a few of them. But it already has a seperate "Lap by Lap" recording that is missing on the timing screen.

Hondo
31-07-2015, 23:22
Hi Cognet,

It was I that requested for pit stops while back. If you put out a new release can you please see if you can get this to work... And I will test it out.

With regards to max players of 20, is it possible to for you look in to for races that accommodate more than 20 players. We have 27 drivers signed up for Race 1 and we could get more joining through the season.
So 20 might not be enough.

Thanks,
Hondo

cogent
01-08-2015, 17:59
Hi Cognet,

It was I that requested for pit stops while back. If you put out a new release can you please see if you can get this to work... And I will test it out.

With regards to max players of 20, is it possible to for you look in to for races that accommodate more than 20 players. We have 27 drivers signed up for Race 1 and we could get more joining through the season.
So 20 might not be enough.

Thanks,
Hondo

Hondo, please try this one.

Only change I have done is the PitStop for you.
It's only the File "PCarsDSOverview.exe", replace the old one to test it.
I have replaced the message boxes with a short sound from your Windows folder (WindowsDir\media\tada.wav).
If your system also have this File then you will hear it and know that something was detected.

After the Test and If something happens look into the File "PitStops.ini" to see If something was saved there.
While testing don't let everone do a Pit Stop, only one person to see if it is recorded for the right person.

Before you start be sure that the File "PitStops.ini" only have this content:


[PitStops]
NR=0

cogent
02-08-2015, 13:10
Wanted to made a test today using the function for removal of parking cars and saw that I forgot to declare a variable for the Pit Stop stuff.
After changing it I have also test the Pit Stops and it works for me and the AI using short Update Interval.

PCarsDSOverview_for_PitStops.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCarsDSOverview_for_PitStops.zip)

Removing parking cars works also good, tested it today @ Donnington GP.
As good that it removes me making a Pit Stop if I stand too long in the Pit.
This was not the intention so that I have also added a filter for the pit stop.
Will Update the Files during the day.

Hondo
04-08-2015, 00:56
Wanted to made a test today using the function for removal of parking cars and saw that I forgot to declare a variable for the Pit Stop stuff.
After changing it I have also test the Pit Stops and it works for me and the AI using short Update Interval.

PCarsDSOverview_for_PitStops.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCarsDSOverview_for_PitStops.zip)

Removing parking cars works also good, tested it today @ Donnington GP.
As good that it removes me making a Pit Stop if I stand too long in the Pit.
This was not the intention so that I have also added a filter for the pit stop.
Will Update the Files during the day.

Thanks Cognet. I will find some time to test this out.

We had out round 1 of GT3 on Sunday and we had 30 drivers and decided not to do mandatory pit stops since we cant enforce it or see the results.

But hoping to have this sorted out for for the next round.

The other thing was, with 30 users like you said some loops only check for 20. This is now becoming a bit of an issue as i think we are regularly going to get over 20 drivers for races.

RomKnight
14-08-2015, 17:42
So huh... no pressure but, the new server.cfg is a bit different now :P

Seriously, i wanted to give a suggestion.

ATM the app overrides the server.cfg with it's own parameters. Wouldn't be better to read from server.cfg if it already exists. Not forgetting to warn if unknow settings are found, ofc.

This way with each update to DS it would be easier to transition (so to speak) which would keep the app working, i suppose, even if it does not know the newer settings because it would enable the user to change those by hand.

I assume this because the Dedi...exe still will always read the server.cfg

Keep up the good work @cogent

Darksoul87
14-08-2015, 22:42
hi guys, I tried to download the download PCDSG_0.94 but does not work for that page does not respond !! except something you could send me to the download pm ?! thank you :)

cogent
15-08-2015, 04:46
So huh... no pressure but, the new server.cfg is a bit different now :P

Seriously, i wanted to give a suggestion.

ATM the app overrides the server.cfg with it's own parameters. Wouldn't be better to read from server.cfg if it already exists. Not forgetting to warn if unknow settings are found, ofc.

This way with each update to DS it would be easier to transition (so to speak) which would keep the app working, i suppose, even if it does not know the newer settings because it would enable the user to change those by hand.

I assume this because the Dedi...exe still will always read the server.cfg

Keep up the good work @cogent



You are right.
Not only with your first sentence.

I already have an updated Version and was waiting that the new game and DS Update will be released.
Now after this is the case I can compile 0.95.
Thanks for the Info about the server.cfg.
I changed other things but never thought about that.....this is the first time with new content in the server.cfg.
Will try to change it until I release 0.95.

@Darksoul87:
Its back now.
Was Offline because of power Blackout.

erickgoldner
15-08-2015, 12:59
You are right.
Not only with your first sentence.

I already have an updated Version and was waiting that the new game and DS Update will be released.
Now after this is the case I can compile 0.95.
Thanks for the Info about the server.cfg.
I changed other things but never thought about that.....this is the first time with new content in the server.cfg.
Will try to change it until I release 0.95.

@Darksoul87:
Its back now.
Was Offline because of power Blackout.

Looking forward to the next version as well!
So many good options now! :D

RomKnight
15-08-2015, 16:12
thread moved too fast... nvm now. 0.95 is coming :D

cogent
16-08-2015, 13:22
I have merged some files and code to avoid some errors and to reduce files.
Also changed / added read and write to server.cfg from settings and Race control Window instead of creating it new.

It works good now, only Race control Window is experimental.
But now I have to change some output values until release.
In the header of the PCars: DS Overview Window for example.

PCDSG 0.95.jpg (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.95.jpg)

cogent
17-08-2015, 19:47
Download:
Virustotal.com detection rate: 8 / 55 (https://www.virustotal.com/de/file/7aa77a155d0786d99e2af613a55530e1e0234d0f34e857c2a728032775b032f4/analysis/1439841564/)
PCDSG_0.95 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.95.php)


Changed Read/Write to/from server.cfg (start with new server.cfg file without remarks, for example server.cfg file from PCDSG folder....copy it first to the DS folder)
Merged some Files, Code and order
Added two new DS options to settings menu (allowEmptyJoin & controlGameSetup)
Added Race Control Window with basic functions, is still in testing (Randow Track for example only works sometimes)
Added new message to the "Start .HTM recording" Button, now msgbox pops up if wanted to execute the function. It warns/shows the installed Excel version until start.
Removed "kick parking cars" (and other Rules) from "PCarsDSOverview" Window to the Race Control Window --> Still in testing and with some issues
Added new Checkboxes in "PCarsDSOverview" Window to enable/disable data updates



Use a new/clean server.cfg file without remarks in this Version because of the changes I made.
For example server.cfg file from PCDSG folder, copy it to DS folder and/or change it there.


Edit:
Forgot to say that you can add/change the message text using/sending with Race Control Window in config.ini file.

Change this values, Enter the text you want to send.


[Race_Control]
Message_1=Test Message 1
Message_2=Test Message 2
Message_3=Test Message 3
Message_4=Test Message 4
Message_5=Test Message 5
Message_6=Test Message 6
Message_7=Test Message 7
Message_8=Test Message 8
Message_9=Test Message 9
Message_10=Test Message 10
Message_Wellcome=Wellcome to PCDSG Server
Message_Email=cogent@cogent.myds.me
Message_Problems=Have some problems
Message_Admin=Admin makes a break

david42fr
18-08-2015, 14:32
Hi all,

As I was on holidays, no french translation, sorry. But as I can't download the latest version (error when I go to the download page), there won't be any translationas for now.

cogent
18-08-2015, 20:54
Updated two Files, RaceControl Window and PCarsDSOverview.
PCDSG_0.95_Update.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.95_Update.zip)


Random Track selection in Race Control Window fixed, works now if checked. Will be set next time using "set attributes" Button.
P1, P2, Q, W, R1 Time/Duration are tested and all working now
Message Box Buttons only for Server Messages. Added also first automatic message if making a Pit Stop/Driving through the Box
Fixed some values/displayed content


215482

silicijevadolina
23-08-2015, 12:04
Download:
Virustotal.com detection rate: 8 / 55 (https://www.virustotal.com/de/file/7aa77a155d0786d99e2af613a55530e1e0234d0f34e857c2a728032775b032f4/analysis/1439841564/)
PCDSG_0.95 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.95.php)


Changed Read/Write to/from server.cfg (start with new server.cfg file without remarks, for example server.cfg file from PCDSG folder....copy it first to the DS folder)
Merged some Files, Code and order
Added two new DS options to settings menu (allowEmptyJoin & controlGameSetup)
Added Race Control Window with basic functions, is still in testing (Randow Track for example only works sometimes)
Added new message to the "Start .HTM recording" Button, now msgbox pops up if wanted to execute the function. It warns/shows the installed Excel version until start.
Removed "kick parking cars" (and other Rules) from "PCarsDSOverview" Window to the Race Control Window --> Still in testing and with some issues
Added new Checkboxes in "PCarsDSOverview" Window to enable/disable data updates



Use a new/clean server.cfg file without remarks in this Version because of the changes I made.
For example server.cfg file from PCDSG folder, copy it to DS folder and/or change it there.


Edit:
Forgot to say that you can add/change the message text using/sending with Race Control Window in config.ini file.

Change this values, Enter the text you want to send.

When I want to visit the website I get this error:

215957
Google translate:

Note: The Web site contains malware.

Attackers on the site www.cogent.myds.me you might try consciousness to install programs that adversely affect the browsing (for example, change your home page or on the websites you visit, show additional ads) .
** Automatic reporting details of potential security events to Google. Privacy Policy
Back to varnostSkrij details
Google's Safe Browsing feature recently found malware on the site www.cogent.myds.me.

If you are aware of the security risks, you can visit this site before the harmful programs are removed.

cogent
23-08-2015, 12:48
Never saw that before, seems to be some new W10 stuff...... I Don't know.

Maybe that's because of the forwarding and .txt writing on that .php page.
It forwards / redirects to the Download File and write/show the number of Downloads from .txt File.
Looks like that if it works.
215959


This are the direct Download links without the php page first.
http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.94.zip
http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.95.zip

miguelingt
23-08-2015, 13:03
I can´t download the last version from any link. I get error (The connection was restarted) when I access to page.

EDIT: I disabled avast antivirus and I downloaded the last update. ¿Why antivirus detects infection on this file?.

Thanks

cogent
23-08-2015, 13:43
I can´t download the last version from any link. I get error (The connection was restarted) when I access to page.

EDIT: I disabled avast antivirus and I downloaded the last update. ¿Why antivirus detects infection on this file?.

Thanks

I already posted this before, cannot avoid that some of them shows alarm.
Virustotal.com detection rate: 8 / 55 (https://www.virustotal.com/de/file/7aa77a155d0786d99e2af613a55530e1e0234d0f34e857c2a728032775b032f4/analysis/1439841564/)

silicijevadolina
23-08-2015, 13:43
because it is infected ?!I have Win 8.1 and antivirus Kaspersky Internet Security 2015. And when we display an error page, and then antivirus program then I know something was wrong!
I will not risked, and even if a false alarm because I have burned in the past.

silicijevadolina
23-08-2015, 13:52
This error reports Google Chrome, and no AV!

cogent
23-08-2015, 13:56
because it is infected ?!I have Win 8.1 and antivirus Kaspersky Internet Security 2015. And when we display an error page, and then antivirus program then I know something was wrong!
I will not risked, and even if a false alarm because I have burned in the past.

No it's not infected.
I just cannot avoid this if I want that the different functions works.
But feel free to not use it.

silicijevadolina
23-08-2015, 14:05
I would be happy to use this app !!Why don't You upload this to another site, such as for example MediaFire?

cogent
23-08-2015, 18:06
I would be happy to use this app !!Why don't You upload this to another site, such as for example MediaFire?

So you don't trust my web page that is on my Server but you will trust the Files/Content of the Downloaded tool if they are stored somewhere else?

I think this problem caused only the php page that forwards to the .zip. Use the direct links.
If someone wants to Upload Files somewhere else and mirrow it here then that is ok, no problem.
I put the originals on my own Server and post the links here, there will be someone who creates a mirror.
For now the program is still in developing and it doesn't makes sense for me to mirrow Files.
I continue writing on it and sometimes I upload a fix or a new version only few days later. I am preparing to finish it and to release version 1.0.
After Version 1.0 some mirrors will be a good idea.

For example, I already have a new Version with a lot of new functions and fixes for some bugs/mistakes in PCDSG 0.95.
Have some Steam connection problems now so that I stoped compiling and testing it for release.
Will do that tomorrow if I have time.

Here some Infos.
http://forum.projectcarsgame.com/showthread.php?37566-How-to-imropve-MP-experience-(SMS-devs-9&p=1094760&viewfull=1#post1094760

silicijevadolina
23-08-2015, 18:39
The problem is that I can not even visit your site because your site is blocked by my browser.

cogent
23-08-2015, 18:41
The problem is that I can not even visit your site because your site is blocked by my browser.

You cannot use the direct links in this post?

http://forum.projectcarsgame.com/showthread.php?31634-Project-Cars-Dedicated-Server-GUI-Launcher-with-%93live-timing%93-(results-timetable)&p=1094544&viewfull=1#post1094544

It's better to wait for the new version, 0.95 has some bugs and display issues with some values.

silicijevadolina
23-08-2015, 18:46
No man :apologetic:

cogent
23-08-2015, 18:52
No man :apologetic:

Mee too :(

Don't use it if you don't trust it
Or use other Internet Explorer.
Or the best will be..... wait for the new Version with all the bug fixes, maybe someone will Upload then the new version somewhere else.

silicijevadolina
23-08-2015, 18:54
Ok,tnx.

Sidonicus
24-08-2015, 00:06
Hi Cogent
Glad to hear you flag bugs in 0.95. I went back to 0.94 as it was less buggy. My environment: AWS Server 2008 Datacentre / IE 11 / Excel 2007
Once stable I'm happy to document a how-to for AWS install as I've found a few config tricks with macro security, using IIS 7 to "live publish" results.htm and ports/firewalls.
Waiting on next update before supplying detailed feedback as the bugs are currently stopping it running effectivly.
CC:\ silicijevadonia happy to mirror the DL on my site once stable.

cogent
24-08-2015, 18:56
PCDSG 0.96 - Fixes:

.HTM Recording works again, some displayed values need to be corrected now. (Forgot some values in the settings last time, was only necessary to delete it in settings sheet)
All "empty variables" and "variables with wrong number of arguments" errors seems to be fixed completely now.
More stable now but still some displayed values to be corrected after all the changes.


PCDSG 0.96 - Changes:

Added Penalty Points (Cut Track adds 4 Points & Impact adds 10 Points)
Added Experience Points (calculated using "DistanceTravelled" & "Penalty Points")
Added Automatik messages (Different Messages that are displayed if some predefined action takes place)
Set Attributes using Race Control Window (Sends them also as Server Message in Lobby & on Track)
Set Attrribute Settings using Race Control Window (Sends them also as Server Message in Lobby & on Track)
Send/Write Server Messages using Race Cntrol Windows (In Lobby or on Track)
Rewritten Pit Stop detection (Seems to work better now)
Added Pit Stop, Penalty Points & Experience Points columns (PS, PP, PE) to "PCarsDSOverview" Window


You can find some pictures from yesterdays test here (http://forum.projectcarsgame.com/showthread.php?37566-How-to-imropve-MP-experience-(SMS-devs-9&p=1094760&viewfull=1#post1094760)

Points messages looks like this, xxx are the Points:
PCDSG: DRIVER_NAME <<< Penalty Points | xxx | Penalty Points >>>
PCDSG: DRIVER_NAME <<< Experience Points | xxx | Experience Points >>>

At the moment it only counts the Points and record / display it. But with the other functions of the tool some actions will be possible.
Points messages are shown in game while driving and also in Lobby as Server message, everyone will see it.
For now there is no way to disable Points recording and automatic messeges in PCDSG 0.96.

Have tested it after compiling in a new folder and it works.
It seems I have some troubles with Steam now so that I could not test it with a long Session and to see if the last changes to the Points system are ok.
But it was tested yesterday with few sessions and was good, after that only added and changed a divider to not have so high point numbers.


Download:
www.virustotal.com - detection rate: 7 / 56 (https://www.virustotal.com/de/file/519e4df5854fe50041a25786e37720440896bfd5b7b2b206a0df9d13d7398c50/analysis/1440443264/)
PCDSG_0.96 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96.php)


I want to finish it now and release it as stable version 1.0.
Will now stop to add new things and try to only fix or optimise the code.
Some reports of issues or others things are welcome.

LCCMarc
25-08-2015, 14:50
Hello Cogent,
Here are some bugs or I misconfigured.

216151
The red parts are not working with me.

216152
PcarsDSOverview is often the crash, he did not seem to appreciate the special characters ([]) etc ..

Excuse me for my bad English, I am using a tracducteur.

cogent
25-08-2015, 16:41
@LCCMarc:
Thanks for feedback.
Yes there can be some problems with some special characters.
I got this also one time with a person that had "?" and "|" in his name, this caused also an error.
If I know the characters I can remove them from the names so that this dont happen, name will then be displayed without this problematic character.
Now I know one problematic character more ([]) Thanks, will fix that.

The wrong format of the value in picture one i already noticed.
Was focused on the PcarsDSOverview Window for the last updates so that I have to change now some values there.

Info:
"Server Best" and "Server Best by" only works with fixed car for everyone.
It records and saves it only for the same car/Track combination.
If they can't find a saved time (because no one was driven until now or because of different cars) then it shows "no time saved".
So that is ok and not an error if you drive with different cars.

LCCMarc
25-08-2015, 16:57
Ok ok, thank you for your answer.
Many names have like characters "[" and "]" as my example :)

[LCC] Marc in the game

cogent
25-08-2015, 17:24
Ok ok, thank you for your answer.
Many names have like characters "[" and "]" as my example :)

[LCC] Marc in the game

Seems that users with names like yours never visited my test Server:D
Only happened one time on all the sessions I hosted with it.
And in that case it was the split character I use in code to split the information.


Edit:
Try max. 20 Players.

LCCMarc
25-08-2015, 18:12
216164

cogent
25-08-2015, 20:44
Already tried to set max. 20 players?
I did not have optimised it for more than 20 for now.

LCCMarc
25-08-2015, 23:06
yes, already tried with 20 players maximum and the problem is the same

cogent
26-08-2015, 18:37
yes, already tried with 20 players maximum and the problem is the same

You can test this Update for the Save .HTM issues. Replace Files with this one.
I am not able to test it because of some trouble with internet connection or steam DS.....don't know.
Also deactivated recording of Server Best, new Results.xlsm is also added.
You can try it without new Results.xlsm first if you want, but I think there is a issue with it.

http://www.cogent.myds.me/Downloads/Projekte/PCDSG/SaveHTML_Update.zip


Nothing new regarding characters.
Did not start look into it because of game freezes and Steam DS problems.
Can not test it and it's better to wait.

LCCMarc
26-08-2015, 19:20
Hello Cogent,
I replaced your two files.
When I get on the server, this is what it does:
216263

cogent
26-08-2015, 20:26
Ok Sorry my mistake. That's because I have deactivated it.
Forgot that there is also a call in SaveHTML.exe file for this macro.
Its fixed now, redownload it again.

LCCMarc
26-08-2015, 21:10
It seems to work, I will do more tests tomorrow,
A big thank-you ;)

LCCMarc
28-08-2015, 15:05
I do not think the special characters are the main cause of the bug.
It works moement and crash after a few moments.
This is often the same two mistakes:

216495
216496

I also noticed other bugs, I will try to post them, it records the wrong sessions, I ask him to save them in a file, it puts me and shows me the other empty HTML.

cogent
28-08-2015, 15:43
First I am happy to see that PP & EP Points are working.
That was the last thing I was working on.

I already was thinking that this is not a problem with characters.
That was the reason for saying to try it with max. 20 Players.
The bad thing is that I can not test it anymore because of some problems with the game (not sure, but seems to be the game).
I will add a option to deactivate PP & EP Points, it seems to be something in this new function....maybe also add a new error handler to determine it better.

LCCMarc
28-08-2015, 16:23
Yes, it would be great to be able to turn on / off point systems.
it would also be nice that we can change "welcom to PCDSG server" chat of the game. This can be done in the "config.ini" file but it still writing the original sentence automatically when a driver connects (unless it crashed).

cogent
28-08-2015, 17:52
Yes, it would be great to be able to turn on / off point systems.
it would also be nice that we can change "welcom to PCDSG server" chat of the game. This can be done in the "config.ini" file but it still writing the original sentence automatically when a driver connects (unless it crashed).

You can now enable and disable points and automatic messages system.
Added checkbox in RaceControl Window. Server Rules --> Activate Server Events
It's off by default and you can activate it with the Checkbox, should work on the fly.

PCDSG_0.96_Update_2.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_2.zip)


Have still problems :(
216516
Game freezes and if I was alone on the Server then it goes Idle after that message.
Also happens if I join others, public for example.
Can not Test it, game crashes also few seconds after freeze.

LCCMarc
28-08-2015, 19:49
It still happens but a crash less often:
216522
216523
Would it be possible to activate independently penalties, experience points as well as the greeting?
Also, change the greeting?

Thank you in advance.

cogent
29-08-2015, 08:57
...

Would it be possible to activate independently penalties, experience points as well as the greeting?
Also, change the greeting?

Thank you in advance.

Yes.
There are two in the empty space between the Checkboxes in Server Rules.
Checkboxes already exist, they are hidden.
Most of the messages and other text are hard coded in EN language for now, will change that later.
Issues and performance has higher priority at the moment.

LCCMarc
29-08-2015, 09:26
Yes that's true.
I noticed that the PcarsDSOverview now crashing when activated message in Chat (developed and penalty)

Also, I have not tried all the circuits but on some, the name is not displayed.
Monza and Spa-Francorchamps works
Silverstone, does not work:

216545

cho
29-08-2015, 10:32
Hi, cogent

I want to use your program "PCDSG_0.96"
but I can't use because error occured

216550

what can i do for use this program?

please help me.


I use Windows10 x64
and, 0.94 has no error (but 0.94 have error "PCarsDSOverview.exe ")

cogent
29-08-2015, 11:03
Hi, cogent

I want to use your program "PCDSG_0.96"
but I can't use because error occured

...

what can i do for use this program?

please help me.


I use Windows10 x64
and, 0.94 has no error (but 0.94 have error "PCarsDSOverview.exe ")

Try to update this Files first:
SaveHTML_Update.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/SaveHTML_Update.zip)
PCDSG_0.96_Update_2.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_2.zip)
PCDSG_0.96_Update_3.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_3.zip)

cho
29-08-2015, 11:55
Try to update this Files first:
SaveHTML_Update.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/SaveHTML_Update.zip)
PCDSG_0.96_Update_2.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_2.zip)
PCDSG_0.96_Update_3.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_3.zip)

Thank you for your fast answer

Overwrite these 3 zip files(extracted) but still error occured

216556

Start Server (image included past post)
Save Setting (image included this post)

both error occured

VTCC admin
29-08-2015, 13:04
ok guys, every time i launch 0.96 it always sets allow empty join to disabled and contro lgame setup to disabled and even though ive set a password its saying its no protected either.

cogent
29-08-2015, 19:23
@LCCMarc :
My game works again and I was able to test it.
Found the problem and was able to fix that issue with "Variable used without being ...".
Also decided to rewrite the way it filters the Results to fix another issue.
New method can handle more then 20 Players, max. is now 32.
PCarsDSOverview Window do not load the page content on startup anymore, you have to wait for the first Update intervall now to see the data.

I did not receive that error anymore.
During the Tests (3 x Q & 3 x R 10 laps) I could also see that Pit Stops works now.
PCDSG_0.96_Update_4.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_4.zip)


@VTCC admin:
@cho :
Ok that last explanation helps.
It's easy to solve that.
You need to use a clean config.ini File, that problem has to do with reading of the server.cfg.
Server.cfg should not have any comments or extra lines, only the needed lines.
To be sure that everything is ok use the server.cfg file from the PCDSG Download.zip first or compare your file with it.
Copy it to your Steam DS folder, change some settings if you want.
Now you can start PCDSG and it will be able to read the server.cfg correctly.
You are not the first one whit that problem, if server.cfg look like mine then it will work.
I wrote that already some posts ago.

cho
30-08-2015, 10:31
@VTCC admin:[/B]
@cho :
Ok that last explanation helps.
It's easy to solve that.
You need to use a clean config.ini File, that problem has to do with reading of the server.cfg.
Server.cfg should not have any comments or extra lines, only the needed lines.
To be sure that everything is ok use the server.cfg file from the PCDSG Download.zip first or compare your file with it.
Copy it to your Steam DS folder, change some settings if you want.
Now you can start PCDSG and it will be able to read the server.cfg correctly.
You are not the first one whit that problem, if server.cfg look like mine then it will work.
I wrote that already some posts ago.


Thank you!
It works Perfectly!

216628

This is my server.cfg file (left : Now, Right : Used when 0.94)

I deleted server.cfg file but it is a file in "PCDSG" folder lol


thank you for your support

LCCMarc
30-08-2015, 11:00
PCarsDSOverview works fine but I noticed a name with ******* (word filtering) between the server, the application displays nothing in the lounge.
Is it possible to disable the words filter on the server to be sure that this is what creates this phenomenon?

cogent
30-08-2015, 14:06
Ok guys, thanks for helping.
I have updated PCDSG 0.96 with these Updates and fixes so that others don't need to search it.

Online Virus Scan:
Detection rate: using www.virustotal.com
I cannot avoid that some people get warnings.
Results from version 0.96 - (7/56) (https://www.virustotal.com/de/file/519e4df5854fe50041a25786e37720440896bfd5b7b2b206a0df9d13d7398c50/analysis/1440443264/)


Download:
PCDSG_0.96 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96.php) [Patch 3.0]

Now PCDSG 0.96 version for PCars Patch 3.0 seems to work without big issues.
The other issues regarding displaying some Track ID, Track Name, Car ID, Car Name or some other value wrong can now be done for the next update.
Now I can also start to think about what to do with the Penalty Points/Experience Points, maybe I can use it in a smart way to create some actions that can be performed automatically.
We will see....

cogent
30-08-2015, 14:28
PCarsDSOverview works fine but I noticed a name with ******* (word filtering) between the server, the application displays nothing in the lounge.
Is it possible to disable the words filter on the server to be sure that this is what creates this phenomenon?

To be honest, I don't understand what you mean.
Where did this name with "*******" appears? In game or in PCarsDSOverview Window?
I do not filter or change names, the only filtering I am doing is to display the participants with their positions from 1 to 32 so that there is not an chaotic order.

satco1066
30-08-2015, 14:54
Can i use this also locally with dedicated server hosted by a server farm?

cogent
30-08-2015, 15:25
Can i use this also locally with dedicated server hosted by a server farm?

I never tested it.
If you have the IP and access to the Server then it could work.


You can test it easily by doing the following:
- Activate API on the DS and start it.
- Send command to the running DS using Internet Explorer --> http://127.0.0.1:9000/api/session/status?attributes&members&participants --> Peplace Local IP with Public IP or Server Adress from your DS, depending what you have.

If you are able to receive the Data from your DS using the API then it will also work with my tool.
Sure, some optimization have to be done so that it doesn't load the local DS App anymore.
I can do that if someone reports back that he was able to get access to the DS API that is running on a Server outside of the home network.

LCCMarc
30-08-2015, 16:10
As soon as I have the opportunity, I will show you
The Dedicated server replaces certain name or word by *********

satco1066
30-08-2015, 16:17
I never tested it.
If you have the IP and access to the Server then it could work.


You can test it easily by doing the following:
- Activate API on the DS and start it.
- Send command to the running DS using Internet Explorer --> http://127.0.0.1:9000/api/session/status?attributes&members&participants --> Peplace Local IP with Public IP or Server Adress from your DS, depending what you have.

If you are able to receive the Data from your DS using the API then it will also work with my tool.
Sure, some optimization have to be done so that it doesn't load the local DS App anymore.
I can do that if someone reports back that he was able to get access to the DS API that is running on a Server outside of the home network.

IE asks for the application to open status.json .
do i need any plugin ?

satco1066
30-08-2015, 16:38
I never tested it.
If you have the IP and access to the Server then it could work.


You can test it easily by doing the following:
- Activate API on the DS and start it.
- Send command to the running DS using Internet Explorer --> http://127.0.0.1:9000/api/session/status?attributes&members&participants --> Peplace Local IP with Public IP or Server Adress from your DS, depending what you have.

If you are able to receive the Data from your DS using the API then it will also work with my tool.
Sure, some optimization have to be done so that it doesn't load the local DS App anymore.
I can do that if someone reports back that he was able to get access to the DS API that is running on a Server outside of the home network.

First test.
I had to setup the serverpath with a network UNC path. Thats not possible, if the sorver is far away.
but then i could se something. :)
seems, youl have to asssign kind of virtual serverconfig

216656

cogent
30-08-2015, 19:08
As soon as I have the opportunity, I will show you
The Dedicated server replaces certain name or word by *********

Ok.
I did not know that and never saw that.
This could be intended for profanity and discriminatory names or similar.
If that is the case then I don't think that it could be disabled in Steam DS App.

cogent
30-08-2015, 19:26
IE asks for the application to open status.json .
do i need any plugin ?

No that's ok.
That means it works as it should.



First test.
I had to setup the serverpath with a network UNC path. Thats not possible, if the sorver is far away.
but then i could se something. :)
seems, youl have to asssign kind of virtual serverconfig


You got it working?
Sorry but I don't have expirience with that and I am not able to test this.
Others maybe already got it working and will be able to help you.

I think the tool will work if you fill in the right IP for the API settings.
It is then able to get the needed data from running DS.
It also works if DS is already running, it's not necessary that DS was launched by the tool itself.

Good luck

satco1066
30-08-2015, 21:42
No that's ok.
That means it works as it should.




You got it working?
Sorry but I don't have expirience with that and I am not able to test this.
Others maybe already got it working and will be able to help you.

I think the tool will work if you fill in the right IP for the API settings.
It is then able to get the needed data from running DS.
It also works if DS is already running, it's not necessary that DS was launched by the tool itself.

Good luck

Yes it seems to work, but wanted to access the server.cfg.
So i entered it with network share.

This was my first trail with your program, so i have no experience if all is right.
If you want, i can setup a standard server with PW on , that you can access over the net, just for development.
e.g. with teamviewer access for some days or weeks.
If you get that running, it will work for all.
Maybe you can exchange servercfg with PHP, or write a serverside receiver proggy with defined ports to allow communication.
Send PM if you're interested.

Sidonicus
31-08-2015, 00:24
Big-ups Cogent this is really getting there now and as an "early adopter" of this project I'm seeing real stability now... great stuff! For mine the next level is automating as much as possible to record weekly results, points, teams ect to be able to run a pCARS league without too much admin. For other sims I have long been using SLS (find our Race07 leage page here: http://www.webspruik.com/Race07/index.php) for league management. Its a cracking bit of PHP but development has stopped and it cannot be altered without permission. Down the track what chance of altering the output format of the session result .txt files to be compatible with SLS under the guise of another sim? Find an example output from Race07 attached. This is something to consider down the track? I think the two are a marriage made in heaven. Again, well done Cogent this tool is really evolving.

VTCC admin
31-08-2015, 14:51
right guys, ive set up my server and all is well, untill a friend joins while im not in there and he gets rights to change cars and track, is there anyway to atop this and lock it to 1 track/car

cogent
31-08-2015, 16:26
@satco1066:
Good that it also works on your "Server Farm" DS.
Regarding your offer testing on your server, maybe next weeking......but seems not be necessary now after it works?


@VTCC admin:
If you don't want them to change car/track then activate server control in server.cfg.
Then you are the only one that can change it, for example using RaceControl Window.


@Sidonicus:
Thanks, nice to hear that.
I already use that format of the.txt you shown in the tool, it's easy ini format.
It's possible to do that and not so hard, but will need a little bit of time to do it.
I will add that in one of the next updates. But not as a replace for the results .txt, it will be some kind of additional results reader.

VTCC admin
31-08-2015, 17:25
controlGameSetup :true
sessionAttributes : {
"ServerControlsTrack" : 1,
"ServerControlsVehicle" : 1,

as you can see above i did activate it, but still cars can be changed by the first person to join the lobby

satco1066
31-08-2015, 21:45
controlGameSetup :true
sessionAttributes : {
"ServerControlsTrack" : 1,
"ServerControlsVehicle" : 1,

as you can see above i did activate it, but still cars can be changed by the first person to join the lobby

in the API Histry you can read:

_____

• Added new session attributes:
• ServerControlsSetup (read write, but writes are ignored, in this case it means the server can write this to the game, but it's not modifiable via the API): The value of the controlGameSetup config variable
• ServerControlsTrack (read write): Does the server also take over track selection?
• ServerControlsVehicle (read write): Does the server also take over vehicle selection? (not fully implemented by the game yet)
• Track location (read only): Latitude, Longitude, Altitude
• Current race date and time (as opposed to starting date/time which already had attributes, read only): CurrentYear, CurrentMonth, CurrentDay, CurrentHour, CurrentMinute
• Current weather conditions (read only): RaindDensity, WetnessOnPath, WetnessOffPath, WetnessAverage, WetnessPredictedMax, WetnessMaxLevel, TemperatureAmbient, TemperatureTrack, AirPressue
• Changed attribute VehicleGroupId to VehicleClassId, and all vehicle lists now use classes instead of groups - the multiplayer is changing to use class-based restrictions instead of group-based.
• Tagged many session attributes as read-write, those can be now modified by the server

_______

The first who joins is Admin. Bad state for leagues.
As i said, we'll have to wait for next update. PCars and DS.

VTCC admin
01-09-2015, 00:26
ok thanks, hope this can be sorted soon..

VTCC admin
02-09-2015, 13:06
had a server up and all has been good for a few night, last night i wanted to change the weather and track location so i try'd via race control but the weather stayed the race, track changed.

so i decided to make a new server.cfg file and add the weather code i wanted. uploaded it to my server and the weather and settings all stayed the same as if it was reading the old cfg file. is there somthing i need to delete when uploading my cfg files?

cogent
02-09-2015, 16:21
had a server up and all has been good for a few night, last night i wanted to change the weather and track location so i try'd via race control but the weather stayed the race, track changed.

so i decided to make a new server.cfg file and add the weather code i wanted. uploaded it to my server and the weather and settings all stayed the same as if it was reading the old cfg file. is there somthing i need to delete when uploading my cfg files?

Yes.
In your case you need also to update server.cfg in PCDSG folder so that it matches the File in DS folder.
Users running DS on a local PC or the same Home Network don't need to do that because the PCDS syncs the Files on every DS Startup.......yours cannot do that.

I have divided the Race Control in 2 parts, every with his own Button to set it.
The first part with Car, Race and durations was tested and do the job, the other with Attributes settings I could not test a lot, still need feedback to optimise or fix it.

cogent
02-09-2015, 17:33
Added random Car selection to the Server / Game Attrributes and separated it from random Track (I know, not fully implemented by the game but ok)
Added more options to "Server Rules" to be able to activate Points for Cut Track or Impact seperatly, also for Server Messages.
Optimised some things in PCDSG.exe and PCarsDSOverview.exe.


PCDSG_0.96_Update_5 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_5.zip)
(not tested, make a Backup of config.ini and from the Files that will be overwritten first)

217054

LCCMarc
02-09-2015, 18:05
Hello Cogent,
Thanks for the update.
Here's what the application displays:
217060

VTCC admin
02-09-2015, 18:37
i get the same error as above but on line 8059

cogent
02-09-2015, 19:34
Thanks.
I think I found it, hope there is not another one.
Download it again.

Alan_Bernardo
02-09-2015, 22:45
Error. Doesn't work.

Will this work on a server that is not on one's local machine?

But it would be nice if the thing even worked, period.

cogent
03-09-2015, 10:26
Error. Doesn't work.

Will this work on a server that is not on one's local machine?

But it would be nice if the thing even worked, period.

Use PCDSG 0.96 (without Updates) from first post and don't use Updates posted here in the discussions, Updates are for testing and collecting feedback
0.96 works, if not then please tell us what are the issues you get with them.

Regarding your question, read posts of satco1066 & VTCC admin and/or ask them for help.
Seems they are using it this way. The tool itself is in first place not made, optimized or tested for that.
But because it is the same (only the location is different) it should also work with that.

VTCC admin
03-09-2015, 16:58
i have it up and running on a dedi in France how ever, there are a few features not working, car not controlled by server so first persona in has control of that and changing weather from race to race still dont work via race control. i have to change the config file which in turn can crash the server

cogent
05-09-2015, 17:34
After my game did not crash anymore I was able to test the last changes and made also some optimizations.
Yesterday after changing some things and playing a little bit around with new Results saving File/Format i made also a Video of the last test.
Video PCDSG 0.96 Update 6 - Test (http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.966.mp4)
Video also on PCDSG Web Page, it's the first Video directly under the Download Button (http://www.cogent.myds.me/PCDSGUI_STATS/PCDSG.html)

Changed the method of writing/reading Points and Pit Stops, it's faster now.
This reduces the update (flickering) time in PCarsDSOverview Window a lot.
Started also to write new Results File as mentioned by Sidonicus (http://forum.projectcarsgame.com/showthread.php?31634-Project-Cars-Dedicated-Server-GUI-Launcher-with-%93live-timing%93-(results-timetable-)&p=1104792&viewfull=1#post1104792) (New Results File @ 13:10 in Video)
Just started to see what is possible and played a little bit around with it.

satco1066
06-09-2015, 00:53
Thanks Cogent. Will test the latest update

LCCMarc
06-09-2015, 13:49
Hello Cogent,
I tried to check / uncheck the functions of sending messages to the penalty points, experiences and welcome.

I do not know how this works, but for example, if you check greetings and not the other, it does nothing shipments in chat when a driver enters the server.
Also, does the blacklist work? When I put a driver in it, I have an error message, and it closes the application.

cogent
07-09-2015, 16:03
Hello Cogent,
I tried to check / uncheck the functions of sending messages to the penalty points, experiences and welcome.

I do not know how this works, but for example, if you check greetings and not the other, it does nothing shipments in chat when a driver enters the server.
Also, does the blacklist work? When I put a driver in it, I have an error message, and it closes the application.


I will have a look into check / uncheck functions on next testing.
Blacklist should work, did not change it.
From where did you try to set it? From PCarsDSOverview or from UserHistory Window?
Where does the Error appears? In DS or in PCDSG?

I will try it next time I use it too.

LCCMarc
07-09-2015, 16:37
Hello Cogent,
When I put blacklist in any way the PCDSG.exe will crash when I click on the "blacklist"

217627

cogent
07-09-2015, 20:22
Edit:
Ok, I found it.
Program wrotes wrong charakter at the end of the values.


{
79863198854281656 : "cogent" : "04.09.2015 - 22:23:26" : "test"
]


Look at the last charakter "]". It's not the same as the first one "{".
So I need to change it to "}". Will do that tomorrow.
Will see if that's all, don't think so. Seems to be more issues there.
Thanks for report

LCCMarc
07-09-2015, 20:28
There are 7 drivers in the blacklist

cogent
08-09-2015, 16:40
There are 7 drivers in the blacklist

Ok, here is a fix.

Blacklist/Whitelist fix for 0.96_Update_5:
PCDSG_0.96_Update_5_BW_fix.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.96_Update_5_BW_fix.zip)

Was a forgotten change from 0.95 that I had not completed.
Now I finished it and testet it, but only tested the displaying in program and DS.
Also adding new users from PCDSG, PCarsDSOverview or UserHistory was tested.
Seems to work now.
If you have problems with UserHistory then start with a new File without values.

If your Blacklist.cfg does not already look like this then use a new one or edit it to be able to use it.


{
"<cogent> <blala reason> <08.09.2015 - 18:35:29>" 17362567141988153
"<ffffffffffffffffff> <lllllllllllllll> <08.09.2015 - 18:36:26>" 76561412981313870
}


Everyone can use your file on there DS without PCDSG, but you (if using PCDSG) can only use one created with PCDSG in that Format.
Maybe I can add some detection in the future and if format if wrong only display the Steam ID.

LCCMarc
08-09-2015, 20:51
Cogent thank you, the blacklist looks run.
I have not replaced the "UserHistory.ini"

Vitor Costa
13-09-2015, 20:06
Any chance of someone sending me this file? I can`t get because is always blocked :(

Vitor Costa
14-09-2015, 15:28
Anyone?

Ademir
14-09-2015, 18:46
Hi cogent,
Have you ever tested your program on a remote server? I need to use your dedicated work on my team, but I have several errors when I start the dedicated through your program. The server is equipped with windows web server 2008 ...

RomKnight
15-09-2015, 23:21
Anyone?

Just to note this is already solved

cogent
16-09-2015, 07:53
Hi cogent,
Have you ever tested your program on a remote server? I need to use your dedicated work on my team, but I have several errors when I start the dedicated through your program. The server is equipped with windows web server 2008 ...

Hello.

No I did not test it on a remote Server because I don't have one.
It was not made to work this way, but it does.
Some people already using it this way (with some workaround).

I propose to:
1. Do not try to start your remote DS with my launcher, start it manually as you normal do
2. After DS is running start PCDSG (click the error messages away if they appear)
3. Replace Local IP for API with your Public IP for your DS in PCDSG settings (click the error messages away if they appear)
4. Click on "Start DS" in PCDSG, (click the error messages away if they appear)

Now PCarsDSOverview should work.
That's the first stept and only theoretical from my side.
Someone else should explain how he managed this so that you can also try it.
With that information I will be able to make an extra option for "DS remote" or "DS Local" so that it can work directly without workaround.
But for now I can not do that without more informations and sure, testing is not possible and need to be done by users.

Ademir
16-09-2015, 19:05
Hello.

No I did not test it on a remote Server because I don't have one.
It was not made to work this way, but it does.
Some people already using it this way (with some workaround).

I propose to:
1. Do not try to start your remote DS with my launcher, start it manually as you normal do
2. After DS is running start PCDSG (click the error messages away if they appear)
3. Replace Local IP for API with your Public IP for your DS in PCDSG settings (click the error messages away if they appear)
4. Click on "Start DS" in PCDSG, (click the error messages away if they appear)

Now PCarsDSOverview should work.
That's the first stept and only theoretical from my side.
Someone else should explain how he managed this so that you can also try it.
With that information I will be able to make an extra option for "DS remote" or "DS Local" so that it can work directly without workaround.
But for now I can not do that without more informations and sure, testing is not possible and need to be done by users.

Thank you for your response.
I am doing the tests but I have problems.
The configuration is not completely saved. Especially in the fields to make visible the server even when empty. If I set the value to True and save the settings, restart the field again becomes empty.
The RaceControl I can not start it.
The overview does work.

I notatao the server.cfg file does not have the part relating to the implementation of the 3.0 patch ...

cogent
16-09-2015, 19:55
Thank you for your response.
I am doing the tests but I have problems.
The configuration is not completely saved. Especially in the fields to make visible the server even when empty. If I set the value to True and save the settings, restart the field again becomes empty.
The RaceControl I can not start it.
The overview does work.

I notatao the server.cfg file does not have the part relating to the implementation of the 3.0 patch ...

Server.cfg in Steam DS folder needs to have the settings/lines from 3.0 patch.
Race Controls need also Server.cfg with settings/lines from 3.0 patch to work.
I thought you already have one. Use Server.cfg from PCDSG Download and copy it to your Steam DS folder first.
Everything should work after that. You can delete (or ignore) Server.cfg in PCDSG folder, it's only a copy that the program creates everytime.
The important Server.cfg File needs to be in DS folder.

Alan_Bernardo
16-09-2015, 22:03
Hello.

No I did not test it on a remote Server because I don't have one.
It was not made to work this way, but it does.
Some people already using it this way (with some workaround).

I propose to:
1. Do not try to start your remote DS with my launcher, start it manually as you normal do
2. After DS is running start PCDSG (click the error messages away if they appear)
3. Replace Local IP for API with your Public IP for your DS in PCDSG settings (click the error messages away if they appear)
4. Click on "Start DS" in PCDSG, (click the error messages away if they appear)

Now PCarsDSOverview should work.
That's the first stept and only theoretical from my side.
Someone else should explain how he managed this so that you can also try it.
With that information I will be able to make an extra option for "DS remote" or "DS Local" so that it can work directly without workaround.
But for now I can not do that without more informations and sure, testing is not possible and need to be done by users.

After 4. the program throws an error. After hitting OK, the program closes. This thing it's going to work on a remote server if the program isn't running.

Vitor Costa
16-09-2015, 22:52
I`ve tryed the same and got the same result.

satco1066
17-09-2015, 13:46
you cannot read or write to the server.cfg of remote servers.
So you cannot use that function.
All you can do, is use a fake path, where the cfg is stored.
If you configure the file with cogents app and save it, but you have to transfer it to the remoteserver by hand and restart that.

But you can connect to the server with PCarsDSOverview because its webbased. That function will work.
But PCDSG currently must! be running, PCarsDSOverview standalone doesn't work.

For full remote configuration, SMS would have to extend HTTP API functionality of DS to save webconfigured session parameters to server.cfg, becaus its needed for initial parameters on startup.
Maybe in DS 4.0 or 5.0

cogent
17-09-2015, 16:30
I am missing a post here, wanted to answer now.
It's complicated because it is not made for remote DS, there is not one line of code written with remote Server in mind.
If my gool was to have something for remote DS on a Server far far away, then I would choose php to code it.
Again, PCDSG is made for private use with local hostet DS without the need of a Server.
But because the way it works is identical to a remote DS (only the location is different) it is possible to use it there too.


@satco1066:
How do you upload your files to your Server?
Would it help if I implement some way for "automatic FTP Upload"?

satco1066
17-09-2015, 18:18
Currently i have remote access to our server, for me uploading something and restarting is no problem.
That was only a suggestion for people, who have only ftp-access and e.g. cron jobs.

I think, the current DS 3.0 is at lowest level. If SMS wants to get more professional, they should extend the api also for uploading things and restart.
The should rename the current version to "tinyDS".
As i read, a new api is planned with possibility of lua scripting etc., so i think sometimes all needed extensions will be seen in the future.


Someone seems to have forgotten, that a game/sim with such professional veneer needs a strong, professional gameserver.
And not only that, as we know also PCars itself has a lack of multiplayer functions.
I see DS currently more in alpha state, far away from beeing a real tool.
Hopefully they learned something to make it right in PCars2, sadly to say.

cogent
17-09-2015, 18:42
Currently i have remote access to our server, for me uploading something and restarting is no problem.
That was only a suggestion for people, who have only ftp-access and e.g. cron jobs.

I think, the current DS 3.0 is at lowest level. If SMS wants to get more professional, they should extend the api also for uploading things and restart.
The should rename the current version to "tinyDS".
As i read, a new api is planned with possibility of lua scripting etc., so i think sometimes all needed extensions will be seen in the future.


Someone seems to have forgotten, that a game/sim with such professional veneer needs a strong, professional gameserver.
And not only that, as we know also PCars itself has a lack of multiplayer functions.
I see DS currently more in alpha state, far away from beeing a real tool.
Hopefully they learned something to make it right in PCars2, sadly to say.

That's true, other sims make this much better.
Even with the new improments the DS will never be what it is for other sims.
I don't think they will change or optimize it to the same "level" compared to the others.

RGN
24-09-2015, 20:31
Crashes windows 10 OS
Line 28999 C:\Users\Server\Desktop\Project Cars Dedicated Server\PCDSG.EXE

Error: Variable used without being declared.

No installation Documentation for this??

Rhody

cogent
25-09-2015, 10:26
Crashes windows 10 OS
Line 28999 C:\Users\Server\Desktop\Project Cars Dedicated Server\PCDSG.EXE

Error: Variable used without being declared.

No installation Documentation for this??

Rhody

Doesn't work with new updated DS because of changes in the values of the DS (now 70 values, last time there was only 56).
This results in Error message.
I need to Update it first, it's already done but now I need to test it.
Started yesterday to do it, maybe I can finish it today.

cogent
25-09-2015, 16:52
Here is 0.97 for testing.
Works now with new values in config.cfg and with new values readed from DS.

PCDSG_0.97_RC_Test (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.97_RC_Test.zip)

Tested it with a short session, but only with one car in the garage.
HTML function still not updated, will show/display some wrong values.
Will do that next and test also other things.

Use the File "server_sample.cfg" in PCDSG folder, copy it to DS folder and rename it to server.cfg, server.cfg will be read from there.
This version (PCDSG_0.97_RC_Test) is not for remote DS, only made for and tested with local running DS.

cogent
25-09-2015, 17:03
No installation Documentation for this??

Rhody

Only on first page under the pictures for now.

cogent
27-09-2015, 10:15
Thanks to satco1066 I could put my hands on a remote DS and try a few things with PCDSG on it. He prepares one for me and gives me access to it.
As already thought it works, only few minor changes were necessary to get it working with remote DS.

Added some kind off StartUp guide on first start for the needed "local" or "remote" settings.
Run and use PCDSG on a PC and access your remote DS. You will need the DS Public IP and the HTTP API Port you have entered in your server.cfg.

Everything that works with local running DS will also work with remote DS now.
Only directly read/write access to server.cfg, blacklist.cfg and whitelist.cfg is missing and needs to be uploaded manually. So everything that needs/use that will not work until Files are Uploaded to DS.
It uses local stored files that can be changed. For testing I added also an FTP Upload for these Files using a Button in Tab2.

PCDSG StartUp Guide.pdf (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG%20StartUp%20Guide.pdf)
PCDSG_0.97_remoteDS_RC2_Test.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.97_remoteDS_RC2_Test.zip)


Added "remote DS" mode
Added FTP Upload for .cfg Files
Added StartUp settings guide
Added PCDSG StartUp Guide.pdf
Fixed .HTM File creation function
...


Big Thanks to satco1066, he makes it possible to change it for remote DS use.

I do not need the remote DS mode and can not test it on a real running environment.
Not everything is tested, I could only simulate some things and test it with my own car parking in the garage.
Feedback and confirmations are needed if it should be optimized.
Also the FTP function can be implemented in a smarter way if it works and if someone needs it.

cogent
04-10-2015, 11:59
PCDSG StartUp Guide.pdf (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG%20StartUp%20Guide.pdf)
www.virustotal.com Results from version 0.97 - (5/55) (https://www.virustotal.com/de/file/5455fee5d5cea832fd961754bd99516adb373ad32a6d3862c19e8e2d7cefdfce/analysis/1443961598/)
PCDSG_0.97 (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.97.php)


Changes:

remote DS support added
added FTP .cfg File upload (FTP settings in config.ini, section [FTP], If password is empty an pop up appears to enter it without saving it to the .ini)
added FTP .HTM File and folder upload (FTP settings in config.ini, section [FTP], If password is empty an pop up appears to enter it without saving it to the .ini)
added Penalty Points warn limit (set it in Race Control Window)
added Penalty Points Kick limit (set it in Race Control Window)
added Ping Limit / Ping Limit higher then in settings will remove driver (set it in Race Control Window)
added Button to delete recorded Points
changed settings menu, added some Autostart options
changed .HTM creation
...


Remote DS access:

You will need the public IP of the Server where the DS is running
You will need the API Port that is set in server.cfg on the remote DS
*optional* <Put a copy of server.cfg, Blacklist.cfg, Whitelist.cfg and the LUA folders into PCDSG folder>


Now after I have added code for FTP Upload it will be also possible to read the .cfg Files or LUA settings directly from the remote DS folder using FTP connection.
Maybe I will add this in the future...

http://www.cogent.myds.me/Bilder_Videos/PCDSG/PCDSG_0.97.jpg


Known issues:
- Server Log in PCarsDSOverview Window freezes or starts again with index 0 until 20 values are in it. Use the "delete" Button to clear the list, after index 20 it's ok and updates correctly.
- If Excel is already open or Excel process is still running in the background (Task Manager, process) when starting .HTM creation it will show a message that file already exists and ask if they should overwrite it.
--> Stop .HTM creation everytime by using the Button "HTML Stop", this will avoid that next time Excel is still running in the background.


Thanks for the help:
- satco1066 - Lets me use his Server to test and implement remote DS support
- CiccioFritz - Tested some versions and reported back issues so that I was able to fix them and release now PCDSG_0.97

thomasjohansen
04-10-2015, 13:48
Hi just trying your Gui launcher.

This is really something I have been looking for espacially the racecontrol


But, in racecontrol when trying to save it says "Error.. not able to set attributes ... maybe connection is offline"

its version 97 and it is public, I can see the server in pcars

any ideas?

thomasjohansen
04-10-2015, 14:14
there is a racecontrol feature, Autotmatic kick parked cars, how about a "automatic retire to pit" (if in race) or "exit to pit" (if in qual or practice)

cogent
04-10-2015, 15:45
Hi just trying your Gui launcher.

This is really something I have been looking for espacially the racecontrol


But, in racecontrol when trying to save it says "Error.. not able to set attributes ... maybe connection is offline"

its version 97 and it is public, I can see the server in pcars

any ideas?

Thank's, will have a look into that.
This message was written by me to see if the commands was send to the DS.
If this message appears then this was not the case, maybe one of the settings are bad formated or not in use by the game.

cogent
04-10-2015, 15:49
there is a racecontrol feature, Autotmatic kick parked cars, how about a "automatic retire to pit" (if in race) or "exit to pit" (if in qual or practice)

This function (Autotmatic kick parked cars) is experimental and will not work on every track.
But on some it works good, need more work/optimization to get it working on all tracks.


how about a "automatic retire to pit" (if in race) or "exit to pit" (if in qual or practice)

The idea is good, that's like other sims do that.
But at the moment this is not possible with PCars.
The game does not have this, that's because I can not use it.

Alan_Bernardo
04-10-2015, 17:11
there is a racecontrol feature, Autotmatic kick parked cars, how about a "automatic retire to pit" (if in race) or "exit to pit" (if in qual or practice)

So far what I've seen this does work decently well on a remote server.

But let's not be in such a hurry. Fix known problems first then add features.

This is certainly one of the main problems with Project Cars and a lot of other games. They never completely fix problems, allowing them to pile up interminably until they are lost within a mass of other features and additions.

But seriously, all things considered, do we really need an automatic retire to pit option right now, this minute?

You might think so, but before this I'd like to see the ability to pipe subliminal messages to drivers, causing them to run off track.

thomasjohansen
04-10-2015, 17:40
Really agree that stability ahead of features.

Just tested "parking kick" in quali, and thought it was too much, when a kick to pit would have been enough for moste of the times.

But yes stability comes first, and think its a great tool.

satco1066
05-10-2015, 16:21
You might think so, but before this I'd like to see the ability to pipe subliminal messages to drivers, causing them to run off track.

I don't think, sending a message to the driver does help.
A driver that parks 4 to 5 laps does that either to disturb the race, so he is not willing to go, or his car stands here for other reasons he is not responsible for.
so, yes, kick it, as soon as possible.
If AI cars do not start, this is a bug. Kick it.

cogent
05-10-2015, 18:37
Hi just trying your Gui launcher.

This is really something I have been looking for espacially the racecontrol


But, in racecontrol when trying to save it says "Error.. not able to set attributes ... maybe connection is offline"

its version 97 and it is public, I can see the server in pcars

any ideas?


Here is the fix.

PCDSG_0.97_RaceControl_Fix1.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.97_RaceControl_Fix1.zip)

Date and Time are not activated and will not be send in this version.
Regarding the other attribute settings, I am not sure if they are already all supported by the game/DS.
Does someone know if they are all supported? Maybe someone already tried them manually?

ronnydown
06-10-2015, 18:22
I downloaded the new fix, I copied to the ...\SteamApps\common\Project CARS Dedicated Server\system.
I started the DS with the PCDSG.exe and the "Race Concrol" -> "Set Attr." says again "Error.. not able to set attributes ... maybe connection is offline".

Grrrr.

cogent
06-10-2015, 18:57
I downloaded the new fix, I copied to the ...\SteamApps\common\Project CARS Dedicated Server\system.
I started the DS with the PCDSG.exe and the "Race Concrol" -> "Set Attr." says again "Error.. not able to set attributes ... maybe connection is offline".

Grrrr.

You need to copy it to PCDSG/system folder.
Replace there the old RaceControl.exe with the new one.
And be sure you have "controlGameSetup : true" in your server.cfg activated.

ronnydown
06-10-2015, 20:30
Unfortunatelly does not work... This is the fixed RaceControl.exe.

219828
219831

I have an other W7 OS, I can't run the RaceControl.exe.
What must have I install? (.net4?)

219832

cogent
06-10-2015, 21:01
It seems you try it directly after DS start.
Enter the Lobby and try it again, it will work there.
This was how I tested it and both buttons worked.
You will then also see some messages in the Server Chat Window showing what you have send.

ronnydown
06-10-2015, 21:05
I must have run the game while I push the "Set..." button?

cogent
06-10-2015, 21:27
Yes, unfortunately.
That's the way this DS seems to work.
Session can not run without anyone in it.
It needs an user (first connection, admin) to do something.
PCars DS is different from others.

I was not happy with it, but that's the way it works.
With this LUA addons they try to get some more functions in it, but it is still what it is.........
My idea was to write the values to the server.cfg and restart the DS to get it changed without someone in Server.
I am not sure, but I think LUA does something similar to that.

ronnydown
07-10-2015, 06:13
Ok, thank you! I will try it today evening.
Do you have an idea, why can't run the RC.exe on W7 prof x32? (It works on W10 prefect!)

ronnydown
07-10-2015, 17:43
Yes, unfortunately.
That's the way this DS seems to work.
Session can not run without anyone in it.
It needs an user (first connection, admin) to do something.
PCars DS is different from others.

I was not happy with it, but that's the way it works.
With this LUA addons they try to get some more functions in it, but it is still what it is.........
My idea was to write the values to the server.cfg and restart the DS to get it changed without someone in Server.
I am not sure, but I think LUA does something similar to that.

Ok, it works fine, but how can I set the Force manual gearbox, force interior view......

cogent
07-10-2015, 20:14
Ok, it works fine, but how can I set the Force manual gearbox, force interior view......

I think that's in the Flag value.
Try the Flag calculator.

XLS Flags Calculator (http://forum.projectcarsgame.com/showthread.php?26520-Dedicated-Server-API&p=1084948&viewfull=1#post1084948)

Supersonique
10-10-2015, 10:42
Hello!
Your app is superb, but I am having a problem. I WIN 8.1, no way to see the creation of folders and files in data/html

You would have an idea?

greetings

cogent
10-10-2015, 12:29
Hello!
Your app is superb, but I am having a problem. I WIN 8.1, no way to see the creation of folders and files in data/html

You would have an idea?

greetings

Thanks.
Regarding your question, let us start with the settings.

Are you sure the default folder is selected in settings?
Go to settings window and select the path for it.
Normally it uses the default path if it is empty, but this could be maybe the issue......have a look at it.
FYI, the path is saved in config.ini, section [Einstellungen] search for this line --> HTML_local_Verzeichnis=
Sorry, did not make it in englisch at the time I wrote that.

FYI:
If Server is Idle it will only write Results.htm with his subfolder, nothing else because it skips the rest of the code.
If Game is running it will write also the other Files and subfolders.
On first loop it writes only Results.htm File.
On second loop it creates the subfolder using "selected path" & "Server Name read from config.ini" & "date" & "Time".
If one of the informations needed for creating the path is missing then this could also be the issue.
This path is written to config.ini, section [PC_Server] search for this line --> Session_Save_Verzeichnisname=
It will be deleted after closing DS or exiting PCDSG.


I made a short test (With DS online but Idle) and it creates the File.
This was to be sure that it is not broken after the Update, it works.

Supersonique
10-10-2015, 12:46
Thank you very much for your quick response.
I test in a few hours and come back to tell you that it works! I hope! :)

Supersonique
10-10-2015, 16:36
Hello again.
Here is a copy of the "config.ini" when the server is running. I have the path:
Session_Save_Verzeichnisname = PCDSG_0.97_10 / 10/2015 - 15-30 \
but nothing is created ....
No directory C: \ PCARS_DATAS \ data \ html \

I hope you have a solution with file playback.




[Einstellungen]
Installations_Verzeichnis=C:\PCARS_DATAS\
Sprachdatei=C:\PCARS_DATAS\system\language\EN.ini
Dedi_Installations_Verzeichnis=G:\JeuxSteam\SteamApps\common\Project CARS Dedicated Server\
HTML_local_Verzeichnis=C:\PCARS_DATAS\data\html\
HTML_File_Verzeichnis=file:///C:/PCARS_DATAS/data/html/
HTML_web_Verzeichnis=http://www.MyWebPage.de/PCARS_DATAS/data/html/
HTML_Status_web_page=http://www.MyWebPage.de/PCARS_DATAS/data/html/Results.htm
EventBrowser_page=http://www.mywebpage.de/PCDSG/index.php
Auto_Update=Autom. auf Update prüfen deaktiviert
Version=0.97

[PC_Server]
DS_Mode=local
Status=PC_Server_gestartet
Server_State=Running
DS_PublicIP=
DS_API_Port=
FTP_Upload_CFG=false
FTP_Upload_HTM=false
HTM_link_mode_File=true
HTM_link_mode_web=false
Infos_pb_Update_Intervall=5000
Infos_pb_Update_Intervall_exit=
AutoStat=Autom. Status speichern deaktiviert
AutoStat_save_auto_Status=off
AutoStat_window_update_Status=on
AutoStat_window_update_sort_Status=true
AutoStat_window_update_exit_Status=
AutoStat_Intervall=
AutoStat_Save_Radio_1=
AutoStat_Save_Radio_2=true
Data_Verzeichnis=data\stat\
HTML_Verzeichnis=
HTML_Save_Status=
HTML_Save_Intervall=10000
Checkbox_PCDSG_settings_1=false
Checkbox_PCDSG_settings_2=false
Checkbox_PCDSG_settings_3=false
Checkbox_PCDSG_settings_4=false
Checkbox_PCDSG_settings_5=false
Checkbox_PCDSG_settings_6=true
Session_Save_Verzeichnisname=PCDSG_0.97_10/10/2015 - 15-30\
Session=Practice1
SB_Zeile=
SB_Spalte=
Race1_Status=0
Checkbox_Update_1=true
Checkbox_Update_2=true
Checkbox_Update_3=true
Checkbox_Update_4=true
HTML_Save_auto_Status=on
HTML_local_Verzeichnis=C:\PCARS_DATAS\data\html\
HTML_web_Verzeichnis=http://www.MyWebPage.de/PCARS_DATAS/data/html/

[Server_Einstellungen]
loglevel=info
eventsLogSize=10000
name=PCDSG_0.97
secure=true
password=5653
maxPlayerCount=32
bindIP=
steamPort=8766
hostPort=27015
queryPort=27016
sleepWaiting=250
sleepActive=10
enableHttpApi=true
httpApiLogLevel=warning
httpApiInterface=127.0.0.1
httpApiPort=9000
allowEmptyJoin=true
controlGameSetup=false
Whitelist=false
Blacklist=true
allowEmptyJoin=
controlGameSetup=

[Race_Control]
Checkbox_Rules_1=false
Checkbox_Rules_2=true
Checkbox_Rules_3=true
Checkbox_Rules_4=true
Checkbox_Rules_5=true
Checkbox_Rules_6=true
Checkbox_Rules_7=true
Checkbox_Server_Penalties_1=true
Checkbox_Server_Penalties_2=true
Value_Checkbox_Server_Penalties_1=80
Value_Checkbox_Server_Penalties_2=140
PP_WARN_limit_MSG=WARNING: Penaly Point WARN Limit reached -->
PP_KICK_MSG=WARNING: Penaly Point KICK Limit reached --> Removing
PingLimit=120
Checkbox_Random_CAR=true
Checkbox_Random_TRACK=true
Checkbox_SET_IDLE=false
Message_1=Test Message 1
Message_2=Test Message 2
Message_3=Test Message 3
Message_4=Test Message 4
Message_5=Test Message 5
Message_6=Test Message 6
Message_7=Test Message 7
Message_8=Test Message 8
Message_9=Test Message 9
Message_10=Test Message 10
Message_Wellcome=Wellcome to PCDSG Server
Message_Email=cogent@cogent.myds.me
Message_Problems=Have some problems
Message_Admin=Admin makes a break

NextCarName=Mitsubishi Lancer Evolution X FQ400
NextCarID=998947753
NextTrackName=Nordschleife Stage 3
NextTrackID=1128950148

[FTP]
FTP_Username=
FTP_Password=
FTP_Server_Name_IP=
FTP_Port=21
FTP_Passive=1
FTP_folder=/web/PCDSG/FTP_DS_folder/
FTP_HTM_folder=/web/PCDSG/data/html/

[TEMP]
KICK_User=

Supersonique
10-10-2015, 19:10
I add something.
The "status.json" file in the root of "data" changes well in time of launch of the DS, but no folders appear ... I just tested with a new installation of Version 0.97.

I have no good against the Results file ....
It disappears when I run the DS .... Then after nothing ...
Nothing is happening...
In PCarsDSOverview I complete information live .... But nothing on the side of .html

cogent
10-10-2015, 19:35
I add something.
The "status.json" file in the root of "data" changes well in time of launch of the DS, but no folders appear ... I just tested with a new installation of Version 0.97.

I have no good against the Results file ....
It disappears when I run the DS .... Then after nothing ...
Nothing is happening...
In PCarsDSOverview I complete information live .... But nothing on the side of .html

I use the system date and time for the folder name.
On my system return string for the date is "10.10.2015", this folder can be created.
Look at your config, it seems to write "10/10/2015" on your system, this folder can not be created.

Have added new line that replaces "/" with "-" if it is found in the string.
Includes also some changes in RaceControl.

PCDSG_0.97_Fix2.zip (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG_0.97_Fix2.zip)

Supersonique
10-10-2015, 21:42
Thanks for answer.

Another copy of the config.ini:
I still have no creation of files in data / html ...
I'm desperate lol



[Einstellungen]
Installations_Verzeichnis=C:\PCARS_DATAS\
Sprachdatei=C:\PCARS_DATAS\system\language\EN.ini
Dedi_Installations_Verzeichnis=G:\JeuxSteam\SteamApps\common\Project CARS Dedicated Server\
HTML_local_Verzeichnis=C:\PCARS_DATAS\data\html\
HTML_File_Verzeichnis=file:///C:/PCARS_DATAS/data/html/
HTML_web_Verzeichnis=http://www.MyWebPage.de/PCARS_DATAS/data/html/
HTML_Status_web_page=http://www.MyWebPage.de/PCARS_DATAS/data/html/Results.htm
EventBrowser_page=http://www.mywebpage.de/PCDSG/index.php
Auto_Update=Autom. auf Update prüfen deaktiviert
Version=0.97

[PC_Server]
DS_Mode=local
Status=PC_Server_gestartet
Server_State=Running
DS_PublicIP=
DS_API_Port=
FTP_Upload_CFG=false
FTP_Upload_HTM=false
HTM_link_mode_File=true
HTM_link_mode_web=false
Infos_pb_Update_Intervall=5000
Infos_pb_Update_Intervall_exit=
AutoStat=Autom. Status speichern deaktiviert
AutoStat_save_auto_Status=off
AutoStat_window_update_Status=on
AutoStat_window_update_sort_Status=true
AutoStat_window_update_exit_Status=
AutoStat_Intervall=
AutoStat_Save_Radio_1=
AutoStat_Save_Radio_2=true
Data_Verzeichnis=data\stat\
HTML_Verzeichnis=
HTML_Save_Status=
HTML_Save_Intervall=10000
Checkbox_PCDSG_settings_1=false
Checkbox_PCDSG_settings_2=false
Checkbox_PCDSG_settings_3=false
Checkbox_PCDSG_settings_4=false
Checkbox_PCDSG_settings_5=false
Checkbox_PCDSG_settings_6=false
Session_Save_Verzeichnisname=PCDSG_0.97_10-10-2015 - 23-37\
Session=Practice1
SB_Zeile=
SB_Spalte=
Race1_Status=0
Checkbox_Update_1=true
Checkbox_Update_2=true
Checkbox_Update_3=true
Checkbox_Update_4=true
HTML_Save_auto_Status=on
HTML_local_Verzeichnis=C:\PCARS_DATAS\data\html\
HTML_web_Verzeichnis=http://www.MyWebPage.de/PCARS_DATAS/data/html/

[Server_Einstellungen]
loglevel=info
eventsLogSize=10000
name=PCDSG_0.97
secure=true
password=5653
maxPlayerCount=32
bindIP=
steamPort=8766
hostPort=27015
queryPort=27016
sleepWaiting=250
sleepActive=10
enableHttpApi=true
httpApiLogLevel=warning
httpApiInterface=127.0.0.1
httpApiPort=9000
allowEmptyJoin=true
controlGameSetup=false
Whitelist=false
Blacklist=true
allowEmptyJoin=
controlGameSetup=

[Race_Control]
Checkbox_Rules_1=false
Checkbox_Rules_2=true
Checkbox_Rules_3=true
Checkbox_Rules_4=true
Checkbox_Rules_5=true
Checkbox_Rules_6=true
Checkbox_Rules_7=true
Checkbox_Server_Penalties_1=true
Checkbox_Server_Penalties_2=true
Value_Checkbox_Server_Penalties_1=80
Value_Checkbox_Server_Penalties_2=140
PP_WARN_limit_MSG=WARNING: Penaly Point WARN Limit reached -->
PP_KICK_MSG=WARNING: Penaly Point KICK Limit reached --> Removing
PingLimit=120
Checkbox_Random_CAR=true
Checkbox_Random_TRACK=true
Checkbox_SET_IDLE=false
Message_1=Test Message 1
Message_2=Test Message 2
Message_3=Test Message 3
Message_4=Test Message 4
Message_5=Test Message 5
Message_6=Test Message 6
Message_7=Test Message 7
Message_8=Test Message 8
Message_9=Test Message 9
Message_10=Test Message 10
Message_Wellcome=Wellcome to PCDSG Server
Message_Email=cogent@cogent.myds.me
Message_Problems=Have some problems
Message_Admin=Admin makes a break

NextCarName=Mitsubishi Lancer Evolution X FQ400
NextCarID=998947753
NextTrackName=Nordschleife Stage 3
NextTrackID=1128950148

[FTP]
FTP_Username=
FTP_Password=
FTP_Server_Name_IP=
FTP_Port=21
FTP_Passive=1
FTP_folder=/web/PCDSG/FTP_DS_folder/
FTP_HTM_folder=/web/PCDSG/data/html/

[TEMP]
KICK_User=

Supersonique
10-10-2015, 21:48
220097

My config

cogent
11-10-2015, 09:07
It works fine here and I can not reproduce your issues.
But I can see that your HTML settings are different.
Look at the end of page 3 in the new PCDSG StartUp Guide.pdf
PCDSG StartUp Guide2.pdf (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG%20StartUp%20Guide2.pdf)

You will see that the slashes are different on yours.
Empty them all and save. Open settings again so that he can write the default settings, it does it only if they are empty.
Start choosing path with the Button but chancel it and leave it empty, only to exclude it and to be sure he did not skip anything in code.
See if there is any difference. If it is the same try to change it manually by correcting the slashes and save it.
I have no idea and this wrong slashes should not stop it from creating the Files.

Supersonique
11-10-2015, 10:58
It works fine here and I can not reproduce your issues.
But I can see that your HTML settings are different.
Look at the end of page 3 in the new PCDSG StartUp Guide.pdf
PCDSG StartUp Guide2.pdf (http://www.cogent.myds.me/Downloads/Projekte/PCDSG/PCDSG%20StartUp%20Guide2.pdf)

You will see that the slashes are different on yours.
Empty them all and save. Open settings again so that he can write the default settings, it does it only if they are empty.
Start choosing path with the Button but chancel it and leave it empty, only to exclude it and to be sure he did not skip anything in code.
See if there is any difference. If it is the same try to change it manually by correcting the slashes and save it.
I have no idea and this wrong slashes should not stop it from creating the Files.

Do-it must change variables in results.xlsm in the "settings" tab?

Supersonique
11-10-2015, 13:29
Well done! Thanks for your help! ;)

Go for FTP! :d

cogent
11-10-2015, 15:01
Do-it must change variables in results.xlsm in the "settings" tab?

No. It's done by PCDSG and only temporarily, will not be saved.



Well done! Thanks for your help! ;)

Go for FTP! :d

Does it work now?
What was the solution?

Supersonique
11-10-2015, 15:44
No. It's done by PCDSG and only temporarily, will not be saved.

Does it work now?
What was the solution?

The solution for me was to reinstall Excel 2007. It was well excel at the launch of the recording, but ps way to create the files.

Now I attack FTP to live on my web site ...
If you have any tips I'm interested. ;)
If I understood correctly, you must create a network folder using the FTP information, this is done ...
I'll see to the details, but it's great advance!

Sorry if I am heavy of time with my questions ...

Supersonique
11-10-2015, 16:11
In the FTP box, PC configuration PCDSG I have this ...
ftp: //uas001@194.150.236.86/web/www/PCDSG/data/html/
It looks good?

cogent
11-10-2015, 19:50
In the FTP box, PC configuration PCDSG I have this ...
ftp: //uas001@194.150.236.86/web/www/PCDSG/data/html/
It looks good?

You need to set the FTP settings, search for FTP setting in config.ini.
You need to open it end write it manually.

Look here in section FTP Upload:
http://www.cogent.myds.me/PCDSG/Infos_ChangeLog.php
Or here on page 3:
PCDSG StartUp Guide CS.pdf (http://www.cogent.myds.me/PCDSG/index.php?dir=PCDSG%20current%20state/&file=PCDSG%20StartUp%20Guide%20CS.pdf)

In settings write only the path, PCDSG combined it with settings for use.

Supersonique
11-10-2015, 21:51
Good evening. COGENT
A little positive! Here is the picture of the system that already works locally!
There are holes in both the rankings ...

220132



Then these few problems with FTP ...
The files go well on my site, but rather look at the pictures ...
They renamed alone!
htmlResults.htm
et
htmlTimetable.htm

I do not understand the ...
220133
220134

And finally, I have all the time that this message appears ...

220135

I think I'm almost there!
Cogent, then if you want a tester, I'm your man!

Thank you very much for your support.

Best regards.

Good night.

cogent
12-10-2015, 16:33
Good evening. COGENT
A little positive! Here is the picture of the system that already works locally!
There are holes in both the rankings ...


They renamed alone!
htmlResults.htm


And finally, I have all the time that this message appears ...


Best regards.

Good night.


1. After 0.96 I changed the way of filtering the position (order from 1 - 64).
Until that I used a macro for that. Now I do that in PCDSG and write it from 1 - 64 without filtering in Excel.
I think thats the reason why sometimes missing informations results in missing lines.
But they should be ok after new data is written into it and its updated one or two times?


2. Thats strange, never saw that. No idea now.


3. Yes I know. That message is from me to show errors during FTP Upload.
It only should appear on first run because the folder for the running session he is searching will be created on second update loop.
But the code tries already FTP Upload on the first run. Thats the reason.
Because I know that I put an 5 seconds timer into the message, it will disappear alone.

Supersonique
13-10-2015, 15:03
Hello COGENT.
I followed step by step method, but I always this error:
*
".htm Files NOT FOUND"
Where the program will search files? No way to make disappear this message ...

Yet although the files appear on the remote folder of my website, they start well to date, but by the explorer, no way for the page to reload itself.
It appears when I launch the game, with server "IDLE" I connect to the server with the game, launching a race, and nothing changes on the page .... Still IDLE.

There are of an upload file, but result.htm page, it does not change.

So much for my last information ....

Thank you.

cogent
13-10-2015, 16:38
;)
Saw it now, you forgot the last slash.
The path needs to be "......data\html\" and not "......data\html".
Or "......data/html/", depending which one it is.

Without the slash at the end it thinks "html" is part of the name and not the folder.
And maybe this is the reason why it cannot create or find the subfolder.
For every event it creates an subfolder with Name of the Server and Date-Time.
On yours this is not the case. If this folder exists the last error message will not apear.

cogent
13-10-2015, 21:14
PCDSG 0.98, fixed some bugs and added few things.

Admin commands:
Write the commands into game chat, PCDSG will detect them and execute/set it if you are the admin.

For example write: "_AM1>name" to Kick User “name” or write "Write: _AM3" for Automatic Kick parking cars on/off.......and so on.
Have a look at the StartUp Guide.pdf (http://www.cogent.myds.me/PCDSG/Downloads/PCDSG%20stable%20versions/PCDSG%20StartUp%20Guide%200.98.pdf) in Download section.
There can also be defined up to 5 apps in Race Control that can also be started by using a command ": _AM1>A1" in the chat.
PCarsDSOverview Window needs to be already open to detect the commands.

Downloads (http://www.cogent.myds.me/PCDSG/Downloads.php)

StartUp Guide and more Information on Pcars web page.

cogent
18-10-2015, 19:48
Big-ups Cogent this is really getting there now and as an "early adopter" of this project I'm seeing real stability now... great stuff! For mine the next level is automating as much as possible to record weekly results, points, teams ect to be able to run a pCARS league without too much admin. For other sims I have long been using SLS (find our Race07 leage page here: http://www.webspruik.com/Race07/index.php) for league management. Its a cracking bit of PHP but development has stopped and it cannot be altered without permission. Down the track what chance of altering the output format of the session result .txt files to be compatible with SLS under the guise of another sim? Find an example output from Race07 attached. This is something to consider down the track? I think the two are a marriage made in heaven. Again, well done Cogent this tool is really evolving.

Like this one?

LCCMarc
19-10-2015, 13:05
Hello Cogent,
The SLS software manages XML files created by the gaming platform, I use it for rFactor.

cogent
20-10-2015, 19:31
Hello Cogent,
The SLS software manages XML files created by the gaming platform, I use it for rFactor.

OK, and this means?
I tried to make it in the same format as the SLS example.
It's a little bit different now, but if someone wants to use it for that it's possible to change it.
For me this is only one step of two to be able to make something else with it...
I remembered this post and wanted to ask if this (SLS) is still interesting.

LCCMarc
20-10-2015, 20:49
Hello Cogent,
The SLS is great, it handles the points, penalties etc ...
Here is the link for my events:
http://lcc.ddns.net/sls/index.php

Here is a sample file racing (racing done this Saturday, 10/17/2015):
http://www.lccsimracing.com/download/2015_10_17_22_12_45-46SR.rar

The file is Nomé by the server and can not be changed otherwise the SLS does not recognize.
Thank you for your interest.

cogent
20-10-2015, 21:03
Hello Cogent,
The SLS is great, it handles the points, penalties etc ...
Here is the link for my events:
http://lcc.ddns.net/sls/index.php

Here is a sample file racing (racing done this Saturday, 10/17/2015):
http://www.lccsimracing.com/download/2015_10_17_22_12_45-46SR.rar

The file is Nomé by the server and can not be changed otherwise the SLS does not recognize.
Thank you for your interest.

Your File is different, I tried to make it like this one.
http://forum.projectcarsgame.com/showthread.php?31634-Project-Cars-Dedicated-Server-GUI-Launcher-with-%93live-timing%93-(results-timetable-)&p=1104792&viewfull=1#post1104792

Your File is something like an "endless log" that includes also the results like the other.
Is that because of the different games? Is there still no option for PCars Log Files?

LCCMarc
20-10-2015, 21:16
Yes, depending on the game, log files are different.

LCCMarc
20-10-2015, 21:20
If you cele interested, here is the link of the SLS, we need a database:
http://simracing.pl//panel/index.php?mod=downloadcenter&Download=1240

Sidonicus
21-10-2015, 09:38
Good to see I'm not the only one with a love affair for SLS ;)
Thanks Cogent for having a crack at it but the comments from others are stop on. There are about 10 sim games SLS can read from, all with different formats. The output log needs to be 100% to what the SLS expects in the format.
The only real way to do this is to modify the PHP code in SLS to add Project Cars as a supported sim or get your app to output in the exact (100%) format to mimic one of the supported games. However the SLS really cant be modified at least not in any published was without permission from the creators. There has been no new development in SLS for a long time.

cogent
23-10-2015, 20:06
If you cele interested, here is the link of the SLS, we need a database:
http://simracing.pl//panel/index.php?mod=downloadcenter&Download=1240

SQLite should be ok?
How should the Table look like?
Which values/informations to add to it?


Good to see I'm not the only one with a love affair for SLS ;)
Thanks Cogent for having a crack at it but the comments from others are stop on. There are about 10 sim games SLS can read from, all with different formats. The output log needs to be 100% to what the SLS expects in the format.
The only real way to do this is to modify the PHP code in SLS to add Project Cars as a supported sim or get your app to output in the exact (100%) format to mimic one of the supported games. However the SLS really cant be modified at least not in any published was without permission from the creators. There has been no new development in SLS for a long time.

I can not fill the File with all values because they are not all available or are different.
Does it ignore empty sections/values?

Now I will release one more version, after that it will be final and 1.0.
If it's not too much work I'll try to add SQLite in that version.
Race07 fake File creation can be added, only need to change some lines on the file that is already written.


Edit:
First test of an database added.
I used SQLite Manager (Addon for Firefox) to view the content.

cogent
25-10-2015, 18:22
Database was added for User History data and Current Session Overview.
You can use existing "Database.sqlite" File or delete it and create a new database with the same name and in the same folder.
Data in the table for Current Session Overview is overwritten everytime it writes to it, User History will add the new data at the end of the table and will not be deleted or overwritten.
Needed tables are created by PCDSG, Table names can be changed in config.ini.
Writing to database File needs to be activated in settings menu first, it's disabled by default.

220837

Also wrote two example php scripts to show how to access the database and write the data to web page.
It's a simple script without any extras or additional code.


<?php

//Header
echo "<h3>SQLite - PCDSG: 'User History' query:<h3><h3>".$sqlite."</h3>";
echo "<table border =
1><th>&nbsp;Name&nbsp;</th><th>&nbsp;SteamID&nbsp;</th><th>&nbsp;JoinTime&nbsp;</th><th>&nbsp;Ping&nbsp;</th>";

// SQLite - Open database:
$db = new SQLite3('Database.sqlite', SQLITE3_OPEN_READONLY);

// Querry data from database:
$result = $db->query('SELECT * FROM PCDSG2');

// Write data into Array:
// $data = $result->fetchArray();

// Write data into Array & Show data:
while ($data = $result->fetchArray())
echo "<tr><td>".$data['Name']."</td><td>&nbsp;".
$data['SteamID']."</td><td>&nbsp;".
$data['JoinTime']."</td><td>&nbsp;".
$data['Ping']."</td></tr>";
echo "</table>";

// Close database:
$db->close();

?>


<?php

//Header
echo "<h3>SQLite - PCDSG: 'Current Session Overview' query:<h3><h3>".$sqlite."</h3>";
echo "<table border =
1><th>&nbsp;Name&nbsp;</th><th>&nbsp;Grid POS&nbsp;</th><th>&nbsp;Car&nbsp;</th><th>&nbsp;POS&nbsp</th><th>&nbsp;LAP&nbsp;</th><th>&nbsp;Current Sector&nbsp;</th><th>&nbsp;Sector 1&nbsp;</th><th>&nbsp;Sector 2&nbsp;</th><th>&nbsp;Sector 3&nbsp;</th><th>&nbsp;Last LAP&nbsp;</th><th>&nbsp;Fastest LAP&nbsp;</th><th>&nbsp;Status&nbsp;</th><th>&nbsp;Pit Stops&nbsp;</th><th>&nbsp;Penalty Points&nbsp;</th><th>&nbsp;Expirience Points&nbsp;</th>";

// SQLite - Open database:
$db = new SQLite3('Database.sqlite', SQLITE3_OPEN_READONLY);

// Querry data from database:
$result = $db->query('SELECT * FROM PCDSG1');

// Write data into Array:
// $data = $result->fetchArray();

// Write data into Array & Show data:
while ($data = $result->fetchArray())
echo "<tr><td>".$data['Name']."</td><td>&nbsp;".
$data['Grid_POS']."</td><td>&nbsp;".
$data['Car']."</td><td>&nbsp;".
$data['POS']."</td><td>&nbsp;".
$data['LAP']."</td><td>&nbsp;".
$data['Current_Sector']."</td><td>&nbsp;".
$data['Sector1']."</td><td>&nbsp;".
$data['Sector2']."</td><td>&nbsp;".
$data['Sector3']."</td><td>&nbsp;".
$data['Last_Lap']."</td><td>&nbsp;".
$data['Fastest_Lap']."</td><td>&nbsp;".
$data['Status']."</td><td>&nbsp;".
$data['PS']."</td><td>&nbsp;".
$data['PP']."</td><td>&nbsp;".
$data['EP']."</td></tr>";
echo "</table>";

// Close database: $db->close();

?>

DatabaseReadExample1.php (http://www.cogent.myds.me/PCDSG/DatabaseReadExample1.php) (Steam ID was changed for this example)
DatabaseReadExample2.php (http://www.cogent.myds.me/PCDSG/DatabaseReadExample2.php)

AOD_WeDGE
29-10-2015, 18:45
doesn't seem to work anymore? maybe its just me, I haven been using this app for a while , hopefully it gets updated

LCCMarc
29-10-2015, 19:12
At home, the race control does not work, he does not write on the server since the update server

jaymondo
29-10-2015, 19:18
Quick question guys, does using a Dedicated server allow the mixing of cars and classes ? Our Race07 Ded did, and was great fun because of that.

RomKnight
30-10-2015, 10:44
You still have to leave those fields "blank" so it only works in league racing because you can't control car choice in public lobbies.

cogent
31-10-2015, 20:48
doesn't seem to work anymore? maybe its just me, I haven been using this app for a while , hopefully it gets updated


doesn't seem to work anymore? maybe its just me, I haven been using this app for a while , hopefully it gets updated


You can try the PCDSG - "current development state" - "Development and Test version".
It's also available on the download page.
I have not tested it with the new/last updates, but before it was working.
I know that because I had tested the new writing to database few days before the update.
Now I think that it will not work anymore without the right access levels configured.


The problems you have seems to be related to the new server.cfg File and the new API access levels.
You need to configure it different to have access to the API.
You can ask here http://forum.projectcarsgame.com/showthread.php?22370-Dedicated-Server-HowTo-(Work-in-Progress) and here http://forum.projectcarsgame.com/showthread.php?26520-Dedicated-Server-API.
They should explain it how to set it up. I hope they can help you and can explain how you need to change it.
There are also some pdf files explaining it in the DS folder.

I am not playing this game anymore, already since Update 3.0.
So I will not spend time trying to understand these changes. And the motivation is also already gone so that I am not willing to change it for every new DS version.

Maybe I will come back after the game and the DS is finished, in this development state of the game and DS you need to be aware of changes that can change the way you use the different things in DS and in PCars.
Almost everything what I have done should now (or in the future) be possible with Lua, it must only be written by someone that are still motivated to do it.

Nakamuza
01-11-2015, 11:07
This looks amazing, thanks for all your hard work doing this. I'm having a problem and I'm not too sure how to fix it. It appears the API is neither not responding or something isn't set up properly on my side. I have just used the default config file that came with PCDSG, and I have only changed the name, password and max players - everything else is as is.

221234

I can connect to the server, change track but nothing else. I am very new to all of this so ill thank you in advance for your patience and help :)

LCCMarc
01-11-2015, 13:32
At home, it works, I put the ip address of my server on my server.cfg.
The "Race Control" (circled in red) no longer works, he wrote no more penalties and points in the server, I think he does not have authorization server

221242

RomKnight
01-11-2015, 13:36
You can try the PCDSG - "current development state" - "Development and Test version".

I am not playing this game anymore, already since Update 3.0.
So I will not spend time trying to understand these changes. And the motivation is also already gone so that I am not willing to change it for every new DS version.

Maybe I will come back after the game and the DS is finished, in this development state of the game and DS you need to be aware of changes that can change the way you use the different things in DS and in PCars.
Almost everything what I have done should now (or in the future) be possible with Lua, it must only be written by someone that are still motivated to do it.


This is just too sad of a reading :(

Hope you find your way back to pCARS.

AOD_WeDGE
01-11-2015, 20:20
thanks for doing what you have been doing for PCars and the community, hopefully you work your way back here

Perhaps you wouldnt have a problem donating your work to someone who would be willing to take over?

I have someone in AOD who might be interested

cogent
02-11-2015, 18:23
thanks for doing what you have been doing for PCars and the community, hopefully you work your way back here

Perhaps you wouldnt have a problem donating your work to someone who would be willing to take over?

I have someone in AOD who might be interested

Thanks.
That was the idea after 1.0.
Wanted to make a code cleanup and then release it on some platform for all.
Will bring it to 1.0 and then if someone is interested it we can make it open for all.
The last 23 pages there was no one ... We will see


I was adding few new things so that there can be issues with everything new.
You can also found it on Download page.
It seems to works with the new config.cfg from DS Version 74.
You can use your own config or DS sample config, no longer needed to use other file.
Also added up to 5 addons that can be copied to system folder, named "ADD-ON1.exe" .... If the file is found they wil be executed in the same interval.


Download at the bottom of the Download page - PCDSG - "current development state" - "Development and Test version", there you can find the .zip and the Files.

Edit:
Direct link can be blocked by Firefox for example, have replaced it with the Download page.
Go to Download page and navigate yourself to the File.
Because of the new things the detection rate (14/54) is terrible this time.
If the ability to write to database and the update function causes so much detections then it's better to remove it.
I have also added an IP Check, it will be read and written by PCDSG to get API asccess, this could also be a reason for that......need to check first what it is.
https://www.virustotal.com/de/file/a7575797e1a83b72aacb487e5e20e77f28044ac9d66e9467c5a49ba3fe44fcc1/analysis/1446571899/

jaymondo
03-11-2015, 18:59
Seems this frustration with the project is common place. I guess everyone just wants the thing to be finished, and not more purchasable DLC !

Eternum
05-11-2015, 09:30
Hi all,

since yesterday I receive this error message, how do I fix?

221444

RomKnight
05-11-2015, 10:03
Try this? (http://forum.projectcarsgame.com/showthread.php?26520-Dedicated-Server-API&p=1162470&viewfull=1#post1162470)

cogent
07-11-2015, 19:48
PCDSG 0.99 - Downloads (http://www.cogent.myds.me/PCDSG.html) (with directupload.net Mirror)

Online Virus Scan:
Detaction rate: using www.virustotal.com (http://www.virustotal.com/)
I cannot avoid that some people get warnings.
Virustotal.com Results from version 0.99 - (11/54) (https://www.virustotal.com/de/file/dfbb629e8821eee04c3e8f6ce913449a5d51b2081566ef543933d8df7f485e7c/analysis/1446913677/)




Support for DS Server build version 74 added.
Everything else can be read on web page or StartUp Guide.pdf.


PCDSG StartUp Guide.pdf (http://www.directupload.net/file/d/4165/3azqfl7p_pdf.htm)

Ok, Finished now also the rest I was working on.
If I did not make any mistake during compiling or something else then this will be 1.0.
I think thats it.

Where are the guys who were interested in the source code?

Eternum
17-11-2015, 22:50
Hi,
since yesterday I get this error just start the gui.
I tried to do a clean install, but the error is repeated.
222252

artao
03-02-2016, 15:32
Just a heads up. Looks like your site is down. :)

cogent
05-02-2016, 10:25
Just a heads up. Looks like your site is down. :)

Yes I know, I put it offline a few days ago.
I am changing a few things, but not related to PCars or this page.
At the moment it's only a few hours per day online when I am working on it.

SuperArmySoldiers
07-03-2016, 10:30
Hi,
since yesterday I get this error just start the gui.
I tried to do a clean install, but the error is repeated.
222252

Im getting the same error. IS the previous release more stable? Not been able to get 0.99 to work yet.

Riccardo De Rosa
07-03-2016, 17:12
first: thanks for this server gui.
second:
i have a problem:

http://s29.postimg.org/yjq5fefdj/error.jpg

when press set attrib. the list of changes I would make only appear in the chat.
if I press set settings it appears the error highlighted in red.

before making the changes I log onto my server as a client.

can you help me?
Thanks!



Edit:
Solved

cogent
13-03-2016, 19:39
Im getting the same error. IS the previous release more stable? Not been able to get 0.99 to work yet.

Hi.

It seems there is something missing on your system.
It only works if you have Windows XP SP3 / Windows Server 2003 SP2 or newer.
MS Internet Explorer needs also to be already installed on the system.
Some functions also need MS Excel, but it does not prevent it from running if not available.

I can not help you in this case.
But even if you get it running it will not be without issues (wrong data showing in some cases in the GUI).
I stopped working on it in November so that changes from DS after DS version 74 are not considered in PCDSG 0.99.

To be honest, I am surprised that it is still in use ;)

Riccardo De Rosa
14-03-2016, 13:40
@cogent it lacks some circuits and cars. you can update it? Thanks

For example Rouen Les Essarts and Radical RXC Turbo.

cogent
14-03-2016, 15:50
@cogent it lacks some circuits and cars. you can update it? Thanks

For example Rouen Les Essarts and Radical RXC Turbo.

Hi.

You can do that by yourself.
Replace the Files "TrackList.txt" and "VehicleList.txt" (in PCDSG\system\ folder) with new ones.
You can get new ones from the DS with the right command or do the easy way, Download it (tracks.txt & vehicles.txt).
http://harm.io/misc/pcars/