Take all the time you want.JamesOFarrell wrote:Thanks guys! Life has been pretty busy lately but I'll try and make some time this weekend to upload the fix.
[MOD 0.11.22] Pocket Bots. Construction bots for your pocket.
- SuperSandro2000
- Filter Inserter
- Posts: 742
- Joined: Sun Jan 12, 2014 3:54 am
- Contact:
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
Please call me simply Sandro.
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
My Main Mods: Sandro's fixes, Expanded Rocket Payloads Touched by an AngelBob and more can be found here
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
No, thank you for making such an innovative mod Happy to help with quick fixes. Besides, the factorio changelog practically supplied the fix anyway.JamesOFarrell wrote:Thanks guys! Life has been pretty busy lately but I'll try and make some time this weekend to upload the fix.
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
Havnt been an active modder so if anyone knows a better fix for the following error please let me know.
I was getting this after my blueprint jobs completed and the roboport shutdown, below is the fix in control.lua
Changed line 197 "return armor.getitemstack(1)" to "return player.getinventory(defines.inventory.playerarmor)[1]" and no longer crashing
Old
Fixed
Credit to Talguy, used his fix for line 70 after my attempts failed horribly.
I was getting this after my blueprint jobs completed and the roboport shutdown, below is the fix in control.lua
Changed line 197 "return armor.getitemstack(1)" to "return player.getinventory(defines.inventory.playerarmor)[1]" and no longer crashing
Old
Code: Select all
function getArmorStack(player)
local armor = player.getinventory(defines.inventory.playerarmor)
if armor ~= nil then
return armor.getitemstack(1)
end
end
Code: Select all
function getArmorStack(player)
local armor = player.getinventory(defines.inventory.playerarmor)
if armor ~= nil then
return player.getinventory(defines.inventory.playerarmor)[1]
end
end
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
While I won't use the mod (95%-vanilla is my style) I always get goosebumps seeing that epic preview pic "kapow! outpost done!". Congratulations, great stuff
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
can i add your mod to my mod pack, you will get credits and a link yto the od thread
- StoneLegion
- Filter Inserter
- Posts: 687
- Joined: Fri Sep 05, 2014 7:34 pm
- Contact:
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
Is the developer still active? I'm going to hand fix the errors reported in the thread but I'm wondering if I should bother using it in a fresh game if it is going to end up dying.
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc
I'm around but not really active. I've been pretty busy with life stuff. The idea at this stage it to get keep it working until 0.11 goes stable then try and get the it working properly with multiplayer. If you get it working post your version and I'll re-host it in the first post.Kane wrote:Is the developer still active? I'm going to hand fix the errors reported in the thread but I'm wondering if I should bother using it in a fresh game if it is going to end up dying.
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
Is there a way to make this mod 0.11.17-compatibile? How much programming work would it take?
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
It was working on 0.11.16, did it broke somehow in 0.11.17?
-
- Smart Inserter
- Posts: 1847
- Joined: Sun Feb 23, 2014 3:37 pm
- Contact:
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
psorek wrote:Is there a way to make this mod 0.11.17-compatibile? How much programming work would it take?
What's problem? It worked fine for me in 11.17 with the above fix.SHiRKiT wrote:It was working on 0.11.16, did it broke somehow in 0.11.17?
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
great mod!
bug: sometimes the personal roboport disappears before all the bots have made it back in. this seems to happen most often when I do X, then do Y w/o waiting for all the bots dispensed to do X to get back in.
bug: construction bots won't fly out of your inventory if there are active, unfulfilled (i.e. "5 items are missing construction bots") construction requests outside of pocketbot range
usability: construction bots in your inventory will fly out and fulfill requests that are under the construction area of normal roboports. They don't come back afterwords.
usability: research to increase the range of the pocket port would be nice. I modded the range from 20 to 50 (the same as a normal port) and it made plopping blueprints down WAY easier.
bug: sometimes the personal roboport disappears before all the bots have made it back in. this seems to happen most often when I do X, then do Y w/o waiting for all the bots dispensed to do X to get back in.
bug: construction bots won't fly out of your inventory if there are active, unfulfilled (i.e. "5 items are missing construction bots") construction requests outside of pocketbot range
usability: construction bots in your inventory will fly out and fulfill requests that are under the construction area of normal roboports. They don't come back afterwords.
usability: research to increase the range of the pocket port would be nice. I modded the range from 20 to 50 (the same as a normal port) and it made plopping blueprints down WAY easier.
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
I have gotten an error:
It does not throw the error anymore but until someone confirmed this as the right fix, I will not use it, yet. I do not want my world being ruined.
Also, before I completely forget: Awesome mod; It will make tower creep soo much easier.
And I hope, it is dynamic enough for useing any logistics compatible storage, that comes into range.
P.S. Here it is morning now and in the morning, I tend to be more verbose and use a lot of emoticons.
P.P.S.I think, there should be some Factorio specific graphics in the Smilies box. Although These are my favourite ever!
I'll stop now...
I replaced line 70 ("playerSettings.armorStack = player.getinventory(defines.inventory.playerarmor).getitemstack(1)") with "... = player.getinventory( ... ).getcontents()"Factorio error dialogue wrote:Error while running the event handler: __PocketBots__/control.lua:70: LuaInventory doesn't contain key getitemstack.
It does not throw the error anymore but until someone confirmed this as the right fix, I will not use it, yet. I do not want my world being ruined.
Also, before I completely forget: Awesome mod; It will make tower creep soo much easier.
And I hope, it is dynamic enough for useing any logistics compatible storage, that comes into range.
P.S. Here it is morning now and in the morning, I tend to be more verbose and use a lot of emoticons.
P.P.S.I think, there should be some Factorio specific graphics in the Smilies box. Although These are my favourite ever!
I'll stop now...
- MasterBuilder
- Filter Inserter
- Posts: 353
- Joined: Sun Nov 23, 2014 1:22 am
- Contact:
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
I've been using the following and have had no issues:mieze :3 wrote:I replaced line 70 ("playerSettings.armorStack = player.getinventory(defines.inventory.playerarmor).getitemstack(1)") with "... = player.getinventory( ... ).getcontents()"
It does not throw the error anymore but until someone confirmed this as the right fix, I will not use it, yet. I do not want my world being ruined.
Code: Select all
playerSettings.armorStack = player.getinventory(defines.inventory.playerarmor)[1]
Give a man fire and he'll be warm for a day. Set a man on fire and he'll be warm for the rest of his life.
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
Cool, thanks!MasterBuilder wrote:I've been using the following and have had no issues:mieze :3 wrote:I replaced line 70 ("playerSettings.armorStack = player.getinventory(defines.inventory.playerarmor).getitemstack(1)") with "... = player.getinventory( ... ).getcontents()"
It does not throw the error anymore but until someone confirmed this as the right fix, I will not use it, yet. I do not want my world being ruined.Code: Select all
playerSettings.armorStack = player.getinventory(defines.inventory.playerarmor)[1]
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
I stick it, just because I thing this is super useful and something we would eventually want to have even in the vanilla.
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
Well that's a seal of approval, if ever I saw one.
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
Kovarex, does it mean you're gonna implement it soon? Can't wait
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
Maybe not soon, but I guess it means somedaypsorek wrote:Kovarex, does it mean you're gonna implement it soon? Can't wait
-
- Filter Inserter
- Posts: 402
- Joined: Fri May 23, 2014 8:54 am
- Contact:
Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.
Wow, that is awesome. Glad people are enjoying this mod.kovarex wrote:I stick it, just because I thing this is super useful and something we would eventually want to have even in the vanilla.