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



Forums
Restart Game - sound errors - 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: Restart Game - sound errors (/showthread.php?tid=474)

Pages: 1 2


Restart Game - sound errors - thelusiv - 12-13-2006

When I pause the game and click "Restart Game" (usually because I'm not catching up with the AI fast enough...) I get the following errors:
Code:
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/cars/M3/engine.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)



- joevenzon - 12-13-2006

What exactly does restart game do? That is, what functions from main.cpp does it call?


- thelusiv - 12-21-2006

It calls ResetWorld( true );


- joevenzon - 12-21-2006

Okay, the problem was that resetworld(true) was doing a selectcar (which deletes and recreates the car) without doing a sound reload. I added this and it should be fixed now (R1449).


- thelusiv - 12-22-2006

Hmmm, I still get:
Code:
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Unable to find the file: /usr/share/games/vdrift/data/cars/XM/interior.joe!
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/cars/XM/engine.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Out of sound sources, can't create new source for buffer /usr/share/games/vdrift/data/sounds/tire_squeal.wav (11)
Unable to find the file: /usr/share/games/vdrift/data/cars/XM/interior.joe!
and no sounds after a restart.


- rigelan - 02-17-2007

Still still seems to be an issue. I am using the current SVN (1542) and sound still isn't respawned when restart game is clicked.


- joevenzon - 02-18-2007

I'll put this on my TODO... but if anyone finds a better open-source cross platform sound library than OpenAL, let me know. A rewrite of the sound class is probably in order, also... it should be higher level and abstract further away from OpenAL.


- thelusiv - 02-19-2007

Our sound code really does need some work. Currently playing with AI, whenever I start to slide there is a big slow down in the game, possibly from trying to allocate sound sources? Obviously it has run out of sound sources, because the player car's engine sound doesn't work (though the AI car sounds do).


- lvcnrs - 04-03-2007

i dnt have sound either but i dont no much bout computers this game seems to have alot of faults


- thelusiv - 04-03-2007

The issues in this post are mostly fixed, though there are other problem with the sound in the last release. Sound stuff should be much better in the next version. We're working on that. Sure the game has plenty of faults, it's a work in progress.


- kidrock - 04-05-2007

Odd I just ran the development version of vDrift and noticed that the only sound is a long vibrating like sound. is this normal??


- abs1nth - 04-05-2007

kidrock Wrote:Odd I just ran the development version of vDrift and noticed that the only sound is a long vibrating like sound. is this normal??

the new sound engine doesn't work yet on PowerPC machines like the iMac G5 you seem to be using


- kidrock - 04-05-2007

Oh ok. how long until it is done? also i just noticed that there isnt even a engine rev sound file in the sounds folder. thought that would have been the problem. thanks anyway.


- thelusiv - 04-05-2007

We'll get it fixed sooner or later, whenever we get to it. Wink

The engine sound lives in the directory of the car it goes with. We used to only have one engine sound but now we have one for each car. Many of them are the same since we don't have a lot of sound samples.


- kidrock - 04-09-2007

Thats good. Hey anyway i can help with the sound issues on ppc machines? tell me what to do and i will do it. i really would like to help with it. either pm me or tell me in this forum. thanks

David Xerri