Jump to content

Multiple Atcommand Symbols


tr0n

Recommended Posts


  • Group:  Members
  • Topic Count:  28
  • Topics Per Day:  0.01
  • Content Count:  562
  • Reputation:   152
  • Joined:  02/21/12
  • Last Seen:  

Hey guys,

guess who is back and even with a new release ? So what is this all about ?

The atcommand_symbol allows us to set a symbol for using commands ingame.

Sadly we can only use one symbol only. But not now anymore. This patch allows

you to add multiple symbols for your atcommand_symbol !

 

Download:

- atcommand_symbol.patch

If someone has issues with the source compiling use this:

- compile_fix.patch

 

How to Install:

- Download the patch

- apply the patch on your server (tortoise, git, etc.)

- Recompile source

 

How do I enable it ?

Go to: ...\conf\atcommand_athena.conf

 

Find:

atcommand_symbol : "@"

Use it like this for an example: (i just used random symbols so you get what I mean)

atcommand_symbol : "@!&-_%"

What  happens now is that all symbols in that line get registered as a atcommand symbol and can be used ingame for commands.

I limited it to 16 but you can change it if you want.

 

How to change the limit ?

Go to: ...\src\map\atcommand.c

 

Find:

#define ATCOMMAND_SYMBOL_LENGTH 16

Replace for example:

#define ATCOMMAND_SYMBOL_LENGTH 24

recompile source after this.

This would allow you to change the limit.

 

Have Fun with this :)

Greets tr0n

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  36
  • Topics Per Day:  0.01
  • Content Count:  383
  • Reputation:   121
  • Joined:  03/31/12
  • Last Seen:  

Thanks for the released, please update also the Quest-Board..

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
Reply to this topic...

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