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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 28 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
/showthread.php 103 forum_permissions
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
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 1439 fetch_forum_permissions
/inc/functions.php 3077 forum_permissions
/showthread.php 661 build_forum_jump
Warning [2] Undefined array key "mybb" - Line: 2121 - File: inc/functions.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions.php 2121 errorHandler->error
/inc/functions_indicators.php 41 my_set_array_cookie
/showthread.php 669 mark_thread_read
Warning [2] Undefined variable $postsdone - Line: 906 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 906 errorHandler->error
Warning [2] Undefined array key 11302 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11303 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11304 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11310 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11312 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11315 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11319 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11320 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11338 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11340 - Line: 912 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 912 errorHandler->error
Warning [2] Undefined array key 11302 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11303 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11304 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11310 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11312 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11315 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11319 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11320 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11338 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key 11340 - Line: 1643 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1643 errorHandler->error
/showthread.php 924 buildtree
Warning [2] Undefined array key "profilefield" - Line: 6 - File: inc/functions_post.php(484) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(484) : eval()'d code 6 errorHandler->error
/inc/functions_post.php 484 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "canonlyreplyownthreads" - Line: 672 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 672 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "showimages" - Line: 768 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 768 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "showvideos" - Line: 773 - File: inc/functions_post.php PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php 773 errorHandler->error
/showthread.php 925 build_postbit
Warning [2] Undefined array key "posttime" - Line: 9 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 9 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "avatar_padding" - Line: 19 - File: inc/functions_post.php(906) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/inc/functions_post.php(906) : eval()'d code 19 errorHandler->error
/inc/functions_post.php 906 eval
/showthread.php 925 build_postbit
Warning [2] Undefined array key "invisible" - Line: 1568 - File: showthread.php PHP 8.1.27 (Linux)
File Line Function
/showthread.php 1568 errorHandler->error
Warning [2] Undefined variable $threadnotesbox - Line: 33 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 33 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $multipage - Line: 36 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 36 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $multipage - Line: 68 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 68 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $addremovesubscription - Line: 82 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 82 errorHandler->error
/showthread.php 1600 eval
Warning [2] Undefined variable $thread_deleted - Line: 104 - File: showthread.php(1600) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/showthread.php(1600) : eval()'d code 104 errorHandler->error
/showthread.php 1600 eval




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parser rewrite. Need Feedback!
09-23-2010, 06:21 AM,
#1
Parser rewrite. Need Feedback!
I've been working on the parser to have a more data driven car setup. See http://vdrift.net/Forum/viewtopic.php?t=1351 and http://vdrift.net/Forum/viewtopic.php?t=1378. The syntax is very much shader parser alike(will be merged) having sections and name value pairs. I've separated value pairs (damper-speed, damper-factor) to keep the syntax simple.

Code:
[aerodevice]
name = rear-wing
position = 0.0 -2.14 0.37
frontal-area = 0.05
drag-coefficient = 0.0
surface-area = 0.5
lift-coefficient = -0.7
efficiency = 0.95

[coilover]
name = front
travel = 0.19
anti-roll = 800.0
spring-constant = 49131.9
bounce = 2600
rebound = 7900
damper-speed  = 0.06 0.08 0.10 0.20 0.50 1.00 5.00
damper-factor = 1.20 1.10 1.00 0.90 0.50 0.30 0.10

[coilover]
name = rear
travel = 0.19
anti-roll = 600.0
spring-constant = 51137.3
bounce = 2700
rebound = 8100
damper-speed  = 0.06 0.08 0.10 0.20 0.50 1.00 5.00
damper-factor = 1.20 1.10 1.00 0.90 0.50 0.30 0.10

An alternative would be:
Code:
damper-factor = 0.06,1.20 0.08,1.10 0.10,1.00 0.20,0.90  0.50,0.50 1.00,0.30 5.00,0.10
or:
Code:
damper-factor = 0.06:1.20 0.08:1.10 0.10:1.00 0.20:0.90  0.50:0.50 1.00:0.30 5.00:0.10
or:
Code:
damper-factor = 0.06=1.20 0.08=1.10 0.10=1.00 0.20=0.90  0.50=0.50 1.00=0.30 5.00=0.10

I'd prefer to keep them separated. What do you think?
Reply


Messages In This Thread
Parser rewrite. Need Feedback! - by NaN - 09-23-2010, 06:21 AM
[No subject] - by cologne - 09-23-2010, 06:54 AM
[No subject] - by NaN - 09-23-2010, 07:30 AM
[No subject] - by NaN - 09-24-2010, 07:45 AM
[No subject] - by cologne - 09-24-2010, 05:46 PM
[No subject] - by NaN - 09-25-2010, 05:43 AM
[No subject] - by cologne - 09-25-2010, 03:51 PM
[No subject] - by NaN - 09-25-2010, 05:12 PM
[No subject] - by NaN - 09-30-2010, 02:24 PM
[No subject] - by NaN - 09-30-2010, 03:39 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)