Multiplayer Mod

This forum has been archived. Please use the new modding forum. If you need to retrieve a thread from here, contact BattleGoat.

Moderators: Balthagor, BattleGoat

Post Reply
KJK
Corporal
Posts: 3
Joined: Sep 05 2017
Human: Yes

Multiplayer Mod

Post by KJK »

Hello everyone,

I've come seeking an answer about modded games for multiplayer.
I put together a simple mod that changes some build times for buildings, game runs fine in single player.
I give the files to my friend (cache, modified Unit file, and scenario), and he jumps into my lobby. Upon starting the game, it kicks him each time. We tried a default scenario and he loads in fine, so clearly I missed something with my mod.

I've included the files in case anyone would like to help me figure this one out.

Network wise, whether we connect via internet or hamachi, default scenarios work, but not the custom one I made.

Any and all help is appreciated, thanks.

[Mod Link] https://ufile.io/zhs49
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: Multiplayer Mod

Post by evildari »

Hello KJK

you can try to change the scenario ID - it is the same in your mod and in the default 1936 scenario - maybe MP checks that ID to select same scenario and that could cause desync in MP
(but i dont know if that scenario id is even used in game)
Singleplayer runs without problem - be aware that if you reduce buildtimes, your maintenance costs p.a. will go up.
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
YoMomma
Brigadier Gen.
Posts: 768
Joined: Jun 27 2015
Human: Yes
Contact:

Re: Multiplayer Mod

Post by YoMomma »

It's kinda obvious answer i guess, but did you copy your sandbox files in multiplayer? I guess the map is there for a reason.
Gameplay 1st
KJK
Corporal
Posts: 3
Joined: Sep 05 2017
Human: Yes

Re: Multiplayer Mod

Post by KJK »

I did copy it from the sandbox file.

I guess I made the assumption that the game file types are of a single standard. Hate making assumptions without realizing it.

I'll be rebuilding it based on a multiplayer scenario. If that doesn't solve it i'll be back with a different question I am sure.

Thanks for helping.
evildari
Brigadier Gen.
Posts: 629
Joined: Aug 10 2017
Human: Yes

Re: Multiplayer Mod

Post by evildari »

i think YoMomma meant just putting the .scenario file also in the Multiplayer directory (which i assumed you already did)
my mods
http://www.bgforums.com/forums/viewtopi ... 79&t=25932 (even techs and units for everyone - AI will own you too)
http://www.bgforums.com/forums/viewtopi ... 79&t=29326 (MARSX2)
KJK
Corporal
Posts: 3
Joined: Sep 05 2017
Human: Yes

Re: Multiplayer Mod

Post by KJK »

AH, I misinterpreted then, >_> [_]O

Essentially I did that though, I dragged it from its original folder did some modifying and then had it put into multiplayer where it belongs.
Post Reply

Return to “Modding SRUltimate”