Rafa23Alzira Posted February 25, 2015 Report Share Posted February 25, 2015 Bueno, yo tenía este problema y si a alguien le puedo ayudar mejor. Resulta que al hacer when login en el pet system no invocaba la mascota, así que "inventé" un cmdchat para usar el objeto. En vuestra quest del pet_system deberíais poner algo así, cambiando el qf por como vosotros tengáis lo de el pet: when login with pc.getqf("pet_item") > 0 begin local peti = pc.getqf("pet_item") cmdchat("summon_pet "..peti.."") end Y en el game.py debéis poner esto: Si tenéis 4 inventarios en vez de *2 ponéis *4 def __summon_pet(self,vnumpet): for i in xrange(player.INVENTORY_PAGE_SIZE*2): YourItemID = player.GetItemIndex(i) if YourItemID == int(vnumpet): net.SendItemUsePacket(i) break bajo de "mall" ponéis "summon_pet" : self.__summon_pet, Es una tontería pero es útil y a mi me vino bien para mi sistema. mebe, Jeo, Nachomt2 and 4 others 7 Quote Link to comment Share on other sites More sharing options...
WorldArd Posted February 25, 2015 Report Share Posted February 25, 2015 Nada mal , seguramente a alguien le servirá Saludos Quote Link to comment Share on other sites More sharing options...
EzekielitohMercury Posted February 25, 2015 Report Share Posted February 25, 2015 +1 Quote Link to comment Share on other sites More sharing options...
MiGueLiT0 Posted February 25, 2015 Report Share Posted February 25, 2015 Muy bueno +1 Quote Link to comment Share on other sites More sharing options...
Migcia Posted February 25, 2015 Report Share Posted February 25, 2015 Perdonar mi ignorancia, pero me ha surgido una idea algo tonta. Cuando entras a un mapa se considera login? O simplemente la primera vez que carga el personaje despues de meter los datos de acceso? Quote Link to comment Share on other sites More sharing options...
Rafa23Alzira Posted February 25, 2015 Author Report Share Posted February 25, 2015 when login es digamos cuando tú personaje aparece, ya sea ir de un mapa a otro, conectarte, etc Migcia 1 Quote Link to comment Share on other sites More sharing options...
Guest DreamHQ Posted February 25, 2015 Report Share Posted February 25, 2015 Buen aporte +1 Un saludo. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.