Jump to content
TLThings

Item shop New in game


Recommended Posts

Trago um novo item shop in game que saiu.  ele é pago e eu vou compartilha com você mais tem um porem kkk eu não consegui fazer ele abrir quem souber peço que coloque a solução aqui vlws.

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

Download:

Hidden Content

    Give reaction or reply to this topic to see the hidden content.

 

 

Edited by Darkness
  • Like 45
  • Thanks 1
  • Upvote 2
Link to post
Share on other sites
  • Metin2 locked this topic
  • Metin2 unlocked this topic
Please login or register to see this quote.

amigo coloquei no meu mais não consegui abrir o shop e como falei se alguém souber configurar o botão deixe a solução aqui

código do botão pelo que vi na .py é : self.wndItemShop

Link to post
Share on other sites
  • 2 months later...

EDIT:   # PROBLEM SOLVED !

 

 

 

Any one can help me out with this ??  

 

Adding this to my game: 

Please login or register to see this quote.

 

Much appreciate for your help guys 

Edited by frogen1145
  • Like 1
Link to post
Share on other sites
  • 1 year later...
Posted (edited)

game.py

procurar:

serverCommandList["BINARY_OpenAnnouncementWindow"] = self.BINARY_OpenAnnouncementWindow

Verificar se esta igual ou parecido:

        self.serverCommander=stringCommander.Analyzer()
        for serverCommandItem in serverCommandList.items():
            self.serverCommander.SAFE_RegisterCallBack(
                serverCommandItem[0], serverCommandItem[1]
            )

    def BINARY_ServerCommand_Run(self, line):
        #dbg.TraceError(line)
        try:
            #print " BINARY_ServerCommand_Run", line
            return self.serverCommander.Run(line)
        except RuntimeError, msg:
            dbg.TraceError(msg)
            return 0

    def __ProcessPreservedServerCommand(self):
        try:
            command = net.GetPreservedServerCommand()
            while command:
                print " __ProcessPreservedServerCommand", command
                self.serverCommander.Run(command)
                command = net.GetPreservedServerCommand()
        except RuntimeError, msg:
            dbg.TraceError(msg)
            return 0

 

servercommandparser.py

procurar:

def __PreserveCommand(self, line):

verificar acima :

 

        self.serverCommander=stringCommander.Analyzer()
        for serverCommandItem in serverCommandList.items():
            self.serverCommander.SAFE_RegisterCallBack(
                serverCommandItem[0], serverCommandItem[1]
            )

    def BINARY_ServerCommand_Run(self, line):
        try:
            print " BINARY_ServerCommand_Reserve", line
            return self.serverCommander.Run(line)
        except RuntimeError, msg:
            import dbg
            dbg.TraceError(msg)
            return 0

Edited by Metin2
Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.