[HELP] LootBoX

Results 1 to 2 of 2
  1. #1
    Apprentice tade922 is offline
    MemberRank
    Sep 2013 Join Date
    Martfu, HungaryLocation
    24Posts

    [HELP] LootBoX

    Lootoox:

    http://localhost/api/php/api_GetLootBoxConfig.php


    dbinfo.inc.php:

    <?php
    $db_apikey = "ACOR4823G%sjYU*@476xnDvYaK@!56";
    function db_connect()
    {
    $db_user = "wz_api_user";
    $db_pass = "5GARWzrj8Zfb8S5QrLV6";
    $db_dbname = "WarZ";


    $db_serverName = "localhost";
    $db_connectionInfo = array(
    "UID" => $db_user,
    "PWD" => $db_pass,
    "Database" => $db_dbname,
    "CharacterSet" => "UTF-8"
    //"ReturnDatesAsStrings" => true
    );
    $conn = sqlsrv_connect($db_serverName, $db_connectionInfo);


    if(! $conn)
    {
    //echo "Connection could not be established.\n";
    die( print_r( sqlsrv_errors(), true));
    exit();
    }


    return $conn;
    }

    function db_exec($conn, $tsql, $params)
    {
    $stmt = sqlsrv_query($conn, $tsql, $params);
    if(! $stmt)
    {
    echo "exec failed.\n";
    die( print_r( sqlsrv_errors(), true));
    }


    $member = sqlsrv_fetch_array($stmt, SQLSRV_FETCH_ASSOC);
    return $member;
    }


    $conn = db_connect();
    ?>


    webconfig:

    a<?xml version="1.0"?>
    <!--
    Note: As an alternative to hand editing this file you can use the
    web admin tool to configure settings for your application. Use
    the Website->Asp.Net Configuration option in Visual Studio.
    A full list of settings and comments can be found in
    machine.config.comments usually located in
    \Windows\Microsoft.Net\Framework\v2.x\Config
    -->
    <configuration>
    <!-- application specific settings -->
    <appSettings>
    <add key="WO_Region" value="EN"/>
    </appSettings>
    <connectionStrings >
    <add name="dbConnectionString" connectionString="Server=localhost;Database=warz;User ID=wz_api_user;Password=5GARWzrj8Zfb8S5QrLV6;Trusted_Connection=False;" providerName="System.Data.SqlClient"/>
    </connectionStrings>
    <system.web>
    <httpRuntime enableVersionHeader="false" />
    <!--
    Set compilation debug="true" to insert debugging
    symbols into the compiled page. Because this
    affects performance, set this value to true only
    during development.
    -->
    <compilation debug="false">
    <assemblies>
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation>
    <!--
    The <authentication> section enables configuration
    of the security authentication mode used by
    ASP.NET to identify an incoming user.
    -->
    <!--<authentication mode="None"/>-->
    <!--
    The <customErrors> section enables configuration
    of what to do if/when an unhandled error occurs
    during the execution of a request. Specifically,
    it enables developers to configure html error pages
    to be displayed in place of a error stack trace.


    <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
    <error statusCode="403" redirect="NoAccess.htm" />
    <error statusCode="404" redirect="FileNotFound.htm" />
    </customErrors>
    -->
    </system.web>
    </configuration>






    logss:

    000000.049| arg0 WZ_GameServer.exe000000.049| arg1 66049 34011 0
    000000.049| arg2 0 2 32 0 10000 1 0
    000000.049| arg3 127.0.0.1
    000000.049| arg4 VVMgU2VydmVyIDAwMQ==
    000000.049| arg5 0
    000000.049| ------- **** Official Server **** -------
    000000.049| r3dFS: there is no volume file wo_00.bin
    000000.049| Connecting to master server at 127.0.0.1:34000
    000000.049| r3dNetwork: Initialized
    000000.049| r3dNetwork: Creating client
    000000.072| IP: 192.168.0.100
    000000.072| r3dNetwork: connecting to 127.0.0.1:34000
    000000.072| waiting: connecting, 10.0 sec left
    000000.165| r3dNetwork: external ip: 127.0.0.1:58690
    000000.165| Game: Initializing with 32 players
    000000.166| Server time is Wed Feb 12 03:23:48 2031
    000000.166| CAsyncApiMgr starting
    000000.170| Starting server on port 34011
    000000.171| r3dNetwork: Initialized
    000000.171| r3dNetwork: Creating host at port 34011
    000000.179| IP: 192.168.0.100
    000000.191| Getting shop data
    000000.209| WOApi: api_GetShop1.aspx NETWORK time: 0.0169
    000000.210| Reading game rewards
    000000.222| WOApi: api_GetDataGameRewards.aspx NETWORK time: 0.0110
    000000.222| Loading armory config
    000000.227| Reading loot boxes
    000000.245| Starting game server
    000000.245| SetHomeDir: Levels\WZ_Colorado
    000001.282| TERRAIN: LOADING Levels\WZ_Colorado\TERRAIN
    000001.290| TERRAIN2: Finished reading script file
    000001.608| TERRAIN: LOADED
    000009.585| LootBox: !!!! Failed to get lootbox with ID: 301132. Server/Client desync??
    000009.586| !!! OnCreate failed for obj=obj_ItemSpawnPoint, filename=data/objectsdepot/capture_points/flag_pole_01.sco
    000009.586| LootBox: !!!! Failed to get lootbox with ID: 301132. Server/Client desync??
    000009.586| !!! OnCreate failed for obj=obj_ItemSpawnPoint, filename=data/objectsdepot/capture_points/flag_pole_01.sco
    000009.587| LootBox: !!!! Failed to get lootbox with ID: 301130. Server/Client desync??
    000009.587| !!! OnCreate failed for obj=obj_ItemSpawnPoint, filename=data/objectsdepot/capture_points/flag_pole_01.sco
    000009.588| LootBox: !!!! Failed to get lootbox with ID: 301132. Server/Client desync??
    000009.588| !!! OnCreate failed for obj=obj_ItemSpawnPoint, filename=data/objectsdepot/capture_points/flag_pole_01.sco
    000009.589| LootBox: !!!! Failed to get lootbox with ID: 301133. Server/Client desync??
    000009.589| !!! OnCreate failed for obj=obj_ItemSpawnPoint, filename=data/objectsdepot/capture_points/flag_pole_01.sco
    000011.466| Spawning Vehicles... Count:25
    000011.466| server main loop started
    000011.466| net_mapLoaded_LastNetID: 300
    000011.469| WOApi: api_SrvNotes.aspx NETWORK time: 0.0023
    000011.486| Job CJobGetServerNotes 03C68B40: Creating 0 Notes
    000011.486| time: 11, plrs:0/32, net_lastFreeId: 300 , netIdUse: 0 , objects: 1466, ServerDummyobjects: 20516 , async:0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

    Last edited by GigaToni; 07-10-14 at 10:55 AM.


  2. #2
    Apprentice tade922 is offline
    MemberRank
    Sep 2013 Join Date
    Martfu, HungaryLocation
    24Posts

    Re: [HELP] LootBoX

    Pls help :(



Advertisement