Kichi Posted October 2, 2012 Posted October 2, 2012 (edited) I want make a request about Cloning Pet Illustration When i Hatch this Pet (from pet egg), this pet will looks like me: - Job - Cloth Color - Hair Color - Hair Model - Upper Headgear - Midle Headgear - Lower Headgear - Robe Can somebody give me clue or the modified diff Thanks Edited October 2, 2012 by Kichi Quote
vijay30393 Posted October 2, 2012 Posted October 2, 2012 (edited) Try this NPC. https://dl.dropbox.com/u/94554687/clone.txt // Clone valkyrie,55,32,5 script ribbon_set_summon_clone 850,{ Onaaa: getmapxy .@map$, .@x, .@y, 0; while ( mobcount( strcharinfo(3), "clonecheck::On"+ getcharid(0) ) < 1 ) clone .@map$, .@x, .@y, "clonecheck::On"+ getcharid(0), getcharid(0), getcharid(0), 0x8D, 1; end; } Edited October 2, 2012 by vijay30393 Quote
Kichi Posted October 2, 2012 Author Posted October 2, 2012 @vijay Thanks you for ur suggestion, but i need source for custom cute pet Quote
Lighta Posted October 3, 2012 Posted October 3, 2012 well beside job I think it's all a matter of view_data. So spawn a pet-data then change it's view_data by pet_data_init and instead status_set_viewdata take your current data (well you probably need to modify this one too since it's taking a class as parameter) But juging from clif_send_petdata, idk if you could set all the option you wanted, well you still can try. So here your clue, hope it helped a bit. Quote
frenzmu06 Posted October 3, 2012 Posted October 3, 2012 i saw this done by XileRO, back then when i was still playing on the server Quote
Kichi Posted October 6, 2012 Author Posted October 6, 2012 @Lighta thanks for the clue, but i need the source code >.< @frenzmu06 really? I had to check it Quote
vijay30393 Posted October 8, 2012 Posted October 8, 2012 I do have the xilero's DB and NPC file's but, the svn version have changed so the pet is not working. Quote
frenzmu06 Posted October 10, 2012 Posted October 10, 2012 @vijay30393 do you have a copy of the source? if you do or don't can you post a link of an upload of what you have? Quote
vijay30393 Posted October 13, 2012 Posted October 13, 2012 @frenzmu06 nothing is free, add me on msn: [email protected] Quote
Kichi Posted January 19, 2013 Author Posted January 19, 2013 ew somebody have this source? bumb well beside job I think it's all a matter of view_data. So spawn a pet-data then change it's view_data by pet_data_init and instead status_set_viewdata take your current data (well you probably need to modify this one too since it's taking a class as parameter) But juging from clif_send_petdata, idk if you could set all the option you wanted, well you still can try. So here your clue, hope it helped a bit. i tried the method to change the mob_avail but failure yet plis tell me the flow of data so that the pet can appear Quote
brunoshp Posted February 10, 2013 Posted February 10, 2013 For clone pet you need add cod in src! BUILDIN_FUNC(nameclone){ code for clone in pet! } Quote
vijay30393 Posted February 12, 2013 Posted February 12, 2013 @brunoshp Where exactly we must add that code? Quote
Question
Kichi
I want make a request about Cloning Pet
Illustration
When i Hatch this Pet (from pet egg),
this pet will looks like me:
- Job
- Cloth Color
- Hair Color
- Hair Model
- Upper Headgear
- Midle Headgear
- Lower Headgear
- Robe
Can somebody give me clue or the modified diff
Thanks
11 answers to this question
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.