dndserver icon indicating copy to clipboard operation
dndserver copied to clipboard

Connection lost

Open IlMurlocDiplomato opened this issue 1 year ago • 2 comments

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:13337I 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

IlMurlocDiplomato avatar Jun 23 '24 22:06 IlMurlocDiplomato

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?

karolswdev avatar Jul 17 '24 13:07 karolswdev

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.

IlMurlocDiplomato avatar Jul 26 '24 15:07 IlMurlocDiplomato

It will work if you use the right (old) version of the files. This repository is not meant to condone or enable piracy. The project is not actively updated because it would be a violation of the DMCA.

Snaacky avatar Jan 17 '25 05:01 Snaacky