1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. 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
  3. 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

Cant launch the game

Discussion in 'General Help' started by Skurcey, Apr 4, 2012.

  1. Skurcey

    Skurcey Catapult Fodder

    Messages:
    86
    i have execute and read and write privileges on the directory and on KAG.
    I managed to get an update with ./nolauncher.sh
    but now, before beeing terminated, it say:
    ./nolauncher.sh: line 5: 5829 segmetation error ./KAG nolauncher

    and ./rungame.sh: downloading http://blabla/version.txt
    CURL Error: 42 0
    Error downloading checksum version.txt (err 42)
     
  2. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    I have the similar issue under Fedora 16 x86_64. Full log:
    Code:
    $ ./rungame.sh
    Running KAG
    mv: cannot stat `KAG.tmp': No such file or directory
    PID: 9877
    Starting in directory: /home/alex/tmp/kag_x
    Changed directory to: /home/alex/tmp/kag_x/
    Engine (build: 345 version: 0.95A)
    Creating video device...
    Irrlicht Engine version 1.8.0-alpha
    Linux 3.3.0-8.fc16.x86_64 #1 SMP Thu Mar 29 18:37:19 UTC 2012 x86_64
    No doublebuffering available.
    Fatal error, could not get visual.
     
    Downloading checksums from http://kag2d.com/update/kag_x/App/version.txt
     
    Downloading http://kag2d.com/update/kag_x/App/version.txt...
     
    CURL Error: 42 0
    Error downloading checksum from http://kag2d.com/update/kag_x/App/version.txt (err:42)
     
     
    Downloading checksums from http://kag.hostedd.com/kag_x/App/version.txt
     
    Downloading http://kag.hostedd.com/kag_x/App/version.txt...
     
    CURL Error: 42 0
    Error downloading checksum from http://kag.hostedd.com/kag_x/App/version.txt (err:42)
     
    THE END
    $
    According to curl documentation:
    That confuses me even more :-) I can provide dump of tcp session if needed. I tried to download those files with wget and it was successful.
     
  3. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Interesting. Unfortunately I don't know how MM is using curl for the autoupdate functionality - but I'm glad that workaround got you playing
     
  4. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    Not really. I can play under Ubuntu but that problem happens under Fedora x86_64. And the interesting part is that ldd output is different. I can dump strace or ltrace log if that can help.
     
  5. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    yeah, 64-bit is a whole different animal. Do you have ia32-libs installed (I'm guessing so, otherwise I don't think you would have even gotten the binary to run)

    Hopefully within the next few months we'll have .deb and .rpm packages for various debian-alike and RHEL-alike distros and versions.
     
  6. Skurcey

    Skurcey Catapult Fodder

    Messages:
    86
    Yes, this lib is installed (i think it s an obligation for a lot of stuff)
     
  7. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    Just tried under fedora 16 x86. Game started but did not autoupdated - got curl error 28. Probably that's something fedoraspecific.
     
  8. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    http://curl.haxx.se/libcurl/c/libcurl-errors.html

    code 28 is timeout, can you post the console logs from this failure?

    Also if you try "telnet kag2d.com 80" please post the output of that when it connects or times out (everything from you typing the command onward)
     
  9. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    That's a remote machine and now it's offline (will get it at Friday). I tried to download the file with wget and it was successful. I'll try once more and will be able to dump whple http session with wireshark.
     
  10. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Dumping to wireshark would be awesome. If you put a filter on it, please make sure that it includes IPv4 and IPv6, and port 80 as well as 443. and dns.

    Ideally don't use a capture filter, and just try to make sure all other programs are closed. If you are able to reproduce the timeout with wireshark running, please save it to a pcap and you can e-mail the file to me so I can look.
     
  11. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    Just tried under fedora 32bit, works perfectly! The game autoupdated and ran smooth as usual!

    Fedora 64bit has the same problem (curl error 42).
     
  12. anonymous

    anonymous Shipwright

    Messages:
    4
    So, recently i've moved to x86_64 and now i'm stuck with similar bug.
    Here is log : http://ix.io/2j0
    And wireshark dump file is attached.
    Thx.
     

    Attached Files:

  13. th0br0

    th0br0 Catapult Fodder

    Messages:
    1
    I am running 64bit Fedora (17) with a NVIDIA GPU After installing xorg-x11-drv-nvidia-libs.i686, KAG started working fine.
    Initially, however, I was getting the same error which wasn't caused by curl but rather by Irrlicht failing
    (see the "No doublebuffering available, Fatal error ...") which then caused the curl thread to shut down, too -- resulting in this error.
    So, make sure that your OpenGL libraries etc are installed for 32bit, too, when running KAG on a 64bit system.

    Besides, are you aware that you seem to be violating the libcurl license terms?
    I can not find a copy of the license shipped with KAG (http://curl.haxx.se/docs/copyright.html) ?!
     
    FarmerJohn and trelawney like this.
  14. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
    Thanks, I'll make sure we distribute the lib/curl license starting with the next update
     
  15. FliesLikeABrick

    FliesLikeABrick THD Team THD Team Administrator Global Moderator

    Messages:
    952
  16. FarmerJohn

    FarmerJohn Bison Rider

    Messages:
    21
    Thank you, that helped.
     
  17. jmfragadv

    jmfragadv Catapult Fodder

    Messages:
    1
    Hello everybody. Just thought it would be a good idea to share my workaround. This is for people with amd64 debian derivatives mounting nvidia cards and with x64 nvida drivers installed. If that's you, just run:

    Code:
    sudo aptitude install nvidia-glx-ia32
    That should get you up and running.

    See you around.
     
    Downburst likes this.