leeroy Posted August 30, 2019 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 04/28/12 Last Seen: June 29, 2020 Share 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 Link to comment Share on other sites More sharing options...
Chuu Posted August 30, 2019 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 57 Reputation: 26 Joined: 05/13/16 Last Seen: October 28, 2024 Share 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 Link to comment Share on other sites More sharing options...
leeroy Posted August 31, 2019 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 21 Reputation: 0 Joined: 04/28/12 Last Seen: June 29, 2020 Author Share 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 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.