The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.1.27 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5308 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 5308 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key 1 - Line: 1474 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 1474 errorHandler->error
/inc/functions.php 1429 fetch_forum_permissions
/printthread.php 76 forum_permissions
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.27 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
VDrift data manager discussion - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Cars & Tracks (https://www.vdrift.net/Forum/forumdisplay.php?fid=11)
+--- Thread: VDrift data manager discussion (/showthread.php?tid=754)



VDrift data manager discussion - FFuser - 08-19-2007

We are here again for some brainstorming on this hot topic.

At the moment their is a basic implementation that downloads car/track information from svn. At the moment it is very slow (and blocking the UI-thread) because it should download several small files (each for each car/track) from a slow (SF) svn server.

My idea was to put all car/track information in one (ini like) file.

It should look something like this:

Code:
[Cars]
[CarID]
Version=VersionID
Author=Name
License=GPLv2 (or whatever)
Description=A very powerfull car
MinVDriftVersion=2007-08-03
MaxVDriftVersion=2007-08-03 (I invented a date)
Dir=data/cars/carnamedir/:1234


[OtherCarID]
Version=VersionID
....

[CarID] (not that this CarID is already used...)
Version=VersionID+1
...
Description=An expiremental update to a very powerfull car to make it even more powerfull.
...
Dir=data/cars/carnamedir/
[Tracks]
... Something similar but for tracks.

If the same ID is found several times (in two different sources, or in the same source), the user could choose what version it wants to download.
This format could be used for all sources (Ftp/Http/Whatever you want)

The only thing that is svn specific is the Dir. the :1234 at the end represents the svn revision. If not available the car/track isn't listed.


- thelusiv - 08-27-2007

Might make sense to separate the SVN revision number from the directory, unless we plan on having several directories under one listing, which I don't see as necessary. A config file representing all the sources is a good idea though.

I haven't had time to look at this recently and one big problem was that it wasn't working on my 64-bit desktop, so it's hard for me to mess with it, but I'll try it again sometime soon and try to make some contributions.