Advertisement
Guest User

MF FPP crashconvo

a guest
May 6th, 2020
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.49 KB | None | 0 0
  1. tonio - japanman04/30/2020
  2. hi, I'm new, i'd like to report a bug when i loaded the mobilefactory mod
  3. https://prnt.sc/s8pwco
  4. Lightshot
  5. Screenshot
  6.  
  7. 18.21 factorio
  8.  
  9. Dexy04/30/2020
  10. This mean that you have a mod who blindly add a upgrade to all mining drills
  11.  
  12. tonio - japanman04/30/2020
  13. hmm okay, any way i can find out the culprit?
  14. oh i think it's built in beacons
  15.  
  16. Dexy04/30/2020
  17. Can be fixed
  18. tonio - japanman04/30/2020
  19. Ok, it is easy? Like changing some lines?
  20.  
  21. Dexy04/30/2020
  22. Maybe @Honktown will do that
  23. I can’t do that with my phone
  24.  
  25. ☆Spark04/30/2020
  26. 9 chances out of 10 that's factorio plus plus
  27.  
  28. Honktown04/30/2020
  29. There is no next_upgrade for the OreCleaner :angry:
  30. Someone applied it to all mining drills
  31. Because they're a jackass
  32. Just got up >_>
  33.  
  34. Dexy04/30/2020
  35. In fact, set the next upgrade to nil will fix the issue
  36. Inside the ore cleaner entity declaration
  37.  
  38. Honktown04/30/2020
  39. It should be nil
  40.  
  41. Dexy04/30/2020
  42. I think no
  43. Ore cleaner extend data from electric mining drill
  44. And If a mod attempt to access the fast replace group
  45. Boum, error
  46.  
  47. Honktown04/30/2020
  48. fast_replaceable_group is a string
  49. next_upgrade is nil
  50. Because there is no next upgrade for mining drills
  51. In vanilla
  52.  
  53. Dexy04/30/2020
  54. But what if a mod add one
  55. And was loaded before MF
  56.  
  57. Honktown04/30/2020
  58. If he finds which one it'd be easier to deal with
  59.  
  60. @tonio - japanman
  61. More information friend
  62. factorio-current.log
  63.  
  64. Dexy04/30/2020
  65. Just set the next upgrade to nil, this will fix that
  66.  
  67. Honktown04/30/2020
  68. It is nil in Mobile Factory
  69.  
  70. Dexy04/30/2020
  71. Sure ?
  72.  
  73. Honktown04/30/2020
  74. Absolutely
  75. OreCleaner starts as deepcopy of electric-mining-drill
  76.  
  77. Dexy04/30/2020
  78. And?
  79.  
  80. Honktown04/30/2020
  81. EMD doesn't have one!
  82. There is no upgrade for it
  83.  
  84. Dexy04/30/2020
  85. But what if a mod add one
  86. @Dexy
  87.  
  88. Honktown04/30/2020
  89. 1) if something is upgradeable to another entity, it needs a group
  90. 2) if it is not the exact same size, that is an error :wink:
  91. OreCleaner is bigger than normal drills
  92.  
  93. Dexy04/30/2020
  94. But what if a mod add multiple tier of mining drills
  95. (Hello Factorio ++)
  96.  
  97. Honktown04/30/2020
  98. They are forcing their definition on a mis-matched entity
  99.  
  100. Dexy04/30/2020
  101. Factorio check the group before checking the size
  102.  
  103. Honktown04/30/2020
  104. Because they are Doing It Wrong (TM)
  105.  
  106. Dexy04/30/2020
  107. This is why you see the group error
  108.  
  109. Honktown04/30/2020
  110. I can add an unused fast_replaceable_group, and hope it works
  111. Hope F++ ignores entities that already have one
  112.  
  113. Dexy04/30/2020
  114. Or set the next upgrade to nil
  115.  
  116. Honktown04/30/2020
  117. Dexy
  118. it is nil
  119. I could add F++ as a dependency
  120.  
  121. Dexy04/30/2020
  122. https://prnt.sc/s8pwco
  123. @tonio - japanman
  124. Lightshot
  125. Screenshot
  126.  
  127. Error say no
  128.  
  129. Honktown04/30/2020
  130. name = "electric-mining-drill",
  131. open_sound = 0,
  132.  
  133. Dexy04/30/2020
  134. Pretty sure the next upgrade is not nil
  135.  
  136. Honktown04/30/2020
  137. -- Entity --
  138. ocE = table.deepcopy(data.raw["mining-drill"]["electric-mining-drill"])
  139. There is no next_upgrade in our definition
  140. Someone else is fucking it over
  141.  
  142. Dexy04/30/2020
  143. Explanation:
  144. Next upgrade is nil,
  145. F++ mod loading
  146. F++ set emd next upgrade to something
  147. MF loading
  148. Next upgrade is not nil
  149. Crash
  150.  
  151. Honktown04/30/2020
  152. Ahh that's what you mean
  153. That we're copying an already-applied next_upgrade from the EMD
  154.  
  155. Dexy04/30/2020
  156. Yep
  157. :thumbsup: you understood
  158. Then, set next upgrade to nil will fix the issue
  159.  
  160. Honktown04/30/2020
  161. Hopefully. Unless F++ is blindly applying it
  162. I was too quick to judgement
  163. Not like the author is here anyway >_>
  164.  
  165. Dexy04/30/2020
  166. Not sure that is caused by F++
  167. It’s was an exemple
  168.  
  169. Honktown04/30/2020
  170. It may or may not be
  171. EMD has no next_upgrade
  172. So they could be a doing a pairs and adding to anything with nil
  173. A better fix would require more time, but I feel I should go through Erya logistics and set groups and set next_upgrades to good values
  174. (they also do deepcopies)
  175.  
  176. Dexy04/30/2020
  177. You can also override the deepcopy fonction and add a next upgrade to nil
  178.  
  179. Honktown04/30/2020
  180. I'm starting with that
  181. Belts should fast-replace belts
  182. The Erya Mining Drill could be an issue. I don't know if I should nil the fast_replace_able group and upgrade or not
  183.  
  184. Dexy04/30/2020
  185. The size can be an issue
  186.  
  187. Honktown04/30/2020
  188. I will nil the upgrade, or we will literally get the same error lol
  189. Not the same one, but the wrong size error
  190. upgrade->group aand upgrade->group->size
  191. I'm setting all the erya items to have no next upgrades... I already set the Fluid Extractor
  192.  
  193. Dexy04/30/2020
  194. Yeah, f**k next_upgrade
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement