Jump to content
  • 0

Charcommand not working


Gouki

Question


  • Group:  Members
  • Topic Count:  88
  • Topics Per Day:  0.05
  • Content Count:  261
  • Reputation:   13
  • Joined:  08/12/20
  • Last Seen:  

Hi Guys,

Been wondering why my charcommands (#item, #zeny, etc) are not working. It instantly disconnects the account from the client and shows a warning in console. Mapserver does not crash, you can log back in right away.
image.png.df77e4365788161959613e803cdc4cf5.png

The account group set on DB is 99.

groups.yml settings is in default, which I think by default 99 - admin level should have permission to it.

Could anyone enlighten me is this is a client diff / SRC / setting issue?

Edited by Gouki
add information
Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   19
  • Joined:  12/24/18
  • Last Seen:  

9 minutes ago, Gouki said:

Hi Guys,

Been wondering why my charcommands (#item, #zeny, etc) are not working. It instantly disconnects the account from the client and shows a warning in console. Mapserver does not crash, you can log back in right away.
image.png.df77e4365788161959613e803cdc4cf5.png

The account group set on DB is 99.

groups.yml settings is in default, which I think by default 99 - admin level should have permission to it.

Could anyone enlighten me is this is a client diff / SRC / setting issue?

 

Hello, try to revert the changes you made in the source related to the packet, because the issue you're facing is an unsupported packet.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  88
  • Topics Per Day:  0.05
  • Content Count:  261
  • Reputation:   13
  • Joined:  08/12/20
  • Last Seen:  

6 minutes ago, Mice said:

 

Hello, try to revert the changes you made in the source related to the packet, because the issue you're facing is an unsupported packet.

Are you referring to #define packetver of src/config/packets.hpp?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   19
  • Joined:  12/24/18
  • Last Seen:  

3 minutes ago, Gouki said:

Are you referring to #define packetver of src/config/packets.hpp?

No, did you add any custom source code to your server? When you access the command, does it only appear there? Did you add any custom commands before?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  88
  • Topics Per Day:  0.05
  • Content Count:  261
  • Reputation:   13
  • Joined:  08/12/20
  • Last Seen:  

11 minutes ago, Mice said:

No, did you add any custom source code to your server? When you access the command, does it only appear there? Did you add any custom commands before?

there are quite some commands being added already for sometime now, unfortunately this charcommand was not tested since its on dev phase. do you think added commands affected it?

Could there be other options to check as to why this happens?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  78
  • Reputation:   19
  • Joined:  12/24/18
  • Last Seen:  

3 minutes ago, Gouki said:

there are quite some commands being added already for sometime now, unfortunately this charcommand was not tested since its on dev phase. do you think added commands affected it?

Could there be other options to check as to why this happens?

It's possible that, based on what you mentioned, the issue occurs when you run a command. So, it might be related to the custom command you added. Try to replicate the issue by going back to the changes you made before the problem started. Right now, I can't assist with your issue, especially since I don't know the history of what you did and can't see the problem myself. What you need to do is enable debug mode if you're using Visual Studio, or use GDB if you're on Linux.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  88
  • Topics Per Day:  0.05
  • Content Count:  261
  • Reputation:   13
  • Joined:  08/12/20
  • Last Seen:  

14 minutes ago, Mice said:

It's possible that, based on what you mentioned, the issue occurs when you run a command. So, it might be related to the custom command you added. Try to replicate the issue by going back to the changes you made before the problem started. Right now, I can't assist with your issue, especially since I don't know the history of what you did and can't see the problem myself. What you need to do is enable debug mode if you're using Visual Studio, or use GDB if you're on Linux.

GDB didn't print any as maybe because the server didn't really crash.  GDB didn't print any.

image.png.37539da44b05b4df085cfaab4c3f70f4.png

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  88
  • Topics Per Day:  0.05
  • Content Count:  261
  • Reputation:   13
  • Joined:  08/12/20
  • Last Seen:  

Found the issue, it's about Chat Alliance command being not available on my SRC.

Had to remap the Charcommand identifier via conf. and install chat alliance src to fix the issue.

This may be closed. thanks!

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