fogleman / Craft

A simple Minecraft clone written in C using modern OpenGL (shaders).
http://www.michaelfogleman.com/craft/
MIT License
10.38k stars 1.39k forks source link

the builder.py and the server.py and the world.py giving error #280

Open TheHackerClown opened 3 years ago

TheHackerClown commented 3 years ago

in world.py - Traceback (most recent call last): File "C:\Users\HP\Desktop\my projects\Craft-master\world.py", line 7, in dll = CDLL('./world') File "C:\Users\HP\AppData\Local\Programs\Python\Python39\lib\ctypes__init.py", line 374, in init__ self._handle = _dlopen(self._name, mode) FileNotFoundError: Could not find module 'C:\Users\HP\Desktop\my projects\Craft-master\world' (or one of its dependencies). Try using the full path with constructor syntax.

in builder.py- Traceback (most recent call last): File "C:\Users\HP\Desktop\my projects\Craft-master\builder.py", line 248, in main() File "C:\Users\HP\Desktop\my projects\Craft-master\builder.py", line 189, in main client = get_client() File "C:\Users\HP\Desktop\my projects\Craft-master\builder.py", line 185, in get_client client = Client(host, int(port)) File "C:\Users\HP\Desktop\my projects\Craft-master\builder.py", line 145, in init self.conn.connect((host, port)) ConnectionRefusedError: [WinError 10061] No connection could be made because the target machine actively refused it

in server.py - giving error of print statement like invalid syntax

Please fix them as i wanted to play this game asap

Python-Sargent commented 1 year ago

looks like an error with the server not having the correct dependencies (or client).