matpow2 / cuwo

Open server and utilities for Cube World
GNU General Public License v3.0
170 stars 49 forks source link

Please help :) #216

Closed Vankovas closed 5 years ago

Vankovas commented 6 years ago

-Intalled python 3.6.5 -Installed cythion -Installed numpy -Installed irc3 -Installed pyrr To build cuwo, run python setup.py build_ext --inplace. -- did this too

And when i go and run the run_server.bat it gives me this, some problem with runpy

C:\Users\Vankovas\Desktop\cuwo-master>C:\Windows\py.exe -3 -m cuwo.server Traceback (most recent call last): File "C:\Users\Vankovas\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "C:\Users\Vankovas\AppData\Local\Programs\Python\Python36\lib\runpy.py", line 85, in _run_code exec(code, run_globals) File "C:\Users\Vankovas\Desktop\cuwo-master\cuwo\server.py", line 18, in from cuwo import packet as packets File "C:\Users\Vankovas\Desktop\cuwo-master\cuwo\packet.py", line 24, in from cuwo.tgen_wrap import (WrapEntityData as EntityData, ModuleNotFoundError: No module named 'cuwo.tgen_wrap'

Vankovas commented 6 years ago

P.S. Sorry for the probably dumb question, I haven't used python at all, have coded only on c# and JS/HTML/CSS/PHP

Vankovas commented 6 years ago

Bump! Please if someone knows help me resolve this problem :)

matpow2 commented 6 years ago

Sounds like your setup.py build did not complete properly. What did the build step give you?

P3nguin33 commented 5 years ago

Probably no use to you now but for anyone with the same problem, this may help. In the data folder, you need data1.db, data4.db and server.exe (all of which are from the original game files).