Minetest basicrobot11/10/2023 ![]() ![]() Learned something new: "Tail call optimization". I tried raising error inside another pcall and even tried raising error inside script in sandbox but in both cases pcall didnt catch error and it crashed minetest. Please contact the application's support team for more information. This application has requested the Runtime to terminate it in an unusual way. \rpg\minetest0414server\bin\.\builtin\game\a:350: in function What(): Runtime error from mod 'basic_robot' in callback on_shutdown(): line (*4) That means, it can build itself into the sky on top of a column, withĬode: Select all terminate called after throwing an instance of 'LuaError' the controller as a formspec, with some buttons like left/right/forward/action. (*3) If the spawner is picked up while the bot is running,Īnd placed again, it shows a form with an empty code-area,Īnd gives an error "robot already active".īTW, how could the robot read button-presses on a remote-controller ?Į.g. (*2) So, the buttons "Spawn" and "Remove" would better be placed at the top right, Included every time, without much typing/copy/paste. So people could have their own code for customizing their bots, Would be included into the code for the robot (e.g. With a title like "basic_robot lib#1", where the text from that book (*1) Perhaps just a command/setting like 'robotname="Hugo"'. Robot3.jpg (74.49 KiB) Viewed 2738 times robot2.jpg (73.38 KiB) Viewed 2738 times robot1.jpg (70.1 KiB) Viewed 2738 timesĬode: Select all if (i=nil) then say("Hi !") i=0 end Robot can write text to standard minetest books in its library, also it can read books and execute code in books There is built in book browser, editor and loader Robot walking along cobble road: robot can only sense nearby nodes and has to decide when to turn ![]() ingame help: right click spawner and click help button Spawner can also be activated with signal ( mesecons mod, basic_machines mod)ģ. place spawner (basic_robot:spawner) and right click it to write program.Ģ.START to run program, STOP to stop program/remove robot, clear to delete program Write programs in lua - robot can move around, sense the blocks and build/dig.ġ. Basic_robot is a lightweight minetest programmable robot for multiplayer. ![]()
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |