Could you please help me? It would be really great to export all I have done so far on a free platform.Īrpruss wrote:To see the error message, run one of the scripts from a commandline: socket directory of raspberryjammod but without success. I also tried to move the /usr/local/lib/lua/5.3/socket/core.so into the. plication Support/minetest/mods/raspberryjammod/a:34: in main chunkġ7:29:02: ERROR: = END OF ERROR FROM LUA =ġ7:29:02: ERROR: Server: Failed to load and run /Users/leo/Library/Application Support/minetest/mods/raspberryjammod/aġ7:29:02: ERROR: ModError: ModError: Failed to load and run /Users/leo/Library/Application Support/minetest/mods/raspberryjammod/a Anyway it seems that the mod is not recognising the socket:ġ7:29:02: ERROR: = ERROR FROM LUA =ġ7:29:02: ERROR: Failed to load and run script fromġ7:29:02: ERROR: /Users/leo/Library/Application Support/minetest/mods/raspberryjammod/a:ġ7:29:02: ERROR: : in function 'require'ġ7:29:02: ERROR. I installed lua 5.3 and with this successfully compiled luasocket3.0. Now I would like to move on minetest but I found many problems installing the mod. Thanks for having produced such nice mod. So far I used your mod on minecraft and I really enjoyed! My aim is to program educational minigames and I found the python interface perfects for this aim. I have tried with other commands, but it does nothing. \minetest-0.4.13-win32-msvc\minetest-0.4.13\bin\.\mods\raspberryjammod\\mcpipy\īut nothing is done. script" /D "C:\Users\user\Downloads\minetest-0.4.13-win32-msvc\minetest-0.4.1ģ\bin\.\mods\raspberryjammod\\mcpipy\" /MIN "python" "C:\Users\user\Downloads Minecraft says:" 16:30:24: ACTION: launching [start "minetest-rjm-python Third, I copied your mod to minetest-0.4.13/mods Second, I installed Python 3.4.3 and added it to the path 2-msvc.zip (I can't find a newer version compiled with msvc) I'm trying to install your mod, but it doesn't works.įirst, I install minetest 0.43-win32-msvc from. There is a feature request for Minetest to include socket handling as a Minetest Lua API, and that would make this much easier.Īrpruss wrote:I just added 圆4 support, so you can now run this on both the 32- and 64-bit versions of Minetest (MSVC + Windows only if you want to use Linux, you'll still need to throw an appropriate core.so file from your luasocket build into the raspberryjammod/socket/ directory). Regarding 64-bit, what error message do you get? Dealing with the socket stuff on various systems is nightmarish. I don't know enough about Linux to know how best to implement the killing of just the scripts for Minetest. A super quick-and-dirty solution is just to have kill() run ie.os.execute("killall python"), but that will stop all python scripts run by the current user, which is (literally) overkill. If the script gets stuck, you'll have to kill it manually from the commandline. Unfortunately, you still won't be able to interrupt the script using "/py" once it runs. Ĭode: Select all function background_launch(window_identifier, working_dir, cmd)Ĭmdline = 'start "'. Just start a world with raspberryjammod enabled, and go to. py chess (wield a sword and LEFT-click on pieces and places to move only works with a sword, and you need to LEFT click, contrary to instructions)įinally, if you want to play with (or teach) some simple turtle graphics using Blockly (a graphical programming system), you don't need to install python. I recommend PyPy for best performance.) Some fun demo scripts to try: (You will need to edit nf in the mod directory if it can't find your Python interpreter. Once python is installed and on the system path, you can drop scripts into mods/raspberryjammod/mcpipy/ and run them with /py scriptname from the Minetest chat. Once it's installed, you'll want to install a python interpreter. If you replace the socket/core.dll file with a a Linux or OS X luasockets library, it should work, but this hasn't been tested. Mod to emulate the Raspberry PI Minecraft API for writing Python code that functions in Minecraft.ĭownload: zip file from github for Windows MSVC build of Minetest
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |