Closed Juraszka closed 1 year ago
What version of discord connector are you using? What other mods are you using?
DiscordConnector version 2.0.2
https://valheim.thunderstore.io/package/ValheimPlus/ValheimPlus/ https://valheim.thunderstore.io/package/Smoothbrain/TargetPortal/ https://valheim.thunderstore.io/package/Smoothbrain/CreatureLevelAndLootControl/ https://valheim.thunderstore.io/package/Smoothbrain/ServerCharacters/ https://valheim.thunderstore.io/package/Azumatt/AzuAntiCheat/ https://valheim.thunderstore.io/package/nwesterhausen/DiscordConnector/ https://valheim.thunderstore.io/package/RandyKnapp/EquipmentAndQuickSlots/ https://valheim.thunderstore.io/package/Smoothbrain/PassivePowers/ https://valheim.thunderstore.io/package/OdinPlus/OdinsInventoryDiscard/ https://valheim.thunderstore.io/package/Azumatt/PvPAlwaysOn/ https://valheim.thunderstore.io/package/Smoothbrain/DualWield/ https://valheim.thunderstore.io/package/Smoothbrain/Evasion/ https://valheim.thunderstore.io/package/Smoothbrain/Vitality/ https://valheim.thunderstore.io/package/Smoothbrain/Tenacity/ https://valheim.thunderstore.io/package/Smoothbrain/Sailing/ https://valheim.thunderstore.io/package/Smoothbrain/AntiCensorship/ https://valheim.thunderstore.io/package/Smoothbrain/PackHorse/ https://valheim.thunderstore.io/package/Smoothbrain/Lumberjacking/ https://valheim.thunderstore.io/package/Smoothbrain/Ranching/ https://valheim.thunderstore.io/package/Smoothbrain/Cooking/ https://valheim.thunderstore.io/package/Smoothbrain/Farming/ https://valheim.thunderstore.io/package/Smoothbrain/Blacksmithing/ https://valheim.thunderstore.io/package/Smoothbrain/Mining/ https://valheim.thunderstore.io/package/RandyKnapp/ExtendedItemDataFramework/ https://valheim.thunderstore.io/package/Korppis/SolidHitboxes/ https://valheim.thunderstore.io/package/Smoothbrain/Resurrection/ https://valheim.thunderstore.io/package/Smoothbrain/StaminaRegenerationFromFood/ https://valheim.thunderstore.io/package/Smoothbrain/SteadyRegeneration/ https://valheim.thunderstore.io/package/GoldenJude/Mineshafts/ https://valheim.thunderstore.io/package/Smoothbrain/TombstoneLock/ https://valheim.thunderstore.io/package/Smoothbrain/Building/ https://valheim.thunderstore.io/package/The_Bees_Decree/VALKEA/
Is there any error message in the log when the player leaves ?
11/07/2022 22:47:28: PlayFab network error in session 'wincls-valheim' and network 2e4a179c-cfe5-43f4-8ee4-9dacd055de8a|AwAuaHWp/mPWVm0C2keqUorieWEOVFdlc3RFdXJvcGUAAAAAAAAAAAAAUXZkEL9Xa34rfnIgJk1n6olEkKykili28X3MawG4mvIpb0pkbnM4MWU1LTkyNTdkZWYxLWM1MTctNDkyZC1hZDNkLTE1Y2RjMjQ2Zjg1ZS53ZXN0ZXVyb3BlLmNsb3VkYXBwLmF6dXJlLmNvbQ==: the operation was called with an invalid handle the operation was called with an invalid handle 11/07/2022 22:47:28: Failed to send, suspend TX on playfab/32D20C9BB52FA743 while trying to reconnect Failed to send session data. Error: /Event/WriteTelemetryEvents: The requesting entity is not authorized to write events with namespace playfab.party. Allowed namespaces can be 'custom' or begin with 'custom.'.
DiscordConnector doesn't do anything with PlayFab.party or anything like that besides looking up the socket hostname, which is a read and not write error. Based on the log snipped you posted, I think it's most likely that some other mod is causing an error when the player is leaving; and that mod isn't doing anything when players are kicked. Could it be something with server-side characters and server sync stuff?
When you updated discordconnector to 2.0.2, did you update any other mods?
I haven't used any server mods besides discordconnector when I've hosted servers so I'm not really an expert on solving this issue for you. You might have more success reaching out on Odin Plus discord in the help sections?
I never saw leave notification. Propably problem with ServerCharacters or AzuAntiCheat - these mods use Discord info too.
I checked and without ServerCharacters or AzuAntiCheat, notification about player leave is present but if one of there mods are, this info gone. No matter what mod - there is no information about Player leave on ServerCharacters and/or AzuAntiCheat.
There is no information about player left from server by logout. When kicked, notification is present.