
So a weird problem came
My newest BeardLib mod:
https://modworkshop.net/mydownloads.php?action=view_down&did=17680
Added Brenner Foregrip to G3 and overriding the standard G3 barrel (g3_b_long), with the model from Brenner's barrel
Using this mod with all the attachment it gives on G3
It seems, I can't stay connected to any game at all.
When connecting as a client, I can only connect 100% to Host, the other client will keep 'Joining' status
Even when the lobby is just me as client and host, after connecting for a while, I'll dc with messages (Lost connection to Host)
When I'm hosting with G3 and this mod
Any client that tries to connect won't connect at all.
Not even a connecting progress message (0 to 100%) will appear in game.
This is very confusing for me, because my other mod that adding new foregrip and overriding barrel (AMCAR Overhaul, L85 LMG) is working just fine
Anyone knows what might be the cause to this?
Ah also, I can't seem to forbid the game from installing the Assault Kit when my G3 HK21 attachment is installed.
Even though I already stated in the hook to forbid g3_b_short when G3 HK21 is installed.
Is the assault kit string is not g3_b_short?

I'm pretty sure my mod is the only cause of the problem
Joining a lobby with any kind of weapon, the game runs fine
Joining a lobby with a G3 not fitted with my mod attachment, the game runs fine
This is only joining a game that still in lobby.
Joining a heist already in progress would still result the same thing
If say, I join in with any weapon beside G3, I'll be able to connect to to everyone in the lobby (indicated by all their player and gun model [I also use Look My Gun! mod] finishes loading up)
At any point, if I switch to G3 with my mod attachment, I'll lose connection to the host.
If I'm doing same kind of mistake when implementing my G3 attachment mod, the game will softlock or just CTD at any point.
When loading up the game just after starting Payday2.exe; When installing the custom attachment in inventory; When going to safehouse (to look if the model is correctly lined up in first person view), at any point in those 3 event, the game just run fine.
But when going to multiplayer game,
my mod straight makes me lost connection to host entirely, or if I'm hosting, client won't even connect to me at all.
And this only happen if my primary is using G3 fitted with my attachment mod.
I'll go for the long jump here, and answer everything you ask for.
- No, I'm not using big lobby (also afaik, it won't have conflict with beardlib custom weapon mod)
- Having support for skin or not won't cause this dc on a beardlib custom thing mod
- Research: I'm asking here because BeardLib is fairly new, and not many modder is using this library/tool at the moment.
Last time I checked, BeardLib still can't modded in new, custom, barrel attachment for weapon. My mod only override barrel model, so it can't be the case. - Coincidence is not the case, as not using any element my mod gave, would make the game run just fine.
- BeardLib custom mod would sync to other people as either AMCAR (primary) or Chimano (secondary)
- Typing in the wrong path/string, would crash the game before it can even load into any heist (including safehouse)
Really tho, this bug just confuses the hell out of me, because similar mod works just fine

Changing the base foregrip to G3 PSG doesn't produce any different result
Using HK21 (Brenner LMG FG) on G3 will result in mod user can't sync to any other player ingame.
Game will always disconnect with the message Can't establish connection with Host
At this point, I assume it's BeardLib bug/glitch/limitation itself, and I can't do nothing to circumvent it..
I'm going to try to help but I didn't read much and am tired + have to go in about 5 mins to get food or I die.
I'm no expert and I could do more I just gotta go now. Have a good night