Jump to content

Problem/Bug Minigame Jugsaw/Fish Event


Recommended Posts

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 comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • Activity

    1. 11

      Multi Language System

    2. 0

      [FREE DESIGN] Interface + Logo + Discord Banner and Avatar

    3. 4

      Feeding game source to LLM

    4. 0

      Quest 6/7 Problem

    5. 5

      Effect weapons

    6. 0

      [C++] Fix Core Downer Using Negative Number in GM Codes

    7. 3

      Crystal Metinstone

    8. 4

      Feeding game source to LLM

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • 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.