Page 2 of 4

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

Posted: Wed Feb 04, 2015 12:51 pm
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.

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

Posted: Wed Feb 04, 2015 10:30 pm
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.

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

Posted: Fri Feb 13, 2015 3:07 pm
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.

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

Posted: Sat Feb 14, 2015 6:29 pm
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

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

Posted: Sat Feb 14, 2015 9:22 pm
by delfiler
can i add your mod to my mod pack, you will get credits and a link yto the od thread

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

Posted: Sun Feb 22, 2015 10:06 am
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.

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

Posted: Sun Feb 22, 2015 10:35 am
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.

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

Posted: Fri Mar 06, 2015 2:46 pm
by quinor
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.

Posted: Sat Mar 07, 2015 5:09 am
by SHiRKiT
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.

Posted: Sat Mar 07, 2015 2:46 pm
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.

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

Posted: Mon Mar 23, 2015 3:39 pm
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.

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

Posted: Fri Apr 03, 2015 5:24 am
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...

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

Posted: Fri Apr 03, 2015 5:36 am
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]

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

Posted: Fri Apr 03, 2015 6:52 am
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!

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

Posted: Sat Apr 04, 2015 9:11 am
by Ziggurat
Cool mod!

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

Posted: Thu Apr 09, 2015 9:14 am
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.

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

Posted: Thu Apr 09, 2015 9:28 am
by Degraine
Well that's a seal of approval, if ever I saw one.

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

Posted: Thu Apr 09, 2015 11:59 am
by quinor
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.

Posted: Thu Apr 09, 2015 3:05 pm
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

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

Posted: Thu Apr 09, 2015 11:52 pm
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.