Dishorde icon indicating copy to clipboard operation
Dishorde copied to clipboard

Duplicated messages

Open SunBursts75 opened this issue 2 years ago • 4 comments

Hello, there is the issue - messages are being duplicated in discord if you are using serverbots such like 1CSMM_Patrons :-( . Is there any way to fix it? Thanks!

SunBursts75 avatar Sep 07 '23 16:09 SunBursts75

If the duplicated messages are from mods, there is currently not a fix available, at least to my knowledge. Sadly, no guarantees can be made for supporting modded servers as mods tend to introduce quite a few unexpected changes to the game.

LakeYS avatar Sep 08 '23 22:09 LakeYS

Thanks for the reply. There is a string in the serveradmin.xml of 7dtd game file:

  <apitokens>
    <token name="adminuser1" secret="supersecrettoken" permission_level="0" />
  </apitokens>

Alternatively, Dishorde can create the user and send game messages on his behalf.

Or may add a config string to Dishorde`s config.json: Chat handled by mod 'name' In game log:

INF Chat (from 'Steam_xxx', entity id '-1', to 'Global'): 'User': Hello world 
INF Chat handled by mod 'name': Chat (from 'Steam_xxx', entity id '196226', to 'Global'): 'User': Hello world

Dishorde is hooked second string ("Chat handled by mod" from config.json) and send it. Or just ignoring this strings.

SunBursts75 avatar Sep 09 '23 16:09 SunBursts75

We don't use any active mods, only what is supplied as standard. We often get the Leave message twice. Sometimes the first message is cut off, then it just says "Player 'FreeFun' left".

xXFreeFunXx avatar Jan 16 '24 08:01 xXFreeFunXx

Thanks for the reply. There is a string in the serveradmin.xml of 7dtd game file:

  <apitokens>
    <token name="adminuser1" secret="supersecrettoken" permission_level="0" />
  </apitokens>

Alternatively, Dishorde can create the user and send game messages on his behalf.

Or may add a config string to Dishorde`s config.json: Chat handled by mod 'name' In game log:

INF Chat (from 'Steam_xxx', entity id '-1', to 'Global'): 'User': Hello world 
INF Chat handled by mod 'name': Chat (from 'Steam_xxx', entity id '196226', to 'Global'): 'User': Hello world

Dishorde is hooked second string ("Chat handled by mod" from config.json) and send it. Or just ignoring this strings.

Is there any possibility we can have an option to do this ?

breeece avatar Mar 05 '24 14:03 breeece