AtomicTorch Studio Forums

CryoFall => Bug reports => Topic started by: MightyMonte88 on January 24, 2021, 07:02:00 AM

Title: Problem on modded server, PVP enabled but players can't attack each other
Post by: MightyMonte88 on January 24, 2021, 07:02:00 AM
No matter what weapons they used, modded or not, different ammo types, melee, they can cause status effects to one another ( bleeding) but can't deal damage.

Turrets won't shoot at enemy players either, no matter the settings

PVP is enabled, friendly fire is not ( we even went to war in the factions menu to be sure )

What about this value
#DamagePvpMultiplier: 0.4

We removed the #, nothing changed

It's worth noting, that we launched the server in PVE mode accidentally at first, and then switched it to pvp without wiping. Is that the source of the issue?
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: ai_enabled on January 24, 2021, 08:42:08 AM
Hello!
You need to restart (stop and start) the server after editing the ServerRates.config.
If the issue persists, please provide the server log to let us investigate the issue (upload to any file hosting service and share the link) in a private message.

QuoteIs that the source of the issue?
No, changing the server from PvE to PvP works properly.

Regards!
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: Khaos on January 24, 2021, 10:37:51 AM
I server has been stopped and reloaded, after changing the settings. I changed the settings saved the file and then stopped and started the server. I do not however close the screen I just used the dotnet command with load at the end. Should I have totally closed the program?
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: ai_enabled on January 24, 2021, 11:23:44 AM
@Khaos, it's not required to close the console window. Sounds like you've done it right.
I guess something is odd with your mod code.
Anyway, please upload the server log.

Regards!
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: MightyMonte88 on January 24, 2021, 11:51:37 AM
I'm posting links to the server logs, thank you for taking the time to help us AI, it looks like somethings wrong with my modifications..

https://cdn.discordapp.com/attachments/792492234325884948/802972963884105738/Server_Log_a.txt
https://cdn.discordapp.com/attachments/792492234325884948/802973244201500672/Server_Log_b.txt
https://cdn.discordapp.com/attachments/792492234325884948/802973362187927613/Server_Log_c.txt
https://cdn.discordapp.com/attachments/792492234325884948/802973699468820500/Server_Log_d.txt
https://cdn.discordapp.com/attachments/792492234325884948/802974154349084692/Server_Log_e.txt
https://cdn.discordapp.com/attachments/792492234325884948/802974187168989184/Server_Log_Last.log

https://cdn.discordapp.com/attachments/792492234325884948/802970096662347876/Client_CryoFall_2021-01-24_10-33.log
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: ai_enabled on January 24, 2021, 11:54:34 AM
The logs look ok. Ok, I have a better idea. Please drop me in a PM an archive with: mod, modsconfig, server rates config. I will run a debugger with two clients and one server.
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: MightyMonte88 on January 24, 2021, 12:12:18 PM
Will do, i'll have it to you within 15 minutes, the files aren't large, my connection is just slow since i live in a rural area
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: ai_enabled on January 25, 2021, 05:47:39 AM
Apparently, there is a bug in our source code when DamageFriendlyFireMultiplier is not 1. We didn't test it enough and nobody before tried this setting in A29.
We will provide a server fix with the next patch. Meanwhile, please set DamageFriendlyFireMultiplier to 1.
Title: Re: Problem on modded server, PVP enabled but players can't attack each other
Post by: MightyMonte88 on January 25, 2021, 06:15:52 AM
Wow that was unexpected, at the very last im glad we were able to help identify a bug, thank you so much for your time Ai.  :)