The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (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.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.28 (Linux)
File Line Function
/inc/class_parser.php 866 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key 1 - Line: 885 - File: inc/class_parser.php PHP 8.1.28 (Linux)
File Line Function
/inc/class_parser.php 885 errorHandler->error
/inc/class_parser.php 938 postParser->mycode_parse_post_quotes
[PHP] postParser->mycode_parse_post_quotes_callback1
/inc/class_parser.php 816 preg_replace_callback
/inc/class_parser.php 451 postParser->mycode_parse_quotes
/inc/class_parser.php 201 postParser->parse_mycode
/printthread.php 179 postParser->parse_message
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.28 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
VDrift doesn't remember my settings - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: VDrift doesn't remember my settings (/showthread.php?tid=635)



VDrift doesn't remember my settings - Ferrari_Guy - 04-20-2007

I have the newest version of VDrift for Mac, and everytime I start it up I have to re-enter the control assignments. It's like it's not recording my settings. Anyone have a solution?


- thelusiv - 04-21-2007

It's possible your controls file has become corrupted for some reason. Could you find it and post it? I can't remember off hand the location of the file on OS X but it's in the same place as your VDrift.config, I think maybe it's in /Users/username/.vdrift/ ...


- Ferrari_Guy - 04-22-2007

#Generated by VDrift, feel free to edit manually

# joystick type: wheel or joystick, touchiness compensation
joysticktype joystick off

# for a joystick button:
# [function name] joy [joystick number] button [button number] [true for not held down, false for held down] [true to trigger when button is pressed, false to trigger when button is released]

# for a joystick axis:
# [function name] joy [joystick number] axis [axis number] [true for positive axis, false for negative axis]

# for a keyboard key:
# [fuction name] key [key name as defined in lists/keys] [true for keys that aren't held down, false for keys that are] [true to trigger when key is pressed, false to trigger when key is released]

reset key r false true
neutral key n true true
first_gear key 1 true true
second_gear key 2 true true
third_gear key 3 true true
fourth_gear key 4 true true
fifth_gear key 5 true true
sixth_gear key 6 true true
reverse key BACKQUOTE true true
disengage_shift_up key w true true
disengage_shift_down key s true true
engage key w true false
engage key s true false
gas key UP false true
brake key DOWN false true
steer_left key LEFT false true
steer_right key RIGHT false true
start_engine key s true true
handbrake key SPACE false true
view_hood key F1 true true
view_incar key F2 true true
view_chaserigid key F3 true true
view_chase key F4 true true
view_orbit key F5 true true
view_free key F6 true true
view_external key F7 true true
view_extfollow key F8 true true
pan_left key KP4 true true
pan_right key KP6 true true
pan_up key KP2 true true
pan_down key KP8 true true
replay_ff key PERIOD true true
replay_rw key COMMA true true
screen_shot key F12 true true
joystick_info key j true true
pause key p true true


- thelusiv - 04-25-2007

Your controls file looks normal. Perhaps the permissions on the file or the folder it's in have been changed so that it's not being written. Or, perhaps there is some strange non-printing character in the file that we can't see that it is choking on (not likely).

You could try deleting the controls file in your .vdrift directory and see if VDrift creates it again next time you start the game. Then try just changing one control, and exit immediately, and see if this change shows up in the controls file.

Another possibility is that VDrift is crashing right before exit and doesn't finish writing the file. Could you try running vdrift from a terminal and see if it reports a Segmentation Fault at exit?


- abs1nth - 04-25-2007

just wanted to note that vdrift uses "~/Library/Preferences/VDrift" on Mac OS X since a few releases. if you still have "~/.vdrift" it is just left over from a very old release and not used.


- abs1nth - 04-25-2007

thelusiv Wrote:Another possibility is that VDrift is crashing right before exit and doesn't finish writing the file. Could you try running vdrift from a terminal and see if it reports a Segmentation Fault at exit?
not necessary. on mac os x all crashes are reported to the user through a dialogue.


- thelusiv - 04-27-2007

So any idea what might have caused the game not to write the settings abs1nth?


- abs1nth - 04-27-2007

nope

but you could try deleting "~/Library/Preferences/VDrift" and see if that makes a difference

the other options are really that vdrift crashed on exit or that you really didn't hit ok but cancel...the dialogue chain to confirm changes is quite long and complex.


- mak77 - 05-11-2007

same problem reported here:
http://vdrift.net/Forum/viewtopic.php?t=682
and here (win vista):
http://vdrift.net/Forum/viewtopic.php?t=591

there is clearly a problem with controls loading


- cf7 - 05-15-2007

I just tested saving the controls I wanted in VDrift, quitting it then seeing if the controls in ~Library/Preferences/VDrift/controls were saved, which they were.
So I reopened VDrift to check and went back to the control setting to see if they where still there and they had reset.
Then I quit VDrift again without saving the reset controls and checked the controls file again and they had been cleared.

So from this I think it can be said the the game is saving the setting upon quitting, but resetting them when the game is opened.

Hope this helps Smile


- thelusiv - 05-15-2007

Thanks for figuring this out, it will help me fix the problem easier. I think I know why it's happening but I haven't had the time to sit down and look at it. I think this might somehow be related to protomor's problem with the mouse sensitivity settings being lost.