when I try and place a tank on the floor an error pops up
whats the exact error message?
Everything works fine for me...
I can't fix it if i don't know the file, line and error. i don't even know if you are using 0.16 or 0.17.
If you also have other mods installed that do crazy stuff with vehicles, it would be helpful to know that too.
Error while running event laser_tanks::on_nth_tick(3)
Index out of inventory bounds.
stack traceback:
laser_tanks/control.lua:172:in function<laser_tanks/control.lua:73>
tack traceback:
[C]: in function 'index'
__laser_tanks/control.lua:172: in function<laser_tanks/control.lua:73>
hmm, it's referring to the ammo inventory at an invalid position.
very weird.
it only tries to access the gun index 2 for the tank and gun index 1 for the car.
Does your tank have at least 2 weapons? it should have 3: cannon, rapid laser and flamethrower.
What mod could possibly mess with the weapons?
when i set the gun index to 4, i get the same error like you - but normally that would never happen.
I can't even Access the tank, I just place it and the game crashes.
about the mods, I have several of them, almost every bob's mod, almost every AAI mod, aircraft, helicopter, an many others
i'll try fixing it, sec..
thanks Will do
Ill let you know if it works
I cannot use it, this is for versión 0.16, doesn't work
the second one is for 0.17
oh, sorry, didnt see it
ok, almost, no more errors, but I cant mine the tank, I cant take it from the ground
this is very weird, usually this should only happen when a player is in the vehicle...
https://www.dropbox.com/s/iv7c9ta6x11uvh5/laser_tanks_0.17.9.zip?raw=1
how is it now?
if it still doesn't work, try hovering the vehicle with the mouse and enter in the console: /c game.player.selected.minable = true
I'll try it now
OK, tried last version, still cannot mine, and also, always unfueled, I equip the tank with portable fusion reactors, but it doesnt move, and tells me it's unfueled
The unfueled issue also happened in the last two versions, it's not new, I just didn't realices until now
you have to put a (high voltage) transformer inside.
did you try the command i gave you? my mod doesn't mess with the minability of vehicles...
but i assume you can mine vehicles from other mods?
can you mine the car or the train from my mod?
Cannot mine your train, haven't tried with your car.
I can line other vehicles.
Haven't tried the command, I'll do it today.
Thanks for the tip about the transformer, I'll try that today too
theres another command that could help me get some insight, if setting the entity to minable = true doesnt work.
/c game.player.print(game.player.selected.prototype.mineable_properties.products[1].name)
this should output the item that's received from mining the entity.
i think it would be best if you could send me a savegame so i can sync to your mods and identify what mod is causing that, and maybe talk with it's author about finding a fix on their end since it seems to be a very intrusive issue which is probably not intended.
Sounds like a good idea, but how can I send you my savegame?, I mean, I know where it's located on my pc, but how can I send it to you?
OK, I just try and executed the command you gave me, and still cannot mine it
you could upload them to some file hosting website or send me a private message on the forum that you attach the file to
ok, ill do it
https://github.com/DanielHaggstrom/Factorio-JavaIsLIfe
Thats where I have my saved game, take a look and see if you find the error
all ítems are free and instantly delivered, because I had a creative mode mod, I deleted it, but aparently the free ítems remain, if you want to change that you should install creative mode mod again
there are quite some mods that i couldn't get by syncing.. is this a savegame from 0.16? the date of the file on github also says 7 months ago..
With this setup i wasn't able to reproduce the issue with picking up the tank.
https://www.dropbox.com/s/bkig72l1xo6u5nz/syncmods.png?raw=1
The game is v017, the repo was created before, but yes, that's my current game, and I cannot remove your tank
can you try uploading another savegame with the mod enabled please?
Yup
Give me 5 minutes
do you have any mods that you manually updated to 0.17 by editing them yourself?
no, I dont make mods, I wouldnt even know how to do that
I am very deeply profoundly sorry, I had you spinning arround with something thats not even you fault, I just found out its not just you tank I cant mine, I can mine some vehicles, and some others I cannot, I'm going to try and find the common mod
yeah i knew that already dont worry ;)