pastedeki hatanın çözümünü yeniler misin
Kod:
import uiScriptLocale
window = {
"name" : "InputDialog",
"x" : 0,
"y" : 0,
"style" : ("movable", "float",),
"width" : 230,
"height" : 245,
"children" :
(
{
"name" : "Board",
"type" : "board_with_titlebar",
"x" : 0,
"y" : 0,
"width" : 230,
"height" : 245,
"title" : uiScriptLocale.GUILD_WAR_DECLARE,
"children" :
(
## Input Slot
{
"name" : "InputName",
"type" : "text",
"x" : 15,
"y" : 40,
"text" : uiScriptLocale.GUILD_WAR_ENEMY,
},
{
"name" : "InputSlot",
"type" : "slotbar",
"x" : 80,
"y" : 37,
"width" : 130,
"height" : 18,
"children" :
(
{
"name" : "InputValue",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 90,
"height" : 18,
"input_limit" : 12,
},
),
},
## Input Slot
{
"name" : "GameType", "x" : 15, "y" : 65, "width" : 65+45*4, "height" : 20,
"children" :
(
{"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 3, "text" : uiScriptLocale.GUILD_WAR_BATTLE_TYPE,},
{
"name" : "NormalButton",
"type" : "radio_button",
"x" : 65,
"y" : 0,
"text" : uiScriptLocale.GUILD_WAR_NORMAL,
"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",
},
{
"name" : "WarpButton",
"type" : "radio_button",
"x" : 65+45*1,
"y" : 0,
"text" : uiScriptLocale.GUILD_WAR_WARP,
"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",
},
{
"name" : "CTFButton",
"type" : "radio_button",
"x" : 65+45*2,
"y" : 0,
"text" : uiScriptLocale.GUILD_WAR_CTF,
"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",
},
{"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 30, "text" : "Binek",},
),
},
## Input Slot
{
"name" : "InputNameScore",
"type" : "text",
"x" : 15,
"y" : 125,
"text" : "Maks. Skor",
},
{
"name" : "InputSlotScore",
"type" : "slotbar",
"x" : 80,
"y" : 122,
"width" : 130,
"height" : 18,
"children" :
(
{
"name" : "InputValueScore",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 90,
"height" : 18,
"input_limit" : 12,
},
),
},
## Input Slot
{
"name" : "InputNameUser",
"type" : "text",
"x" : 15,
"y" : 155,
"text" : "Maks. Oyuncu",
},
{
"name" : "InputSlotUser",
"type" : "slotbar",
"x" : 80,
"y" : 152,
"width" : 130,
"height" : 18,
"children" :
(
{
"name" : "InputValueUser",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 90,
"height" : 18,
"input_limit" : 12,
},
),
},
## Input Slot
{
"name" : "InputNameMinSeviye",
"type" : "text",
"x" : 15,
"y" : 185,
"text" : "Min. Seviye",
},
{
"name" : "InputSlotMinSeviye",
"type" : "slotbar",
"x" : 80,
"y" : 182,
"width" : 130,
"height" : 18,
"children" :
(
{
"name" : "InputValueMinSeviye",
"type" : "editline",
"x" : 3,
"y" : 3,
"width" : 90,
"height" : 18,
"input_limit" : 12,
},
),
},
## Button
{
"name" : "AcceptButton",
"type" : "button",
"x" : - 61 - 5 + 30,
"y" : 215,
"horizontal_align" : "center",
"text" : uiScriptLocale.OK,
"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",
},
{
"name" : "CancelButton",
"type" : "button",
"x" : 5 + 30,
"y" : 215,
"horizontal_align" : "center",
"text" : uiScriptLocale.CANCEL,
"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",
},
{
"name" : "Acikbinek",
"type" : "radio_button",
"x" : -12,
"y" : 92,
"horizontal_align" : "center",
"text" : "Acik",
"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",
},
{
"name" : "Kapalibinek",
"type" : "radio_button",
"x" : 32,
"y" : 92,
"horizontal_align" : "center",
"text" : "Kapali",
"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",
},
),
},
),
}
Kod:import uiScriptLocale window = { "name" : "InputDialog", "x" : 0, "y" : 0, "style" : ("movable", "float",), "width" : 230, "height" : 245, "children" : ( { "name" : "Board", "type" : "board_with_titlebar", "x" : 0, "y" : 0, "width" : 230, "height" : 245, "title" : uiScriptLocale.GUILD_WAR_DECLARE, "children" : ( ## Input Slot { "name" : "InputName", "type" : "text", "x" : 15, "y" : 40, "text" : uiScriptLocale.GUILD_WAR_ENEMY, }, { "name" : "InputSlot", "type" : "slotbar", "x" : 80, "y" : 37, "width" : 130, "height" : 18, "children" : ( { "name" : "InputValue", "type" : "editline", "x" : 3, "y" : 3, "width" : 90, "height" : 18, "input_limit" : 12, }, ), }, ## Input Slot { "name" : "GameType", "x" : 15, "y" : 65, "width" : 65+45*4, "height" : 20, "children" : ( {"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 3, "text" : uiScriptLocale.GUILD_WAR_BATTLE_TYPE,}, { "name" : "NormalButton", "type" : "radio_button", "x" : 65, "y" : 0, "text" : uiScriptLocale.GUILD_WAR_NORMAL, "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", }, { "name" : "WarpButton", "type" : "radio_button", "x" : 65+45*1, "y" : 0, "text" : uiScriptLocale.GUILD_WAR_WARP, "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", }, { "name" : "CTFButton", "type" : "radio_button", "x" : 65+45*2, "y" : 0, "text" : uiScriptLocale.GUILD_WAR_CTF, "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", }, {"name" : "GameTypeLabel", "type" : "text", "x" : 0, "y" : 30, "text" : "Binek",}, ), }, ## Input Slot { "name" : "InputNameScore", "type" : "text", "x" : 15, "y" : 125, "text" : "Maks. Skor", }, { "name" : "InputSlotScore", "type" : "slotbar", "x" : 80, "y" : 122, "width" : 130, "height" : 18, "children" : ( { "name" : "InputValueScore", "type" : "editline", "x" : 3, "y" : 3, "width" : 90, "height" : 18, "input_limit" : 12, }, ), }, ## Input Slot { "name" : "InputNameUser", "type" : "text", "x" : 15, "y" : 155, "text" : "Maks. Oyuncu", }, { "name" : "InputSlotUser", "type" : "slotbar", "x" : 80, "y" : 152, "width" : 130, "height" : 18, "children" : ( { "name" : "InputValueUser", "type" : "editline", "x" : 3, "y" : 3, "width" : 90, "height" : 18, "input_limit" : 12, }, ), }, ## Input Slot { "name" : "InputNameMinSeviye", "type" : "text", "x" : 15, "y" : 185, "text" : "Min. Seviye", }, { "name" : "InputSlotMinSeviye", "type" : "slotbar", "x" : 80, "y" : 182, "width" : 130, "height" : 18, "children" : ( { "name" : "InputValueMinSeviye", "type" : "editline", "x" : 3, "y" : 3, "width" : 90, "height" : 18, "input_limit" : 12, }, ), }, ## Button { "name" : "AcceptButton", "type" : "button", "x" : - 61 - 5 + 30, "y" : 215, "horizontal_align" : "center", "text" : uiScriptLocale.OK, "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", }, { "name" : "CancelButton", "type" : "button", "x" : 5 + 30, "y" : 215, "horizontal_align" : "center", "text" : uiScriptLocale.CANCEL, "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", }, { "name" : "Acikbinek", "type" : "radio_button", "x" : -12, "y" : 92, "horizontal_align" : "center", "text" : "Acik", "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", }, { "name" : "Kapalibinek", "type" : "radio_button", "x" : 32, "y" : 92, "horizontal_align" : "center", "text" : "Kapali", "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", }, ), }, ), }
Tşekkür Ederim Bro
PythonNetworkStreamPhaseGame.cpp içinde o yazmayı unutmuşlar
Turkmmo Flood Engelleme
do_skorsistemicokhojdiramabanana komutunu değiştir, ı yazmışlar ondan hata veriyor aynı işlemi python kısmında ve cmd.cpp dede yap
senin hatanın çözümü 2 yorum yukarda
Game SRC Error :
cmd.cpp:59: error: stray '\375' in program
cmd.cpp:377: error: stray '\375' in program
[Okan Build] - [OK] - desc.cpp
[Okan Build] - [OK] - desc_client.cpp
[Okan Build] - [OK] - desc_manager.cpp
cmd_general.cpp:2841: error: stray '\375' in program
[Okan Build] - [OK] - desc_p2p.cpp
cmd.cpp:59: error: expected `)' before 'ramabanana'
cmd.cpp:377: error: 'do_skorsistemicokhojd' was not declared in this scope
cmd.cpp:377: error: expected `}' before 'ramabanana'
cmd.cpp:377: error: expected `}' before 'ramabanana'
cmd.cpp:377: error: expected ',' or ';' before 'ramabanana'
cmd.cpp:377: error: expected declaration before '}' token
Savaş yolladığında savaş ilan ettiğin loncanın liderine bilgi penceresi gitmiyo onaylama vb. için. Sorunun game.py taraflı olduğunu düşünüyorum. Eksik kod var
çözemediyseniz özelden game.py atın.Savaş yolladığında savaş ilan ettiğin loncanın liderine bilgi penceresi gitmiyo onaylama vb. için. Sorunun game.py taraflı olduğunu düşünüyorum. Eksik kod var
Şu an konuyu görüntüleyenler (Toplam : 0, Üye: 0, Misafir: 0)
Benzer konular
- Cevaplar
- 22
- Görüntüleme
- 1K
- Cevaplar
- 13
- Görüntüleme
- 1K
- Cevaplar
- 36
- Görüntüleme
- 2K
- Cevaplar
- 6
- Görüntüleme
- 659
