The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.1.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (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.31 (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.31 (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.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.1.31 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



Forums
Drifting - 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: Drifting (/showthread.php?tid=595)

Pages: 1 2


Drifting - rookie1 - 04-01-2007

I've added a drift score into Practice Game mode (r1666). You can practice your drifting and keep score now ! Smile

Currently the scoring system is quite simple. Take a look at Vamos_World::World::update_drift_score(). Suggestions to improve the scoring system are welcome.


- pwp71 - 04-01-2007

Very good. Big Grin Big Grin Big Grin .

One idea could be, more time without interruption you stay in drifting more point you earn, like exponential or with other factor

Ex: if I'm able to do entire curve drifting I gain 1000 points, if I do same curve drifting two time I gain only 700 points (not 500 and 500).

Another Ex: I stay in drifting mode without interruption:
1 sec: 100 points
2 sec: not 200 but 250 points
3 sec: not 300 or 350 but 400 points
...

It's more difficult stay in drifting mode for long time.

pwp71


- rookie1 - 04-01-2007

I've modified the scoring computation to award more points to longer drifts. It now increases exponentially with the drift length. Try it and let me know whether it's better now.


- abs1nth - 04-01-2007

great!
one small improvement: if you leave the track the current score shouldn't get added to the total score.


- thelusiv - 04-02-2007

I played with this tonight and it's a good start, but needs some tuning to prevent false positives. Scoring should be canceled if the car is stopped mid-drift (basically it's not drifting, it's spinning out). The drift score should not be tallied at all when car is in reverse. I accumulated a score over 100000 in reverse alone. Smile There should also be a minimum speed for starting a drift, to make sure scoring isn't happening when the player is just doing a burnout with the wheels cranked to the side.


- rookie1 - 04-02-2007

I've updated the drift scoring base on the comments given. Now the score will not be added to the total score if the car is off track or spins out during drift. Also the scoring will only start if the speed is above 10 m/s.

Try it again and let me know how it feels.


- thelusiv - 04-02-2007

Those improvements work well. Thanks. There are still maybe some times where I can hold a drift for a second, and then roll off the road to the side. It still scores then. It's hard to test though.


- rookie1 - 04-03-2007

thelusiv Wrote:There are still maybe some times where I can hold a drift for a second, and then roll off the road to the side. It still scores then. It's hard to test though.

I think that's because the drift has ended just before you slide off track. I've made another change to the scoring. Now the drift scoring starts when the angle is more than 0.2 radian (11.5 degrees), ends when less than 0.1 radian (5.7 degrees). Before this change the scoring starts/ends at both 0.2 radian. Hopefully the change can catch such scenarios better.


- kidrock - 04-03-2007

How do i get this to work??? I downloaded the header file but where do i place it??? can someone please explain?


- thelusiv - 04-03-2007

In order to use the drift scoring you have to download and compile for yourself the VDrift development version: http://wiki.vdrift.net/index.php/Getting_the_development_version


- kidrock - 04-03-2007

sweet. i would much rather have the development version since i am well- a (proud) computer nerd!downloading now! Big Grin Big Grin Big Grin


- thelusiv - 04-03-2007

Great, you might also want to look at the OS X section the Compiling page on the wiki: http://wiki.vdrift.net/index.php/Compiling#OS_X


- rookie1 - 04-04-2007

Just committed another update to drift scoring. Now additional bonus points are awarded base on the max drift angle and max drift speed during a drift.


- kidrock - 04-04-2007

That sounds good. Maybe you should make it that if you pass a certain angle for over a certain amount of time then points are not awarded for the drift. For example if you exceed 90 degrees for over 5 seconds it is counted as a spin out so points are not rewarded.


- thelusiv - 04-05-2007

This keeps getting better. However a few times I have been scored for a few points if, for instance I am coming on track with the wheels spinning in 1st, then hit 2nd gear on the road and this throws the back end out a little...so perhaps there's a way you can not allow the player to be scored for a drift within 5 or 10 seconds following them being 4-wheels-off the track.

Speaking of wheels off the track, I would say that the bump strips do not count as off track since a lot of times drifts are made using these or similar gutter pieces in the road...at least we should not count 1 or 2 wheels off as off track, however 3 off is hard to imagine, and 4 off should definitely not be scored.