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 property: MyLanguage::$archive_pages - Line: 2 - File: printthread.php(257) : eval()'d code PHP 8.1.27 (Linux)
File Line Function
/printthread.php(257) : eval()'d code 2 errorHandler->error
/printthread.php 257 eval
/printthread.php 117 printthread_multipage
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
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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
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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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
Warning [2] Undefined array key 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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
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 1 - Line: 866 - File: inc/class_parser.php PHP 8.1.27 (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.27 (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.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
Keyboard settings lost - 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: Keyboard settings lost (/showthread.php?tid=463)

Pages: 1 2


Keyboard settings lost - reece146 - 12-03-2006

I just checked out the latest code with the brake at start fix in it. 1411?

Seems that I have to map my keyboard car control keys everytime I start the program - they don't stay set after quitting.


- joevenzon - 12-03-2006

One of the changes I made recently caused the controls file format to change. I'm not sure why you'd have to re-bind your controls over and over, though... it should be fine after you do it once. Are there are control related messages in the console? Also, try deleting ~/.vdrift/controls and see if that makes it save the controls properly.


- alex25 - 12-03-2006

joevenzon Wrote:One of the changes I made recently caused the controls file format to change. I'm not sure why you'd have to re-bind your controls over and over, though... it should be fine after you do it once. Are there are control related messages in the console? Also, try deleting ~/.vdrift/controls and see if that makes it save the controls properly.

i see the same thing and i started from scratch just to make sure. somehow the first non comment entry in ~/.vdrift/controls ends up being the line "off" (without the quotes) and when you start a new session you lose the settings. i deleted that line and now the setting are persistent across multiple sessions.

--alex--


- reece146 - 12-04-2006

Hmm, odd.

~/.vdrift does not seem to exist...

Created the directory as me:

Code:
chris@monolith<503>~ $ ls -al | grep -i vdrift
chris@monolith<504>~ $ mkdir .vdrift
chris@monolith<505>~ $ ls -al | grep -i vdrift
drwxr-xr-x  2 chris chris       6 Dec  4 09:10 .vdrift/
chris@monolith<506>~ $

If I go into the game and set the controls initially (before hitting "Practice") I can map the keys. Then I go out to the Practice menu and start the session and the keys are gone again.

I have to start the Practice session and then map the keys in order for them to take.

The mappings are not persistent between sessions even after manually creating the .vdrift directory.

Is there something odd about the vdrift user directory structure on Mac OS X? It's "just UNIX" so I am not sure if that is the problem in this case.

I'll sync my copy with the latest and build again later.

Edit: for the record, build 1413 does the same thing.


- pwp71 - 12-04-2006

I try r4013 but something goes wrong. Sad
I lost my setting too and when I try to exit to joystick option menu vdrift crashed (segmentation fault).
I'm investigating about that.
The problem is between r408( work) and 409(crash).
I'm trying to understand if it's a menu problem (there are wings without written "axis deadzone" and "off / %"), configuration files (I've found something about deadzone) or something else (like division by 0).

Have any idea?

pwp71


- joevenzon - 12-04-2006

You guys need to delete your old user 'controls' file. The format of this file has changed in the latest SVN revisions, and the game apparently has problems parsing the file if it's in the old format. So... go delete this file. On Linux it's in ~/.vdrift/controls, but it's in a different spot on the Mac... does anyone know where it is? If you want you can just search your hard drive for "controls" and delete that file.


- alex25 - 12-04-2006

joevenzon Wrote:You guys need to delete your old user 'controls' file. The format of this file has changed in the latest SVN revisions, and the game apparently has problems parsing the file if it's in the old format. So... go delete this file. On Linux it's in ~/.vdrift/controls, but it's in a different spot on the Mac... does anyone know where it is? If you want you can just search your hard drive for "controls" and delete that file.

that's not it. even if you start from scratch there is a stray "off" as the first uncommented line of the controls file. if you delete it, the controls are persistent across multiple sessions. if not, they go away. this is clearly a bug in the new code.

--alex--


- joevenzon - 12-05-2006

So you're saying that if you delete the file, then start VDrift, assign some controls, and exit VDrift, that you end up with an "off" in the controls file that causes problems, and it's only after removing that line manually that things work okay?


- joevenzon - 12-05-2006

Okay, I was able to reproduce this and have fixed it. It's because I forgot to update the data/settings/controls file with the new format, and that keeps getting copied over your old controls file if you delete it. This should be fixed in R1414. You might have to delete your controls file one more time before it works. If there are still problems let me know....


- alex25 - 12-05-2006

joevenzon Wrote:Okay, I was able to reproduce this and have fixed it. It's because I forgot to update the data/settings/controls file with the new format, and that keeps getting copied over your old controls file if you delete it. This should be fixed in R1414. You might have to delete your controls file one more time before it works. If there are still problems let me know....
it works now...

--alex--


- pwp71 - 12-05-2006

also r1414 crash.
The problem is connected with file options.config.
If I use options.config r1408 version in into r1414 , 1414 work

when I change options.config and make scons / scons install, is it correct that changing also other file? (log below)

...
scons: Building targets ...
Install file: "data/settings/options.config" as "/home/game/bin/vdrift/dev/share/games/vdrift/data/settings/options.config"
options_to_cppfile_builder(["po/optionslist.cpp"], ["data/settings/options.config"])
pot_builder(["po/VDrift.pot"], ["src/main.cpp", "src/gui/spinning_car.cpp", "po/guilists.cpp", "po/optionslist.cpp"])
mo_builder(["po/nl.mo"], ["po/nl.po", "po/VDrift.pot"])
Install file: "po/nl.mo" as "/home/game/bin/vdrift/dev/share/locale/nl/LC_MESSAGES/VDrift.mo"
scons: done building targets.
game@linux:~/development/vdrift/working/vdrift>


pwp71


- reece146 - 12-06-2006

Build 1414 still appears b0rked on OSX as well.

Preferences are in ~/Library/Preferences/VDrift

Deleting controls in this directory leads to a new controls file being created with the last line (first non commented line besides "joysticktype joystick off") in the keyboard section containing the word "off"

Deleting this line doesn't seem to help.

Deleting all files in this directory does not seem to help (vdrift recreates).

Resetting the controls in game after deleting the content of the file or even the file itself does not "stick".

Entering the game, setting the controls, then entering the practice menu results in no controls.

???


- joevenzon - 12-06-2006

pwp: run "gdb build/vdrift", and then when the program crashes, type "bt" and paste the result in here. That should print out a backtrace that should help me debug why it's crashing.

reece146: this sounds like exactly the problem that should have been fixed with build 1414. Keep in mind that build 1414 updates the default controls file that gets copied over from the data folder (data/settings/controls), so you're going to have to make sure you've installed the data from 1414 before it will work. Can you confirm that you've done this?


- reece146 - 12-06-2006

joevenzon Wrote:reece146: this sounds like exactly the problem that should have been fixed with build 1414. Keep in mind that build 1414 updates the default controls file that gets copied over from the data folder (data/settings/controls), so you're going to have to make sure you've installed the data from 1414 before it will work. Can you confirm that you've done this?

Yep, I rsync my copy of the svn data to /Applications/Games/VDrift/data each time I make a new build.

I will nuke the directory and start from scratch when I get home this PM though.

Thanks.


- pwp71 - 12-06-2006

This is backtrace:

Note to user: All error messages will be put in /home/game/.vdrift/logs/.
[New Thread 1112157104 (LWP 7114)]
CONFIGFILE::GetParam(): game.num_replays not found in /home/game/.vdrift/VDrift.config
CONFIGFILE::GetParam(): game.selected_replay not found in /home/game/.vdrift/VDrift.config
CONFIGFILE::GetParam(): game.number_of_opponent not found in /home/game/.vdrift/VDrift.config

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1087352800 (LWP 7111)]
0x402bd588 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string ()
from /usr/lib/libstdc++.so.5
(gdb) bt
#0 0x402bd588 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string ()
from /usr/lib/libstdc++.so.5
#1 0x08142371 in VGUI::Wheel<std>::Save (this=0x88978b0) at wheel.h:178
#2 0x0813c742 in VGUI:Tongueage::SaveSettings (this=0x8896810) at page.cpp:1982
#3 0x0813bc22 in VGUI:Tongueage::ExecWidget (this=0x8896810) at page.cpp:1838
#4 0x0813d7f3 in VGUI:Tongueage::MouseReleaseWidget (this=0x8896810, x=0.403750002, y=0.504999995) at page.cpp:2193
#5 0x08123872 in VGUI::Gui::MouseRelease (this=0x86bc500) at gui.cpp:368
#6 0x08056b51 in main (argc=1, argv=0xbffff1e4) at main.cpp:2467
(gdb)

If you need more information let me know.

pwp71

P.S. about trials and so on, maybe is possible that from tomorrow to Sunday I'm not available, in this case cu Monday.