Search found 136 matches

Return to advanced search

Re: Client-sided modding: Good or bad?

FEATURE REQUEST: server setting : enable_local_scripts = true/false when false client is prevented from running its own scripts, only those provided by server are allowed. EDIT: don't reply with how client can do what it wants.. ofc it can if you compile it and change. That's not the point. Point is...
by rnd
Wed Mar 22, 2017 12:16
 
Forum: Modding Discussion
Topic: Client-sided modding: Good or bad?
Replies: 34
Views: 16887

Re: [Clientmod] Oredetection [oredetect]

Wait, WHAT? Hahahahaha. OMFG. Like, seriously. Yes, this is INDEED the dawn of X-ray cheat and it is not only non-preventable but also undetectable. Plus, it is freaking officially supported by Minetest! WTF? Its not all that bad - cheaters are very grateful for your work. Other players maybe not s...
by rnd
Mon Mar 20, 2017 07:59
 
Forum: WIP Mods
Topic: [Clientmod] Oredetection [oredetect]
Replies: 48
Views: 13850

Re: Idea for a universal node/item creator

1. http://technicpack.wikia.com/wiki/Categ ... t_Exchange

2. you can use basic_machines and smelt/grind dusts to get more metal (with lots of upgrades it gets fast), and use lava stone generator + grinder to produce cobble, dirt, sand,... Then use autocrafter to make other items
by rnd
Sat Mar 18, 2017 17:00
 
Forum: Modding Discussion
Topic: Idea for a universal node/item creator
Replies: 5
Views: 3185

Re: Do we have map recovery/repair tool?

Tried both 1. recover.py method and 2. SQLite shell method. 2nd method restored some blocks 1st method didnt: 1. download http://www.sqlite.org/2017/sqlite-tools-win32-x86-3170000.zip (if you have linux http://www.sqlite.org/2017/sqlite-tools-linux-x86-3170000.zip) 2. unzip near your bad map.sqlite ...
by rnd
Fri Feb 24, 2017 00:13
 
Forum: Minetest General
Topic: Do we have map recovery/repair tool?
Replies: 8
Views: 1850

Re: [Mod] basic_robot [basic_robot]

statements after self.remove() are still executed yes it just removes the robot entity, but running program step completes. Just use goto like: self.remove(); goto end PROGRAM CODE ::end:: is there a way to query the current energylevel, and/or a wait/sleep-statement ? Each new running step robot h...
by rnd
Thu Feb 09, 2017 09:01
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

UPDATE: -bug fixes -robot now has "energy", each round of execute gives 1 energy up to max 1. to dig stuff, 1 energy is expended -find_player, pickup, player.connected now all return list or nil -check_inventory can look at i-th item in inventory and return its name -robot can turn on furn...
by rnd
Mon Feb 06, 2017 10:19
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_machines [basic_machines]

suppose you put diamonds in and you want to get them back.. push that keypad
by rnd
Thu Jan 19, 2017 17:29
 
Forum: WIP Mods
Topic: [Mod] basic_machines [basic_machines]
Replies: 71
Views: 14974

Re: [Mod] basic_robot [basic_robot]

update: mesecons compatibility: can be activated by mesecons signal and can activate mesecons blocks. to turn on wires use delayer first 1. Here a switch activates wire which turns robot on and makes it work continuously. If wire turns off robot disappears. https://forum.minetest.net/download/file.p...
by rnd
Thu Jan 19, 2017 11:07
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

UPDATE:
-prevention of infinite loops/recursion:
replaced "expensive" function call to check that steps weren't exceeded with cheap conditional "if" checking sandbox local variable. This should give considerable speed increase
- builtin book browser/editor/code loader
by rnd
Wed Jan 18, 2017 20:05
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_machines [basic_machines]

getting recently new error try new update: -gui tweaks ( mover, distributor forms now autorefresh) -all (trap)doors from 0.4.15 can now open/close with signal -better distributor mechanics ( when delay is used all targets activate inside one minetest.after) -better keypad mechanics (prevents spammi...
by rnd
Tue Jan 17, 2017 11:03
 
Forum: WIP Mods
Topic: [Mod] basic_machines [basic_machines]
Replies: 71
Views: 14974

Re: [Mod] basic_robot [basic_robot]

There is complete reference inside robot https://forum.minetest.net/download/file.php?mode=view&id=8581 so you can quickly see the commands and what they do https://forum.minetest.net/download/file.php?mode=view&id=8582 UPDATES: -keyboard events for robot: place special key blocks that inter...
by rnd
Sun Jan 15, 2017 22:02
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

There is mail system and robot placed by admin can access global enviroment _G. So it is possible for admin robot to simply send anything other robot might need - like minetest.sound_play for example - it works like client/server
by rnd
Sun Jan 15, 2017 09:04
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

* Follow / Move to the player (simple move in the direction, and follow terrain up/down) * "Look around, run to the next torch / red flower / fully-grown wheat" (direct line/shortest path, as opposed to blind area-search) - this needs a variant of read_node() for nodes a few blocks away *...
by rnd
Sat Jan 14, 2017 09:28
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

robot shop on ROBOTS server -it scans nearby shops to know what to sell/buy -use chat commands to buy stuff -displays time and prices on large display https://forum.minetest.net/download/file.php?mode=view&id=8536 if not s then s=0;item = 1; price =""; buyer = "" _G.minetest....
by rnd
Fri Jan 13, 2017 13:24
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

UPDATES: too much too list, just some stuff. To see new features visit ROBOTS server. - rom to store persistent robot data ( persistent between robot restarts, clears only on server shutdown) - robots have now built in console that can display 256 modified ascii chars https://forum.minetest.net/down...
by rnd
Fri Jan 13, 2017 11:48
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

Is is predictable what happens when that occurs? all minetest objects hide when no player around. areas will unload after some time if noone around. Robot always checks what its moving into. It cant move into solid wall for example. If it tries to move into unloaded area, it sees that node name is ...
by rnd
Sun Dec 25, 2016 11:56
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

robots are minetest entities and will as such vanish when noone is around - but they will reactivate and restart once players come nearby. You can save/recall data using the self.send_mail/self.read_mail feature ONLINE PLAY: possible on ROBOTS server UPDATES: 0. everything now works with 0.4.15, add...
by rnd
Sat Dec 24, 2016 23:21
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_machines [basic_machines]

Updates: 1.Replaced minetest crafting for machines with Terraria like system, where you simply put materials in inventory and select what you want to craft from list. Machines on the list are sorted in a way to slowly introduce machines to new player. https://forum.minetest.net/download/file.php?mod...
by rnd
Mon Dec 05, 2016 12:19
 
Forum: WIP Mods
Topic: [Mod] basic_machines [basic_machines]
Replies: 71
Views: 14974

Re: [Mod] basic_protect [basic_protect]

It prevents "digging" your way into protected area
by rnd
Sun Nov 27, 2016 11:12
 
Forum: WIP Mods
Topic: [Mod] basic_protect [basic_protect]
Replies: 3
Views: 822

[Mod] basic_protect [basic_protect]

basic_protect divides the space into rectangle areas players can protect. Whenever player places protector area is claimed and protector is placed at "special position". License: LGPL Dependence: default Download: https://github.com/ac-minetest/basic_protect/ ------------------------------...
by rnd
Sat Nov 26, 2016 18:29
 
Forum: WIP Mods
Topic: [Mod] basic_protect [basic_protect]
Replies: 3
Views: 822

Re: [Mod] basic_robot [basic_robot]

updates: -remote control displays move/dig controls in case there are no user set commands -better ingame help -robots can now send messages to each other with self.send_mail and read them with read_mail -fixes various sandbox exploits ( thanks to Byakuren for discovering them) -fixes string modific...
by rnd
Sat Nov 26, 2016 18:15
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

1. hajo"]For the command ' place.up("default.torch") ', I got the errormessage "attempt to index a nil value". if you play as "admin" it doesnt check if item is in inventory, it just gives it 2. if i were allow spawner dig with stuff in it, comments would be: omg, ...
by rnd
Tue Nov 15, 2016 06:50
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

updates: remote control - programmable : when you use it anything can happen example of remote controlled gun that can be rotated, shoot and move forward using 4 remote controls: turret left, fire, turret right, move forward https://forum.minetest.net/download/file.php?mode=view&id=7997&sid=...
by rnd
Mon Nov 14, 2016 19:56
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

updates: -gui redo -has library inventory, containing 32 books -can read books or write to them -can compile code from books and run it -can work with inventories ( take coal from chest, walk to furnace, put it in furnace) -can attach listener to robot that stores last chat message and retrieve it l...
by rnd
Sun Nov 13, 2016 14:44
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

I would suggest just using sethook to set up a count hook. It will run much faster than inserting function calls everywhere, 1. i know, but he intentionaly disables luajit otherwise counts dont register ( look at his code ). so is a question how much faster it really is, cause is not luajit. Plus i...
by rnd
Sat Nov 12, 2016 19:23
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

update: fixes, can sense players around, new direction forward_down for place and read_node.. Examples: explorer/tree harvester robot: This will walk around, climb stairs .. It never gives up, if there is a way it will find it eventually. When it finds pine tree it will harvest it all - if it cant r...
by rnd
Sat Nov 12, 2016 11:18
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

now it is possible to safely use for, while, goto and even define functions recursively. I added preprocessing to script which inserts counting function to critical spots and throws error when exceeded. default value is basic_robot.call_limit = 32 Here is what happens if you make mistake in while lo...
by rnd
Fri Nov 11, 2016 12:42
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

right, this is harmful: say(1) local function blah() return blah() end blah() say(2) One way to prevent this would be set up hook to count how many lines are executed and then throw error when exceeded. Tried that pcall( function() debug.sethook(error,"l") -- raises error when next line is...
by rnd
Fri Nov 11, 2016 09:45
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

Byakuren great ;) ... and this seems undetectable since you can further hide it by a = function() say(1) b() end b = function() a() end a() 1. would be nice if there was option in pcall to terminate execution after specified time to prevent wasting time with this bs.. Btw i know about debug.sethook ...
by rnd
Fri Nov 11, 2016 07:16
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174

Re: [Mod] basic_robot [basic_robot]

Also, is there a better way to check for success of an action then to wrap every action into query/action/query/compare ? now move.. returns true if it can move or false if it cant ( going over edge for example) so you can do do stuff like if not move.forward() then say("im stuck") end Wh...
by rnd
Thu Nov 10, 2016 20:57
 
Forum: WIP Mods
Topic: [Mod] basic_robot [basic_robot]
Replies: 76
Views: 18174
Next

Return to advanced search

cron