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
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
EXCEPTION - character out of range - Printable Version

+- Forums (https://www.vdrift.net/Forum)
+-- Forum: Community (https://www.vdrift.net/Forum/forumdisplay.php?fid=3)
+--- Forum: Help (https://www.vdrift.net/Forum/forumdisplay.php?fid=5)
+--- Thread: EXCEPTION - character out of range (/showthread.php?tid=1049)



EXCEPTION - character out of range - flarre - 01-18-2009

Hello,
I tried to compile VDrift on Ubuntu 8.10. Seems to be OK, but I'm unable to launch the game.
Here's the terminal output :
Code:
fred@choupette:~/apps/vdrift-08-05-08$ ./vdrift
BinReloc successfully initialized.
Executable path: /home/fred/apps/vdrift-08-05-08/vdrift
Data dir: /home/fred/apps/data
Localedir: /home/fred/apps/share/locale
No data_dir found in VDrift.config, using /home/fred/apps/data
/home/fred/apps/data/settings/VDrift.config not found. Attempting to load data from /home/fred/apps/vdrift-08-05-08/data
Found config file /home/fred/.vdrift/controls.config.
Found config file /home/fred/.vdrift/VDrift.config.
No data_dir found in VDrift.config, using /home/fred/apps/vdrift-08-05-08/data
Version of game: development-full
Skin name not found in config file...
/home/fred/apps/share/locale
Directory /home/fred/apps/vdrift-08-05-08/data/skins/SConscript/menus does not exist! Skin SConscript not loaded.
Run with -verbose for troubleshooting.
Run with -nosound to disable sound.
Run with -benchmark to play a replay and output benchmark data.
1 joystick(s) found:
    0. Logitech Logitech RumblePad 2 USB
Card supports: drawbuf4 auxbuf4 antialiasing anisotropy16 cubemapping shaders multitexturing16(4) texture_rectangle depth_texture shadow framebuffer_objects
Card does not support:
Status: Using GLEW 1.5.0
Obtained audio device:
Frequency: 44100
Format: 32784
Bits per sample: 16
Channels: 2
Silence: 0
Samples: 512
Size: 2048

EXCEPTION: src/font.cpp, line 202:  Character out of range: � (-61)
It just show the black screen with turning wheel and the next one (title & logos), and crashes.


- thelusiv - 01-18-2009

Try compiling with NLS=off.


- flarre - 01-18-2009

sorry, the output is the same after "scons NLS=off"


- rep - 01-19-2009

hello, I had the same problem and 'solved' it by commenting the lines 198 to 204 of <VdriftFolder>/src/fonts.cpp
like this :

Code:
    /* if (c <0> 96)
    {
        stringstream err;
        err << "Character out of range: " << curchar << " (" << (int) curchar << ")" << endl;
        throw EXCEPTION(__FILE__, __LINE__,err.str());
        return 0.0;
    }*/



- flarre - 01-19-2009

That's ok, but is this test important ? wasn't it of any use ?
anyway I can try VDrift !

Thanks everybody for the help...


- rep - 01-19-2009

I don't know if it is very important, but the good thing is I can play it now :]
and since yesterday it didn't crash and/or bugs...


- joevenzon - 01-19-2009

I'll try to make sure that doesn't happen for the next release. Thanks for the info.