[Mod] basic_robot [basic_robot]

Re: [Mod] basic_robot [basic_robot]

Postby hajo » Tue Jan 30, 2018 10:57 pm

Fixerol wrote:another project .. https://github.com/dan200/ComputerCraft -
aka programmable robots in lua for minecraft

Well, that is not a mod - it is a project written in java.
Getting that to run with minetest would be a huge amount of work.
hajo
Member
 
Posts: 596
Joined: Thu Oct 13, 2016 10:45 am

Re: [Mod] basic_robot [basic_robot]

Postby Fixer » Tue Feb 06, 2018 5:57 pm

Actually there is some mod in minetest with programmable robots, called https://github.com/minetest-mods/turtle
Fixer
Member
 
Posts: 891
Joined: Sun Jul 31, 2011 11:23 am
In-game: Fixer

Re: [Mod] basic_robot [basic_robot]

Postby hajo » Thu Feb 08, 2018 6:12 pm

Fixerol wrote:there is some mod in minetest with programmable robots,
called https://github.com/minetest-mods/turtle

Did you check it out lately ?
Last time I had a look (long ago), it wasn't usable.

There are turtleMiners, but as of now, they can only move & dig.

AFAIK, basic_robots is currently the only working mod
with useful, programmable robots for minetest.
hajo
Member
 
Posts: 596
Joined: Thu Oct 13, 2016 10:45 am

Re: [Mod] basic_robot [basic_robot]

Postby bosapara » Sun Mar 25, 2018 9:30 am

Image Image Image Image

bump for preview

Code: Select all
[img]https://image.ibb.co/bUzVAn/ezgif_com_gif_maker_8_min.gif[/img] [img]https://image.ibb.co/jy9abS/ezgif_com_gif_maker_11_min.gif[/img] [img]https://image.ibb.co/eM8CO7/ezgif_com_resize_1_min.gif[/img] [img]https://image.ibb.co/k98qAn/ezgif_com_resize_min.gif[/img]
bosapara
Member
 
Posts: 416
Joined: Fri Apr 07, 2017 8:49 am
GitHub: bosapara
In-game: Jozet

Re: [Mod] basic_robot [basic_robot]

Postby mayo » Mon Mar 26, 2018 1:12 pm

Hi,

i have download and install the mod.
It lacks 5 png files.

see my debug.txt
Code: Select all
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "topface.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "legs.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "face-back.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "left-hand.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "right-hand.png" while building texture; Creating a dummy image


Only face.png is present.
Can anybody help me?

Thank you

mayo
mayo
New member
 
Posts: 2
Joined: Mon Mar 26, 2018 12:59 pm

Re: [Mod] basic_robot [basic_robot]

Postby bosapara » Tue Apr 03, 2018 7:31 am

mayo wrote:Hi,

i have download and install the mod.
It lacks 5 png files.

see my debug.txt
Code: Select all
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "topface.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "legs.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "face-back.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "left-hand.png" while building texture; Creating a dummy image
2018-03-26 04:09:45: ERROR[Main]: generateImage(): Could not load image "right-hand.png" while building texture; Creating a dummy image


Only face.png is present.
Can anybody help me?

Thank you

mayo
bosapara
Member
 
Posts: 416
Joined: Fri Apr 07, 2017 8:49 am
GitHub: bosapara
In-game: Jozet

Re: [Mod] basic_robot [basic_robot]

Postby mayo » Wed Apr 04, 2018 2:38 am

It works. Thank you. :-)

mayo
mayo
New member
 
Posts: 2
Joined: Mon Mar 26, 2018 12:59 pm

Re: [Mod] basic_robot [basic_robot]

Postby Michael Eh? » Mon Apr 30, 2018 2:57 am

Okay problem, how does one program robot to build lets say a circle or sphere or even a dome (semi circle)

to plot a circle the formula is x^2+z^2=r^2

r=radius

Of course this assumes that you're at 0,0,0 so you'll have to offset current position.
Michael Eh?
Member
 
Posts: 389
Joined: Sun Jan 01, 2012 5:21 pm

Re: [Mod] basic_robot [robot_code]

Postby ADHQProth » Sat Aug 04, 2018 8:58 pm

if (i == nil) then i=0;self.label("RoadPaver") turn.left(); end move.forward() if read_node.down()=="default:desert_sand" then dig.down() end if read_node.down()=="air" then place.down("default:cobblestone") end
ADHQProth
New member
 
Posts: 7
Joined: Fri Jul 20, 2018 8:12 pm
GitHub: None
In-game: none

Re: [Mod] basic_robot [robot_code]

Postby hajo » Sat Aug 04, 2018 11:34 pm

ADHQProth wrote:if (i == nil) then ...

Please use 'code' to format source code:
Code: Select all
if (i == nil) then
  i=0; self.label("RoadPaver") turn.left();
end
move.forward()
if read_node.down()=="default:desert_sand" then
  dig.down()
end
if read_node.down()=="air" then
  place.down("default:cobblestone")
end

Michael Eh? wrote:program robot to build lets say a circle or sphere

The above road-paver is no solution for his problem.
hajo
Member
 
Posts: 596
Joined: Thu Oct 13, 2016 10:45 am

Re: [Mod] basic_robot [basic_robot]

Postby Emperatrox » Mon Dec 31, 2018 11:52 pm

I got this error. I'm using Windows 10. I can't create a new world with this mod. Please help me.

2018-12-31 19:59:30: ERROR[Main]: ModError: Failed to load and run script from C:\Users\Usuario\Downloads\minetest-0.4.17.1-win64\bin\..\mods\basicrobot\init.lua:
2018-12-31 19:59:30: ERROR[Main]: ...\minetest-0.4.17.1-win64\bin\..\mods\basicrobot\init.lua:43: attempt to concatenate a nil value
2018-12-31 19:59:30: ERROR[Main]: stack traceback:
2018-12-31 19:59:30: ERROR[Main]: ...\minetest-0.4.17.1-win64\bin\..\mods\basicrobot\init.lua:43: in main chunk
2018-12-31 19:59:30: ERROR[Main]: Revisa debug.txt para más detalles.


It's in this code:

Code: Select all
dofile(minetest.get_modpath("basic_robot").."/robogui.lua") -- gui stuff
dofile(minetest.get_modpath("basic_robot").."/commands.lua")


Apparently this does not detect robogui.lua and commands.lua, but they are here, in the correct ubication. I'm using the 0.4.17.1 version.
Emperatrox
New member
 
Posts: 2
Joined: Mon Oct 15, 2018 3:49 am
GitHub: MB3001
In-game: Emperatrox

Re: [Mod] basic_robot [basic_robot]

Postby rnd » Tue Jan 01, 2019 10:10 am

what is nil is this:
minetest.get_modpath("basic_robot")
My guess would be you didn't extract in correct folders which can be seen from path name
2018-12-31 19:59:30: ERROR[Main]: ...\minetest-0.4.17.1-win64\bin\..\mods\basicrobot\init.lua:43
rnd
Member
 
Posts: 218
Joined: Sun Dec 28, 2014 12:24 pm
GitHub: ac-minetest
In-game: rnd

Re: [Mod] basic_robot [basic_robot]

Postby Emperatrox » Tue Jan 01, 2019 2:34 pm

I am laughing very hard about myself. I have removed the underscore of "basic_robot" to avoid problems, and instead I generated them. I already solved it XD thanks. I knew it because "basic_robot" appears in the code.
Emperatrox
New member
 
Posts: 2
Joined: Mon Oct 15, 2018 3:49 am
GitHub: MB3001
In-game: Emperatrox

Re: [Mod] basic_robot [basic_robot]

Postby justaminetester » Thu Jan 24, 2019 4:14 pm

Hi,

a recent update "drop fix, commit 539144f " apparently broke harvesting wheat and others.
Before, the robot got 1 or 2 wheat and 1 or 2 seeds when digging farming:wheat_8, the same as harvesting by hand.
Since, the robot only gets exactly 1 wheat and no seeds (while harvesting by hand still works as before).

The offending change seems to be the "break" inserted at line 495 of "basic_robot/commands.lua"
Please review.

Thanks
justaminetester
New member
 
Posts: 1
Joined: Thu Jan 24, 2019 4:00 pm

Re: [Mod] basic_robot [basic_robot]

Postby Sires » Tue Mar 05, 2019 2:03 pm

Heyy can you add this mod to content db?
Sires
Member
 
Posts: 189
Joined: Mon Jan 02, 2017 9:00 pm
GitHub: Sires0
In-game: Sires Sores Siri Seris or anything ppl call me

Re: [Mod] basic_robot [basic_robot]

Postby rnd » Tue Mar 05, 2019 8:42 pm

I have to ask to be moved.
rnd
Member
 
Posts: 218
Joined: Sun Dec 28, 2014 12:24 pm
GitHub: ac-minetest
In-game: rnd

Re: [Mod] basic_robot [basic_robot]

Postby arielenter » Thu Apr 18, 2019 11:04 pm

I'm playing vanessase robot_skyblock , where plants have to be planted on compost wood barrels and fertilizer has to be put inside them to prevent plants from dying.

I'm trying to make a fertilizer feeder using a basic robot, but I don't seem to find the name of those compost wood barrels' inventory name. Is not "main", "src" or "dst".

I read some where that weed/fertilizer was created to make farming more challenging. Does that mean that a robot can't insert fertilizer on them too?
arielenter
New member
 
Posts: 2
Joined: Tue Oct 06, 2015 11:00 pm



Return to Mod Releases



Who is online

Users browsing this forum: Yandex Bot [Bot] and 0 guests