[MOD 0.11.22] Pocket Bots. Construction bots for your pocket.

Topics and discussion about specific mods
User avatar
SuperSandro2000
Filter Inserter
Filter Inserter
Posts: 741
Joined: Sun Jan 12, 2014 3:54 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc

Post by SuperSandro2000 »

JamesOFarrell wrote:Thanks guys! Life has been pretty busy lately but I'll try and make some time this weekend to upload the fix.
Take all the time you want.

Talguy
Fast Inserter
Fast Inserter
Posts: 105
Joined: Tue Apr 29, 2014 8:54 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc

Post by Talguy »

JamesOFarrell wrote:Thanks guys! Life has been pretty busy lately but I'll try and make some time this weekend to upload the fix.
No, thank you for making such an innovative mod :) Happy to help with quick fixes. Besides, the factorio changelog practically supplied the fix anyway.

Syches
Manual Inserter
Manual Inserter
Posts: 1
Joined: Fri Feb 13, 2015 2:51 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc

Post by Syches »

Havnt been an active modder so if anyone knows a better fix for the following error please let me know.

Image

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
Fixed

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
Credit to Talguy, used his fix for line 70 after my attempts failed horribly.

dee-
Filter Inserter
Filter Inserter
Posts: 415
Joined: Mon Jan 19, 2015 9:21 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc

Post by dee- »

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 :D

delfiler
Inserter
Inserter
Posts: 20
Joined: Tue Feb 10, 2015 1:38 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc

Post by delfiler »

can i add your mod to my mod pack, you will get credits and a link yto the od thread

Kane
Filter Inserter
Filter Inserter
Posts: 666
Joined: Fri Sep 05, 2014 7:34 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your poc

Post by Kane »

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.

JamesOFarrell
Filter Inserter
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

Post by JamesOFarrell »

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.
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.

quinor
Filter Inserter
Filter Inserter
Posts: 404
Joined: Thu Mar 07, 2013 3:07 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by quinor »

Is there a way to make this mod 0.11.17-compatibile? How much programming work would it take?

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by SHiRKiT »

It was working on 0.11.16, did it broke somehow in 0.11.17?

FishSandwich
Smart Inserter
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.

Post by FishSandwich »

psorek wrote:Is there a way to make this mod 0.11.17-compatibile? How much programming work would it take?
SHiRKiT wrote:It was working on 0.11.16, did it broke somehow in 0.11.17?
What's problem? It worked fine for me in 11.17 with the above fix.

spworwell
Burner Inserter
Burner Inserter
Posts: 11
Joined: Sat Mar 07, 2015 6:32 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by spworwell »

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.

mieze :3
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Nov 18, 2014 7:17 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by mieze :3 »

I have gotten an error:
Factorio error dialogue wrote:Error while running the event handler: __PocketBots__/control.lua:70: LuaInventory doesn't contain key getitemstack.
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. ;)

Also, before I completely forget: Awesome mod; It will make tower creep soo much easier. :x :D
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...

User avatar
MasterBuilder
Filter Inserter
Filter Inserter
Posts: 348
Joined: Sun Nov 23, 2014 1:22 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by MasterBuilder »

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. ;)
I've been using the following and have had no issues:

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.

mieze :3
Burner Inserter
Burner Inserter
Posts: 13
Joined: Tue Nov 18, 2014 7:17 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by mieze :3 »

MasterBuilder wrote:
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. ;)
I've been using the following and have had no issues:

Code: Select all

playerSettings.armorStack = player.getinventory(defines.inventory.playerarmor)[1]
Cool, thanks!

User avatar
Ziggurat
Manual Inserter
Manual Inserter
Posts: 2
Joined: Sat Apr 04, 2015 8:23 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by Ziggurat »

Cool mod!

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by kovarex »

I stick it, just because I thing this is super useful and something we would eventually want to have even in the vanilla.

Degraine
Filter Inserter
Filter Inserter
Posts: 281
Joined: Wed Aug 13, 2014 10:49 am
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by Degraine »

Well that's a seal of approval, if ever I saw one.

quinor
Filter Inserter
Filter Inserter
Posts: 404
Joined: Thu Mar 07, 2013 3:07 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by quinor »

Kovarex, does it mean you're gonna implement it soon? Can't wait :)

User avatar
SHiRKiT
Filter Inserter
Filter Inserter
Posts: 706
Joined: Mon Jul 14, 2014 11:52 pm
Contact:

Re: [MOD 0.11.x] Pocket Bots. Construction bots for your pocket.

Post by SHiRKiT »

psorek wrote:Kovarex, does it mean you're gonna implement it soon? Can't wait :)
Maybe not soon, but I guess it means someday :D

JamesOFarrell
Filter Inserter
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.

Post by JamesOFarrell »

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.
Wow, that is awesome. Glad people are enjoying this mod.

Post Reply

Return to “Mods”