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 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 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 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 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



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


- rookie1 - 04-05-2007

kidrock Wrote:For example if you exceed 90 degrees for over 5 seconds it is
counted as a spin out so points are not rewarded.

It's already in the code. As long as the angle exceeds 90 degrees, it's considered a spin out and the drift score is not counted. Very unlikely one can recover from a drift that's more than 90 degrees.

thelusiv Wrote: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.

If the player can start a drift within 5 or 10 seconds of coming back on track, why not? I think your issue is with only a short length of drift. Maybe we should add a rule that if the base drift score is less than 5, it will not be counted. How's that sound?

thelusiv Wrote: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.

hmm, I think I can modify the rule such that if only 1 wheel is off track, the car is still considered on track. However, I'm not sure about 2 wheels off track. If 2 wheels are off , I would think the car is off quite a bit already. Anyway this should be easily adjustable as we do more play testing.


- rookie1 - 04-05-2007

I went ahead and made the change (r1678).


- kidrock - 04-05-2007

I have been able to recover from over 90 degrees a couple of times especially if im in the tc so i still think that it should be for a time limit rather then for everything over 90 degrees


- thelusiv - 04-05-2007

I agree rookie1, I'll check out your changes later. The reason I think penalizing leaving the track is good, is that in most kinds of serious racing competition, if you leave the track you are disqualified at least for that race session...in a drifting competition I think courses are mostly set up with cones, so the equivalent would be running over cones, and that would probably also lead to disqualification. Thus penalizing the player by not scoring for several seconds after leaving the track doesn't seem so drastic to me. Anyway, I think we want to encourage players to stay on the track, and discourage them from going off track as an easy way to lose traction and start into a drift. Like I said, I can get off the track, blast through 1st gear and hit 2nd with the wheels still spinning. Then I'm fast enough to be over the 10 m/s limit, and I'm already drifting, but I'm not really drifting, just faking it by burning rubber.

kidrock, are you sure you really went over 90 degrees? 90 degrees means the car is totally sideways, and over that would mean that the rear end of the car is further ahead of the front end in terms of the direction it's traveling in.

On that note, rookie1, why not add some text next to the score that pops up during scoring telling the angle of the drift (in degrees)?


- joevenzon - 04-05-2007

Quote:I think we want to encourage players to stay on the track, and discourage them from going off track as an easy way to lose traction and start into a drift.

I'm not so sure... that's actually a drifting technique ("dirt drop"):

http://en.wikipedia.org/wiki/Drifting_%28motorsport%29#Other_techniques


- thelusiv - 04-06-2007

Well as I said before, I'd define "off track" as 3 or 4 wheels off, and "on track" as 2 or less wheels off track.
SVN log Wrote:Revision 1678 - Directory Listing
Modified Thu Apr 5 15:05:24 2007 UTC (15 hours, 5 minutes ago) by rookie1

Change to drift scoring rules
1. Do not count score from short drifts
2. Consider the car on track if more than 2 wheels are on track

I think this is too few allowed. Any two adjacent wheels should be allowed (fronts off, either side off, or rears off). Diagonal pairs wouldn't really make any sense. Big Grin


- rookie1 - 04-06-2007

I've relaxed the on track rule to allow 2 wheels off track. The max drift angle (in degrees) is displayed during a drift, just behind the drift score.


- thelusiv - 04-06-2007

Looks good thanks. Smile

Playing around with the Z06 on Jarama, I can pull off some pretty wicked drifts now. The scoring encourages me to try to drift more, and I'm getting better at it slowly. Control settings are 0% speed steering, 200 degree mode off, ABS & TCS off.

I'm still able to rack up lots and lots of points basically doing burnouts in 2nd and 3rd gear on the straights. Basically just floor it, drop it in 2nd gear, and counter steer when the car starts to do a donut. Keep fighting it until you get going good, and straighten out, and it will count it as a drift with lots of points. You can hold it that way for a lot longer since you don't actually have to turn. Smile


- joevenzon - 04-06-2007

Here are some interesting links:

http://en.wikipedia.org/wiki/Drifting_%28motorsport%29#Drift_competition

and

http://en.wikipedia.org/wiki/DriftBox

So there is still room for improvement. I do like the drift scoring system that's in SVN now, though... it's a very good first cut.


- kidrock - 04-08-2007

Odd! when i tried to compile vdrift after updating it doesnt work. for some reason i get 21 errors and they are all related to this. these are all the errors i get
Code:
World.cc:1047: error: expected primary-expression before '<<' token
World.cc:1047: error: expected primary-expression before '.' token
World.cc:1047: error: expected primary-expression before '<' token
World.cc:1047: error: expected primary-expression before '<<' token
World.cc:1047: error: expected primary-expression before '<<' token
World.cc:1048: error: expected `;' before 'bool'
World.cc:1050: error: expected primary-expression before '=' token
World.cc:1050: error: expected primary-expression before '==' token
World.cc:1050: error: expected primary-expression before '==' token
World.cc:1050: error: expected primary-expression before '==' token
World.cc:1051: error: expected `;' before 'bool'
World.cc:1051: error: expected primary-expression before 'bool'
World.cc:1053: error: expected primary-expression before '.' token
World.cc:1053: error: expected primary-expression before '>' token
World.cc:1053: error: expected primary-expression before '>>' token
World.cc:1053: error: expected primary-expression before '>>' token
World.cc:1053: error: expected primary-expression before '>>' token
World.cc:1055: error: expected `;' before 'Vamos_Geometry'
World.cc:1056: error: 'car_orientation' was not declared in this scope
World.cc:1066: error: 'on_track' was not declared in this scope
World.cc:1099: error: 'on_track' was not declared in this scope
any help???


- rookie1 - 04-08-2007

You have a conflict between your local copy of World.cc and the svn copy. Did you make any modification to World.cc?


- kidrock - 04-08-2007

no i didnt. but at one point i had downloaded a it directly fom the svn instead of using the update command.

EDIT: I fixed it by deleting the world folder and then updating again. thanks for your help.