Snaacky / dndserver

Dark and Darker private server implementation written in Python
The Unlicense
264 stars 60 forks source link

Connection lost #242

Open IlMurlocDiplomato opened 2 months ago

IlMurlocDiplomato commented 2 months ago

I started the server after install all dependency `(dndserver-py3.12) PS C:\Users\Mirco\Desktop\DarkAndDarkerServer\dndserver> python -m dndserver.server

2024-06-24 00:29:01.150 | INFO | main:main:31 - Running game server on tcp://127.0.0.1:13337 I add -server=dcweb.pages.dev:80as params but when i start the game after loading the game says "Teh connection to the server terminated abnormally. Please restart the client." an from terminal i get this (dndserver-py3.12) PS C:\Users\Mirco\Desktop\DarkAndDarkerServer\dndserver> python -m dndserver.server 2024-06-24 00:29:01.150 | INFO | main:main:31 - Running game server on tcp://127.0.0.1:13337 2024-06-24 00:30:45.040 | DEBUG | dndserver.protocol:connectionMade:40 - Received connection from: 127.0.0.1:52656 Unhandled Error Traceback (most recent call last): File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\python\log.py", line 96, in callWithLogger return callWithContext({"system": lp}, func, *args, kw) File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\python\log.py", line 80, in callWithContext return context.call({ILogContext: newCtx}, func, *args, *kw) File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\python\context.py", line 117, in callWithContext return self.currentContext().callWithContext(ctx, func, args, kw) File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\python\context.py", line 82, in callWithContext return func(*args, **kw) --- --- File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\internet\selectreactor.py", line 148, in _doReadOrWrite why = getattr(selectable, method)() File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\internet\tcp.py", line 248, in doRead return self._dataReceived(data) File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\twisted\internet\tcp.py", line 253, in _dataReceived rval = self.protocol.dataReceived(data) File "C:\Users\Mirco\Desktop\DarkAndDarkerServer\dndserver\dndserver\protocol.py", line 131, in dataReceived return logger.warning(f"Received {pc.PacketCommand.Name(_id)} {data} packet but no handler yet") File "C:\Users\Mirco\AppData\Local\pypoetry\Cache\virtualenvs\dndserver-WM6Ds-Bd-py3.12\Lib\site-packages\google\protobuf\internal\enum_type_wrapper.py", line 50, in Name raise ValueError('Enum {} has no name defined for value {!r}'.format( builtins.ValueError: Enum PacketCommand has no name defined for value 26

2024-06-24 00:30:45.238 | DEBUG | dndserver.protocol:connectionLost:46 - Lost connection to: 127.0.0.1:52656`

I dont understand what is this value 26 and whats the error

karolswdev commented 1 month ago

It looks like there haven't been any updates in a year. What's the project status? Do they keep in line with game updates, new protocols and new protocol encryptions?

IlMurlocDiplomato commented 1 month ago

It looks like there haven't been any updates in a year. What's the project status? Do they keep in line with game updates, new protocols and new protocol encryptions?

Yeah i see it, idk but i think the only way to make a real private server is wait that developer of dnd make it possible.