Jump to content

problem open egg companion system official


Recommended Posts

Hi, i implemented the companion system like official but when i get a egg in incubator and i make his name, i push ok but in chat i have this;  [Pet-Incubator]Invio pacchetto schiudi pet

 

this is the line with de cha type info:

 

def RequestHatching(self):
if self.petname.GetText() == "" or len(self.petname.GetText()) < 4:
chat.AppendChat(chat.CHAT_TYPE_INFO, "[Pet-Incubator] Il nome del pet non e' valido.")
return

if player.GetElk() < 100000:
#chat.AppendChat(chat.CHAT_TYPE_INFO, "[Pet-Incubator]Devi possedere "+str(localeInfo.NumberToMoneyString(100000)) +".")
return

chat.AppendChat(chat.CHAT_TYPE_INFO, "[Pet-Incubator]Invio pacchetto schiudi pet.")
import chr
chr.RequestPetName(self.petname.GetText())
self.Close()

  • Sad 1
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • 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.