Yardım 80 slot pazar hatası

  • Konuyu açan Konuyu açan suleyman06
  • Açılış Tarihi Açılış Tarihi
  • Yanıt Yanıt 6
  • Gösterim Gösterim 431
Konu sahibi bu konuda soru soruyor. Sorusu ile ilgili bilgisi olanların yanıtlamasını bekliyor.

suleyman06

Bla bla
MT Üye
Mesaj
309
Çözümler
7
Beğeni
94
Puan
724
Ticaret Puanı
0
dostlar merhabalar.
bütün adımlar uyguladıgımı düşünüyorum fakat açtıgım diğer slotlar safra olarak gözüküyor.
uyguladığım adımlar şu konuda mevcut..
[C++]80 Slot Pazar

*** CLİENTİDE HALLETTİM ***




EN SON DA İSE BU ADIMDA :


Kod:
Genişlet Daralt Kopyala
import uiScriptLocale
window = {
   "name" : "ShopDialog",
   "x" : SCREEN_WIDTH - 400,
   "y" : 10,
   "style" : ("movable", "float",),
   "width" : 184 + 160,
   "height" : 328,
   "children" :
   (
       {
           "name" : "board",
           "type" : "board",
           "style" : ("attach",),
           "x" : 0,
           "y" : 0,
           "width" : 184 + 160,
           "height" : 328,
           "children" :
           (
               ## Title
               {
                   "name" : "TitleBar",
                   "type" : "titlebar",
                   "style" : ("attach",),
                   "x" : 8,
                   "y" : 8,
                   "width" : 169 + 160,
                   "color" : "gray",
                   "children" :
                   (
                       { "name":"TitleName", "type":"text", "x":84+80, "y":4, "text":uiScriptLocale.SHOP_TITLE, "text_horizontal_align":"center" },
                   ),
               },
               ## Item Slot
               {
                   "name" : "ItemSlot",
                   "type" : "grid_table",
                   "x" : 12,
                   "y" : 34,
                   "start_index" : 0,
                   "x_count" : 10,
                   "y_count" : 8,
                   "x_step" : 32,
                   "y_step" : 32,
                   "image" : "d:/ymir work/ui/public/Slot_Base.sub",
               },
               ## Buy
               {
                   "name" : "BuyButton",
                   "type" : "toggle_button",
                   "x" : 21,
                   "y" : 295,
                   "width" : 61,
                   "height" : 21,
                   "text" : uiScriptLocale.SHOP_BUY,
                   "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                   "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                   "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
               },
               ## Sell
               {
                   "name" : "SellButton",
                   "type" : "toggle_button",
                   "x" : 104 + 160,
                   "y" : 295,
                   "width" : 61,
                   "height" : 21,
                   "text" : uiScriptLocale.SHOP_SELL,
                   "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                   "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                   "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
               },
               ## Close
               {
                   "name" : "CloseButton",
                   "type" : "button",
                   "x" : 0,
                   "y" : 295,
                   "horizontal_align" : "center",
                   "text" : uiScriptLocale.PRIVATE_SHOP_CLOSE_BUTTON,
                   "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
                   "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
                   "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
               },
           ),
       },
   ),
}


*** BUNU YAPTIGIM ZAMAN HATA ALDIM OYUNA GİRİŞ SAĞLAYAMADIM BENDE BU ŞEKİLDE EKLEDİM KODU : ***

Kod:
Genişlet Daralt Kopyala
import uiScriptLocale
window = {
   "name" : "ShopDialog",
   "x" : SCREEN_WIDTH - 400,
   "y" : 10,
   "style" : ("movable", "float",),
   "width" : 184 + 160,
   "height" : 328,
   "children" :
   (
       {
           "name" : "board",
           "type" : "board",
           "style" : ("attach",),
           "x" : 0,
           "y" : 0,
           "width" : 184 + 160,
           "height" : 328,
           "children" :
           (
               ## Title
               {
                   "name" : "TitleBar",
                   "type" : "titlebar",
                   "style" : ("attach",),
                   "x" : 8,
                   "y" : 8,
                   "width" : 169 + 160,
                   "color" : "gray",
                   "children" :
                   (
                       { "name":"TitleName", "type":"text", "x":84+80, "y":4, "text":uiScriptLocale.SHOP_TITLE, "text_horizontal_align":"center" },
                   ),
               },
               ## Item Slot
               {
                   "name" : "ItemSlot",
                   "type" : "grid_table",
                   "x" : 12,
                   "y" : 34,
                   "start_index" : 0,
                   "x_count" : 10,
                   "y_count" : 8,
                   "x_step" : 32,
                   "y_step" : 32,
                   "image" : "d:/ymir work/ui/public/Slot_Base.sub",
               },
               ## Buy
               {
                   "name" : "BuyButton",
                   "type" : "toggle_button",
                   "x" : 21,
                   "y" : 295,
                   "width" : 61,
                   "height" : 21,
                   "text" : uiScriptLocale.SHOP_BUY,
                   "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                   "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                   "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
               },
               ## Sell
               {
                   "name" : "SellButton",
                   "type" : "toggle_button",
                   "x" : 104 + 160,
                   "y" : 295,
                   "width" : 61,
                   "height" : 21,
                   "text" : uiScriptLocale.SHOP_SELL,
                   "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                   "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                   "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
               },
               ## Close
               {
                   "name" : "CloseButton",
                   "type" : "button",
                   "x" : 0,
                   "y" : 295,
                   "horizontal_align" : "center",
                   "text" : uiScriptLocale.PRIVATE_SHOP_CLOSE_BUTTON,
                   "default_image" : "d:/ymir work/ui/public/large_button_01.sub",
                   "over_image" : "d:/ymir work/ui/public/large_button_02.sub",
                   "down_image" : "d:/ymir work/ui/public/large_button_03.sub",
               },

                ## MiddleTab1
                {
                    "name" : "MiddleTab1",
                    "type" : "radio_button",

                    "x" : 21,
                    "y" : 295,

                    "width" : 61,
                    "height" : 21,

                    "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                    "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                    "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
                },

                ## MiddleTab2
                {
                    "name" : "MiddleTab2",
                    "type" : "radio_button",

                    "x" : 104,
                    "y" : 295,

                    "width" : 61,
                    "height" : 21,

                    "default_image" : "d:/ymir work/ui/public/middle_button_01.sub",
                    "over_image" : "d:/ymir work/ui/public/middle_button_02.sub",
                    "down_image" : "d:/ymir work/ui/public/middle_button_03.sub",
                },

                ## SmallTab1
                {
                    "name" : "SmallTab1",
                    "type" : "radio_button",

                    "x" : 21,
                    "y" : 295,

                    "width" : 43,
                    "height" : 21,

                    "default_image" : "d:/ymir work/ui/public/small_button_01.sub",
                    "over_image" : "d:/ymir work/ui/public/small_button_02.sub",
                    "down_image" : "d:/ymir work/ui/public/small_button_03.sub",
                },

                ## SmallTab2
                {
                    "name" : "SmallTab2",
                    "type" : "radio_button",

                    "x" : 71,
                    "y" : 295,

                    "width" : 43,
                    "height" : 21,

                    "default_image" : "d:/ymir work/ui/public/small_button_01.sub",
                    "over_image" : "d:/ymir work/ui/public/small_button_02.sub",
                    "down_image" : "d:/ymir work/ui/public/small_button_03.sub",
                },

                ## SmallTab3
                {
                    "name" : "SmallTab3",
                    "type" : "radio_button",

                    "x" : 120,
                    "y" : 295,

                    "width" : 43,
                    "height" : 21,

                    "default_image" : "d:/ymir work/ui/public/small_button_01.sub",
                    "over_image" : "d:/ymir work/ui/public/small_button_02.sub",
                    "down_image" : "d:/ymir work/ui/public/small_button_03.sub",
                },
            ),
        },
    ),
}


BU ŞEKİLDE EKLEYİNCE HATA VERMEDİ OYUNA GİRİŞ YAPTIM AMA SLOTLAR SAFRA OLARAK GÖZÜKÜYOR NEREDE HATA YAPTIM. TABİ BU DEĞİŞİKLİKLERİ YAPTIKTAN SONRADA GAME DB SORUCEYİ BUİLD ETTİM VE CLİENTİDE BUİLD ETTİM...
 

Dosya Eklentileri

  • dd.png
    dd.png
    74,4 KB · Gösterim: 180
En son bir moderatör tarafından düzenlenmiş:
Çoğu kişi bu tür sistemleri eklerken common içindeki dosyaları atmayı unutuyor. Düzenlediğiniz her dosyayı attıktan sonra baştan build işlemini yapınız.
 
konuda verilen uiscript dosyasını tekrar kullanın aldıgınız hatayı iletin
 
Üst