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
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
This replay causes NaN in origin vector - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Bugs (https://www.vdrift.net/Forum/forumdisplay.php?fid=7)
+--- Thread: This replay causes NaN in origin vector (/showthread.php?tid=390)



This replay causes NaN in origin vector - thelusiv - 11-02-2006

http://clemsonlinux.org/~thelusiv/86.vdr <--- right-click, save as, put in your ~/.vdrift/replays/ directory.

The track is Spa-Francorchamps, the car is the XS. This replay should work on the 2006/10/02 version of the game, but if you don't have SVN, you need to rename it to 1.vdr or you won't be able to start it.

This replay doesn't actually have the NAN in it, but it can be reproduced very easily:
  • Start the replay by selecting it in the menu Replays menu, and clicking Start
  • Skip ahead about 1:20. I think the default control for this is "." so press that 12 times (to find out what you have bound to Replay Skip Ahead look in Options -> Controls -> Assign Controls -> Game Controls). This will put you just before the starting line going very fast. The replay will be about to end (around 95% complete).
  • Now, before the replay ends, hold your controls so that the gas is at maximum, and steer all the way to the left as far as you can go. It may make a difference that I'm using Speed Sensitive Lo setting for Touchiness Compensation option in Options -> Controls (SVN), Options -> Controls -> Joystick (10-2).
That's it. As the replay completes, the car will hit the right wall near the starting line. When this happens you should see "NaN detected in origin vector" printed on your console one time and then go to the Simulation Error menu (SVN), or in 10-2 the game will just hang and print NaN errors on the console over and over....


- joevenzon - 11-02-2006

I'll have to try this out over the weekend.


- thelusiv - 11-03-2006

Correction: After looking at some of the replay code tonight you'll need the SVN version of VDrift to play this replay, as that's what I made it with.