Skip to content

Releases: RodionGromo/minecraftCCT_turtleP

Beta v0.3

14 Jul 18:35
4448b55
Compare
Choose a tag to compare

Now actually requires websockets package for Python!

I've rewritten all code from ground up, added full Websocket python server (as intended), and even added a http bridge if you want to control turtles by http

Guaranteed 120% performance increase compared to other versions (don't use http if you don't want to be disappointed), and (probably) some bugs added!

The requirements are:

  • Python 3.8+
  • ComputerCraft: Tweaked for Minecraft, any version that supports websockets
    (don't forget to download json library for lua, otherwise it won't work, get it here)

Notes

Sometimes won't work without this change:

  • Change settings in computercraft-server.toml file (.minecraft\saves\YourWorldHere\serverconfig\computercraft-server.toml):
[[http.rules]]
host = "$private"
action = "deny"

to

[[http.rules]]
host = "$private"
action = "allow"

Warning: this is kind of unsafe, if I remember correctly, so use actual IP addresses instead of local networking

  • I forgot to put .js file for site.html, so if you want to use it please download it yourself...

Beta v0.2

27 Mar 11:42
aacd3f1
Compare
Choose a tag to compare

Still requires world settings update, but works better!
Now requires Flask, websocket version abandoned

Beta version

24 Mar 12:52
c2a50a7
Compare
Choose a tag to compare

Somewhat useful, but requires a few settings to use:

  1. Change:
    [[http.rules]]
    host = "$private"
    action = "deny"
    to
    [[http.rules]]
    host = "$private"
    action = "allow"
    in your computercraft-server.toml file (.minecraft\saves*world*\serverconfig\computercraft-server.toml)

  2. Install ws (websocket) for python

  3. run "py websocket.py" for server, and turtle_listener.lua for turtle client

  4. enjoy