Lootboxes

Status
Not open for further replies.
Socius Decennalis
Decennium
Joined
Apr 29, 2013
Messages
68
Reaction score
1
Highly doubting this but does anyone have a flag_pole_01.sco that will fix lootboxes?

Code:
LootBox: !!!! m_LootBoxID 301130 does NOT have items inside
000026.252| !!! OnCreate failed for obj=obj_ItemSpawnPoint, filename=data/objectsdepot/capture_points/flag_pole_01.sco
I do have this .sco there

Edit: I'm using the ragezone community source that DNC had and is developing.
 
Last edited:
Code:
$db_serverName     = "localhost, [B][COLOR=#ff0000]1433[/COLOR][/B]"; 		$db_connectionInfo = array( 			"UID" => $db_user, 			"PWD" => $db_pass, 			"Database" => $db_dbname, 			"CharacterSet" => "UTF-8";
 
Upvote 0
go to : YOURIP/warz/api/php/api_GetLootBoxConfig.php?serverkey=bvx425698dg6GsnxwedszF and tell me what it says.

Actually it should be YOURIP/warz/api/php/api_GetLootBoxConfig.php?serverkey=9F179EB9-C74E-4933-85B5-EB135E16F5EF
And it'll only work with the api published using the community edition source code, since they made a small change to the api_GetLootBoxConfig.php.
Try it and see if it works.
 
Upvote 0
Actually it should be YOURIP/warz/api/php/api_GetLootBoxConfig.php?serverkey=9F179EB9-C74E-4933-85B5-EB135E16F5EF
And it'll only work with the api published using the community edition source code, since they made a small change to the api_GetLootBoxConfig.php.
Try it and see if it works.
Didn't do anything
 
Upvote 0
It seems something went wrong with the database query. It should have printed the XML tags at least.

I've redone the database several times. There's nothing wrong with it.

Edit: Can I please have someone who's ACTUALLY fixed this problem, try to help me out.
 
Upvote 0
It's one of the queries made in api_GetLootBoxConfig.php. It could help to know where exactly the api is failing to deliver the lootbox xml.
But I agree that it's easier to wait for someone who have already fixed the problem to help you.
 
Upvote 0
i runned this issue too.
i checked my php with two different things like
Code:
<?php
phpinfo()
?>

and with :

Code:
<?php
$server = 'localhost';
$link = mssql_connect($server, 'sa', 'sapassword');
if (!$link) {
    die('noob');
}
?>

im not a php expert but i think the problem somewhere in
Code:
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();

isnot need to definied the
Code:
$tsql, $params
variables?
 
Upvote 0
i runned this issue too.
i checked my php with two different things like
Code:
<?php
phpinfo()
?>

and with :

Code:
<?php
$server = 'localhost';
$link = mssql_connect($server, 'sa', 'sapassword');
if (!$link) {
    die('noob');
}
?>

im not a php expert but i think the problem somewhere in
Code:
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();

isnot need to definied the
Code:
$tsql, $params
variables?

Unfortunately most people aren't willing to help, id like to have this solved and have this out of the way so I don't have to keep asking for help, to be honest it's not that hard to provide a fix to this problem.
 
Upvote 0
+1. since i said im not php expert but im looking for this fix, i'll post if i get it
 
Upvote 0
Status
Not open for further replies.
Back