Shop addon
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
Hi,
I have fixed the problem with the button (download the package again) but I can't reproduce the second problem:
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.
- viktor
- Contributor
- Posts: 12
- Joined: Wed Jul 03, 2019 7:24 am
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.
https://drive.google.com/file/d/1b96B9K ... sp=sharing
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
Definitely not happening on my end...
ok, add this line:
in bl_ShopUserData.cs -> public void GetInfo(string[] data)
then log in again and show me a screenshot of the console.
ok, add this line:
Code: Select all
Debug.Log(data[14]);
then log in again and show me a screenshot of the console.
- viktor
- Contributor
- Posts: 12
- Joined: Wed Jul 03, 2019 7:24 am
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.
https://drive.google.com/file/d/1GTJ0fg ... sp=sharing
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
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.
change the same line for:
Code: Select all
Debug.Log(data);
- viktor
- Contributor
- Posts: 12
- Joined: Wed Jul 03, 2019 7:24 am
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);
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
- viktor
- Contributor
- Posts: 12
- Joined: Wed Jul 03, 2019 7:24 am
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.
- Lovatto
- Admin
- Posts: 1834
- Joined: Sun Dec 07, 2014 3:18 pm
- Contact:
Fixed too, updated Shop system, but the fix just require to add this:
Code: Select all
if(previewData.Price > bl_DataBase.Instance.LocalUser.Coins) { NoCoinsWindow.SetActive(true); return; }
Code: Select all
if (previewData == null || bussy) return;