Discord Plugin

Started by Luckshya, Mar 05, 2019, 05:38 AM

Previous topic - Next topic

gamingpro

when me open server32.exe console its showing me Handle_transport_init receivied error: TLS...

gamingpro

Quote from: Samir_HG on Aug 04, 2022, 05:13 PMI'm having this problem when trying to connect:
[2022-08-04 21:56:45] [connect] Successful connection
[2022-08-04 21:56:45] [error] handle_transport_init received error: TLS handshake failed
[2022-08-04 21:56:45] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init)
disconnect
[2022-08-04 21:56:45] [connect] Successful connection
[2022-08-04 21:56:45] [error] handle_transport_init received error: TLS handshake failed
[2022-08-04 21:56:45] [info] asio async_shutdown error: asio.ssl:336462231 (shutdown while in init)
disconnect

Plugin versions used: x32 and x86
Systems used: Windows 10 Pro 21H2 and Ubuntu 20.04 (both updated)
OpenSSL downloaded from https://slproweb.com/products/Win32OpenSSL.html
Tried all versions available on the website.

On Linux, I downloaded libssl-dev as instructed in this tutorial.

I'm using the exact same script that worked months ago.
As a precaution, I decided to create a new one with only the most basic functions as suggested in more recent tutorials and also the examples on GitHub pages.

Two different ISPs were used in the connection attempt. In all the above scenarios returns the same error.

gamingpro

bro, fuck i have problem, that when i load the 32 bit .dll that giving me code 193 fail., when i try 64 bit, failing code 14001 ??? why

Ridwan Rz

Person who created this plugin, is no longer supporting it OR fixing it. The problem is from sleepydiscord.

Necroso

#49
Changelog: Version 0.4.5 (Unofficial)

After several years away from VC-MP, I discovered that the plugin could no longer connect to Discord. Since the original project was no longer functional with Discord's current services, I decided to update and maintain it.



📌 What's Changed?

  • TLS Handshake Fix: Fixed the critical TLS handshake error that prevented the plugin from communicating with Discord. Discord connections are now functional again.

  • Cross-Platform Support: Compiled and tested binaries are available for both Windows and Linux.

  • 32-bit and 64-bit Builds: Both x86 (32-bit) and x64 (64-bit) builds are provided for each supported operating system.

  • Updated Build System: The Premake configuration and dependency handling have been updated for current Windows and Linux build environments.


⚠️ Important Note Regarding the VC-MP Server (x86)

Although the x86 (32-bit) builds for Windows and Linux were compiled successfully, recent versions of vcmpserver appear to have dropped support for 32-bit binaries.

Migrating both the server and its plugins to x64 is strongly recommended.



⚒️ Linux Build Environment

  • Operating System: Ubuntu 22.04.5 LTS (Jammy Jellyfish)
  • Build Platform: WSL2
  • Architecture: x86_64 (64-bit host with i386 multiarch support)
  • Compiler: GCC/G++ 11.4.0
  • CMake: 3.22.1
  • Premake: 5.0.0-dev
  • glibc Build Environment: 2.35

Compatibility Notes

  • Linux binaries were built in an Ubuntu 22.04.5 LTS environment.
  • Separate x86 and x64 plugin binaries are provided.
  • The corresponding VC-MP server and plugin must use the same architecture.
  • The Linux builds dynamically link against system libraries such as libcurl, OpenSSL, Opus, libsodium and zlib.
  • Compatibility with distributions older than Ubuntu 22.04 is not guaranteed.



🔗 Pull Request & Downloads

A Pull Request containing the fixes has been submitted to the original repository maintained by Luckshya.

While the changes have not yet been merged, the source code and precompiled binaries are available here: https://github.com/Necroso/sleepydiscord-squirrel/releases/tag/0.4.5