Results 1 to 5 of 5

Thread: [S_API FAIL] SteamAPI_Init() failed;

  1. #1
    Registered Member
    Join Date
    May 2011
    Posts
    19

    Default [S_API FAIL] SteamAPI_Init() failed;

    hy!

    I've installed cpgs
    updated to v 0.7.4
    use wisard to install game server
    load it on cpanel
    result-->game not update
    so i update it using "./steam -command update -game "Counter-Strike Source" -dir ."
    result--->the game is shown not vac secure and couldn't connect
    cpanel log --->
    [Mon May 9 22:18:30 2011] Launching server with the following commandline:
    # /home/legacy/.gameservers/cstrikesrc_0/orangebox/srcds_linux -dir /home/legacy/.gameservers/cstrikesrc_0/orangebox -game cstrike +maxplayers 32 +ip xxx.xxx.xxx +port 27030 +exec server.cfg +map cs_office -tickrate 66 -nohltv -tvdisable

    Using breakpad crash handler
    Setting breakpad minidump AppID = 240
    Forcing breakpad minidump interfaces to load
    Forcing breakpad minidump interfaces to load
    [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient.dll. Continuing with current version anyway.
    [S_API FAIL] SteamAPI_Init() failed; unable to locate a running instance of Steam, or a local steamclient.dll.

    """"""""""""""""""""""""""
    if someone could help me ,,, -_-

    (if i start the server using "srcds_run" instead of "srcds_linux" ,,,well it works -_- ' )
    Last edited by skalp; 05-09-2011 at 03:58 PM.

  2. #2
    Registered Member
    Join Date
    Feb 2006
    Location
    Australia
    Posts
    10

    Default Re: [S_API FAIL] SteamAPI_Init() failed;

    Hey skalp,

    Open up /var/cpanel/games/cstrikesrc/cstrikesrc.pm and find:
    Code:
    $launchrc{'ld_library_path'} = '.:orangebox/bin';
    and replace with this:
    Code:
    $launchrc{'chdir'} = "$home/.gameservers/$gd\_$srvn/orangebox/";
    $launchrc{'ld_library_path'} = '.:bin';
    Then restart the cPGS daemon.

    The orangebox version of CSS requires that it be started from the orangebox directory otherwise you get the unable to locate a running instance of steam error (which leads to it running in sv_lan 1 mode which is the class C error you get if you try to join). Darren fixed up the srctv.pm file for the srctv server, but didn't put it in the cstrikesrc.pm...
    Jayson

  3. #3
    Registered Member
    Join Date
    May 2011
    Posts
    19

    Default Re: [S_API FAIL] SteamAPI_Init() failed;

    thanks !
    i'll test it as soon as i resolve my new little problem ^^
    (i've uninstalled cpgs,,,thn install it,,but could'nt upgrade to 0.7.4 ,,i'm checking the forum for answers ^^

  4. #4
    cPanel Staff
    Join Date
    Dec 2001
    Location
    Houston, TX
    Posts
    1,957

    Default Re: [S_API FAIL] SteamAPI_Init() failed;

    skalp, try updating again, I had it disabled for a while the other day while updating some things.
    Need to put in a support ticket for cPGS ? Click on the url below and follow the bottom most link "Submit a Support Request without Logging In"
    https://tickets.cpanel.net/submit/index.cgi?support=1

  5. #5
    Registered Member
    Join Date
    May 2011
    Posts
    19

    Default Re: [S_API FAIL] SteamAPI_Init() failed;

    ok !,,,, nice ,,
    everything fine now,,,
    Thanks Darren !!

Similar Threads

  1. :fail: still generates a "Mail delivery failed..." return email
    By dev.null in forum E-mail Discussions
    Replies: 2
    Last Post: 12-20-2007, 12:27 PM
  2. ":fail: no such address here" versus ":fail: No Such User Here"
    By orty in forum cPanel & WHM Discussions
    Replies: 4
    Last Post: 12-02-2006, 10:49 PM
  3. Fail vs Blackhole (Spamcop Blocking Fail)
    By Angel78 in forum cPanel & WHM Discussions
    Replies: 17
    Last Post: 08-10-2006, 12:57 PM
  4. :fail: doesn't fail
    By Ben in forum cPanel & WHM Discussions
    Replies: 12
    Last Post: 05-04-2003, 04:32 AM
  5. Xinetd services fail fail fail!
    By ozzi4648 in forum cPanel & WHM Discussions
    Replies: 3
    Last Post: 01-06-2003, 05:34 PM
bargain