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
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
Player Profiles - 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: Player Profiles (/showthread.php?tid=351)



Player Profiles - thelusiv - 09-05-2006

The next thing I think I'll dive into is player profiles. Before I start I guess it's best to think about what the profiles will include. I'll lay out my ideas simply and if anyone else has comments they can post what they think.

First off, I think profiles will be managed through a new menu page under Options called Players. The data I think should be associated with the profile:
player's name
game credits ("money")
default car
unlocked tracks
player's web site username (to be used later...)
...other stuff?

Thoughts:
TORCS includes the control configuration as part of the player profile. I always found this confusing. However it would be nice to be able to make controls profiles. What do you think? For that matter should other options be specific to a profile, or should they stay "global" (affect all players)? For instance Joystick Calibration should be global, but different players might want different Joystick Sensitivities...


- joevenzon - 09-05-2006

Some thoughts:

Camera mode -- should this be in the profile?

A record of best times or scores would be nice.

Associating replays with the player would be cool, too.


Also, once you've got an idea of what you want to do and how you want to do it, run the class structure and file formats by me -- I'll provide input. :-)


- thelusiv - 09-06-2006

I was just going to use another configfile formatted file for the profile - one file per player, in ~/.vdrift/profiles/###.profile where ### is the ID# of the profile (ID#s will just start at 0 and increment for every new profile). This way sorting the profiles is easy. Replays and scores will of course be saved here too but the profile itself must come first.

The Camera mode option kind of falls under a "Game Options" menu I've been thinking about adding (we don't have one now). Perhaps the game options should be associated with the player.

As for controls, I've been thinking about this. TORCS makes you set all the controls under the player profile. Why not leave the controls in the menu where they are, and allow the player to create control profiles by saving the current control setup as a profile, or loading another profile.


- joevenzon - 09-06-2006

So the controls would have profiles independent of the player profiles? I think that's the way to go.

Also, why not use the following for the profile files:
~/.vdrift/profiles/###/profile

that way you could later add replays, car tunings, etc under that subdir.