Comments (15)
Ok, time to start testing it! The plan is to
- Start using minetest server and client
- Install the plugin for the server and test that it works
from mcthings.
[~]$ sudo dnf install minetest
Running transaction
Preparing : 1/1
Running scriptlet: minetest-server-5.1.0-3.fc32.x86_64 1/4
Installing : minetest-server-5.1.0-3.fc32.x86_64 1/4
Running scriptlet: minetest-server-5.1.0-3.fc32.x86_64 1/4
Installing : libaesgm-20090429-22.fc32.x86_64 2/4
Installing : irrlicht-1.8.4-11.fc32.x86_64 3/4
Installing : minetest-5.1.0-3.fc32.x86_64 4/4
Running scriptlet: minetest-5.1.0-3.fc32.x86_64 4/4
Verifying : irrlicht-1.8.4-11.fc32.x86_64 1/4
Verifying : libaesgm-20090429-22.fc32.x86_64 2/4
Verifying : minetest-5.1.0-3.fc32.x86_64 3/4
Verifying : minetest-server-5.1.0-3.fc32.x86_6
from mcthings.
It it easy (just to drop the mod inside the folder
/home/adelcastillo/.minetest/mods/raspberryjammod
and when you are creating a new world, go to configure and enable the mod:
but there are issues with it:
something that it is normal because it seems the mod was developed under windows, and it has no changes for the last 4 years.
from mcthings.
It is time to start debugging a bit because probably it needs some change in Linux. In the code I can see:
local status,err = pcall(function() socket = ie.require("socket.core") end)
if not status then
socket = ie.require("socket.cx64")
end
so it seems it can not find the socket.core.
I have already installed:
Package lua-socket-3.0-0.22.rc1.fc32.x86_64 is already installed.
so the problem should be other. So we need to start learning a bit more about Lua!
from mcthings.
The complete log is:
Loaded texture: /usr/share/minetest/games/minetest_game/menu/header.png
2020-05-03 17:11:20: ERROR[Main]: ModError: Failed to load and run script from /home/adelcastillo/.minetest/mods/raspberryjammod/init.lua:
2020-05-03 17:11:20: ERROR[Main]: ...e/adelcastillo/.minetest/mods/raspberryjammod/socket.lua:21: module 'socket.cx64' not found:
2020-05-03 17:11:20: ERROR[Main]: no field package.preload['socket.cx64']
2020-05-03 17:11:20: ERROR[Main]: no file './socket/cx64.lua'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/share/luajit-2.1.0-beta3/socket/cx64.lua'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/local/share/lua/5.1/socket/cx64.lua'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/local/share/lua/5.1/socket/cx64/init.lua'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/share/lua/5.1/socket/cx64.lua'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/share/lua/5.1/socket/cx64/init.lua'
2020-05-03 17:11:20: ERROR[Main]: no file '/home/adelcastillo/.minetest/mods/raspberryjammod/socket/cx64.lua'
2020-05-03 17:11:20: ERROR[Main]: no file './socket/cx64.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/local/lib/lua/5.1/socket/cx64.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/lib64/lua/5.1/socket/cx64.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/local/lib/lua/5.1/loadall.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/home/adelcastillo/.minetest/mods/raspberryjammod/socket/cx64.so'
2020-05-03 17:11:20: ERROR[Main]: no file './socket.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/local/lib/lua/5.1/socket.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/lib64/lua/5.1/socket.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/usr/local/lib/lua/5.1/loadall.so'
2020-05-03 17:11:20: ERROR[Main]: no file '/home/adelcastillo/.minetest/mods/raspberryjammod/socket.so'
2020-05-03 17:11:20: ERROR[Main]: stack traceback:
2020-05-03 17:11:20: ERROR[Main]: [C]: in function 'require'
2020-05-03 17:11:20: ERROR[Main]: ...e/adelcastillo/.minetest/mods/raspberryjammod/socket.lua:21: in main chunk
2020-05-03 17:11:20: ERROR[Main]: [C]: in function 'require'
2020-05-03 17:11:20: ERROR[Main]: /home/adelcastillo/.minetest/mods/raspberryjammod/init.lua:34: in main chunk
2020-05-03 17:11:20: ERROR[Main]: Check debug.txt for details.
so it first try to load socket/core.so module and after it socket/cx64.so. And the poblem is:
[raspberryjammod]$ ls -l /usr/lib64/lua/5.3/socket/core.so
-rwxr-xr-x. 1 root root 64720 Jan 29 14:08 /usr/lib64/lua/5.3/socket/core.so
so we need to configure 5.3 version and no 5.1.
lua-socket-compat.x86_64 : Network support for the Lua language 5.1
and now it has worked!
from mcthings.
Last step is to check that all is working.
[raspberryjammod]$ telnet localhost 4711
Trying ::1...
telnet: connect to address ::1: Connection refused
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Cool! Let's try to draw things!
from mcthings.
Wonderful. It it working for sending messages:
from mcthings.
So now, it is time to test the full API to check it is compatible!
from mcthings.
The two block test has worked! I just need to change:
BUILDER_NAME = "singleplayer" # for minetest
from mcthings.
All the tests have worked!
from mcthings.
I am so happy ... a true free software platform in which to develop with Python! So cool!
Now we can decide if go with the pretty and polished Minecraft, used by millions of persons, or with Minetest, totally Open Source, not so pretty but ... free software
from mcthings.
I have tried to build the Abadia and it works. The experience flying around it is worse than with Minecraft. But maybe I need to adjust things. Let's see,
from mcthings.
Ok, I will play a bit more with everything, I will record a video and then, we can close this issue.
from mcthings.
Video recorded and uploaded:
https://www.youtube.com/watch?v=5qwQ1lD_E24&t=3s
Closing this issue!
from mcthings.
https://forum.minetest.net/viewtopic.php?t=13316
from mcthings.
Related Issues (20)
- Learn Vulcan API HOT 3
- Research Open Source Physics engines HOT 5
- Learn Computer Graphics HOT 1
- Research Ray Tracing HOT 11
- Explore the Cyrille Rossant Python Ray Tracer HOT 4
- Implement a Ray Cast renderer for McThings
- Test that McThings works with MC 1.16.1 HOT 2
- Create a Blender renderer for McThings
- Remove McDrawing reimplementing the Sphere
- Research resources pack in Minecraft HOT 4
- Research shaders in Minecraft HOT 1
- Research the use of textures inside Blender
- Research the use of shaders inside Blender
- Implement voxels collisions in Godot physics testbed HOT 14
- Create a Godot renderer for McThings
- vox2schematic - TypeError: to_nbt() takes 3 positional arguments but 4 were given HOT 1
- Test McThings with the last version of Minecraft HOT 2
- Research the migration from TravisCI to GitHub Actions HOT 1
- vox2schematic not working
- Implement McThings over Godot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mcthings.