Mesecons Remote

Add a remote control that allows you to remotely control a Mesecons receiver.

Machines / Electronics

Download (99 KB)

How do I install this?

This mod allows players to control up to 4 registered Mesecons receivers remotely using a configurable remote. Each receiver has a unique ID and can be activated or deactivated in button (momentary) or lever (toggle) mode.

It is fully compatible with the Mesecons mod and works with any system using Mesecons signals.

Receivers display their state (ON or OFF) in-game, and the remote's channel configurations are saved, allowing players to control multiple receivers easily and quickly.


Features: 🔗

  • Control up to 4 receivers per remote
  • Modes: button (3 seconds) or lever (toggle)
  • Dynamic display of receiver states (ON/OFF)
  • Channel configuration via built-in form (Aux1 + Left Click with the remote)
  • Automatic storage of receivers and their IDs in the world file
  • Chat command /receiver <ID> to locate a receiver

Available Commands: 🔗

/receiver <ID>    Displays the position and state (ON/OFF) of a receiver by its ID

This mod is lightweight, has no complex dependencies, and is designed to be compatible with any Mesecons scenario.

This mod was created with ChatGPT.

Reviews

Review

Do you recommend this mod?

  • English

    This is why I cannot take vibe coding seriously

    1. The promo image is absolutely ridiculous. The lever, button and antenna on the block do not exist in the real mod. The remote control has "on" and "off" buttons, but also an "on/off" button (which also looks garbled). The "L" button makes no sense. The random up arrow in the background means nothing.
    2. The UI is confusing. The two modes are called "lever" and "button" which is a bit strange. It is inconsistent in calling the channels either "Left/Right" or "Left Click/Right Click". The word "click" does not work anymore, because people can rebind those keys now
    3. The actual node texture looks bad, it uses the same texture on all sides and also has an art style mismatch (not mesecons yellow, no 16×16 texture). And it also doesn't look like in the promo image, and looks identical in ON and OFF state
    4. The chat command makes no sense and feels bloated
    5. Still uses the name "Minetest" instead of "Luanti"
    6. When you destroy an active receiver node, it is not removed from the receiver list, leading to garbage in the database. If an LVM destroys a receiver node, same problem
    7. Code garbage:
      1. The receiver ID is overly complex. It also needs to store data in a file, which is risky because that can lead to data inconsistencies. It would be much simpler to just use node positions to identify receivers instead
      2. The receiver ID is broken by design. It just generates a random 4-digit number and when it collides, it tries again. This mod will freeze when there are 10000 receivers
      3. Uses minetest.serialize to store positions instead of minetest.pos_to_string
      4. Wrong use of translation placeholders: %s instead of @1, or outright string concatenation
      5. There is code for sneak+rightclick with remote on a receiver, but it never runs

    And I could just go on and on and on …

    PLEASE just learn real progamming already. Vibe coding is a dead end.

    2 comments
  • English

    All AI

    The art is AI (It's in the LICENSE.txt), The code has 90% chance of being AI.

    0 comments
  • English

    pourquoi j'aime ce mod

    Even though this mod was created with the help of artificial intelligence, it remains perfectly functional and the idea is really clever: it’s a real plus for gameplay with mesecons... personally, I like it.

    0 comments