Jump to content
  • 0

Cloning Pet


Kichi

Question


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

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

/ok

Edited by Kichi
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   0
  • Joined:  05/10/12
  • Last Seen:  

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 by vijay30393
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

@vijay

Thanks you for ur suggestion,

but i need source for custom cute pet /omg

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  737
  • Reputation:   216
  • Joined:  11/29/11
  • Last Seen:  

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.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

i saw this done by XileRO, back then when i was still playing on the server

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

@Lighta

thanks for the clue,

but i need the source code >.<

@frenzmu06

really? I had to check it

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   0
  • Joined:  05/10/12
  • Last Seen:  

I do have the xilero's DB and NPC file's but, the svn version have changed so the pet is not working.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  326
  • Reputation:   47
  • Joined:  04/01/12
  • Last Seen:  

@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?

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  509
  • Reputation:   80
  • Joined:  11/20/11
  • Last Seen:  

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 /sob

plis tell me the flow of data so that the pet can appear

/thx

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  64
  • Topics Per Day:  0.02
  • Content Count:  180
  • Reputation:   7
  • Joined:  12/19/12
  • Last Seen:  

For clone pet you need add cod in src!

BUILDIN_FUNC(nameclone)

{

code for clone in pet!

}

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  35
  • Topics Per Day:  0.01
  • Content Count:  114
  • Reputation:   0
  • Joined:  05/10/12
  • Last Seen:  

@brunoshp Where exactly we must add that code?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...