The following warnings occurred: | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.27 (Linux)
|
actual config format - Printable Version +- Forums (https://www.vdrift.net/Forum) +-- Forum: Project (https://www.vdrift.net/Forum/forumdisplay.php?fid=4) +--- Forum: Development (https://www.vdrift.net/Forum/forumdisplay.php?fid=9) +--- Thread: actual config format (/showthread.php?tid=1449) |
actual config format - cologne - 03-03-2011 Parsing .car files with a perl-module, i found: Code: include ../../carparts/f1_front Code: [includes] Code: [include.carparts] - NaN - 03-03-2011 I plan is to get rid of them, make includes implicit and look for the referred object in the current and shared directory. - cologne - 03-08-2011 annotation: read .car file in a Perl hash, sending with JSON in a webpage; Javascript using prototype.js ("<!--EVENT..." is a template-placeholder representing the Hash): Code: var dotcar = '<!--EVENT::dotcar:json_dump () /-->'.evalJSON(true); Consider section names with "_" or ":" - NaN - 03-09-2011 The dot in the section name is simply a separator to denote the object hierarchy. I am not so fit with javascript. Are you trying to evaluate section names? - cologne - 03-09-2011 NaN Wrote:The dot in the section name is simply a separator to denote the object hierarchy. I am not so fit with javascript. Are you trying to evaluate section names?Yes. dotcar is a JS object (by prototypejs): Code: dotcar.wheel_fl_brake.area Code: dotcar.wheel.fl.brake.area It´s not a severe problem for me, the workaround was simple. But it demonstrates, that a name (string) is not a hierarchy. Point syntax is often used for this, so another character may be better for a "flat" section name, "_" or ":". - NaN - 03-10-2011 Quote:may be better for a "flat" section namewheel.fl.brake is not a flat name. The fl identifier is meant to be completely arbitrary. To support variable number of wheels. I think I still have the patch to support this. Unfortunately it is written against the unstable(removed) suspension/wheel code. |