Page 12 of 19

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Fri Apr 08, 2016 4:45 pm
by n9103
Nice work.
Hope it gets incorporated.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Sat Apr 09, 2016 12:24 pm
by Noise
I'm having some problems with this mod, i'm sure its just because I don't know what i'm doing. When I try to start a game with this mod I get __RailTanker__/control.lua:130: attempt to index global 'game' (a nil value). How do I fix this?

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Sat Apr 09, 2016 12:29 pm
by Choumiko
Meppi wrote:I made a tech icon for Rail Tanker. I'll just leave this here for anyone who wants to use it.
Awesome, will be in the next release.
Noise wrote:I'm having some problems with this mod, i'm sure its just because I don't know what i'm doing. When I try to start a game with this mod I get __RailTanker__/control.lua:130: attempt to index global 'game' (a nil value). How do I fix this?
Sounds like you are using a wrong version. Did you get it from factoriomods.com? Those are outdated/broken, if i could i'd delete them from the site, but i can't.
Use this one: https://github.com/Choumiko/RailTanker/ ... _1.1.3.zip

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Sat Apr 09, 2016 1:34 pm
by Noise
Sounds like you are using a wrong version. Did you get it from factoriomods.com? Those are outdated/broken, if i could i'd delete them from the site, but i can't.
Use this one: https://github.com/Choumiko/RailTanker/ ... _1.1.3.zip

That worked, Thanks

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Sat Apr 09, 2016 6:58 pm
by Speadge
I recently ran into the problem that my pumps kept feeding even if the train left already. checked the oil-amounbt and it decreased as well.

Since im kinda new, i have no clue how to check for errors here.

My simple solution: Since i'm using the rail logistics which comes with a train detector, i just activate the pumps when a train is near.
Might be something u could add to prevent those problems when u dont find another solution :)

Anyhow. thanks for the mod!

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Tue Apr 12, 2016 7:19 am
by pyroinfernia
Thanks for this! This really makes things much easier!

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Tue Apr 12, 2016 1:26 pm
by frenchiveruti
As I didn't know how the heck give you via GitHub my translation, here it goes via RAW on the forum.

Code: Select all

[item-name]
rail-tanker=Vagón de petróleo
[recipe-name]
rail-tanker=Vagón de petróleo
[technology-name]
rail-tanker=Vagón de petróleo
[entity-name]
rail-tanker=Vagón de petróleo
rail-tanker-proxy=Vagón de petróleo
rail-tanker-proxy-noconnect=Vagón de petróleo

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Tue Apr 12, 2016 5:59 pm
by Choumiko
Speadge wrote:I recently ran into the problem that my pumps kept feeding even if the train left already. checked the oil-amounbt and it decreased as well.

Since im kinda new, i have no clue how to check for errors here.

My simple solution: Since i'm using the rail logistics which comes with a train detector, i just activate the pumps when a train is near.
Might be something u could add to prevent those problems when u dont find another solution :)

Anyhow. thanks for the mod!
This sounds like the bug where the fake tanks get left behind. Working on a fix.
frenchiveruti wrote:As I didn't know how the heck give you via GitHub my translation, here it goes via RAW on the forum.

Code: Select all

[item-name]
rail-tanker=Vagón de petróleo
[recipe-name]
rail-tanker=Vagón de petróleo
[technology-name]
rail-tanker=Vagón de petróleo
[entity-name]
rail-tanker=Vagón de petróleo
rail-tanker-proxy=Vagón de petróleo
rail-tanker-proxy-noconnect=Vagón de petróleo
Is that spanish?

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Tue Apr 12, 2016 6:09 pm
by Koub
These lines are spanish :)

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Tue Apr 12, 2016 6:41 pm
by frenchiveruti
Choumiko wrote:
frenchiveruti wrote:As I didn't know how the heck give you via GitHub my translation, here it goes via RAW on the forum.

Code: Select all

[item-name]
rail-tanker=Vagón de petróleo
[recipe-name]
rail-tanker=Vagón de petróleo
[technology-name]
rail-tanker=Vagón de petróleo
[entity-name]
rail-tanker=Vagón de petróleo
rail-tanker-proxy=Vagón de petróleo
rail-tanker-proxy-noconnect=Vagón de petróleo
Is that spanish?

Haha lol, yes, it's spanish, the game uses " es-ES " for those files.
Sorry, I forgot to state it.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.1.3

Posted: Sat Apr 16, 2016 7:31 pm
by Choumiko
Updated to Railtanker 1.2.1
  • fixed desyncs in MP (hopefully)
  • small pump will have its collision box changed to vanilla (to prevent bugs with SqueakThrough)
  • more error checks in the remote interface
  • cleaned up code
  • new tech icon by Meppi
  • spanish translation by frenchiveruti
  • polish translation by diilmac
Not sure if the bug with the invisible tanks is fixed (was never able to reproduce it), but the code changed quite a bit, so let's hope it is :D

Updating should work fine, to be extra sure backup your save before trying. If it doesn't work, reload with the old version and empty all tankers and pick them up. Then install the latest version.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.0

Posted: Sat Apr 16, 2016 8:21 pm
by dragon4ce
unfortunately not, it still has invisible boxes on the spots of my stations. I still need to rotate or remove the pumps to get oil flowing, each train.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.0

Posted: Sat Apr 16, 2016 8:37 pm
by Choumiko
dragon4ce wrote:unfortunately not, it still has invisible boxes on the spots of my stations. I still need to rotate or remove the pumps to get oil flowing, each train.
You probably are one of the few that downloaded the borked 1.2.0 version, where each train would have left their tankers behind. Please download again and see if that helps (also mine the bugging tankers and place them again, just to be sure).
If you still got these issues i'd appreciate the save (pm me if you want)

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.0

Posted: Sat Apr 16, 2016 8:48 pm
by Roktaal
Because he had the borked version that left invisible tankers he now has the save game with invisible entities and the way to remove them is to remove the mod, save the game then put back the mod but that will remove all his tankers from the game so the only other solution is to move the cursor over the invisible tankers and type following code in console:

Code: Select all

/c game.player.selected.destroy()

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.0

Posted: Sat Apr 16, 2016 9:21 pm
by dragon4ce
Roktaal wrote:Because he had the borked version that left invisible tankers he now has the save game with invisible entities and the way to remove them is to remove the mod, save the game then put back the mod but that will remove all his tankers from the game so the only other solution is to move the cursor over the invisible tankers and type following code in console:

Code: Select all

/c game.player.selected.destroy()

thanks so much! that indeed resolved the issue! at first i thought the command didn't do anything, turns out there were 5 boxes stacked on top of each other. at least now i have automatic oil again :)

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.0

Posted: Sat Apr 16, 2016 9:50 pm
by Choumiko
Updated to Railtanker 1.2.1 (fixed error when loading save)
  • fixed desyncs in MP (hopefully)
  • small pump will have its collision box changed to vanilla (to prevent bugs with SqueakThrough)
  • more error checks in the remote interface
  • cleaned up code
  • new tech icon by Meppi
  • spanish translation by frenchiveruti
  • polish translation by diilmac
Not sure if the bug with the invisible tanks is fixed (was never able to reproduce it), but the code changed quite a bit, so let's hope it is :D

Updating should work fine, to be extra sure backup your save before trying. If it doesn't work, reload with the old version and empty all tankers and pick them up. Then install the latest version.

Turns out i borked the fix for the borked version too :roll: I test before releasing, i swear :x Sorry to the ~25 people that will now have to redownload again.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.1

Posted: Sun Apr 17, 2016 3:36 pm
by steinio
Hello,

after updating to 1.2.1 the train don't leave the station anymore with smart trains.

The Fat Controller displays always roundabout 1800 oil in the train.
Did rebuild the whole train but didn't change anything.

Greetings steinio

Update:
After downgrading it works again.
Maybe the fill level before upgrade is saved and used somewhere but don't get changed anymore.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.1

Posted: Sun Apr 17, 2016 9:40 pm
by Speadge
steinio wrote:Hello,

after updating to 1.2.1 the train don't leave the station anymore with smart trains.

The Fat Controller displays always roundabout 1800 oil in the train.
Did rebuild the whole train but didn't change anything.

Greetings steinio

Update:
After downgrading it works again.
Maybe the fill level before upgrade is saved and used somewhere but don't get changed anymore.

experienced the same:
im checking the content with a sensor on the train and after it got emptied on the station, it jumps back to its old (full) value.
Cant empt6y it more and the oil icon disappeared.

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.1

Posted: Sun Apr 17, 2016 11:18 pm
by Serenity
Is there any way to see how much oil is in the tanker? I think it's working because I get the oil drop when it stops, but I'm not sure how much oil is loaded. At the moment I have the time set to 30 seconds. Should probably be longer

Re: [MOD 0.12.x] Rail Tanker - Liquid transport 1.2.0

Posted: Mon Apr 18, 2016 10:27 am
by Choumiko
Updated to Railtanker 1.2.2
  • upgrading removes invalid tanks
  • fixed error in remote interface (wrong readouts in FatController and SmartTrains)
Serenity wrote:Is there any way to see how much oil is in the tanker? I think it's working because I get the oil drop when it stops, but I'm not sure how much oil is loaded. At the moment I have the time set to 30 seconds. Should probably be longer
Mouse roughly in the same position as in the picture:
Picture