matpow2 / cuwo

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

Server crash and lagg #194

Closed megaherox closed 7 years ago

megaherox commented 7 years ago

We play 10 minutes and then the server crashes log: [2017-07-27 22:04:26,790] Exception in callback LoopingCall.schedule(0.02, True) handle: <TimerHandle when=221847.274233015 LoopingCall.schedule(0.02, True)> Traceback (most recent call last): File "/root/.pyenv/versions/3.6.1/lib/python3.6/asyncio/events.py", line 127, in _run self._callback(self._args) File "/var/games/cubeworld/cuwo/loop.py", line 45, in schedule self.func(self.arg, **self.kw) File "/var/games/cubeworld/cuwo/server.py", line 589, in update out_packets = self.world.update(self.update_loop.dt) File "/var/games/cubeworld/cuwo/world.py", line 415, in update raise NotImplementedError() NotImplementedError

matpow2 commented 7 years ago

This is a known issue, and it's being worked on. Thanks for reporting it!

megaherox commented 7 years ago

mhn the problem the issue comes every time .. so we cant play . thanks for the answer. Is there any fix ?

matpow2 commented 7 years ago

For now, you can disable tgen in base.py. I'll be looking into the issue tomorrow, so it won't be long now :)

megaherox commented 7 years ago

ok thanks (:

megaherox commented 7 years ago

when i disable tgen and start the server it crashes instantly :D

matpow2 commented 7 years ago

Fixed in trunk.