Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connection lost #242

Open
IlMurlocDiplomato opened this issue Jun 23, 2024 · 2 comments
Open

Connection lost #242

IlMurlocDiplomato opened this issue Jun 23, 2024 · 2 comments

Comments

@IlMurlocDiplomato
Copy link

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

@karolswdev
Copy link

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
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants