The online racing simulator
comparing setups (php-script)
(6 posts, started )
comparing setups (php-script)
Hi folks!

Did You ever want to simply compare two setups and did You ever complain about the fact that You always have to switch around to see any different values?
Well, I did and out of that I started a script, that made it possible to compare, alter and re-save any two setups without the need to lauch LfS and to switch around setup-menus.
It's still not finished - Mr. error is everywhere - , but it has reached a stage at which I would like You to "beta-test" it

I'll be pleased to hear any fedback and fair comment (perhaps even concerning general design) and - of course - bugreport.

You'll find the script here:
http://en.jallaland.de/setcomp.php
(And for those capable of german language:
http://jallaland.de/setcomp.php)

A short comment on handling (though it should be self-explaining):
At the top You can upload two setup-files (one left an one on the right). This done, the data contained will be given by two adjacent tables.
The clou:
You can alter the table either using direct text-input or a slider underneath the text-field (or a dropdown.box where suitable).
Once a slider is activated You can even fine-tune the values using the arrow-keys (usefull for short sliders where using the mouse might not be accurate).
At the very bottom You will find a save-button for each setup.
Clicked it will result in the relevant setup being downloaded with the newly set values.

Known bugs:
- No values for brakestrength and gear ratios when watched in IE
- reading a "RACE_S"-setup may result in wrong values for "added mass position" and "clutch preload" -> This seems to be an issue of altered LfS-behaviour

hoping for feedback and bugreports,
avetere

EDIT:
exe-version added here:
http://www.lfsforum.net/showthread.php?t=41953
Cool, but I could see this as a place to farm setups.

The idea of it by it's self, though, is simply awesome. Great work!
Quote from Dygear :Cool, but I could see this as a place to farm setups.

You mean, it could be misused to "steal" setups?
Hm ... probably true, though I didn't even think of that possibility ...
Well, the only thing I can say is to assure You, that this is not done nor planned (neither data nor setupfile are stored on the server)
(Wouldn't be to usefull either, as there is no indicator of an uploaded setup being good or not ...)
Quote from avetere :Wouldn't be to usefull either, as there is no indicator of an uploaded setup being good or not ...

Good point.
Well ... a little update:
As it was requested by mkinnov8, I made an alternative script, that does not throw value and that won't allow You to change or save any values, but that simply compares two setups and gives You an "OK", if all relevant data (the values supported by that car (the higher gears or wings for example) AND currently selected (visco-torque, whwn locked diff is selected for example)) are the same.
If there are differences on relevant data, that values will be "put out" (Is it called like that in english?!?) to give a "short" summary.

Might be a nice feature for some race-admins who would like to check for equal setups of all racers ...

Here's the link:
http://en.jallaland.de/setcomp2.php

There might still be some translation issues ... feel free to give me a notice
Win-Version added

comparing setups (php-script)
(6 posts, started )
FGED GREDG RDFGDR GSFDG