Sorry mate, can you post the save and copy of your mod folder or the mod list for the save?berni1212 wrote:Still Happening :/
[MOD 0.15|0.14] Rail Tanker - Liquid transport 1.4.1
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Belt Blocker
UndergroundBeltsExtended
DyTech-Core
Rail Tanker 0.05
Stainless Steel Wagon
Treefarm-Mod
Tankwerkz Ltd
DyTech-Energy
DyTech-Logistic
DyTech-Modules
DyTech-Storage
DyTech-Transportation
DyTech-Automation
DyTech-Inserters
DyTech-Metallurgy
DyTech-Warfare
Bob's ore
Bob's Metals,chemicals and Intermedian
Bob's Assembl maschines
Bob's Electronic overide mod
Bob's Logsitcs mod
Bob's Modules
Bob's Power
Save is too big to Upoad .)
UndergroundBeltsExtended
DyTech-Core
Rail Tanker 0.05
Stainless Steel Wagon
Treefarm-Mod
Tankwerkz Ltd
DyTech-Energy
DyTech-Logistic
DyTech-Modules
DyTech-Storage
DyTech-Transportation
DyTech-Automation
DyTech-Inserters
DyTech-Metallurgy
DyTech-Warfare
Bob's ore
Bob's Metals,chemicals and Intermedian
Bob's Assembl maschines
Bob's Electronic overide mod
Bob's Logsitcs mod
Bob's Modules
Bob's Power
Save is too big to Upoad .)
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Thats the Mod List we Use now the Newest Version of your mod and the Map is now corrupted LOLberni1212 wrote:Belt Blocker
UndergroundBeltsExtended
DyTech-Core
Rail Tanker 0.05
Stainless Steel Wagon
Treefarm-Mod
Tankwerkz Ltd
DyTech-Energy
DyTech-Logistic
DyTech-Modules
DyTech-Storage
DyTech-Transportation
DyTech-Automation
DyTech-Inserters
DyTech-Metallurgy
DyTech-Warfare
Bob's ore
Bob's Metals,chemicals and Intermedian
Bob's Assembl maschines
Bob's Electronic overide mod
Bob's Logsitcs mod
Bob's Modules
Bob's Power
Save is too big to Upoad .)
We started a new map now :/ 10 Houers for nothing but its not your Fault i hope u can get it to fix the Bug thanks sir
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I'm sorry about your map. If you remove rail tankers it should let you at least load the map. I know what the issue is now but not how to fix it. I'll be looking at it today
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
This change has been made in 0.0.6. Also another crack at fixing the game crash when you blowup a tanker bug. I still can't replicate this bug but I am pretty sure the changes I've made should fix it. Without a save fie with the issue I don't think there is much more I can do.JLBShecky wrote:it is not like it is something that is all that hard to change if one so desires for their own game usage.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
JamesOFarrell wrote:This change has been made in 0.0.6. Also another crack at fixing the game crash when you blowup a tanker bug. I still can't replicate this bug but I am pretty sure the changes I've made should fix it. Without a save fie with the issue I don't think there is much more I can do.JLBShecky wrote:it is not like it is something that is all that hard to change if one so desires for their own game usage.
No Problem i can play the map at SP but if we start it at MP it gets us in an Big Desync Loop But its good that the Bug got Sorted out
I will try it if it work now
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Yeah. Desync are a huge issue at the moment. I spent the last 2 days trying to get them out of PocketBots before giving up. That said there is nothing in Rail Tanker should cause desync on load so that is strange.berni1212 wrote:JamesOFarrell wrote:This change has been made in 0.0.6. Also another crack at fixing the game crash when you blowup a tanker bug. I still can't replicate this bug but I am pretty sure the changes I've made should fix it. Without a save fie with the issue I don't think there is much more I can do.JLBShecky wrote:it is not like it is something that is all that hard to change if one so desires for their own game usage.
No Problem i can play the map at SP but if we start it at MP it gets us in an Big Desync Loop But its good that the Bug got Sorted out
I will try it if it work now
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
IDK how i am doing it but not working again xD if we break it now there will be the Tank thingy what is Unbreakebille.
And if the train will Drive on the Station menu we get this error:
Error while running the event handler: __RailTanker__\control:lua215:Given entity doesn't exist anymore
IDK how i do that Srry Bro But i hope you can fix it or try to fix it I feel free to test it
And if the train will Drive on the Station menu we get this error:
Error while running the event handler: __RailTanker__\control:lua215:Given entity doesn't exist anymore
IDK how i do that Srry Bro But i hope you can fix it or try to fix it I feel free to test it
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I have released without testing properly because i lost all my save games when i moved to 0.11.5. I've reverted the first post to version 0.0.4 and I'm going back to look at this issue but until then i recommend you remove the mod, load your save, save your save then install 0.0.4. This is a pain in the ass, sorry.berni1212 wrote:IDK how i am doing it but not working again xD if we break it now there will be the Tank thingy what is Unbreakebille.
And if the train will Drive on the Station menu we get this error:
Error while running the event handler: __RailTanker__\control:lua215:Given entity doesn't exist anymore
IDK how i do that Srry Bro But i hope you can fix it or try to fix it I feel free to test it
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
For now we Removed it Completly and wait for the Stabel version ("Stale") then we will add it again
But I will test the Versions for you if u update them there is No Problem behind it
But I will test the Versions for you if u update them there is No Problem behind it
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
After thinking about this issue overnight I've reverted to the 0.0.4 codebase and fixed the issue properly. If you used 0.0.5 or 0.0.6 your best bet is to remove the mod, load the save, save the game and re-add 0.0.7. I think I've taken the mess I created with those versions into account but because of a pretty bad bug in 0.0.6 the tanker state can be unknown. I'm going to be away for 4 days so I've left 0.0.4 up in case I missed something. Post bugs as you find them.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
JamesOFarrell wrote:After thinking about this issue overnight I've reverted to the 0.0.4 codebase and fixed the issue properly. If you used 0.0.5 or 0.0.6 your best bet is to remove the mod, load the save, save the game and re-add 0.0.7. I think I've taken the mess I created with those versions into account but because of a pretty bad bug in 0.0.6 the tanker state can be unknown. I'm going to be away for 4 days so I've left 0.0.4 up in case I missed something. Post bugs as you find them.
Nice i Tested it and The bugs we had are fixed nice if we find any bugs we will Report them Instandly to you Thanks for that Awsome mod
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
- AlphaRaptor
- Fast Inserter
- Posts: 102
- Joined: Wed Dec 03, 2014 6:58 pm
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Is this mod also compatible with other Liquid's , Like Lava(DyTech) and Hydrogen(Bob's Mods)
Live your life like you want.
Mods are still Awesome , and i love Mods , for every Game.
Lov'in it.
Mods are still Awesome , and i love Mods , for every Game.
Lov'in it.
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
It should be. Unless they are doing something funky (they are not) it should workAlphaRaptor wrote:Is this mod also compatible with other Liquid's , Like Lava(DyTech) and Hydrogen(Bob's Mods)
- AlphaRaptor
- Fast Inserter
- Posts: 102
- Joined: Wed Dec 03, 2014 6:58 pm
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
JamesOFarrell wrote:It should be. Unless they are doing something funky (they are not) it should workAlphaRaptor wrote:Is this mod also compatible with other Liquid's , Like Lava(DyTech) and Hydrogen(Bob's Mods)
Thanks for the Quick answer , we will try it
Live your life like you want.
Mods are still Awesome , and i love Mods , for every Game.
Lov'in it.
Mods are still Awesome , and i love Mods , for every Game.
Lov'in it.
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
JamesOFarrell wrote:It should be. Unless they are doing something funky (they are not) it should workAlphaRaptor wrote:Is this mod also compatible with other Liquid's , Like Lava(DyTech) and Hydrogen(Bob's Mods)
Ok Thanks men if we finde any bugs we will Report them :=)
Have a Nice Trip what ever you are doing
Sorry for my bad English ! i will not remove it !
RailTanker [MP WIP]
Our Modpack
WIP Test MODSRailTanker [MP WIP]
-
- Long Handed Inserter
- Posts: 97
- Joined: Tue Oct 28, 2014 3:33 pm
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
I'd love to know more. What was the bug, what was the hacky fix, what was the problem with said hacky fix, what was the proper fix?JamesOFarrell wrote:After thinking about this issue overnight I've reverted to the 0.0.4 codebase and fixed the issue properly.
Great mod by the way. I just wish I could get rid of oil barrels altogether.
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
The mod works by creating an invisible storage tank every time a rail tanker stops. It does this by storing a references to the rail tanker alongside some other info like how much fluid it has and if the storage tank proxy exists. To retrieve this info I iterate though the tanker info table and compare each entity until I find the one I need. Most of the time this works but when I am responding to the "tanker has been destroyed" event it seems that the event passes a valid object but the object reference in the table becomes invalid so comparing them gets the "Given entity doesn't exist anymore ".The Lone Wolfling wrote:I'd love to know more. What was the bug, what was the hacky fix, what was the problem with said hacky fix, what was the proper fix?
Great mod by the way. I just wish I could get rid of oil barrels altogether.
The hacky solution I wrote quickly without thinking about the issue was to iterate over the list and remove any invalid tankers, destroying any proxies along the way if they existed. While this seems to work on paper the implementation missed a bunch of edge cases so the tankers table got into a mess. Then I released a quick fix for one of the edge cases but that ignored a bigger problem causing proxies to become disconnected when in manual mode. At this point it was a mess so i stopped and removed the version I posted.
Once I stopped to think I realized you can call entity.equals() on an entity that is invalid so I changed it from checking if the valid object equals the invalid one to checking if the invalid one equals the valid one. Did this is a 2 locations and the bug went away.
What do you use barrels for? The only time I've used them was to move oil around by train but I've seen some people do it so they can use logistics bots to move liquid.
-
- Long Handed Inserter
- Posts: 97
- Joined: Tue Oct 28, 2014 3:33 pm
- Contact:
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
That makes sense. Thank you!JamesOFarrell wrote:[neat info]
Two things - for quick-and-dirty "I need oil now so I'm just going to use a car" (liquid transport by car, please?), and for the nuclear power mod.JamesOFarrell wrote: What do you use barrels for? The only time I've used them was to move oil around by train but I've seen some people do it so they can use logistics bots to move liquid.
If it weren't for nuclear power requiring it, I'd try to remove the item altogether.
(On a related note - a modular car / tank would be awesome. Especially if it added the ability to have liquid storage parts in it, either for fuel or for tankage.)
Also, is there any way you can indicate in some way the amount that is in a tanker car when it is moving?
Re: [Mod 0.11.x] Rail Tanker - Liquid transport
Why wouldn't an OnEntityDied call work to remove the associated storage tank?