Jump to content
  • 0

changesex in runtime?


dracomega

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/08/14
  • Last Seen:  

Hi

I'd like know if it's possible change char gender without exit to client.

The main idea is change sex field (sd->status.sex) and sprites while i'm playing by a command (for example @changesex2).

Also sex field will be on char table instead of login table.

 

Thank you! =)

 

(Sorry for my bad english... >-<)

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  154
  • Topics Per Day:  0.03
  • Content Count:  493
  • Reputation:   46
  • Joined:  01/24/12
  • Last Seen:  

no its not possible, unless you request a src modifications that if your male character change to female character the sprite will change too..,

 

its like playing a mp3  file on on windows media player, you can only change it if you stop the current process..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  2
  • Reputation:   0
  • Joined:  06/08/14
  • Last Seen:  

Yes, i want change emulator src.

For the time being, i have gotten to emulator recognoise a char like to men or women, only change it status.sex field. However client doesn´t change body or hair sprite, unless you change you job to dancer or bard.

 

reEcPOH.jpg

Hombre means men

 

4eGL2Vh.jpg

ACMD_FUNC(changesex2){
     if(!sd) return 1; //??
     sd->status.sex=!sd->status.sex;
     sd->vd.sex = sd->status.sex;
     clif_refresh(sd);
    map_foreachinmovearea(clif_insight, &sd->bl, AREA_SIZE, sd->bl.x, sd->bl.y, BL_ALL, &sd->bl);
    return 0;
} 

Any idea?

Edited by dracomega
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...