leeroy Posted August 30, 2019 Posted August 30, 2019 ich hab in pet.cpp was geändert was aber nicht gehen will // Hatch the pet if(sd->inventory.u.items_inventory.attribute == 1) { pet_birth_process2( sd, p ); } else { // Hide egg from inventory. // Set pet egg to broken, before the inventory gets saved sd->inventory.u.items_inventory.attribute = 1; pet_birth_process( sd, p ); } } else { pet_data_init(sd,p); if(sd->pd && sd->bl.prev != NULL) { if(map_addblock(&sd->pd->bl)) return 1; clif_spawn(&sd->pd->bl); clif_send_petdata(sd,sd->pd,0,0); clif_send_petdata(sd,sd->pd,5,battle_config.pet_hair_style); clif_pet_equip_area(sd->pd); clif_send_petstatus(sd); } } return 0; } er geht immer nach dem else ob wohl ich sd->inventory.u.items_inventory.attribute == 1 das erfülle könnte mir da jemand sagen wo ich da ein fehler reingemacht habe Quote
Chuu Posted August 30, 2019 Posted August 30, 2019 Hallo leeroy jenkins, was war denn dein Bestreben bei dieser Modifikation? Welchen Fehlercode spuckt deine Konsole aus? Hast du ordnungsgemäß kompiliert nach der Änderung im /src Ordner? Quote
leeroy Posted August 31, 2019 Author Posted August 31, 2019 (edited) ich wolllte ein alternatives pet inubator bauen das hunger und die freundschaft wiederherstellt bei atribut 1 bauen keine errors beim compiliren Edited August 31, 2019 by leeroy Quote
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.