Problemă pet system

Totalitatea subiectelor care nu respectă regulamentul impus in sectiunea "Probleme şi Întrebări" vor fi stocate aici.
Închis
Avatar utilizator
gubigubi
Nivel 3

Nivel 3
Mesaje: 358
Membru din: 15 Iul 2014, 12:17
Aprecieri: 34  
Mulţumiri: 4  
Medalii

*Problemă:Când încerc să intru în joc, rămâne la loading
Tipologie server:-
*Resursă folosită:cea de pe forum
*ServerFiles utilizat:-
*Syserr:

Cod: Selectaţi tot

1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=170, strType=wolfman).STRANGE_SKILL_TYPE
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=171, strType=wolfman).STRANGE_SKILL_TYPE
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=172, strType=wolfman).STRANGE_SKILL_TYPE
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=173, strType=wolfman).STRANGE_SKILL_TYPE
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=174, strType=wolfman).STRANGE_SKILL_TYPE
1021 10:52:10636 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=175, strType=wolfman).STRANGE_SKILL_TYPE
1021 10:52:24682 :: Traceback (most recent call last):

1021 10:52:24682 ::   File "networkModule.py", line 248, in SetGamePhase

1021 10:52:24682 ::   File "game.py", line 116, in __init__

1021 10:52:24682 ::   File "interfaceModule.py", line 501, in MakeInterface

1021 10:52:24682 ::   File "interfaceModule.py", line 275, in __MakeTaskBar

1021 10:52:24682 ::   File "uiTaskBar.py", line 311, in LoadWindow

1021 10:52:24682 ::   File "ui.py", line 4053, in GetChild

1021 10:52:24682 :: KeyError
1021 10:52:24682 :: : 
1021 10:52:24683 :: 'OfflineShopButton'
1021 10:52:24683 :: 

1021 10:52:24686 :: Traceback (most recent call last):

1021 10:52:24686 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:24686 :: AttributeError
1021 10:52:24686 :: : 
1021 10:52:24686 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:24686 :: 

1021 10:52:24686 :: Traceback (most recent call last):

1021 10:52:24686 ::   File "game.py", line 2060, in BINARY_UpdateUserCount

1021 10:52:24687 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 10:52:24687 :: AttributeError
1021 10:52:24687 :: : 
1021 10:52:24687 :: 'MiniMap' object has no attribute 'userCount'
1021 10:52:24687 :: 

1021 10:52:24687 :: Traceback (most recent call last):

1021 10:52:24687 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:24687 :: AttributeError
1021 10:52:24687 :: : 
1021 10:52:24687 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:24687 :: 

1021 10:52:24687 :: Traceback (most recent call last):

1021 10:52:24687 ::   File "game.py", line 2063, in BINARY_UpdateOfflineShopCount

1021 10:52:24687 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 10:52:24687 :: AttributeError
1021 10:52:24687 :: : 
1021 10:52:24687 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 10:52:24687 :: 

1021 10:52:25347 :: Traceback (most recent call last):

1021 10:52:25347 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:25347 :: AttributeError
1021 10:52:25347 :: : 
1021 10:52:25347 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:25347 :: 

1021 10:52:25347 :: Traceback (most recent call last):

1021 10:52:25347 ::   File "game.py", line 2060, in BINARY_UpdateUserCount

1021 10:52:25347 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 10:52:25347 :: AttributeError
1021 10:52:25347 :: : 
1021 10:52:25347 :: 'MiniMap' object has no attribute 'userCount'
1021 10:52:25347 :: 

1021 10:52:25347 :: Traceback (most recent call last):

1021 10:52:25347 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:25348 :: AttributeError
1021 10:52:25348 :: : 
1021 10:52:25348 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:25348 :: 

1021 10:52:25348 :: Traceback (most recent call last):

1021 10:52:25348 ::   File "game.py", line 2063, in BINARY_UpdateOfflineShopCount

1021 10:52:25348 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 10:52:25348 :: AttributeError
1021 10:52:25348 :: : 
1021 10:52:25348 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 10:52:25348 :: 

1021 10:52:26347 :: Traceback (most recent call last):

1021 10:52:26347 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:26347 :: AttributeError
1021 10:52:26347 :: : 
1021 10:52:26347 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:26347 :: 

1021 10:52:26347 :: Traceback (most recent call last):

1021 10:52:26347 ::   File "game.py", line 2060, in BINARY_UpdateUserCount

1021 10:52:26347 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 10:52:26348 :: AttributeError
1021 10:52:26348 :: : 
1021 10:52:26348 :: 'MiniMap' object has no attribute 'userCount'
1021 10:52:26348 :: 

1021 10:52:26348 :: Traceback (most recent call last):

1021 10:52:26348 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:26348 :: AttributeError
1021 10:52:26348 :: : 
1021 10:52:26348 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:26348 :: 

1021 10:52:26348 :: Traceback (most recent call last):

1021 10:52:26348 ::   File "game.py", line 2063, in BINARY_UpdateOfflineShopCount

1021 10:52:26348 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 10:52:26348 :: AttributeError
1021 10:52:26348 :: : 
1021 10:52:26348 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 10:52:26348 :: 

1021 10:52:27346 :: Traceback (most recent call last):

1021 10:52:27346 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:27346 :: AttributeError
1021 10:52:27346 :: : 
1021 10:52:27346 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:27346 :: 

1021 10:52:27346 :: Traceback (most recent call last):

1021 10:52:27346 ::   File "game.py", line 2060, in BINARY_UpdateUserCount

1021 10:52:27346 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 10:52:27346 :: AttributeError
1021 10:52:27346 :: : 
1021 10:52:27346 :: 'MiniMap' object has no attribute 'userCount'
1021 10:52:27346 :: 

1021 10:52:27346 :: Traceback (most recent call last):

1021 10:52:27346 ::   File "game.py", line 2213, in BINARY_ServerCommand_Run

1021 10:52:27347 :: AttributeError
1021 10:52:27347 :: : 
1021 10:52:27347 :: 'GameWindow' object has no attribute 'serverCommander'
1021 10:52:27347 :: 

1021 10:52:27347 :: Traceback (most recent call last):

1021 10:52:27347 ::   File "game.py", line 2063, in BINARY_UpdateOfflineShopCount

1021 10:52:27347 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 10:52:27347 :: AttributeError
1021 10:52:27347 :: : 
1021 10:52:27347 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 10:52:27347 :: 

Poză:-
*Detalii suplimentare:Mulțumesc anticipat
Avatar utilizator
BeauDeCiuda
Utilizator interzis !

Utilizator interzis !
Mesaje: 1915
Membru din: 24 Mar 2014, 16:25
Server: http://infomanii.ro
Regat: Chunjo
Aprecieri: 169  
Mulţumiri: 225  
 Contact:
Medalii

Problema ta de login este OfflineShopButton
'MiniMap' object has no attribute 'offlineshopCount'

google translate:
'MiniMap' obiect nu are nici un atribut 'offlineshopCount'
refa tutorialul cu atentie
Imagine
Afișează semnătura
Avatar utilizator
gubigubi
Nivel 3

Nivel 3
Mesaje: 358
Membru din: 15 Iul 2014, 12:17
Aprecieri: 34  
Mulţumiri: 4  
Medalii

BeauDeCiuda scrie:Problema ta de login este OfflineShopButton
'MiniMap' object has no attribute 'offlineshopCount'

google translate:
'MiniMap' obiect nu are nici un atribut 'offlineshopCount'
refa tutorialul cu atentie
Eu am modificat ce-a zis în tutorialu de la pet system...
sysser: (după ce am refăcut partea de python)

Cod: Selectaţi tot

1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=137) - Strange Skill Need Weapon(CLAW)
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=139) - Strange Skill Need Weapon(CLAW)
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=170, strType=wolfman).STRANGE_SKILL_TYPE
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=171, strType=wolfman).STRANGE_SKILL_TYPE
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=172, strType=wolfman).STRANGE_SKILL_TYPE
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=173, strType=wolfman).STRANGE_SKILL_TYPE
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=174, strType=wolfman).STRANGE_SKILL_TYPE
1021 11:33:10934 :: CPythonSkill::RegisterSkillDesc(dwSkillIndex=175, strType=wolfman).STRANGE_SKILL_TYPE
1021 11:33:25008 :: Traceback (most recent call last):

1021 11:33:25008 ::   File "networkModule.py", line 248, in SetGamePhase

1021 11:33:25008 ::   File "game.py", line 116, in __init__

1021 11:33:25008 ::   File "interfaceModule.py", line 502, in MakeInterface

1021 11:33:25008 ::   File "interfaceModule.py", line 275, in __MakeTaskBar

1021 11:33:25009 ::   File "uiTaskBar.py", line 306, in LoadWindow

1021 11:33:25009 ::   File "ui.py", line 4053, in GetChild

1021 11:33:25009 :: KeyError
1021 11:33:25009 :: : 
1021 11:33:25009 :: 'PetGuiButton'
1021 11:33:25009 :: 

1021 11:33:25012 :: Traceback (most recent call last):

1021 11:33:25012 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:25012 :: AttributeError
1021 11:33:25012 :: : 
1021 11:33:25012 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:25012 :: 

1021 11:33:25012 :: Traceback (most recent call last):

1021 11:33:25012 ::   File "game.py", line 2063, in BINARY_UpdateUserCount

1021 11:33:25012 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 11:33:25012 :: AttributeError
1021 11:33:25012 :: : 
1021 11:33:25012 :: 'MiniMap' object has no attribute 'userCount'
1021 11:33:25012 :: 

1021 11:33:25012 :: Traceback (most recent call last):

1021 11:33:25012 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:25013 :: AttributeError
1021 11:33:25013 :: : 
1021 11:33:25013 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:25013 :: 

1021 11:33:25013 :: Traceback (most recent call last):

1021 11:33:25013 ::   File "game.py", line 2066, in BINARY_UpdateOfflineShopCount

1021 11:33:25013 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 11:33:25013 :: AttributeError
1021 11:33:25013 :: : 
1021 11:33:25013 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 11:33:25013 :: 

1021 11:33:26008 :: Traceback (most recent call last):

1021 11:33:26008 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:26009 :: AttributeError
1021 11:33:26009 :: : 
1021 11:33:26009 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:26009 :: 

1021 11:33:26009 :: Traceback (most recent call last):

1021 11:33:26009 ::   File "game.py", line 2063, in BINARY_UpdateUserCount

1021 11:33:26009 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 11:33:26009 :: AttributeError
1021 11:33:26009 :: : 
1021 11:33:26009 :: 'MiniMap' object has no attribute 'userCount'
1021 11:33:26009 :: 

1021 11:33:26009 :: Traceback (most recent call last):

1021 11:33:26009 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:26009 :: AttributeError
1021 11:33:26009 :: : 
1021 11:33:26009 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:26009 :: 

1021 11:33:26009 :: Traceback (most recent call last):

1021 11:33:26009 ::   File "game.py", line 2066, in BINARY_UpdateOfflineShopCount

1021 11:33:26009 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 11:33:26010 :: AttributeError
1021 11:33:26010 :: : 
1021 11:33:26010 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 11:33:26010 :: 

1021 11:33:27015 :: Traceback (most recent call last):

1021 11:33:27015 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:27015 :: AttributeError
1021 11:33:27015 :: : 
1021 11:33:27016 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:27016 :: 

1021 11:33:27016 :: Traceback (most recent call last):

1021 11:33:27016 ::   File "game.py", line 2063, in BINARY_UpdateUserCount

1021 11:33:27016 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 11:33:27016 :: AttributeError
1021 11:33:27016 :: : 
1021 11:33:27016 :: 'MiniMap' object has no attribute 'userCount'
1021 11:33:27016 :: 

1021 11:33:27016 :: Traceback (most recent call last):

1021 11:33:27016 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:27016 :: AttributeError
1021 11:33:27016 :: : 
1021 11:33:27016 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:27016 :: 

1021 11:33:27016 :: Traceback (most recent call last):

1021 11:33:27016 ::   File "game.py", line 2066, in BINARY_UpdateOfflineShopCount

1021 11:33:27016 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 11:33:27016 :: AttributeError
1021 11:33:27016 :: : 
1021 11:33:27016 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 11:33:27016 :: 

1021 11:33:28007 :: Traceback (most recent call last):

1021 11:33:28007 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:28008 :: AttributeError
1021 11:33:28008 :: : 
1021 11:33:28008 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:28008 :: 

1021 11:33:28008 :: Traceback (most recent call last):

1021 11:33:28008 ::   File "game.py", line 2063, in BINARY_UpdateUserCount

1021 11:33:28008 ::   File "uiMiniMap.py", line 394, in UpdateUserCount

1021 11:33:28008 :: AttributeError
1021 11:33:28008 :: : 
1021 11:33:28008 :: 'MiniMap' object has no attribute 'userCount'
1021 11:33:28008 :: 

1021 11:33:28008 :: Traceback (most recent call last):

1021 11:33:28008 ::   File "game.py", line 2216, in BINARY_ServerCommand_Run

1021 11:33:28008 :: AttributeError
1021 11:33:28008 :: : 
1021 11:33:28008 :: 'GameWindow' object has no attribute 'serverCommander'
1021 11:33:28008 :: 

1021 11:33:28008 :: Traceback (most recent call last):

1021 11:33:28008 ::   File "game.py", line 2066, in BINARY_UpdateOfflineShopCount

1021 11:33:28009 ::   File "uiMiniMap.py", line 402, in UpdateOfflineShopCount

1021 11:33:28009 :: AttributeError
1021 11:33:28009 :: : 
1021 11:33:28009 :: 'MiniMap' object has no attribute 'offlineshopCount'
1021 11:33:28009 :: 

Edit:cred că e de la 'PetGuiButton'
Ăsta e al meu:

Cod: Selectaţi tot

import app
import uiScriptLocale


ROOT = "d:/ymir work/ui/game/"

Y_ADD_POSITION = 0
if (app.ENABLE_OFFLINE_SHOP_SYSTEM):
	window = {
		"name" : "ExpandTaskBar",

		"x" : SCREEN_WIDTH/2 - 5,
		"y" : SCREEN_HEIGHT - 74,

		"width" : 111,
		"height" : 37,

		"children" :
		(
			{
				"name" : "ExpanedTaskBar_Board",
				"type" : "window",

				"x" : 0,
				"y" : 0,

				"width" : 111,
				"height" : 37,

				"children" :
				(
					{
						"name" : "DragonSoulButton",
						"type" : "button",

						"x" : 0,
						"y" : 0,

						"width" : 37,
						"height" : 37,

						"tooltip_text" : uiScriptLocale.TASKBAR_DISABLE,
								
						"default_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_01.tga",
						"over_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_02.tga",
						"down_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_03.tga",
					},
					
					{
						"name" : "OfflineShopButton",
						"type" : "button",

						"x" : 74,
						"y" : 0,

						"width" : 37,
						"height" : 37,

						"tooltip_text" : uiScriptLocale.TASKBAR_OFFLINE_SHOP,

						"default_image" : "locale/ro/offlineshop/p1.png",
						"over_image" : "locale/ro/offlineshop/p2.png",
						"down_image" : "locale/ro/offlineshop/p1.png",
					},	
				),
			},		
		),
	}
Și acesta e în tutorial:

Cod: Selectaţi tot

import uiScriptLocale

ROOT = "d:/ymir work/ui/game/"

Y_ADD_POSITION = 0
window = {
	"name" : "ExpandTaskBar",

	"x" : SCREEN_WIDTH/2 - 5,
	"y" : SCREEN_HEIGHT - 74,

	"width" : 111,
	"height" : 37,

	"children" :
	(
		{
			"name" : "ExpanedTaskBar_Board",
			"type" : "window",

			"x" : 0,
			"y" : 0,

			"width" : 111,
			"height" : 37,

			"children" :
			(
				{
					"name" : "DragonSoulButton",
					"type" : "button",

					"x" : 0,
					"y" : 0,

					"width" : 37,
					"height" : 37,

					"tooltip_text" : uiScriptLocale.TASKBAR_DISABLE,
											
					"default_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_01.tga",
					"over_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_02.tga",
					"down_image" : "d:/ymir work/ui/dragonsoul/DragonSoul_Button_03.tga",
				},
								
				{
					"name" : "PetGuiButton",
					"type" : "button",

					"x" : 74,
					"y" : 0,

					"width" : 37,
					"height" : 37,

					"tooltip_text" : "Pet Gui",

					"default_image" : "d:/ymir work/ui/pet/taskbar_pet_button_01.tga",
					"over_image" : "d:/ymir work/ui/pet/taskbar_pet_button_02.tga",
					"down_image" : "d:/ymir work/ui/pet/taskbar_pet_button_03.tga",
				},	
			),
		},
	),
		
}
Cum pot să le leg?..
Avatar utilizator
[ST]SSH
Membru Club

Membru Club
Mesaje: 1704
Membru din: 12 Apr 2016, 23:54
Server: Fost Eluria2
Regat: Jinno
Aprecieri: 132  
Mulţumiri: 245  
 Contact:
Medalii

Arhivat!
Închis

Înapoi la “Arhivă Probleme şi Întrebări”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Google [Bot] și 121 vizitatori