• Из-за обновления GTA 5 (был добавлен новый патч) может временно не работать вход в RAGE Multiplayer.

    Ошибка: Ваша версия Grand Theft Auto V не поддерживается RAGE Multiplayer.
    ERROR: Your game version is not supported by RAGE Multiplayer.

    Данная ошибка говорит о том, что GTA V обновилась до новой версии (GTA Online тоже). Вам необходимо обновить саму игру в главном меню вашего приложения (Steam / Epic Games / Rockstar Games).
    Если после этого RAGE:MP все равно не работает - вам нужно дождаться выхода патча для самого мультиплеера (обычно это занимает от нескольких часов до нескольких дней).

    Новости и апдейты Rockstar Games - https://www.rockstargames.com/newswire/
    Статус всех служб для Rockstar Games Launcher и поддерживаемых игр: https://support.rockstargames.com/ru/servicestatus


    Grand Theft Auto 5 (+ GTA Online) последний раз были обновлены:

Проблема Redage V3 24/7 Null Object

JohnNewbie

Активный участник
11 Июл 2024
61
1
27
i dont know what went wrong but all the item says null as shown in the picture anyone know the fix ? might be helpful for me Thanks !
My guess the problem is in this code
C#:
 public static void OpenBizShopMenu(ExtPlayer player)
        {
            try
            {
                var sessionData = player.GetSessionData();
                if (sessionData == null) return;
                if (!player.IsCharacterData()) return;
                if (sessionData.BizID == -1 || !BizList.ContainsKey(sessionData.BizID)) return;
                var biz = BizList[sessionData.BizID];
                var jsonData = new List<Fractions.Manager.FracMatsData>();
                int index = 0;
                foreach (var p in biz.Products)
                {
                    var busProductData = BusProductsData[p.Name];
                    if (busProductData.ItemId != ItemId.Debug) jsonData.Add(new Fractions.Manager.FracMatsData(index, Chars.Repository.ItemsInfo[busProductData.ItemId].Name, Chars.Repository.ItemsInfo[busProductData.ItemId].Icon, $"{p.Price}$", (int)busProductData.ItemId));
                    //else if (p.Name == "SIM Card") jsonData.Add(new Fractions.Manager.FracMatsData(index, "SIM Card", "sm-icon-sim", $"{p.Price}$" ));
                    //else if (p.Name == "Lottery ticket") jsonData.Add(new Fractions.Manager.FracMatsData(index, "Lottery ticket", "sm-icon-lotary", $"{p.Price}$" ));
                    index++;
                }
                // Console.WriteLine("" + JsonConvert.SerializeObject(jsonData))
                Trigger.ClientEvent(player, "client.sm.openShop", JsonConvert.SerializeObject(jsonData));
            }
            catch (Exception e)
            {
                Log.Write($"OpenBizShopMenu Exception: {e.ToString()}");
            }
        }



1725480765579.png
 
Последнее редактирование:

Jerry (ChatGPT)

AI-powered language model
VIP
helper
17 Окт 2023
1,763
1,305
5
Please provide more information and images of the issue you are experiencing so that we can assist you better in identifying the problem and finding a solution. Thank you.
 

Diamoond

Активный участник
24 Июн 2024
85
0
27
i dont know what went wrong but all the item says null as shown in the picture anyone know the fix ? might be helpful for me Thanks !
My guess the problem is in this code
C#:
 public static void OpenBizShopMenu(ExtPlayer player)
        {
            try
            {
                var sessionData = player.GetSessionData();
                if (sessionData == null) return;
                if (!player.IsCharacterData()) return;
                if (sessionData.BizID == -1 || !BizList.ContainsKey(sessionData.BizID)) return;
                var biz = BizList[sessionData.BizID];
                var jsonData = new List<Fractions.Manager.FracMatsData>();
                int index = 0;
                foreach (var p in biz.Products)
                {
                    var busProductData = BusProductsData[p.Name];
                    if (busProductData.ItemId != ItemId.Debug) jsonData.Add(new Fractions.Manager.FracMatsData(index, Chars.Repository.ItemsInfo[busProductData.ItemId].Name, Chars.Repository.ItemsInfo[busProductData.ItemId].Icon, $"{p.Price}$", (int)busProductData.ItemId));
                    //else if (p.Name == "SIM Card") jsonData.Add(new Fractions.Manager.FracMatsData(index, "SIM Card", "sm-icon-sim", $"{p.Price}$" ));
                    //else if (p.Name == "Lottery ticket") jsonData.Add(new Fractions.Manager.FracMatsData(index, "Lottery ticket", "sm-icon-lotary", $"{p.Price}$" ));
                    index++;
                }
                // Console.WriteLine("" + JsonConvert.SerializeObject(jsonData))
                Trigger.ClientEvent(player, "client.sm.openShop", JsonConvert.SerializeObject(jsonData));
            }
            catch (Exception e)
            {
                Log.Write($"OpenBizShopMenu Exception: {e.ToString()}");
            }
        }



Посмотреть вложение 15997
Look in your database
 

Slash

Активный участник
10 Янв 2023
83
3
43
i dont know what went wrong but all the item says null as shown in the picture anyone know the fix ? might be helpful for me Thanks !
My guess the problem is in this code
C#:
 public static void OpenBizShopMenu(ExtPlayer player)
        {
            try
            {
                var sessionData = player.GetSessionData();
                if (sessionData == null) return;
                if (!player.IsCharacterData()) return;
                if (sessionData.BizID == -1 || !BizList.ContainsKey(sessionData.BizID)) return;
                var biz = BizList[sessionData.BizID];
                var jsonData = new List<Fractions.Manager.FracMatsData>();
                int index = 0;
                foreach (var p in biz.Products)
                {
                    var busProductData = BusProductsData[p.Name];
                    if (busProductData.ItemId != ItemId.Debug) jsonData.Add(new Fractions.Manager.FracMatsData(index, Chars.Repository.ItemsInfo[busProductData.ItemId].Name, Chars.Repository.ItemsInfo[busProductData.ItemId].Icon, $"{p.Price}$", (int)busProductData.ItemId));
                    //else if (p.Name == "SIM Card") jsonData.Add(new Fractions.Manager.FracMatsData(index, "SIM Card", "sm-icon-sim", $"{p.Price}$" ));
                    //else if (p.Name == "Lottery ticket") jsonData.Add(new Fractions.Manager.FracMatsData(index, "Lottery ticket", "sm-icon-lotary", $"{p.Price}$" ));
                    index++;
                }
                // Console.WriteLine("" + JsonConvert.SerializeObject(jsonData))
                Trigger.ClientEvent(player, "client.sm.openShop", JsonConvert.SerializeObject(jsonData));
            }
            catch (Exception e)
            {
                Log.Write($"OpenBizShopMenu Exception: {e.ToString()}");
            }
        }



Посмотреть вложение 15997


go to the database, find the database named “ra3_main”, then in it find the table named “businesses” and finding the row relating to the desired business id (that is, the one in which the display of product names does not work) and discount the value of the column products.

I also apologize for my English, I use a translator.
 

JohnNewbie

Активный участник
11 Июл 2024
61
1
27
go to the database, find the database named “ra3_main”, then in it find the table named “businesses” and finding the row relating to the desired business id (that is, the one in which the display of product names does not work) and discount the value of the column products.

I also apologize for my English, I use a translator.
see eveything is ok there
1725593502569.png