Mech Engineer

Mech Engineer

Simple Autocannon
llukkassi 2024 年 7 月 5 日 上午 1:46
Game crash with enlarged autocanon in production queue
Hi
Im not 100% sure if this mod is at fault or the game itself somehow has problem but when I enter production or callendar and hover over my enlarged autocanon shipment day my game crashes with this error.
I have no other mods installed.

Can i somehow salvage my run if this cannot be fixed?
Thanks for the help.
___________________________________________ ############################################################################################ ERROR in action number 1 of Draw Event for object obj_component_shop: sprite_get_xoffset argument 1 invalid reference to (sprite) - requested 1169 max is 782############################################################################################ gml_Object_obj_component_shop_Draw_0 (line 149)
最后由 llukkassi 编辑于; 2024 年 7 月 5 日 上午 1:59
< >
正在显示第 1 - 15 条,共 16 条留言
llukkassi 2024 年 7 月 5 日 上午 2:35 
I think i managed to edit save file to get rid of the +size autocanon in queue.
After that i regained ability to enter production and callendar, but i still cannot enter day summary, as the game crashes there too (even before save edit) :sad_seagull:
llukkassi 2024 年 7 月 5 日 上午 3:08 
Ok after going to the next ingame day I am able to go into previous day summary (the one with the efficiency chart) ufff.
I still use normal autocanon but gonna avoid for now the +size ones.
最后由 llukkassi 编辑于; 2024 年 7 月 5 日 上午 9:27
Same problem here, dunno why
引用自 llukkassi
I think i managed to edit save file to get rid of the +size autocanon in queue.
After that i regained ability to enter production and callendar, but i still cannot enter day summary, as the game crashes there too (even before save edit) :sad_seagull:
May i ask where to edit production line so i can remove the autocannon?
llukkassi 2024 年 7 月 5 日 上午 9:26 
Sure
in the save file
C:\Users\_YourUser_\AppData\Local\Mech_Engineer\data
There are 3 files named
f_save_slot_1
f_save_slot_2
f_save_slot_3
Chose the one that you have your problematic save on and edit that file in any text editor for example notepad.

Inside there will be entries "hangar_number_10_position" to "hangar_number_1_position"
You have to clear hangars that are occupied by autocanon production in my case it was hangars 6-10 (bottom production row). Upper production hangars are 1-5. To clear them all values have to be set to 0.

In my case it looked like this:
hangar_number_10_position_11="0.000000" hangar_number_10_position_10="0.000000" hangar_number_10_position_9="0.000000" hangar_number_10_position_8="0.000000" hangar_number_10_position_7="0.000000" hangar_number_10_position_6="0.000000" hangar_number_10_position_5="0.000000" hangar_number_10_position_4="0.000000" hangar_number_10_position_3="0.000000" hangar_number_10_position_2="0.000000" hangar_number_10_position_1="0.000000" hangar_number_10_position_0="0.000000" hangar_number_9_position_11="0.000000" hangar_number_9_position_10="0.000000" hangar_number_9_position_9="0.000000" hangar_number_9_position_8="0.000000" hangar_number_9_position_7="0.000000" hangar_number_9_position_6="0.000000" hangar_number_9_position_5="0.000000" hangar_number_9_position_4="0.000000" hangar_number_9_position_3="0.000000" hangar_number_9_position_2="0.000000" hangar_number_9_position_1="0.000000" hangar_number_9_position_0="0.000000" hangar_number_8_position_11="0.000000" hangar_number_8_position_10="0.000000" hangar_number_8_position_9="0.000000" hangar_number_8_position_8="0.000000" hangar_number_8_position_7="0.000000" hangar_number_8_position_6="0.000000" hangar_number_8_position_5="0.000000" hangar_number_8_position_4="0.000000" hangar_number_8_position_3="0.000000" hangar_number_8_position_2="0.000000" hangar_number_8_position_1="0.000000" hangar_number_8_position_0="0.000000" hangar_number_7_position_11="0.000000" hangar_number_7_position_10="0.000000" hangar_number_7_position_9="0.000000" hangar_number_7_position_8="0.000000" hangar_number_7_position_7="0.000000" hangar_number_7_position_6="0.000000" hangar_number_7_position_5="0.000000" hangar_number_7_position_4="0.000000" hangar_number_7_position_3="0.000000" hangar_number_7_position_2="0.000000" hangar_number_7_position_1="0.000000" hangar_number_7_position_0="0.000000" hangar_number_6_position_11="0.000000" hangar_number_6_position_10="0.000000" hangar_number_6_position_9="0.000000" hangar_number_6_position_8="0.000000" hangar_number_6_position_7="0.000000" hangar_number_6_position_6="0.000000" hangar_number_6_position_5="0.000000" hangar_number_6_position_4="0.000000" hangar_number_6_position_3="0.000000" hangar_number_6_position_2="0.000000" hangar_number_6_position_1="0.000000" hangar_number_6_position_0="0.000000"

After that i was able to play just fine.
Remember to do backup of Your save, as to not lose anything.
If Your autocanon finished production, unfortunetelly i have no idea how to get it out of Your save.

Hope this helps :lunar2020ratinablanket:
最后由 llukkassi 编辑于; 2024 年 7 月 5 日 下午 11:20
引用自 llukkassi
Sure
in the save file
C:\Users\_YourUser_\AppData\Local\Mech_Engineer\data
There is 3 files named
f_save_slot_1
f_save_slot_2
f_save_slot_3
Chose the one that you have your problematic save on and edit that file in any text editor for example notepad.

Inside there will be entries "hangar_number_10_position" to "hangar_number_1_position"
You have to clear hangars that are occupied by autocanon production in my case it was hangars 6-10 (bottom production row) So upper production hangars are 1-5. To clear them all values have to be set to 0.

In my case it looked like this:
hangar_number_10_position_11="0.000000" hangar_number_10_position_10="0.000000" hangar_number_10_position_9="0.000000" hangar_number_10_position_8="0.000000" hangar_number_10_position_7="0.000000" hangar_number_10_position_6="0.000000" hangar_number_10_position_5="0.000000" hangar_number_10_position_4="0.000000" hangar_number_10_position_3="0.000000" hangar_number_10_position_2="0.000000" hangar_number_10_position_1="0.000000" hangar_number_10_position_0="0.000000" hangar_number_9_position_11="0.000000" hangar_number_9_position_10="0.000000" hangar_number_9_position_9="0.000000" hangar_number_9_position_8="0.000000" hangar_number_9_position_7="0.000000" hangar_number_9_position_6="0.000000" hangar_number_9_position_5="0.000000" hangar_number_9_position_4="0.000000" hangar_number_9_position_3="0.000000" hangar_number_9_position_2="0.000000" hangar_number_9_position_1="0.000000" hangar_number_9_position_0="0.000000" hangar_number_8_position_11="0.000000" hangar_number_8_position_10="0.000000" hangar_number_8_position_9="0.000000" hangar_number_8_position_8="0.000000" hangar_number_8_position_7="0.000000" hangar_number_8_position_6="0.000000" hangar_number_8_position_5="0.000000" hangar_number_8_position_4="0.000000" hangar_number_8_position_3="0.000000" hangar_number_8_position_2="0.000000" hangar_number_8_position_1="0.000000" hangar_number_8_position_0="0.000000" hangar_number_7_position_11="0.000000" hangar_number_7_position_10="0.000000" hangar_number_7_position_9="0.000000" hangar_number_7_position_8="0.000000" hangar_number_7_position_7="0.000000" hangar_number_7_position_6="0.000000" hangar_number_7_position_5="0.000000" hangar_number_7_position_4="0.000000" hangar_number_7_position_3="0.000000" hangar_number_7_position_2="0.000000" hangar_number_7_position_1="0.000000" hangar_number_7_position_0="0.000000" hangar_number_6_position_11="0.000000" hangar_number_6_position_10="0.000000" hangar_number_6_position_9="0.000000" hangar_number_6_position_8="0.000000" hangar_number_6_position_7="0.000000" hangar_number_6_position_6="0.000000" hangar_number_6_position_5="0.000000" hangar_number_6_position_4="0.000000" hangar_number_6_position_3="0.000000" hangar_number_6_position_2="0.000000" hangar_number_6_position_1="0.000000" hangar_number_6_position_0="0.000000"

After that i was able to play just fine.
Remember to do backup of Your save, as to not lose anything.
If Your autocanon finished production, unfortunetelly i have no idea how to get it out of Your save.

Hope this helps :lunar2020ratinablanket:
Thx a lot!
WalrusJones  [开发者] 2024 年 7 月 9 日 上午 9:27 
Why does steam not notify me when my forum is used.
WalrusJones  [开发者] 2024 年 7 月 9 日 上午 9:27 
I'll investigate it.
llukkassi 2024 年 7 月 9 日 上午 9:48 
Yeah i thought so, that probably You did not recive any notification (or You went on holidays or something like that).
That is exactly why i posted in mod comment section to grab more attention, and kinda warn people so they wont have to go for save edit to salvage their playthroughs.

Thanks for looking into it :)
llukkassi 2024 年 7 月 9 日 上午 9:54 
Ah, and if You need any info, or want me to replicate it again and send You my savefile, I sure can.
I will backup my save and try to go for it again if I do not have the broken save anymore.
WalrusJones  [开发者] 2024 年 7 月 12 日 下午 1:55 
We had someone else who oddly wasn't able to reproduce the bug, which is really strange.

I can give it a look still, but given we have failed to reproduce whats up I am even more confused.

Are you using multiple weapon mods by any chance?
llukkassi 2024 年 7 月 13 日 上午 1:22 
No just this mod, as i stated in first post.
But yeah as i progressed further into the game i cannot replicate it now... strange.
I still have the broken save on me, and its still broken there, also somone else had the same problem, so it happens in... specific situation?

Maybe it brakes if you do only size+ mission? At that point i did not have any other mission complete, and did not have all research complete.
Screen of my mods
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3288139098
Screen of my map in broken save:
https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=3288146280

I hoped that i can just paste my save as text, well no luck its to big so here is the file (I changed file format to txt, so it will show its content without having to download)
Google drive [drive.google.com]
最后由 llukkassi 编辑于; 2024 年 7 月 13 日 上午 1:30
Nordak Balrem 2024 年 7 月 16 日 下午 5:00 
Might be of interest, Dev fixed a bug with all modded weapons recently. Check out the example weapon mod.
AburntBridges 2024 年 8 月 21 日 上午 5:14 
Still bugged, or is the production tab crash another issue?
llukkassi 2024 年 8 月 21 日 上午 9:11 
no one could replicate soooo...
I guess it was somehow oneoff problem?
< >
正在显示第 1 - 15 条,共 16 条留言
每页显示数: 1530 50