Edit: Tried reducing the size of the custom squads, mod still fails, apparently it might not be a memory problem, but I’m not sure. Will contact when have further info.
Alright so here is what I have found. Apparently the custom squads for human players do not have as many restrictions, however those for bots need to stay below a certain amount, or else it might cause errors. Will gather more information soon.
News: Apparently bot squads can only be up to 800 KB in size, any higher than that and they break the game. It seems we have found the limit, ladies and gentlemen.
It’s weird that your profile worked… Because you have some errors in file:
- Lines 662, 2496, 2640, 3482, 3620, 36440 and 36582 (for player profile it’s : 662, 2496, 2641, 3482, 3620, 38543 and 38685).
They contains “,” but this shouldn’t be in a soldier latest equipment. Something like it in your code:
...
"radio" : {
"gametemplate" : "ussr_p13_radio_gun",
"slot" : "radio"
},
},
But it should be looks like:
"radio" : {
"gametemplate" : "ussr_p13_radio_gun",
"slot" : "radio"
}
},
...
- Lines 17899 and 23079 (for player profile it’s 17025 and 23079).
They contains dublicate front_belt_r.
...
"equipment" : {
"front_belt_r" : {
"gametemplate" : "attachable_wear_pouch_carcano_big_ita_01_summer_item",
"slot" : "front_belt_r"
},
"face" : {
"gametemplate" : "attachable_wear_head_02_it_item",
"slot" : "face"
},
"front_belt_r" : {
"gametemplate" : "attachable_wear_pouch_ppsh_r_07_ussr_winter_item",
"slot" : "front_belt_r"
},
...
You always can use online json or something like it. It will prints some common errors. Also helps much to code it all.
Well… I’ll check it a bit later, maybe because of these errors you got crashes… But i’m not sure about it. There may be other reasons and problems.
Unbelievable… 30 squads for bots and 36 for players…
Ah. You have found solution. I hope. How many squads? What you remove (can you send file in private messages)?
UPD:
- These fixes don’t fix crashes.
- You have maaaany loggers (error messages):
-
Mostly of them about wrong equipment slots. Like using bandolier as belt_1 or belt_2, but it’s probaby chest.
-
Some weapons have wrong mods.
-
Some weapon drop & pickup templates are wrong. Which is weird. Probably because you use old gun__blk.
-
In entities you have some dublicates. For example winchester_1907_gun_item.
-
Look the Russian Civil War had a lot of factions, okay… I know that adds up to an unbelivable number, but it’s all in the name of Immersion.
The bug occurs even in standard game. Moscow only. mod is sound mod only environment.
I wanted to report the bug, but I wanted to get back into the game immediately, so I turned it off.
I’m guessing that also causes a fatal error bug, overloading bot squads and sound mods apparently seems to cause a memory overload. Well thanks for the info, hopefully Darkflow fixes both issues soon.
In Japanese (since that’s your native language @kunkun1192)
これも致命的なエラーバグの原因になっているのではないかと思います。ボット部隊の過負荷とサウンドの変更が明らかにメモリの過負荷を引き起こしているようです。情報ありがとうございます。開発者が両方の問題をすぐに修正してくれることを願っています。
Well I do what I can with what I’m given. The process is quite simple, but I can see where the difficulty comes in.
Well maybe you should at least attempt to learn, seeing as how relying on me for everything might cause problems lol. I can understand how people don’t understand profiles, considering the limited amount of information out there.
I actually learn a lot of python programming from school and i learn on my own a lot. And json file is part of my learnt stuff. I know the format but its so complicated and I am not ready to touch it yet (exams are coming lol)
I must admire your work PrivateRyan44. Keep up the good work!
Thanks for the compliments guys. However it seems another bug has popped up (at this point it’s almost cliche)
I had the bots turn invisible in my mod also. I fixed the problem by removing stuff and making the size smaller. Maybe your mod has same problem
Hmm, if that’s the case, then this is probably the problem.
I’m guessing the HMT Olympic is causing the problem, considering the fact that I had to scale it up from the small cargo ship in New Georgia, then duiplicate the midsection 3 times. Maybe getting rid of this might help, but ehh, I’m a bit hesitant on the idea. I’ll try reducing her size a bit and see if it helps.
Edit: Didn’t work, had to delete, although it did save me about 900 kB worth of space, so that’s good.
Edit again: I do have a backup with the HMT Olympic, so that’s cool.
You could make copy of the mod and try reducing the size. That way you wont lose your ship if it wont work. Also you could make prefab of the ship
Hmm I’ll do that, thanks
I also have noticed that tanks and vehicles take lot of space. I reduced my mods size a lot by removing some vehicles. If your mod has any unecessary vehicles you could try getting rid of them
I doubt that would help, considering that this is most likely a memory problem. Removing vehicles would probably only save little space. I’ll just make two versions of the mod, one with and without the HMT Olympic.
Thanks for the help though!
Edit: Game still fails to create replays, trying something else…
No worries. Cant wait to play it once you make it work
Wait would it be the reason of my mod crashing the server that it is too large?
[Enlisted mod share - Google Drive]
But its so small
[https://sandbox.enlisted.net/post/oaezF6uIqWnd3tOc/]
I have a lot of zombie tank spawns (like 1 per 3 rounds, but when i test that, i always kill them and they are set with bodyCleanUp)
Also, I have done nothing to the map, its the base map without terraforming anything