Re: [MOD 0.13] Progressive running
Posted: Wed Mar 13, 2019 4:31 pm
It's up .
Code: Select all
diff -urNb ProgressiveRunning_1.0.17/changelog.txt ProgressiveRunning_1.0.18/changelog.txt
--- ProgressiveRunning_1.0.17/changelog.txt 2019-03-14 03:04:09.000000000 +1100
+++ ProgressiveRunning_1.0.18/changelog.txt 2019-05-04 11:07:23.691024400 +1000
@@ -1,4 +1,8 @@
---------------------------------------------------------------------------------------------------
+Version: 1.0.18
+ Changes:
+ - Support 0.17.35
+---------------------------------------------------------------------------------------------------
Version: 1.0.17
Changes:
- Factorio 0.17 by OhChirpy.
@@ -19,4 +23,3 @@
Changes:
- Factorio 0.15. For older versions, see HISTO.txt.
---------------------------------------------------------------------------------------------------
-
diff -urNb ProgressiveRunning_1.0.17/control.lua ProgressiveRunning_1.0.18/control.lua
--- ProgressiveRunning_1.0.17/control.lua 2019-03-14 02:51:39.000000000 +1100
+++ ProgressiveRunning_1.0.18/control.lua 2019-05-04 11:09:29.425824600 +1000
@@ -110,7 +110,7 @@
--------------------------------------------------------------------------------------
local function get_speed_modifier(player)
- local inv_armor = player.get_inventory(defines.inventory.player_armor)
+ local inv_armor = player.get_inventory(defines.inventory.character_armor)
local modif = 0
if inv_armor then
diff -urNb ProgressiveRunning_1.0.17/info.json ProgressiveRunning_1.0.18/info.json
--- ProgressiveRunning_1.0.17/info.json 2019-03-13 09:55:37.000000000 +1100
+++ ProgressiveRunning_1.0.18/info.json 2019-05-04 11:07:05.861563400 +1000
@@ -1,10 +1,10 @@
{
"name": "ProgressiveRunning",
- "version": "1.0.17",
+ "version": "1.0.18",
"title": "Progressive Running (smooth acceleration)",
"author": "BinbinHfr",
"description": "Accelerate progressively when starting to run: useful when your max speed is high due to exoskeletons and concrete, and you want to precisely position your character.",
"homepage": "https://forums.factorio.com/viewtopic.php?f=92&t=27553",
"factorio_version": "0.17",
- "dependencies": ["base"]
+ "dependencies": ["base >= 0.17.35"]
}
How do I apply this?mrudat wrote: ↑Sat May 04, 2019 1:24 amPatch to support 0.17.35:Code: Select all
diff -urNb ProgressiveRunning_1.0.17/changelog.txt ProgressiveRunning_1.0.18/changelog.txt --- ProgressiveRunning_1.0.17/changelog.txt 2019-03-14 03:04:09.000000000 +1100 +++ ProgressiveRunning_1.0.18/changelog.txt 2019-05-04 11:07:23.691024400 +1000 @@ -1,4 +1,8 @@ --------------------------------------------------------------------------------------------------- +Version: 1.0.18 + Changes: + - Support 0.17.35 +--------------------------------------------------------------------------------------------------- Version: 1.0.17 Changes: - Factorio 0.17 by OhChirpy. @@ -19,4 +23,3 @@ Changes: - Factorio 0.15. For older versions, see HISTO.txt. --------------------------------------------------------------------------------------------------- - diff -urNb ProgressiveRunning_1.0.17/control.lua ProgressiveRunning_1.0.18/control.lua --- ProgressiveRunning_1.0.17/control.lua 2019-03-14 02:51:39.000000000 +1100 +++ ProgressiveRunning_1.0.18/control.lua 2019-05-04 11:09:29.425824600 +1000 @@ -110,7 +110,7 @@ -------------------------------------------------------------------------------------- local function get_speed_modifier(player) - local inv_armor = player.get_inventory(defines.inventory.player_armor) + local inv_armor = player.get_inventory(defines.inventory.character_armor) local modif = 0 if inv_armor then diff -urNb ProgressiveRunning_1.0.17/info.json ProgressiveRunning_1.0.18/info.json --- ProgressiveRunning_1.0.17/info.json 2019-03-13 09:55:37.000000000 +1100 +++ ProgressiveRunning_1.0.18/info.json 2019-05-04 11:07:05.861563400 +1000 @@ -1,10 +1,10 @@ { "name": "ProgressiveRunning", - "version": "1.0.17", + "version": "1.0.18", "title": "Progressive Running (smooth acceleration)", "author": "BinbinHfr", "description": "Accelerate progressively when starting to run: useful when your max speed is high due to exoskeletons and concrete, and you want to precisely position your character.", "homepage": "https://forums.factorio.com/viewtopic.php?f=92&t=27553", "factorio_version": "0.17", - "dependencies": ["base"] + "dependencies": ["base >= 0.17.35"] }
Code: Select all
The mod Progressive Running (smooth acceleration) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event ProgressiveRunning::on_tick (ID 0)
real number expected got nil.
stack traceback:
__ProgressiveRunning__/control.lua:113: in function 'get_speed_modifier'
__ProgressiveRunning__/control.lua:202: in function <__ProgressiveRunning__/control.lua:158>
stack traceback:
[C]: in function 'get_inventory'
__ProgressiveRunning__/control.lua:113: in function 'get_speed_modifier'
__ProgressiveRunning__/control.lua:202: in function <__ProgressiveRunning__/control.lua:158>
You can also unzip the mod, remove the zip file, and Factorio will load from the mod folder automatically. I don't zip back up things I modify locally, and it works well. Makes it much easier.bobclarke wrote: ↑Mon Jun 03, 2019 2:47 amFirst open the mod zip file and extract the control.lua and info.json files somewhere.
[...]
Put the files back into the zipfile and overwrite if asked then close the zipfile, once finished change the zip filename from "ProgressiveRunning_1.0.17" to "ProgressiveRunning_1.0.18"