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
- Wed Nov 18, 2020 1:52 am
- Forum: Mods
- Topic: [MOD 1.1] Xander Mod v3.6.1
- Replies: 748
- Views: 293833
Re: More Bugs...
... to whatever you change. Oh... I already published version 3.5.3 with those commands in a migration file before I noticed your post. Oops. ... potentially broken compromises with no proper/clean solution. The fast-replace function doesn't work for the Xander Mod chemical reactors, As far ...
- Mon Nov 16, 2020 10:22 am
- Forum: Mods
- Topic: [MOD 1.1] Xander Mod v3.6.1
- Replies: 748
- Views: 293833
Re: More Bugs...
... to whatever you change. Oh... I already published version 3.5.3 with those commands in a migration file before I noticed your post. Oops. ... potentially broken compromises with no proper/clean solution. The fast-replace function doesn't work for the Xander Mod chemical reactors, As far ...
- Mon Oct 12, 2020 5:52 pm
- Forum: Modding help
- Topic: [Solved] create_entity behavior - preserving inventory and filters
- Replies: 5
- Views: 1348
[Solved] create_entity behavior - preserving inventory and filters
... and not on the other? In a script, I am using surface.create_entity to replace an entity with an 'upgraded' version. The upgrade just has double inventory. I'm doing this same process ...
- Thu Sep 17, 2020 9:11 pm
- Forum: Modding help
- Topic: Update recipes with new technologies:
- Replies: 7
- Views: 1929
Re: Update recipes with new technologies:
... disable this recipe. Another recipe will be activated by the technology without control.lua. Set the technology in the data stage like: data.raw["update-technology-1"].effects ... end end) Also you can replace all am1 with am2 and am2 to am3. https://wiki.factorio.com/Prototype/Technology
- Sun Jul 26, 2020 3:06 pm
- Forum: Development tools
- Topic: Hornwitser's Python Scripts (desync diff/.dat parse/multi instance)
- Replies: 1
- Views: 2416
Hornwitser's Python Scripts (desync diff/.dat parse/multi instance)
I've made some open source Python scripts for helping with diffing desync reports, inspecting .dat files (not level.dat) and running ... level-heuristic differs ----------------------- replace ref[8:9] -> des[8:9] <player name=arty714> pos=0 <output-console> pos=70 ...
- Fri May 22, 2020 5:53 pm
- Forum: Modding discussion
- Topic: Re-opened: breaking change/fix: script.raise_event rework
- Replies: 26
- Views: 7938
Re: Re-opened: breaking change/fix: script.raise_event rework
The changes are coming Next week, with the mod breaking gui changes in 0.18.27 , we will also implement the script.raise_event ... calls that mods use. Based on that, I am providing you a list of how to replace your (soon to be) broken raise event calls: Direct replacement: on_entity_spawned ...
- Sun May 10, 2020 11:03 pm
- Forum: Angels Mods
- Topic: Development and Discussion
- Replies: 3782
- Views: 1382764
Re: Development and Discussion
So I'm experiencing a weird issue with transporting molten glass by train (and honestly I'm not sure if the issue lies ... save file to our github and link that post. I can start writing that script to replace fluids so it uses their default temperature everywhere. However, without any ...
- Sat May 09, 2020 2:01 pm
- Forum: Angels Mods
- Topic: Development and Discussion
- Replies: 3782
- Views: 1382764
Re: Development and Discussion
So I'm experiencing a weird issue with transporting molten glass by train (and honestly I'm not sure if the issue lies ... save file to our github and link that post. I can start writing that script to replace fluids so it uses their default temperature everywhere. However, without any ...
- Fri Apr 24, 2020 8:06 pm
- Forum: Angels Mods
- Topic: Development and Discussion
- Replies: 3782
- Views: 1382764
Re: Development and Discussion
I've been busy irl with university, so prepair for a long post :roll: ... I'd love to see the heavy barreling ... have access to the small petro tank that you can use to store it, or pick up and replace if you don't want to accumulate it. If I recall correctly, oxygen from air separation ...
- Sun Apr 12, 2020 11:29 am
- Forum: Bob's mods
- Topic: [0.18] Please post bugs and balance issues here.
- Replies: 185
- Views: 50145
Re: [0.18] Please post bugs and balance issues here.
... stack traceback: __boblibrary__/recipe-functions.lua:94: in function 'replace_ingredient' ...ogistics__/prototypes/recipe/roboport-recipe-updates.lua:10: ... from __bobassembly__/graphics/icons/chemical-plant-3.png is defined with 4 mipmap levels, but level 1 is expected to be at {32,0; 16x16} ...
- Sun Apr 12, 2020 11:02 am
- Forum: Bob's mods
- Topic: [0.18] Please post bugs and balance issues here.
- Replies: 185
- Views: 50145
Re: [0.18] Please post bugs and balance issues here.
... sprites need to have mipmap level set: 255.169 Warning! Sprite at {0,0; 32x32} from __bobassembly__/graphics/icons/chemical-plant-3.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. 255.172 Warning! Sprite at {0,0; 32x32} ...
- Sat Apr 11, 2020 12:48 pm
- Forum: Technical Help
- Topic: [0.15.28] Noob with scripting.
- Replies: 1
- Views: 445
Re: [0.15.28] Noob with scripting.
Oh... Nevermind. I found the solution. I've just replace the string format by path = "timelapse/" .. string.format("%06d" , game.tick) .. ".png", And done the complete code is that (for people who need a script like ...
- Fri Apr 10, 2020 9:30 pm
- Forum: Technical Help
- Topic: [0.15.28] Noob with scripting.
- Replies: 1
- Views: 445
[0.15.28] Noob with scripting.
... I started my map. Today I want to make a timelapse of this map with the replay founction. So I found the 0.15.28 version and download it ... I can enter the game with the timelapse script ( I've manage to replace the on_nth_tick on the begining of the script ).... But it instantly ...
- Mon Mar 30, 2020 12:51 pm
- Forum: News
- Topic: Friday Facts #340 - Deep desyncs
- Replies: 82
- Views: 41454
Re: Friday Facts #340 - Deep desyncs
... well enough for us for the past 7-8 years, so there was no need to replace it. Which I could not say about many other things in the game. Would ... memory -> disk, create checksum from disk-file: ChkB 3. Compare ChkA with ChkB to see if the deserialization rpdued the exact same output (so ...
- Fri Feb 21, 2020 11:02 am
- Forum: Modding help
- Topic: Self_Made_Update
- Replies: 13
- Views: 1454
Re: Self_Made_Update
... I didnt changed the migrations "tab" - the game had a problem with a missing "png", but I simply made a new one and gave the ... ], } On loading an old saved game, Factorio would look through it and replace the name of every entity "bi-bioreactor" with "bi-bio-reactor". ...
- Mon Feb 17, 2020 8:43 pm
- Forum: Angels Mods
- Topic: Development and Discussion
- Replies: 3782
- Views: 1382764
Re: Development and Discussion
... would make it quite a bit unbalanced. I have a few suggestions: 1. Replace fluorite ore in jivolite sorting with lead, remove fluorite ore from the uranium & thorium crystallization recipe, and remove ...
- Thu Jan 30, 2020 3:03 pm
- Forum: Modding interface requests
- Topic: Shield upgrade research
- Replies: 3
- Views: 827
Re: Shield upgrade research
... Do you lock out the old recipe and only permit the new one, but don't replace existing crafts? I'd prefer to lean towards the no-recipe side, it'd ... make it more confusing since you can't know your current shield bonus without checking the technology or having a shield inserted somewhere. On ...
- Wed Jan 29, 2020 7:33 am
- Forum: Modding discussion
- Topic: How to create an empty map
- Replies: 2
- Views: 3784
How to create an empty map
... high running speed. Chunk generation is independent of things existing within the area of the chunk already (tiles are placed, and then other things ... + y}}) end end surface.set_tiles(tiles) The above command will replace tiles in the chunk one above the player with refined concrete (-32 ...
- Tue Jan 28, 2020 2:28 pm
- Forum: Modding help
- Topic: Help: Activating burner leech via research
- Replies: 25
- Views: 4507
Re: Help: Activating burner leech via research
... method: Make a copy of every fucking inserter. In on_research_finished replace every fucking normal inserter in the entire world with it's leech-enabled version. Edit: Oh, and replace all assembler recipes and all inserter ...
- Tue Jan 28, 2020 1:16 pm
- Forum: Modding help
- Topic: Help: Activating burner leech via research
- Replies: 25
- Views: 4507
Re: Help: Activating burner leech via research
... method: Make a copy of every fucking inserter. In on_research_finished replace every fucking normal inserter in the entire world with it's leech-enabled version. Edit: Oh, and replace all assembler recipes and all inserter ...