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

Topics and discussion about specific mods
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: 8079
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.

User avatar
aRatNamedSammy
Fast Inserter
Fast Inserter
Posts: 216
Joined: Tue Jul 08, 2014 4:26 pm
Contact:

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

Post by aRatNamedSammy »

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.
:mrgreen: woohoo :D
Teeth for Two (so sorry my bad english)

User avatar
aRatNamedSammy
Fast Inserter
Fast Inserter
Posts: 216
Joined: Tue Jul 08, 2014 4:26 pm
Contact:

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

Post by aRatNamedSammy »

opps..got a bug
on a fresh start
Attachments
factorio-current.zip
(758 Bytes) Downloaded 195 times
bug pocketbots 021 factorio 01121.PNG
bug pocketbots 021 factorio 01121.PNG (246.72 KiB) Viewed 8403 times
Teeth for Two (so sorry my bad english)

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 »

aRatNamedSammy wrote:opps..got a bug
on a fresh start
Just do a find & replace in control.lua
Replace:

Code: Select all

.getitemstack(1)
With:

Code: Select all

[1]
This has bee known about for quite a while and there are numerous posts about it in the thread already.
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.

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 »

MasterBuilder wrote: Just do a find & replace in control.lua
This change has been made and the first post updated.

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 »

What bug is causing desync in MP while using pocket bots? Is it factorio bug or rather mod one?

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:What bug is causing desync in MP while using pocket bots? Is it factorio bug or rather mod one?
Desync's are always factorio bug.

Rseding91
Factorio Staff
Factorio Staff
Posts: 13346
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

FishSandwich wrote:
psorek wrote:What bug is causing desync in MP while using pocket bots? Is it factorio bug or rather mod one?
Desync's are always factorio bug.
Not always, it's very easy to use local variables and cause desyncs with a mod.
If you want to get ahold of me I'm almost always on Discord.

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 »

Yeah.. And if the factorio client handled it correctly it wouldn't desync right?

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 »

You overestimate the ability of the game to deal with modders' bad code.

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 »

Degraine wrote:You overestimate the ability of the game to deal with modders' bad code.
You can't ask the game to not desync when you are trying to break things.

Post Reply

Return to “Mods”