stracker

Apps stracker 3.5.1

Login or Register an account to download this content
Hi Neys (or anyone else that could help). I'm having trouble understanding how to get stracker to record info from two servers. Both are up and running on a PC in my home and I've read through the Readme file several times trying to wrap my head around it....

I get port numbers and all that. I guess what I'm not understanding is where I drop the code shown. Does this get copied into its own file or into the stacker config? I'd like both servers to show up on the same site for users to see their times no matter which one they race on.

Thanks in advance for the assistance!

See my configuration. I have 3 servers running and all working with stracker on ClearOS. after i started all my servers i run these.

nohup ./stracker --stracker_ini stracker_server1.ini >/dev/null 2>&1 &
nohup ./stracker --stracker_ini stracker_server2.ini >/dev/null 2>&1 &
nohup ./stracker --stracker_ini stracker_server3.ini >/dev/null 2>&1 &
 

Attachments

  • stracker_server1.ini
    3.8 KB · Views: 299
  • stracker_server3.ini
    3.8 KB · Views: 251
  • stracker_server2.ini
    3.8 KB · Views: 257
You can run two stracker instances both with different stracker.ini files. Both can share the same database (reference the same db3 file in the stracker.ini files). Beware that only one of them should have the http server enabled.

EDIT: oops didn't see there is already a response :)
 
First, thank you Kristian. Digging through your files now.

So if I understand correctly though, I should actually have two different instances running, just pointing to the same database. Working on this right now. Thanks again for the help!
 
One instance per server same database. Server 1 has HTTP enabled and Server 2 and 3 disabled. You can check my 3 config, i also made a script where when i restart any server it will automatically restart my 3 instances of stracker too.
 
Neys updated stracker with a new update entry:

Bugfix for stracker freeze after disconnect

Well - I really was not expecting such a major bug since stracker runs now for months on our server, but then I was taken through the six stages of debugging:

1. That can't happen
2. This doesn't happen on my machine
3. That shouldn't happen
4. Why does this happen?
5. Oh, I see
6. How did that ever work?

For everyone observing stracker freezes after disconnecting players. I still don't really understand why this is not happening for everyone...

Change Log:
  • fix...

Read the rest of this update entry...
 
Neys updated stracker with a new update entry:

Introduce CS Teams, possibility to add UI data to stracker, statistic charts

This is an experimental version, average users are encouraged to stay on version 2.6.10!

ChangeLog:
  • new db version 19 (relevant only for stracker):
    • add new table Teams
    • add new columns for Tracks and Cars tables
  • rename "Players" to "Drivers" in http server output (but the http addresses remain)
  • http server: add team classification to championships
    • team memberships can be assigned automatically using the entry_list.ini
    • team memberships can be...

Read the rest of this update entry...
 
How can I delete a pilot name and their times?

It's not possible to delete pilots / times. However, you can mark laps as invalid (as admin in http interface). Go to the lap details page.

Otherwise you can directly manipulate the database with a gui frontend for sqlite or postgres, resp. I'd recommend to just rename the player's name to "deleted" or something.
 
Neys updated stracker with a new update entry:

2.8.1-experimental (bugfix release, http optimizations)

Probably the last experimental release in 2.8.x before the new server API is used (this is going to be 3.0.x):

Change Log:
  • convert car and track name settings from server_cfg.ini to lower case before using them
  • fix banlist usage when no banlist could be parsed
  • http_server: add map display in lap_details page (if map is available)
  • http_server: remove print statements
  • http_server: enable gzip http transfers and perform server-sided in memory caching of http responses...

Read the rest of this update entry...
 
Hi!
Is there any chance to display a total lapcount per track? For example, in our league we use a prequalification system, every driver have to achieve a given laptime and drive a specific lapcount prior to the race to be able to join the race. Like in this example: http://www.netracingeurope.org/index.php?page=prequalification . The only thing that is missing for our system is a column that displays the total driven laps per driver on the server for a given track.

Any chance to get this one day?

kind regards
 
You know that you can click a lap time and get the total driven laps of this car/track combo on the server displayed (I think there has been a bug in the calculations - not sure if this is fixed only in 2.8.x or if this is already fixed in 2.6.9).

Important: you really should consider to use 2.6.10 instead of 2.6.9 because of a major issue fixed in 2.6.10.

I might add such a column in this table at some point.
 
Here i´m again ;). I just updated to 2.8.2, all fine so far. But from where will get stracker the team information? I guess from the ui_skin.json? I need to know that, we would be very pleased to run a team championship as well (like we did all the years in rF) Please a small info, thanks!

kind regards, Wolfgang
 
You can either set the team in the entry_list.ini file (don't know if it's possible with the new server manager, or how is it called...). You can also assign a team to a player for all events in the Championship tab when you are logged in as admin.

HTH Neys
 
Neys updated stracker with a new update entry:

2.8.3 new stable version

I regard this version as stable. Note that this version does not yet use the new server plugin (wanted to first finish the 2.8.x versions before starting with that).

Changes:
  • fix sporadic problem when parsing the session time left
  • fix lap details page in case of missing detailed lap information
  • fix database migration for postgresql in some corner cases

Read the rest of this update entry...
 

Latest News

What's needed for simracing in 2024?

  • More games, period

  • Better graphics/visuals

  • Advanced physics and handling

  • More cars and tracks

  • AI improvements

  • AI engineering

  • Cross-platform play

  • New game Modes

  • Other, post your idea


Results are only viewable after voting.
Back
Top