Shop addon
Posted: Thu Jul 11, 2019 2:18 am
Hi, buy button does not work http://bit.ly/2Jq6aHM, and after the restart the game purchases are not loaded in the inventory with Database sql.
can you elaborate this please, steps to reproduce this?after the restart the game purchases are not loaded in the inventory with Database SQL.
And new bug coins go in -800Lovatto wrote:Hi,
I have fixed the problem with the button (download the package again) but I can't reproduce the second problem:can you elaborate this please, steps to reproduce this?after the restart the game purchases are not loaded in the inventory with Database SQL.
Code: Select all
Debug.Log(data[14]);
ScreenshotLovatto wrote:Definitely not happening on my end...
ok, add this line:in bl_ShopUserData.cs -> public void GetInfo(string[] data)Code: Select all
Debug.Log(data[14]);
then log in again and show me a screenshot of the console.
Code: Select all
Debug.Log(data);
Its clean new project and new hosting, maybe problem with php version https://drive.google.com/file/d/1aAFQpb ... sp=sharingLovatto wrote:Ok, there is a problem with your bl_Login.php, you have made any change to it?
change the same line for:and show me again.Code: Select all
Debug.Log(data);
And one bug if i dont have coins and click left buy button coins go in -800Lovatto wrote:I discover the error, I have updated the ULogin Pro package, download it again, you don't have to import and integrate again just extract the bl_Login.php script and update the one in your server.
Code: Select all
if(previewData.Price > bl_DataBase.Instance.LocalUser.Coins) { NoCoinsWindow.SetActive(true); return; }
Code: Select all
if (previewData == null || bussy) return;