Jump to content
  • 0
Sign in to follow this  
Mikado

Reading char config inside map files, send char name to client

Question

Hi, I'm making a command to change the name of a character. It's working fine by now, but to make it better I need a bit of help:

- How can I, from atcommand.c and script.c get the char table name? This is stored in the variable chardb inside char.c, but I cannot access it and if I include it in those files, a lot of things go wrong.

- How can I read the setting char_name_letters inside char_conf without implementing the method in those files? It's stored too in the variable "char_name_letters" inside char.c

- How can I send the new name to the client? I've looking for something usefull inside clif.c but nothing sounds familiar.

 

Thanks for your help.

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.