Problem/Bug Minigame Jugsaw/Fish Event

Înainte de a posta o problemă, caută în acest forum și poate găsești rezolvare.
Închis
Avatar utilizator
tristano98
Nou Venit

Nou Venit
Mesaje: 23
Membru din: 30 Aug 2015, 20:43
Regat: Chunjo
Aprecieri: 10  
Mulţumiri: 0
Medalii

*Problemă/Întrebare: Hello guys, i'm add Minigame Jigsaw but not work.
i have 2 problem
1) the puzzle not work and the grid doesn't appears
2) switch the page of the guide and text moves down

Tipologie server: PVM
*Resursă folosită: /
*ServerFiles utilizat: /
*Syserr:
0124 18:55:34409 :: Traceback (most recent call last):

0124 18:55:34409 :: File "ui.py", line 3548, in OnOverInItem

0124 18:55:34409 :: File "ui.py", line 174, in __call__

0124 18:55:34409 :: File "ui.py", line 165, in __call__

0124 18:55:34409 :: TypeError
0124 18:55:34409 :: :
0124 18:55:34409 :: OverInItem() takes exactly 3 arguments (2 given)
0124 18:55:34409 ::

0124 18:55:35335 :: Traceback (most recent call last):

0124 18:55:35335 :: File "game.py", line 5219, in MiniGameFishUse

0124 18:55:35335 :: File "interfaceModule.py", line 2686, in MiniGameFishUse

0124 18:55:35335 :: AttributeError
0124 18:55:35335 :: :
0124 18:55:35335 :: 'Interface' object has no attribute 'wndEvent'
Poză:
[BBvideo=560,315]https://youtu.be/z9vA8EtEVm8[/BBvideo]

*Detalii suplimentare:
Interfacemodule.py
	if app.ENABLE_FISH_EVENT:
		def MiniGameFishUse(self, shape, useCount):
			if self.wndEvent:
				self.wndEvent.MiniGameFishUse(shape, useCount)

		def MiniGameFishAdd(self, pos, shape):
			if self.wndEvent:
				self.wndEvent.MiniGameFishAdd(pos, shape)

		def MiniGameFishReward(self, vnum):
			if self.wndEvent:
				self.wndEvent.MiniGameFishReward(vnum)

		def MiniGameFishCount(self, count):
			if self.wndEvent:
				self.wndEvent.MiniGameFishCount(count)

		def SetFishEventStatus(self, isEnable):
			if isEnable:
				if not self.wndEvent:
					self.wndEvent = uiMiniGame.MiniGameWindow()

					if self.tooltipItem:
						if self.wndEvent:
							self.wndEvent.SetItemToolTip(self.tooltipItem)

					if app.WJ_ENABLE_TRADABLE_ICON:
						if self.wndEvent:	
							self.wndEvent.BindInterface(self)

						if self.wndInventory:
							if self.wndEvent:
								self.wndEvent.BindInventory(self.wndInventory)

				self.wndEvent.IntegrationMiniGame(True)
			else:
				if self.wndEvent:
					self.wndEvent.IntegrationMiniGame(False)


ui.py

	if app.ENABLE_FISH_EVENT:
		def SetOverInItemEvent(self, event, window = None):
			self.eventOverInItem = event
			self.eventOverInItemWindow = window
	else:
		def SetOverInItemEvent(self, event):
			self.eventOverInItem = event
Avatar utilizator
Tommy Shelby
Utilizator interzis !

Utilizator interzis !
Mesaje: 432
Membru din: 31 Mai 2015, 20:42
Server: AOG2 soon
Regat: Jinno
Aprecieri: 58  
Mulţumiri: 579  
Discord: Copiază ID
Medalii

compare with your files and the puzzle problem will disappear https://www.gfile.ro/?do=fD&fI=a63b5934 ... 49d5c8c9c9
Închis

Înapoi la “Probleme rezolvate”

  • Informaţie
  • Cine este conectat

    Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 31 vizitatori