PiBoSo Official Forum

GP Bikes => Racing => Topic started by: dibu on January 01, 2014, 10:33:06 AM

Title: Hotlap Server change?
Post by: dibu on January 01, 2014, 10:33:06 AM
Any interest in using the new bikes (R6, Scooter...) at the Hotlap server instead of the standard bikes?
Atm we can't register new bikes to the official stats but it would be possible to use the Hotlap Server for comparing times of the new bikes.

We have the 3 existing slots for bikes (GP1000, GP500, GP125) which could be used/exchanged.

Disadvantage: the Hotlap server can be used only by players with the offical Mod v1.1 installed.

If there is interest I need a little help from someone who is willing to create new logos for the result page http://hotlap.no-ip.info/   (in graphical affairs I'm not the big artist.)

Title: Re: Hotlap Server change?
Post by: neoraptor on January 01, 2014, 10:49:27 AM
I was talking about this with Ricco recently. Excellent idea !!
It would be really cool to register best laps that way ;)

I am also not very gifted with graphics, so I will not propose you my services  :D
Title: Re: Hotlap Server change?
Post by: dibu on January 01, 2014, 11:25:05 AM
Quote from: neoraptor on January 01, 2014, 10:49:27 AM
I am also not very gifted with graphics, so I will not propose you my services  :D

PeterV already offered his help for the logos, thanks.  :)
Title: Re: Hotlap Server change?
Post by: Hawk on January 01, 2014, 11:40:02 AM
In theory I'm all up for it, with one exception; I presume seeing as there is no 125cc Mod bike, the standard 125cc "hot lap Event" slot would be lost to the "Scooter"? That would be a shame as the 125cc hot lap event slot has only recently been included to help generate interest in the 125cc bike?

I think an ideal alternative, if it is possible, would be to just have one "hot lap Event" Server able to run all standard default bike and all Mod bikes then to separate the results into their required hot lap categories for the published internet hot lap results? Would it be possible for a server script to do this? Obviously some script work would be required to set this up(I think?), but once done, this would surely save a lot of proceeding time and work in hot lap server work administration?

I'm not saying this should be done... I'm just thinking out loud of some solutions for consideration. :)
Title: Re: Hotlap Server change?
Post by: dibu on January 01, 2014, 12:25:10 PM
Quote from: Hawk_UK on January 01, 2014, 11:40:02 AM
In theory I'm all up for it, with one exception; I presume seeing as there is no 125cc Mod bike, the standard 125cc "hot lap Event" slot would be lost to the "Scooter"? That would be a shame as the 125cc hot lap event slot has only recently been included to help generate interest in the 125cc bike?

I think an ideal alternative, if it is possible, would be to just have one "hot lap Event" Server able to run all standard default bike and all Mod bikes then to separate the results into their required hot lap categories for the published internet hot lap results? Would it be possible for a server script to do this? Obviously some script work would be required to set this up(I think?), but once done, this would surely save a lot of proceeding time and work in hot lap server work administration?

I'm not saying this should be done... I'm just thinking out loud of some solutions for consideration. :)
This would be the ideal solution but ...
the Hotlap server with dataloggers, datamanager, SQL database and web-server was build by Random, I only gave my server to him.
I know how to operate it but I don't have exact informations about the database structures and other important details.
It would take very much time to analyse the system and I also don't want to risk loosing the hotlap server because of doing something wrong.
It's easy for me to exchange the three existing bike slots but building a parallel system for modded and standard bikes will be hard work.

The three existing slots can be combined freely. e.g. scooter, GP125, R6 or whatever you like.
It's also no problem to run the scooters at a KRP track and the other bikes at a GPB track.


Title: Re: Hotlap Server change?
Post by: JamoZ on January 01, 2014, 03:46:22 PM
Would be amazing to have a scooter & R6 hotlap server. This also would probably draw a bigger crowd to the 2 mods...
Title: Re: Hotlap Server change?
Post by: Hawk on January 01, 2014, 03:54:06 PM
Thank you for the explanation, dibu. If only "Random" would come back a help us out with this.... Here's hoping! ;D
Title: Re: Hotlap Server change?
Post by: dibu on January 01, 2014, 08:50:16 PM
Puuh  :P :P
was a lot of work but I think I found the way to run the Hotlap server with scooter, R6 and the three standard bikes.
The results site is still a bit WIP but Peter is working at the logos. I'll fix it tomorrow when I'm back from work.

Now 5 GPB Hotlap servers are online. Test them I need to know whether everything works stable.


Title: Re: Hotlap Server change?
Post by: HornetMaX on January 01, 2014, 09:35:57 PM
I propose Jan 2nd to be renamed to St. Dibu's day.

MaX.
Title: Re: Hotlap Server change?
Post by: Warlock on January 01, 2014, 09:51:04 PM
heheh I agree !  :)
Title: Re: Hotlap Server change?
Post by: HornetMaX on January 01, 2014, 11:06:47 PM
One potentially silly question for dibu/Piboso: why do you have to have one separate hotlap server for each category 125, 500, 990 (without talking about the mods) ?

Ideally you should/could have a single hotlap (GPB) server, open to any category (ban scooters , of course :) ). Then the hotlap application should be able to categorize correctly the laptimes it receives, doesn't look hard.

I haven't any documentation of the Live Timing feature, so I cannot say for sure, but I may think that if Live Timing does not send the bike info to the hotlap app, then ...
But this could be easily solved and would make dibu's life a bit easier ...
If it does sent the info, then ...

MaX.
Title: Re: Hotlap Server change?
Post by: Hawk on January 01, 2014, 11:16:32 PM
Quote from: HornetMaX on January 01, 2014, 11:06:47 PM
One potentially silly question for dibu/Piboso: why do you have to have one separate hotlap server for each category 125, 500, 990 (without talking about the mods) ?

Ideally you should/could have a single hotlap (GPB) server, open to any category (ban scooters , of course :) ). Then the hotlap application should be able to categorize correctly the laptimes it receives, doesn't look hard.

I haven't any documentation of the Live Timing feature, so I cannot say for sure, but I may think that if Live Timing does not send the bike info to the hotlap app, then ...
But this could be easily solved and would make dibu's life a bit easier ...
If it does sent the info, then ...

MaX.

Snap, Max!..... Take a look at my post above. LOL

But dibu would need someone who can make a server script and database sql script to deal with the idea.

Dibu explains this in his post above.

Great minds think alike. Haha ;)
Title: Re: Hotlap Server change?
Post by: HornetMaX on January 01, 2014, 11:56:56 PM
Oups Hawk, you're right ...  :-[

If the issue is "only" server script and/or sql script I may be able to have a look. Of course, random back would be a much much better solution.

Quote from: Hawk_UK on January 01, 2014, 11:16:32 PM
Great minds think alike. Haha ;)

I'd say "sleepy mind does double post" :)

MaX.
Title: Re: Hotlap Server change?
Post by: dibu on January 02, 2014, 05:06:30 PM
Quote from: HornetMaX on January 01, 2014, 11:06:47 PM
One potentially silly question for dibu/Piboso: why do you have to have one separate hotlap server for each category 125, 500, 990 (without talking about the mods) ?

Ideally you should/could have a single hotlap (GPB) server, open to any category (ban scooters , of course :) ). Then the hotlap application should be able to categorize correctly the laptimes it receives, doesn't look hard.

I haven't any documentation of the Live Timing feature, so I cannot say for sure, but I may think that if Live Timing does not send the bike info to the hotlap app, then ...
But this could be easily solved and would make dibu's life a bit easier ...
If it does sent the info, then ...

MaX.
Hehe, do you want to drive your GP1000 hotlap with alot of scooters in your way?

Technically it would be possible. The live-timing feature sends the bike category information.
For going this way the datalogger has to be completely rewritten (no source code as always ;) )


Quote from: Hawk_UK on January 01, 2014, 11:16:32 PM
But dibu would need someone who can make a server script and database sql script to deal with the idea.
All server scripts are written by myself, here I know what to do. The SQL databases are another thing but after yestersdays action I know at least enough about the structures to add further Mod-bikes. If I need help I'll start crying 'MaaaaaaX' ;)

Because I've no source code, the two tools written by Random could become a problem in the future. One is communicating with the dedicated servers via live-timing ports and writing the collected data to files. The other tool is reading these files and merging the results into the SQL databases.

In the meantime Peter was very busy creating the logos for the new bikes - thank you very much.  :)

btw you can call me a scaredy-cat but to avoid any risk I created a new VM from a backup of hotlap server where I could do my tests before transfering the changes to the running server.  ;D


Title: Re: Hotlap Server change?
Post by: HornetMaX on January 02, 2014, 10:02:55 PM
Quote from: dibu on January 02, 2014, 05:06:30 PM
Quote from: HornetMaX on January 01, 2014, 11:06:47 PM
Ideally you should/could have a single hotlap (GPB) server, open to any category (ban scooters , of course :) ).
Hehe, do you want to drive your GP1000 hotlap with alot of scooters in your way?
No, that's why I said "ban scooters, of course". Anyway, not sure anybody with a sane mind woulds ride a scooter on a track suitable for real bikes.
That said, not sure all of our players qualify with respect to "with a sane mind" :)

Quote from: dibu on January 02, 2014, 05:06:30 PM
Because I've no source code, the two tools written by Random could become a problem in the future. One is communicating with the dedicated servers via live-timing ports and writing the collected data to files. The other tool is reading these files and merging the results into the SQL databases.
Sad situation.

Quote from: dibu on January 02, 2014, 05:06:30 PM
btw you can call me a scaredy-cat but to avoid any risk I created a new VM from a backup of hotlap server where I could do my tests before transfering the changes to the running server.  ;D
Sound practice. Brave-cats end up burned most of the time ...

MaX.
Title: Re: Hotlap Server change?
Post by: JamoZ on January 02, 2014, 10:28:59 PM
Quote from: HornetMaXnot sure all of our players qualify with respect to "with a sane mind"

I took on the nordschleife on my scooter  8)
Title: Re: Hotlap Server change?
Post by: HornetMaX on January 02, 2014, 11:07:25 PM
Quote from: JamoZ on January 02, 2014, 10:28:59 PM
Quote from: HornetMaXnot sure all of our players qualify with respect to "with a sane mind"

I took on the nordschleife on my scooter  8)
Q.E.D.  ::)

MaX.
Title: Re: Hotlap Server change?
Post by: neoraptor on January 04, 2014, 01:28:16 AM
Could you tell how frequently the hotlap is updated?
Also, when does the hotlap stops? When will it changes track?
This might be written on the hotlap page ;)
Title: Re: Hotlap Server change?
Post by: dibu on January 04, 2014, 08:34:10 AM
Hotlap is weekly updated. I exchange the track every sunday, usually in the morning. This is also the time when it stops/starts.  ;)
Before I swap the tracks I save the results to PDFs which can be found here: https://www.dropbox.com/sh/y9n3pi7xv9t9czt/_UIdTJ8Ur0/Hotlap

Quote from: neoraptor on January 04, 2014, 01:28:16 AM
This might be written on the hotlap page ;)
Now I've added a line at the bottom of the page ( http://hotlap.no-ip.info/ ). If you know a better text please post it.
Title: Re: Hotlap Server change?
Post by: JamoZ on January 04, 2014, 03:59:31 PM
Dibu, i have a suggestion for the servers. Imo right now we have too many servers, most of them are never populated and some offer tracks noone actually ever rides.
During the day i always see people scattered across the servers, and i would like to see the amount of servers reduced so that those people have a bigger chance of riding together.

My idea of optimal amount of servers would be the following :

2 Multi Bike servers with a 3 track rotation that could be voted for on a weekly basis

1 Scooter server with also 3 track rotation as we only have 3 tracks that are really ridable right now (Skusa, La Conca & Laghi)

1 R6 Server with the same track rotation voting idea

1 open hotlap server where everyone can just ride what they want (except scooters) and take a shot at the leaderboards, and if this is not possible, maybe reduce the hotlapping to 1 class a week so that there is always just one server available instead of the 5 we have right now.

And finally 1 unmodded standard server for people who have just bought the game and know nothing about modding yet, so they at least have a place to meet and ride together.
A idea for this server would be that in the automated server message these people would be informed to get the bike mod & new tracks from the forum.

I don`t know if this is all doable, but in the turkey server we have a track rotation now and it works quite well.
Title: Re: Hotlap Server change?
Post by: dibu on January 04, 2014, 04:54:01 PM
Thank you JamoZ I'm very happy about feedback like this. I think your proposal is a good idea and most of it can be easily realised.

What I can do without problems is:
-2 Multi Bike servers (open) with a 3 track rotation
-1 Multi Bike server (only scooter) with a 3 track rotation (Skusa, La Conca & Laghi)
-1 Multi Bike server (only SSP) with a 3 track rotation
-1 Standard server - Victoria (Track 19 - Training dry groove) with hint to visit the forum for tracks and mods.

The Hotlap server isn't so easy. If I run it open the times of all classes appear in one list which is not very attractive for the slower classes.
We should keep the classes separate. My proposal for next week are Hotlap servers for R6 and scooter.



Anyone willing to organise the votes?

we need:
-Rotating tracks for R6 + Multi Bike
-Hotlap server class
-Hotlap server track

Title: Re: Hotlap Server change?
Post by: JamoZ on January 04, 2014, 05:01:42 PM
I can do it if needed, how do you start a poll?  ::)
Title: Re: Hotlap Server change?
Post by: neoraptor on January 04, 2014, 05:29:25 PM
I think there is now 5 laps for the scooter ;)

However, I run for more than 10laps yesterday, and it didn't record anything (lap number has not increased).
Do you have an idea where it comes from? I will surely ride this evening, so I can watch again if it changes ;)
Also, when are the data saved?
Title: Re: Hotlap Server change?
Post by: dibu on January 04, 2014, 05:32:59 PM
Quote from: JamoZ on January 04, 2014, 05:01:42 PM
I can do it if needed, how do you start a poll?  ::)

Thank you, I also never made a poll before.  ;D
Title: Re: Hotlap Server change?
Post by: dibu on January 04, 2014, 05:42:10 PM
Quote from: neoraptor on January 04, 2014, 05:29:25 PM
However, I run for more than 10laps yesterday, and it didn't record anything (lap number has not increased).
Do you have an idea where it comes from? I will surely ride this evening, so I can watch again if it changes ;)
Also, when are the data saved?

Maybe the datalogger was hanging. It's the problem child of the hotlap server.
Please try it again and report.

The data recording runs continuously but the web site/SQL server is updated only every 60 seconds.
Title: Re: Hotlap Server change?
Post by: JamoZ on January 04, 2014, 06:24:58 PM
I have no idea how to start a poll, but imo the tracks that are most popular are :

Assen
Mugello NC
Paul Ricard
Magny Cours
Monza

And of course Victoria, but i have the feeling everyone is a bit done with that track ;)

So maybe you can just choose 3 of those Dibu and we`ll be fine...
Title: Re: Hotlap Server change?
Post by: Hawk on January 04, 2014, 06:39:45 PM
Quote from: JamoZ on January 04, 2014, 06:24:58 PM
I have no idea how to start a poll, but imo the tracks that are most popular are :

Assen
Mugello NC
Paul Ricard
Magny Cours
Monza

And of course Victoria, but i have the feeling everyone is a bit done with that track ;)

So maybe you can just choose 3 of those Dibu and we`ll be fine...

I agree with most of your choices there, JamoZ, but I personally would have included "Saint-Wests - Mugello and Catalunya". Although WIP tracks these are amongst the most rideable track surfaces we have.

PS: Victoria is still the best or equal best track there is for rideability and therefore should never be "done with" as a circuit to include. :)

UPDATE: "Misano" track is very good, too! ;D
Title: Re: Hotlap Server change?
Post by: Warlock on January 04, 2014, 08:22:04 PM
Beside the 'New Topic' button is a 'New Poll'  button , guys  ;)
Title: Re: Hotlap Server change?
Post by: dibu on January 04, 2014, 08:33:54 PM
Quote from: Warlock on January 04, 2014, 08:22:04 PM
Beside the 'New Topic' button is a 'New Poll'  button , guys  ;)
You know, old men have problem with their eyes. ;) Thanks for the hint Warlock. :)
Title: Re: Hotlap Server change?
Post by: Warlock on January 04, 2014, 08:37:58 PM
heehe  you welcome old man  ;D
Title: Re: Hotlap Server change?
Post by: neoraptor on January 05, 2014, 11:37:19 AM
@dibu: it worked fine yesterday !!
Also, the links are not working in the bottom of the page.
Maybe, you can also add the track name on the bottom of each page (if it is not too much work).
Title: Re: Hotlap Server change?
Post by: dibu on January 05, 2014, 12:58:40 PM
Quote from: neoraptor on January 05, 2014, 11:37:19 AM
@dibu: it worked fine yesterday !!
Also, the links are not working in the bottom of the page.
Maybe, you can also add the track name on the bottom of each page (if it is not too much work).
Which link do you mean? At the front page or at the results pages? I just tested with Firefox and IE and all worked.
The forum link at the result pages refers to the original thread in the old (closed) forum. I didn't remove it just in case the forum opens again...
Title: Re: Hotlap Server change?
Post by: neoraptor on January 05, 2014, 04:47:01 PM
I was talking about the link to the old version of the forum ;)
Can't you redirect this link to this forum?
Title: Re: Hotlap Server change?
Post by: dibu on January 05, 2014, 04:55:16 PM
The link to this forum is at the main site. I will think about the other link ;)
Title: Re: Hotlap Server change?
Post by: neoraptor on January 05, 2014, 10:21:41 PM
Also, could you indicate the location of the speed trap? I don't know if it is the same line as for S3?
It could be good to indicate that in the map of the circuit ;)

(This is not really linked to the hotlap, but to the track).
Title: Re: Hotlap Server change?
Post by: HornetMaX on January 05, 2014, 10:23:21 PM
It's indicated by my plugin (MaxHUD) on the track map.

MaX.
Title: Re: Hotlap Server change?
Post by: dibu on January 06, 2014, 06:07:20 AM
Quote from: neoraptor on January 05, 2014, 10:21:41 PM
Also, could you indicate the location of the speed trap? I don't know if it is the same line as for S3?
It could be good to indicate that in the map of the circuit ;)

(This is not really linked to the hotlap, but to the track).
No that's going to far. As MaX already said use his plugin or look at the track with 'tracked.exe' -> View -> Race Data.
Split3 and the Speedtrap line are independent values.
Title: Re: Hotlap Server change?
Post by: neoraptor on January 06, 2014, 07:03:00 AM
The solution with MaxHud is perfect (I disabled the map when I installed the plugin) ;)
Thank you !!
Title: Re: Hotlap Server change?
Post by: dibu on January 21, 2014, 06:21:56 PM
Probably nobody is really interested in these details but I'll tell it anyway ;)

I've split the Hotlap server now. The datamanager, SQL and web server still run at the old VM. The datalogger and the dedicated servers are running at a new hardware with SSD for faster data recording. Next Sunday I'll choose a more popular track and restart the disabled Hotlap servers too for testing the results.

The change was due to some issues with the logged data which took a lot of time to correct. I hope it will solve my problems with the datalogger now - if not I'll cry for help (MaX???  ;D).
Title: Re: Hotlap Server change?
Post by: HornetMaX on January 21, 2014, 06:39:01 PM
Quote from: dibu on January 21, 2014, 06:21:56 PM
Probably nobody is really interested in these details but I'll tell it anyway ;)

I've split the Hotlap server now. The datamanager, SQL and web server still run at the old VM. The datalogger and the dedicated servers are running at a new hardware with SSD for faster data recording. Next Sunday I'll choose a more popular track and restart the disabled Hotlap servers too for testing the results.

The change was due to some issues with the logged data which took a lot of time to correct. I hope it will solve my problems with the datalogger now - if not I'll cry for help (MaX???  ;D).
Hmm ... I wouldn't expect the datalogger to log a lot of data so not sure SSD will help (well, it cannot hurt for sure).

Anyway, thx dibu !

MaX.
Title: Re: Hotlap Server change?
Post by: dibu on January 21, 2014, 06:51:53 PM
Quote from: HornetMaX on January 21, 2014, 06:39:01 PM
Hmm ... I wouldn't expect the datalogger to log a lot of data so not sure SSD will help (well, it cannot hurt for sure).
A SSD alone for sure will not help but my hope is that splitting the server parts will do the job.
The SQL can generate a lot of disk I/Os and generate high CPU loads for short moments which can cause problems reading the live-timing ports of the Hotlap servers.
Title: Re: Hotlap Server change?
Post by: HornetMaX on January 21, 2014, 07:37:59 PM
Quote from: dibu on January 21, 2014, 06:51:53 PM
A SSD alone for sure will not help but my hope is that splitting the server parts will do the job.
The SQL can generate a lot of disk I/Os and generate high CPU loads for short moments which can cause problems reading the live-timing ports of the Hotlap servers.
Hmmm ... even that would be surprising given the number of players we are talking about, unless the SQL is very poorly written (which would surprise me a lot, coming from random).

In any case you're right, splitting the two may be a good idea anyway.

MaX.
Title: Re: Hotlap Server change?
Post by: dibu on January 21, 2014, 08:29:24 PM
Hehe MaX thanks, you are already thinking alot about the problem. :) Stay tuned, the task is to read the live-timing ports of up to 10+ simultanous servers (GPB/WRS/KRP) and write the data in a certain format (random proprietary) to text files without generating corruptions. The datamanager reads these text files every 60 seconds and transfers the data to the SQL-server.

Here some reasons why corruptions happen atm:
- too many people at the servers
- short tracks with many people (scooters, karts)
- leaving pits in wrong direction to save a in-lap
- driving opposite direction at the track
- speed trap is to close to a checkpoint at some tracks (e.g. Paul Ricard)
Title: Re: Hotlap Server change?
Post by: janaucarre on January 22, 2014, 01:29:51 PM
i didnt know that a to close speedtrap line of a split can causes a crash, on hockenheim i send you this night the two are in the same place, i will change it. thx.
Title: Re: Hotlap Server change?
Post by: dibu on January 22, 2014, 07:07:08 PM
Quote from: janaucarre on January 22, 2014, 01:29:51 PM
i didnt know that a to close speedtrap line of a split can causes a crash, on hockenheim i send you this night the two are in the same place, i will change it. thx.
It will not crash the game. The problem is that it can cause confusions to the live-timing-logger if I use it at the Hotlap servers.

I observed this problem at 'Paul Ricard' because there is only 1m between the speed trap and the checkpoint at the high speed straight.
Title: Re: Hotlap Server change?
Post by: dibu on January 23, 2014, 06:48:22 PM
Ups, sorry I just realised that I had a typo at the data files which caused the Hotlap server to refuse updates of laps/times. ::) It's corrected now, no laps/times are lost.
Please post here or send PM if your laps don't appear at the web site http://hotlap.no-ip.info