Search found 260 matches: replace game.on_load() with script.on_load()
Searched query: replace game on load| with script on load|
ignored: on on
- Sun Jun 12, 2022 9:20 am
- Forum: Resolved Problems and Bugs
- Topic: [1.1.60] Desync bug
- Replies: 4
- Views: 2718
[1.1.60] Desync bug
... but I couldn't find anything like that in the code ] Illisis: Desyncs with mods category Bilka? [7:11 PM] Bilka: no, normal bug report [7:11 PM] ... level_with_tags.dat differs --------------------------- replace ref[1:2] -> des[1:2] <scenario-history> pos=8608972 ref: b'\x06' ...
- Mon Nov 08, 2021 1:24 pm
- Forum: Ideas and Suggestions
- Topic: Caching for multiplayer map download
- Replies: 41
- Views: 9192
Re: Caching for multiplayer map download
... 200k/m each of iron and copper ore. For each save, I unzipped the file, replaced the level.datN files with decompressed versions and created an uncompressed tar of the result with the level.datN ...
- Fri Oct 29, 2021 2:37 am
- Forum: Minor issues
- Topic: [Rseding] [1.1.41] Fast replace deconstructs any extra entities at the same position.
- Replies: 5
- Views: 2301
Re: [Rseding] [1.1.41] Fast replace deconstructs any extra entities at the same position.
I'm not sure if any behavior is "correct". * Replace them all with 1 new entity * Replace just 1 (why? which one? what if the new entity is invalid to both exist ...
- Tue Oct 19, 2021 10:12 pm
- Forum: Ideas and Requests For Mods
- Topic: Request Mod - Alternative Creative
- Replies: 9
- Views: 2513
Re: Request Mod - Alternative Creative
... just want the final item crafted then "all" you have to do it replace the crafting menu with your own so you can catch the player clicking on something. Then add the item to the crafting ...
- Sat May 15, 2021 9:29 pm
- Forum: Modding help
- Topic: Get entity connections?
- Replies: 8
- Views: 2399
Re: Get entity connections?
... you to connect to a wall next to the gate, and if you try to use it with a gate it complains about not having a circuit id - i haven't found ... that the issue I've got is likely a bug someone else found. If you fast replace a gate, by hand or by script, the circuit connection breaks.
- Wed Apr 14, 2021 7:50 pm
- Forum: Resolved Problems and Bugs
- Topic: [Lou] [1.1.30] Crash on saving [Space exploration mod]
- Replies: 2
- Views: 10189
[Lou] [1.1.30] Crash on saving [Space exploration mod]
... It is related to the space exploration mod. When anchoring a spaceship with an electric pole ghost, the ghost disappears. Then, on trying to save ... No space science source was found. Replace it. 9.570 Loading mod Transport_Drones 1.0.4 (data-final-fixes.lua) ...
- Wed Mar 24, 2021 1:27 pm
- Forum: Releases
- Topic: Version 1.1.28
- Replies: 14
- Views: 12380
Version 1.1.28
Minor Features Blueprints and copy paste of entities with upgrade order are created based on the upgrade order instead of the current ... Fixed electric pole connection consistency issue related to fast replace of modded entities. (https://forums.factorio.com/96929) Modding Added ...
- Sun Mar 14, 2021 12:23 am
- Forum: Modding interface requests
- Topic: [1.1.6][Modding] Entity placeable_by Hidden Dependency on Item's Order
- Replies: 15
- Views: 4956
Re: [1.1.6][Modding] Entity placeable_by Hidden Dependency on Item's Order
... some of them I can work around in scripts. However, I have a problem with my Safe Waterfill mod that I'm not sure I can work around. To get around ... place a tile with no collision, and then have a script decide to either replace it with water, or revert it to the original tile, based on whether ...
- Tue Feb 16, 2021 3:21 am
- Forum: Duplicates
- Topic: [1.1.22] Crash at start
- Replies: 1
- Views: 1187
Re: [1.1.22] Crash at start
... the demos running behind the menu, when it gets to the demo of the base with the hole in the wall being overrun, it always crashes. factorio-current.log ... No space science source was found. Replace it. 5.262 Checksum for core: 217331212 5.262 Checksum of base: 3777792092 ...
- Wed Feb 10, 2021 8:53 pm
- Forum: Resolved Problems and Bugs
- Topic: Crash while loading Nauvis Post Collapse 2.0 in 1.1.21
- Replies: 5
- Views: 2330
Re: Crash while loading Nauvis Post Collapse 2.0 in 1.1.21
how should I replace the scripts? Start a fresh new freeplay game and save it. Then extract the file ... zip file and replace the "control.lua" in your Nauvis Post Collapse save with it (after making a backup copy first of course). The script is part of the freeplay ...
- Sat Jan 23, 2021 8:53 pm
- Forum: Modding discussion
- Topic: Handling vanilla tips and tricks in mods?
- Replies: 14
- Views: 4415
Re: Handling vanilla tips and tricks in mods?
... either, but if they are now broken by changes the mod has been making with minimal disruption for over a year now, and they can't just be hidden ... labs" is using to show working labs. - Reorganising entity fast-replace groups. - Other script errors which presumably arise from changes ...
- Tue Jan 19, 2021 6:47 pm
- Forum: Modding help
- Topic: Reading installed mods in control.lua
- Replies: 3
- Views: 1030
Re: Reading installed mods in control.lua
But there is LuaBootstrap which should work even if LuaGameScript isn't available. So just replace "game.active_mods" with "script.active_mods" …eradicator wrote: ↑Tue Jan 19, 2021 6:40 pmNote: LuaGameScript is only accessible inside of event handlers.
- Thu Jan 14, 2021 11:34 am
- Forum: Resolved Problems and Bugs
- Topic: [kovarex] [1.1.9] Crash: Error ElectricPole.cpp:1396: Inverse connection to ElectricPole missing.
- Replies: 7
- Views: 4221
[kovarex] [1.1.9] Crash: Error ElectricPole.cpp:1396: Inverse connection to ElectricPole missing.
... Loader initialized (threads: 3) 36.945 Warning! Sprite at {0,0; 32x32} from __Item_Collector_Updated__/graphics/smart-chest-i.png is defined with 4 mipmap levels, but level 1 is expected to be at {32,0; 16x16} which is out of bounds of the source image. 50.016 Warning! Sprite at {0,0; 64x64} ...
- Wed Jan 13, 2021 8:10 pm
- Forum: Technical Help
- Topic: [1.0.0] Crashing every few minutes: IDXGISwapChain::ResizeBuffers failed in acknowledgeResize, E_OUTOFMEMORY
- Replies: 4
- Views: 1021
[1.0.0] Crashing every few minutes: IDXGISwapChain::ResizeBuffers failed in acknowledgeResize, E_OUTOFMEMORY
... 3, GPUThreadPriority: 0 0.211 Graphics settings preset: medium-with-low-vram 0.211 Dedicated video memory size 972 MB 0.394 Desktop composition ... No space science source was found. Replace it. 7.956 Checksum for core: 2630831588 7.956 Checksum of base: 3509992273 ...
- Thu Jan 07, 2021 9:49 am
- Forum: Releases
- Topic: Version 1.1.7
- Replies: 25
- Views: 19331
Version 1.1.7
... cannot be flipped. More specific message when copy pasting spidertron with equipment grid. Color differentiation for robot overview on the map ... didn't work on the connection error notice boxes. Fixed ghost fast replace of pipe to ground. Fixed that rail ghost was considered as colliding ...
- Sat Jan 02, 2021 4:34 pm
- Forum: Ideas and Requests For Mods
- Topic: [ Solved ]An item fuel that uses energy stored on equipment grid to power vehicles
- Replies: 31
- Views: 6433
Re: An item fuel that uses energy stored on equipment grid to power vehicles
... -- replace this with your own graphic }, { type = "item", name = "electric-transformer", ...
- Sat Dec 26, 2020 8:59 am
- Forum: Technical Help
- Topic: [1.1.6] Game crashes when launching the rocket
- Replies: 2
- Views: 1292
Re: [1.1.6] Game crashes when launching the rocket
... control" window do not even appear. It shouldn't do, it should replace the script with the freeplay script Also the silo control window was removed from the base game This is ...
- Thu Dec 24, 2020 11:40 am
- Forum: 1 / 0 magic
- Topic: [1.1.6] Crash: UpdatableEntity::updateLinkInternal
- Replies: 1
- Views: 1859
[1.1.6] Crash: UpdatableEntity::updateLinkInternal
... No space science source was found. Replace it. 12.739 Checksum for core: 707333919 12.739 Checksum of base: ... was used for an icon multiple times with different scale. Icon background might not be consistent with other ...
- Mon Nov 23, 2020 9:35 pm
- Forum: Modding help
- Topic: Need help replacing a recipie
- Replies: 8
- Views: 2289
Re: NEED HELP REPLACING A RECIPIE
i have a mod that adds various levels or deepmining, and i want to replace old mining recipes with new researched ones. script.on_event(defines.events.on_research_finished, function(event) ...
- Mon Nov 23, 2020 8:29 pm
- Forum: Releases
- Topic: Version 1.1.0
- Replies: 222
- Views: 129916
Version 1.1.0
... a line, can be turned off by an interface setting. Ghosts can be fast replaced and rotated. Ghost build can be used to fast replace non-ghost entities, which results in an upgrade order with (optionally) a direction change order. Minor Features When editing blueprint: ...