1. If you have a problem and need help, create a new thread with a title that briefly describes the problem.
    Do not use titles like 'Help!' or 'I have a problem!'
    Dismiss Notice
  2. Hey Guest, is it this your first time on the forums?

    Visit the Beginner's Box

    Introduce yourself, read some of the ins and outs of the community, access to useful links and information.

    Dismiss Notice

Floating Point Exception

Discussion in 'General Help' started by thrak, May 27, 2012.

  1. thrak

    thrak Catapult Fodder

    Messages:
    3
    Hi everyone!

    I bought the full version of KAG off desura and I'm unable to run the game at all. I have downloaded the tar.gz separately, so I'm no using the desura scripts (those dont work either, anyway).

    Anyway, after hitting "Play" from the launch window, the entire thing crashes after throwing a "Floating point exception". The console log is posted below, and immediately after the last line I receive the exception.

    I have attempted this on two different systems, both Arch Linux, one 64bit and the other 32bit. Both systems have the same issue. Also, ldd doesn't report any missing dependencies.

    Code:
    [19:46:00] Config loaded from 'Scripts/autoconfig.gm'
    [19:46:00] Variable g_sort has NULL type
    [19:46:00] Variable m_generator has NULL type
    [19:46:00] Variable auth_remember has NULL type
    [19:46:00] * Config loaded from 'Scripts/config.gm'
    [19:46:00] Loading security from Base/Scripts/securitysetup.cfg
    [19:46:00] Whitelist inactive.
    [19:46:00] Blacklist empty.
    [19:46:00] Variable v_showminimap has NULL type
    [19:46:00] Variable v_postprocess has NULL type
    [19:46:00] Variable v_fastrender has NULL type
    [19:46:00] Variable v_drawhud has NULL type
    [19:46:00] Variable g_smallhud has NULL type
    [19:46:00] Variable g_fixedcamera has NULL type
    [19:46:00] Creating video device...
    [19:46:00] Desktop resolution is 1280x800
    [19:46:00] Checking driver support...
    [19:46:00] Initializing new video device...
    [19:46:00] Irrlicht Engine version 1.8.0-alpha
    [19:46:00] Linux 3.3.7-1-ARCH #1 SMP PREEMPT Mon May 21 22:39:59 UTC 2012 i686
    [19:46:00] Using renderer: OpenGL 3.3.0
    [19:46:00] GeForce 8600M GT/PCIe/SSE2: NVIDIA Corporation
    [19:46:00] OpenGL driver version is 1.2 or better.
    [19:46:00] GLSL version: 3.3
    [19:46:00] Variable cc_key_team has NULL type
    [19:46:00] Variable cc_killfeed has NULL type
    [19:46:00] Variable u_showpremium has NULL type
    [19:46:00] Variable u_agreedterms has NULL type
    [19:46:00] The amount of upper corner pixels and the lower corner pixels is not equal, font file may be corrupted.
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/arrow_cursor.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/backtitle.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/title.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/Poster.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/minimap.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/hud_back.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/materials.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/paper_tiles.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/blockmenu.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/button.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/whitebutton.png
    [19:46:00] Loaded texture: /home/morgan/GAMES/KAG/kag_x/Base/GUI/PartySelection.png
    [19:46:00] Variable s_system has NULL type
    [19:46:00] Sound engine started
    [19:46:00] Variable s_showmixer has NULL type
    [19:46:00] Variable s_metronome has NULL type
    [19:46:00] Variable s_beatticks has NULL type
    [19:46:00] Variable s_mood has NULL type
    [19:46:00] Variable s_gamemusic has NULL type
    [19:46:00] Variable s_ambientmusic has NULL type
    [19:46:00] Variable s_menumusic has NULL type
    [19:46:00] Variable sv_require_auth has NULL type
    [19:46:00] Variable sv_gold_only has NULL type
    [19:46:00] Variable sv_allow_globals_mods has NULL type
    [19:46:00] Variable sv_deltapos_modifier has NULL type
    [19:46:00] Variable sv_compression has NULL type
    [19:46:00] Variable sv_fastdeltas has NULL type
    [19:46:00] Variable cl_clantag has NULL type
    [19:46:00] Variable cl_sex has NULL type
    [19:46:00] Variable cl_head has NULL type
    [19:46:00] Variable cl_hat has NULL type
    [19:46:00] Variable sv_maxhack_warnings has NULL type
    [19:46:00] Variable sv_alloweditor has NULL type
    [19:46:00] Variable auth_key has NULL type
    [19:46:00] Precaching files...
    [19:46:00]  ...Precaching files.
    [19:46:00] Loading config defines Scripts/defines.cfg
    [19:46:00] Creating world from file ''
    [19:46:00] Config file not found 'Scripts/NameGen_OldEnglish.cfg'
    [19:46:00] Loading names from Scripts/NameGen_OldEnglish.cfg...
    Here is a gdb backtrace of the exception

    Code:
    Program received signal SIGFPE, Arithmetic exception.
    0xb4b611ff in CNameGenerator::CNameGenerator(char const*, int) ()
      from Base/libJuxta.so
    (gdb) bt
    #0  0xb4b611ff in CNameGenerator::CNameGenerator(char const*, int) ()
      from Base/libJuxta.so
    #1  0xb4b77cdd in CWorldTask::CWorldTask() () from Base/libJuxta.so
    #2  0xb48dbf77 in CGame::CreateNewWorld(char const*) () from Base/libJuxta.so
    #3  0xb4926534 in gmNewWorld(gmThread*) () from Base/libJuxta.so
    #4  0xb492f795 in gmThread::PushStackFrame(int, unsigned char const**, unsigned char const**) () from Base/libJuxta.so
    #5  0xb49305ac in gmThread::Sys_Execute(gmVariable*) () from Base/libJuxta.so
    #6  0xb4931ea4 in gmMachine::ExecuteString(char const*, int*, bool, char const*, gmVariable*) () from Base/libJuxta.so
    #7  0xb491d056 in CScript::RunFile(irr::core::string<char, irr::core::irrAllocator<char> >) () from Base/libJuxta.so
    #8  0xb490afd9 in CGame::Run(int, char**) () from Base/libJuxta.so
    #9  0xb490bf74 in GameDLLInit () from Base/libJuxta.so
    #10 0x0805a232 in ?? ()
    #11 0x0805a833 in ?? ()
    #12 0x08059ac6 in ?? ()
    #13 0xb7a2d3d5 in __libc_start_main () from /lib/libc.so.6
    #14 0x0804ec01 in ?? ()
    thanks for your help!
    </br>--- merged: May 27, 2012 8:21 PM ---</br>
    Also, the free version of the game does work.
     
  2. hemebond

    hemebond Builder Stabber

    Messages:
    1
    The file Base/Scripts/NameGen_OldEnglish.cfg is missing. I copied it from another install and it worked.
     
  3. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    This is the fix for windows. Unzip this in the right directory, I don't know what directories linux is using.
     

    Attached Files:

  4. thrak

    thrak Catapult Fodder

    Messages:
    3
    I Copied the NameGen_OldEnglish.cfg from the free version and it's working, thanks for the help.

    However, the game sees the full version as the free version; the alpha advertising is still on the main menu and I can't start a single player Zombie match (says I need full version).

    Any ideas on this one?
     
  5. Downburst

    Downburst Mindblown Global Moderator Forum Moderator Donator Tester

    Messages:
    1,813
    Use your Desura CD key at your kag2d profile.

    Log in at kag2d.com and activate your premium
     
  6. thrak

    thrak Catapult Fodder

    Messages:
    3
    Thank you Downburst!