Jump to content
  • 0

Problem/Bug Minigame Jugsaw/Fish Event


tristano98

Question

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

 

 

Can you help me?

 

 

This is video

 

Syserr

Spoiler

 

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'

0124 18:55:35335 :: 

 

 

 

interfece.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

 

Edited by tristano98
Link to post

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



Shoutbox

Shoutbox

Chatroom Rules

 

Join our Discord

A request for help = Shoutbox Ban

Be respectful & Respect the rules

 

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.