Jump to content
  • 0

How to put message in command


Beret

Question


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

I am creating a system I would like to know how can I put a msgstringtable.txt message for this system.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

msg_athena.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Doing for msg_athena.conf I know want to know how do I by msgstringtable.txt

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

msgstringtable.txt is read by the client ... you have to edit / hex your client in order to make it read your custom mesage inside it.

for server side...we usually use trunk/conf/msg_athena.conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  6
  • Topics Per Day:  0.00
  • Content Count:  134
  • Reputation:   35
  • Joined:  02/27/12
  • Last Seen:  

What is your point in using msgstringtable.txt?

If you just want to show some msg in commands(@anything), write it in msg_athena.conf so in the atcommand you send it to the user using clif_displaymessage(fd, msg_txt(message_number));

Assure you're using a number which doesn't exist and the number is smaller than 1401.

If you want numbers bigger than 1400, you need to change the limit in atcommand.c changing the defined number:

#define MAX_MSG 1400

Each text can have up to 1024 characters.

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