Giter Club home page Giter Club logo

samp-discord-connector's People

Contributors

agraber avatar alasnkz avatar amyrahmady avatar kubkodev avatar maddinat0r avatar notunlikethewaves avatar seanny avatar southclaws avatar spacemud avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

samp-discord-connector's Issues

Discord API - Suggestions

Hello everybody, it 'd be great if you @maddinat0r added an function which sets the game status of the BOT
For example
DCC_SetBotGameStatus('San Andreas Multiplayer');

And an callback which gets called when any new User Joins our DS server for example
public DCC_OnUserJoinGuild(userID) {…}
And an callback which gets called when any GuildUser leave our DS server for example
public DCC_OnGuildUserLeave(userID) {…}

And an function to count how much users exists on our DS server and another function to count how much users exists on an specific role (will be used for debugging)

For example DCC_CountGuildUsers(); DCC_CountGuildUsersByRole(roleID);

And an function to count how much channels on our DS server and another function to count how much Categories on our DS server (will be used for debugging)
For example DCC_CountGuildChannels(); DCC_CountGuildCategories();

And add an official Command processor as we are currently using an unofficial Command Processor by @xeon http://forum.sa-mp.com/showthread.php?p=3908995#post3908995

And add some moderating functions for example DCC_KickGuildUser(user); DCC_BanGuildUser(user, reason{});

And add some functions to change GuildUser's Roles

Plugin does not conform to architecture

[01:55:24] Loading plugin: discord-connector.so
[01:55:24] Plugin does not conform to architecture.
[01:55:24] Failed.

I've specified to force -m32 for all compilations, I don't know why this is happening.

Just a Suggestion

Well here's a suggestion you can also use,
samp.js
With
Discord.js - Module for node.js

but I don't know how it can be implemented into samp.js I mean I just found out about samp.js...
I want my app.js (which is actually a discord bot file (can be run by returning node app.js in the console))
and I wan't to get those messages... or actually send messages in a channel to user... and when there is a new messages in a specific channel I want to send it to the player...
example usage of discord.js

/*
  A ping pong bot, whenever you send "ping", it replies "pong".
*/

// import the discord.js module
const Discord = require('discord.js');

// create an instance of a Discord Client, and call it bot
const bot = new Discord.Client();

// the token of your bot - https://discordapp.com/developers/applications/me
const token = 'your bot token here';

// the ready event is vital, it means that your bot will only start reacting to information
// from Discord _after_ ready is emitted.
bot.on('ready', () => {
  console.log('I am ready!');
});

// create an event listener for messages
bot.on('message', message => {
  // if the message is "ping",
  if (message.content === 'ping') {
    // send "pong" to the same channel.
    message.channel.sendMessage('pong');
  }
});

// log our bot in
bot.login(token);

Function for bots to PM users

^ topic.

just like
native DCC_SendChannelMessage(DCC_Channel:channel, const message[]);

we would like
native DCC_SendUserMessage(DCC_User:user, const message[]);

libssl.so.1.0.0

[04:34:01] Loading plugin: discord-connector.so
[04:34:01] Failed (libssl.so.1.0.0: cannot open shared object file: No such file or directory)

I used:
sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev

The error still exists.
I have a linux distribution debian 7.

Connection Crashes on Startup

Since the latest update with Discord which adds categories to servers, our bot seems to crash on DCC_Connect. These are the only logs that display from the plugin (it's repeated every couple of seconds):

[10/09/2017 12:58:52] [INFO] changed log level from 'warning, error' to 'debug, info, warning, error'
[10/09/2017 12:58:58] [DEBUG] DCC_Connect("*****")
[10/09/2017 12:58:58] [DEBUG] CCallback::Create(amx=0xaef4ad8, name='DCC_OnChannelMessage')
[10/09/2017 12:58:58] [DEBUG] CCallback::Create - callback index for 'DCC_OnChannelMessage': 259
[10/09/2017 12:58:58] [INFO] Callback 'DCC_OnChannelMessage' set up for delayed execution.
[10/09/2017 12:58:58] [DEBUG] CNetwork::Initialize
[10/09/2017 12:58:58] [DEBUG] CNetwork::HttpConnect
[10/09/2017 12:58:58] [DEBUG] CNetwork::HttpGet
[10/09/2017 12:58:58] [DEBUG] CNetwork::HttpSendRequest
[10/09/2017 12:58:58] [DEBUG] CNetwork::HttpPrepareRequest
[10/09/2017 12:58:58] [DEBUG] CNetwork::HttpSendRequest(/api/v5/gateway) (actual send)
[10/09/2017 12:58:58] [DEBUG] CNetwork::HttpWriteRequest
[10/09/2017 12:58:58] [DEBUG] CNetwork::WsConnect
[10/09/2017 12:58:58] [DEBUG] CNetwork::WsRead
[10/09/2017 12:58:58] [DEBUG] CNetwork::WsIdentify
[10/09/2017 12:58:58] [DEBUG] CNetwork::OnWsRead
[10/09/2017 12:58:58] [DEBUG] OnWsRead: {
[10/09/2017 12:58:58] [DEBUG] CNetwork::DoHeartbeat
[10/09/2017 12:58:58] [DEBUG] sending heartbeat
[10/09/2017 12:58:58] [DEBUG] CNetwork::WsRead
[10/09/2017 12:58:59] [DEBUG] CNetwork::OnWsRead
[10/09/2017 12:58:59] [DEBUG] OnWsRead: {
[10/09/2017 12:58:59] [DEBUG] heartbeat ACK
[10/09/2017 12:58:59] [DEBUG] CNetwork::WsRead
[10/09/2017 12:58:59] [DEBUG] CNetwork::OnWsRead
[10/09/2017 12:58:59] [DEBUG] OnWsRead: {
[10/09/2017 12:58:59] [DEBUG] CNetwork::WsRead
[10/09/2017 12:58:59] [DEBUG] CNetwork::OnWsRead
[10/09/2017 12:58:59] [DEBUG] OnWsRead: {

error while loading plugin.

[20:11:17] Loading plugin: discord-connector.so
[20:11:17] Failed (libssl.so.10: cannot open shared object file: No such file or directory)

I get this same error from both pc and server host.

[Error] libssl.so.10

Hello,
I have this error when starting server:
[23:36:26] Loading plugin: discord-connector.so
[23:36:26] Failed (libssl.so.10: cannot open shared object file: No such file or directory)

sending messages from one channel

i have my bots in many channels and i wanted it to send messages from one channel but this doesnt work. Is there a way to do that?

public DCC_OnChannelMessage(DCC_Channel:channel, const author[], const message[]) { if(channel == 388423556721672192) { new str[145]; format(str, sizeof str, "[Discord/%s] %s: %s", channel_name, author, message); SendClientMessageToAll(-1, str); } return 1; }

Unable to Compile (cmake)

I am sorry for my previous Issue... I understand it was useless...

I am unable to compile this project on my Linux(Debian 7 Wheezy) Machine(VPS [OpenVZ])

root@samp:~# cd /home
root@samp:/home# cd samp-discord-connector/samp-discord-connector
root@samp:/home/samp-discord-connector/samp-discord-connector# cd build
root@samp:/home/samp-discord-connector/samp-discord-connector/build# cd ..
root@samp:/home/samp-discord-connector/samp-discord-connector# ls
CMakeLists.txt  README.md     build                     libs
LICENSE         appveyor.yml  discord-connector.inc.in  src
root@samp:/home/samp-discord-connector/samp-discord-connector# cd build
root@samp:/home/samp-discord-connector/samp-discord-connector/build# ls
CMakeCache.txt  CPackConfig.cmake        libs
CMakeFiles      CPackSourceConfig.cmake  src
root@samp:/home/samp-discord-connector/samp-discord-connector/build# cmake ..
-- CMake version: 3.7.2
-- Build type:
CMake Error at libs/samp-log-core/src/CMakeLists.txt:29 (target_compile_features):
  target_compile_features The compiler feature "cxx_inheriting_constructors"
  is not known to CXX compiler

  "GNU"

  version 4.7.2.


CMake Error at src/CMakeLists.txt:50 (target_compile_features):
  target_compile_features The compiler feature "cxx_inheriting_constructors"
  is not known to CXX compiler

  "GNU"

  version 4.7.2.


-- Configuring incomplete, errors occurred!
See also "/home/samp-discord-connector/samp-discord-connector/build/CMakeFiles/CMakeOutput.log".
See also "/home/samp-discord-connector/samp-discord-connector/build/CMakeFiles/CMakeError.log".
root@samp:/home/samp-discord-connector/samp-discord-connector/build#

how can I fix this...
i cloned this repo with this

git clone https://github.com/maddinat0r/samp-discord-connector.git
cd samp-discord-connector
git submodule update --init --recursive

And I think I have all the submodules
Cmake --version returns cmake version 3.7.2
And I have Boost libraries (version 1.62) installed

Can any one tell me how can I fix this...

Server gets slow

After few times when changemode is used to change game mode the server get's very slow, Something that would need a complete restart. Nothing works even chat goes like 1 min in line etc.

Using latest version, attached the log too.
discord-connector.log

DCC_OnChannelMessage callback author parameter proplem

Hello everybody, so iam facing some proplems with DCC_OnChannelMessage callback's author parameter after upgrading to v0.2
for example:

public DCC_OnChannelMessage(DCC_Channel:channel, DCC_User:author, const message[])
{
   if(DCC_IsUserBot(author, true)) return 0; // (24480) : error 035: argument type mismatch (argument 2)
   CallLocalFunction("OnDiscordMessage", "s", author); // (24506) : warning 213: tag mismatch
   return 1;
}
  1. please some help on fixing those errors/warnings, it 'd be great to fix those parameters proplem
  2. really i need linux build for v0.2 (it 'd be great if its compitable with/or built in Centos 7.x for example Centos 7.3 because of libssl.so.1.0.0 missing......proplem) please
  3. i have a suggestion, it 'd be great to see a function which checks if spefied channel is valid
    for example: if(DCC_IsChannelValid("general")) {}
    Syntax: native DCC_IsChannelValid(channel[]);
  4. it 'd be great to update Discord Connector Plugin's main thread's example code so we might understand how your new functions/callbacks works

Crash when no internet available

Today I lost my internet connection and when my script tried connecting to a discord server it crashed.

How do I enable logs?

[WIN] Errors with SSL libraries when Compiling

I'm getting the following issues whenever I attempt to compile:

1>------ Build started: Project: ZERO_CHECK, Configuration: Debug Win32 ------
1> Checking Build System
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/libs/cppformat/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/libs/cppformat/fmt/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/src/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/src/amx/CMakeFiles/generate.stamp is up-to-date.
1> CMake does not need to re-run because E:/Development/SA-MP/samp-discord-connector/build/src/CMakeFiles/generate.stamp is up-to-date.
2>------ Build started: Project: amx, Configuration: Debug Win32 ------
3>------ Build started: Project: fmt, Configuration: Debug Win32 ------
2> Building Custom Rule E:/Development/SA-MP/samp-discord-connector/libs/samp-log-core/src/amx/CMakeLists.txt
2> CMake does not need to re-run because E:\Development\SA-MP\samp-discord-connector\build\libs\samp-log-core\src\amx\CMakeFiles\generate.stamp is up-to-date.
2> amx.c
2> amxaux.c
2> amxdbg.c
2> Generating Code...
3> Building Custom Rule E:/Development/SA-MP/samp-discord-connector/libs/samp-log-core/libs/cppformat/fmt/CMakeLists.txt
3> CMake does not need to re-run because E:\Development\SA-MP\samp-discord-connector\build\libs\samp-log-core\libs\cppformat\fmt\CMakeFiles\generate.stamp is up-to-date.
2> amxplugin2.cpp
3> posix.cc
3> format.cc
2> amx.vcxproj -> E:\Development\SA-MP\samp-discord-connector\build\libs\samp-log-core\src\amx\Debug\amx.lib
3> ostream.cc
3> Generating Code...
3> fmt.vcxproj -> E:\Development\SA-MP\samp-discord-connector\build\libs\samp-log-core\libs\cppformat\fmt\Debug\fmt.lib
4>------ Build started: Project: log-core, Configuration: Debug Win32 ------
4> Building Custom Rule E:/Development/SA-MP/samp-discord-connector/libs/samp-log-core/src/CMakeLists.txt
4> CMake does not need to re-run because E:\Development\SA-MP\samp-discord-connector\build\libs\samp-log-core\src\CMakeFiles\generate.stamp is up-to-date.
4> CAmxDebugManager.cpp
4> CSampConfigReader.cpp
4> CLogger.cpp
4> crashhandler_windows.cpp
4> Generating Code...
4> Creating library E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/src/Debug/log-core.lib and object E:/Development/SA-MP/samp-discord-connector/build/libs/samp-log-core/src/Debug/log-core.exp
4> log-core.vcxproj -> E:\Development\SA-MP\samp-discord-connector\build\libs\samp-log-core\src\Debug\log-core.dll
5>------ Build started: Project: discord-connector, Configuration: Debug Win32 ------
5> Building Custom Rule E:/Development/SA-MP/samp-discord-connector/src/CMakeLists.txt
5> CMake does not need to re-run because E:\Development\SA-MP\samp-discord-connector\build\src\CMakeFiles\generate.stamp is up-to-date.
5> amxplugin.cpp
5> amxplugin2.cpp
5> CCallback.cpp
5> CChannel.cpp
5> CDispatcher.cpp
5> CLog.cpp
5> CMessage.cpp
5> CNetwork.cpp
5>C:\Program Files (x86)\boost\boost_1_63_0\boost/spirit/home/support/detail/endian/endian.hpp(55): warning C4005: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT': macro redefinition
5> C:\Program Files (x86)\boost\boost_1_63_0\boost/endian/buffers.hpp(54): note: see previous definition of 'BOOST_ENDIAN_DEFAULT_CONSTRUCT'
5> main.cpp
5> natives.cpp
5>C:\Program Files (x86)\boost\boost_1_63_0\boost/spirit/home/support/detail/endian/endian.hpp(55): warning C4005: 'BOOST_ENDIAN_DEFAULT_CONSTRUCT': macro redefinition
5> C:\Program Files (x86)\boost\boost_1_63_0\boost/endian/buffers.hpp(54): note: see previous definition of 'BOOST_ENDIAN_DEFAULT_CONSTRUCT'
5> Generating Code...
5> getch.c
5> Creating library E:/Development/SA-MP/samp-discord-connector/build/src/Debug/discord-connector.lib and object E:/Development/SA-MP/samp-discord-connector/build/src/Debug/discord-connector.exp
5>libcrypto32MDd.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp__sscanf referenced in function _OPENSSL_cpuid_setup
5>libcrypto32MDd.lib(v3_utl.obj) : error LNK2001: unresolved external symbol __imp__sscanf
5>libcrypto32MDd.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp___vsnprintf referenced in function _OPENSSL_showfatal
5>libcrypto32MDd.lib(cryptlib.obj) : error LNK2019: unresolved external symbol __imp___vsnwprintf referenced in function _OPENSSL_showfatal
5>libcrypto32MDd.lib(pem_lib.obj) : error LNK2019: unresolved external symbol __imp____iob_func referenced in function _PEM_def_callback
5>libcrypto32MDd.lib(eng_openssl.obj) : error LNK2001: unresolved external symbol __imp____iob_func
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2001: unresolved external symbol __imp____iob_func
5>libcrypto32MDd.lib(ui_openssl.obj) : error LNK2001: unresolved external symbol __imp____iob_func
5>libcrypto32MDd.lib(pem_lib.obj) : error LNK2019: unresolved external symbol __imp__fprintf referenced in function _PEM_def_callback
5>libcrypto32MDd.lib(eng_openssl.obj) : error LNK2001: unresolved external symbol __imp__fprintf
5>libcrypto32MDd.lib(ui_openssl.obj) : error LNK2001: unresolved external symbol __imp__fprintf
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertOpenStore@20 referenced in function _capi_open_store
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertCloseStore@8 referenced in function _capi_find_key
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertEnumCertificatesInStore@8 referenced in function _capi_find_cert
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertFindCertificateInStore@24 referenced in function _capi_find_cert
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertDuplicateCertificateContext@4 referenced in function _capi_load_ssl_client_cert
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertFreeCertificateContext@4 referenced in function _capi_find_key
5>libcrypto32MDd.lib(e_capi.obj) : error LNK2019: unresolved external symbol __imp__CertGetCertificateContextProperty@16 referenced in function _capi_cert_get_fname
5>libcrypto32MDd.lib(dso_win32.obj) : error LNK2019: unresolved external symbol __imp__sprintf referenced in function _win32_name_converter
5>E:\Development\SA-MP\samp-discord-connector\build\src\Debug\discord-connector.dll : fatal error LNK1120: 13 unresolved externals
6>------ Build started: Project: ALL_BUILD, Configuration: Debug Win32 ------
6> Building Custom Rule E:/Development/SA-MP/samp-discord-connector/CMakeLists.txt
6> CMake does not need to re-run because E:\Development\SA-MP\samp-discord-connector\build\CMakeFiles\generate.stamp is up-to-date.
7>------ Skipped Build: Project: INSTALL, Configuration: Debug Win32 ------
7>Project not selected to build for this solution configuration
8>------ Skipped Build: Project: PACKAGE, Configuration: Debug Win32 ------
8>Project not selected to build for this solution configuration
========== Build: 5 succeeded, 1 failed, 0 up-to-date, 2 skipped ==========

I'm attempting to compile with Visual Studio, version listed is 14.0.25431.01 Update 3 (just installed it yesterday). I have both 32-bit and 64-bit versions of OpenSSL 1.1.0 installed

libssl.so.1.1

libssl.so.1.1: cannot open shared object file: No such file or directory

viruxe@Betelgeuse:~/ss$ sudo apt-get install libssl1.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl1.1 is already the newest version (1.1.0f-3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
viruxe@Betelgeuse:~/ss$

Running Debian 9.1 64bit.

Can't edit server.cfg on host

Alright so the bot token is supposed to be put on server.cfg, but our server host does reset server.cfg everytime server starts (incase someone changes slots or whatever), is there any way to put the token some where else except server.cfg? in a text file maybe or something.

sturdier JSON parsing

I should definitely make the JSON parsing code more crash-safe, as there is at least one confirmed report of a plugin crash somewhere in WebSocket::OnWsRead.

cardiac irregularity

Seems like the plugin has sometimes problems reestablishing the heartbeat correctly:

[15:36:42] [DEBUG] WebSocket::OnWsRead
[15:36:42] [DEBUG] WebSocket::WsRead
[15:36:45] [DEBUG] WebSocket::OnWsRead
[15:36:45] [ERROR] Discord terminated websocket connection; reason: CloudFlare WebSocket proxy restarting (1001)
[15:36:45] [INFO] websocket gateway connection terminated, attempting reconnect...
[15:36:45] [DEBUG] WebSocket::Disconnect
[15:36:45] [WARNING] Error while sending WS close frame: Operation canceled (125)
[15:36:45] [WARNING] Error while shutting down SSL on WS connection: stream truncated (1)
[15:36:45] [DEBUG] WebSocket::Connect
[15:36:46] [DEBUG] WebSocket::WsSendResumePayload
[15:36:46] [DEBUG] WebSocket::DoHeartbeat  <------ Reconnect() call
[15:36:46] [DEBUG] sending heartbeat  <----------- sends heartbeat
[15:36:46] [DEBUG] WebSocket::WsRead
[15:36:46] [DEBUG] WebSocket::DoHeartbeat  <------ from our Disconnect() call
[15:36:46] [DEBUG] heartbeat timer chancelled  <-- properly chancelled because of our disconnect
[15:36:46] [DEBUG] WebSocket::OnWsRead
[15:36:46] [DEBUG] WebSocket::DoHeartbeat  <------ WS 'hello' message
[15:36:46] [DEBUG] sending heartbeat  <----------- sends heartbeat again
[15:36:46] [DEBUG] WebSocket::WsRead
[15:36:46] [DEBUG] WebSocket::DoHeartbeat  <------ where does this one come from ????? 
[15:36:46] [DEBUG] heartbeat timer chancelled      (maybe because waiting on a new timer chancels the old one?)
[15:36:46] [DEBUG] WebSocket::OnWsRead
[15:36:46] [DEBUG] heartbeat ACK
[15:36:46] [DEBUG] WebSocket::WsRead
[15:36:46] [DEBUG] WebSocket::OnWsRead
[15:36:46] [DEBUG] heartbeat ACK
[15:36:46] [DEBUG] WebSocket::WsRead
[15:36:46] [DEBUG] WebSocket::OnWsRead
[15:36:46] [DEBUG] WebSocket::WsIdentify
[15:36:46] [DEBUG] WebSocket::WsRead
[15:36:46] [DEBUG] WebSocket::OnWsRead
[15:36:46] [DEBUG] WebSocket::WsRead
[15:36:47] [DEBUG] WebSocket::OnWsRead

Crash: Channel and member update

Server crash when update channel on discord ( edit roles, placement )

  • Easy solution: Enable/Disable settings for Update Callbacks.
    DCC_DisableChannelCallbacks();
    DCC_DisableUserCallbacks();
    DCC_DisableGuildCallbacks();

Discord bot keeps timingout/disconnecting

I have this issues since some days and I'm not sure why this happens. Basicly I start the server, it connects to discord but after a while it disconnects (not in the users list being online) but still sends messages. But when the bot isn't online it doesn't do callbacks...

logs/errors.log

[05/07/2017 10:58:57] [plugins/discord-connector] Heartbeat write error: Success (0)
[05/07/2017 12:28:01] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 13:31:18] [plugins/discord-connector] Error while retrieving HTTP response: End of file
[05/07/2017 13:52:32] [plugins/discord-connector] Error while retrieving HTTP response: End of file
[05/07/2017 14:45:58] [plugins/discord-connector] Error while retrieving HTTP response: End of file
[05/07/2017 15:03:09] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 15:22:29] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 16:30:10] [plugins/discord-connector] Error while retrieving HTTP response: End of file
[05/07/2017 21:29:07] [plugins/discord-connector] Error while retrieving HTTP response: End of file
[05/07/2017 21:44:20] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 22:01:03] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 22:21:41] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 22:43:59] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 23:02:13] [plugins/discord-connector] Error while retrieving HTTP response: short read
[05/07/2017 23:14:24] [plugins/discord-connector] Error while retrieving HTTP response: short read

The full log is quite big (logs/plugins/discord-connector.log) so I cant show everything here

Crashes

samp03svr: /root/samp-discord-connector/libs/beast/include/beast/websocket/impl/close.ipp:231: void beast::websocket::stream<NextLayer>::close(const beast::websocket::close_reason&, beast::error_code&) [with NextLayer = boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >&; beast::error_code = boost::system::error_code]: Assertion `! wr_close_' failed.

Started server on port: 7777, with maxplayers: 50 lanmode is OFF.

samp03svr: /root/samp-discord-connector/libs/beast/include/beast/websocket/impl/close.ipp:227: void beast::websocket::stream<NextLayer>::close(const beast::websocket::close_reason&, beast::error_code&) [with NextLayer = boost::asio::ssl::stream<boost::asio::basic_stream_socket<boost::asio::ip::tcp> >&; beast::error_code = boost::system::error_code]: Assertion `! wr_close_' failed.

Started server on port: 7777, with maxplayers: 50 lanmode is OFF.



[log-core] fatal signal '6' (SIGABRT) catched

terminate called after throwing an instance of 'boost::system::system_error'
  what():  Bad file descriptor

Started server on port: 7777, with maxplayers: 50 lanmode is OFF.



[log-core] fatal signal '6' (SIGABRT) catched
[01/16/17 16:18:04] [DEBUG] CNetwork::WsRead
[01/16/17 16:18:45] [DEBUG] CNetwork::DoHeartbeat
[01/16/17 16:18:45] [DEBUG] sending heartbeat
[01/16/17 16:19:26] [DEBUG] CNetwork::DoHeartbeat
[01/16/17 16:19:26] [DEBUG] sending heartbeat
[01/16/17 16:20:04] [DEBUG] CNetwork::OnWsRead
[01/16/17 16:20:04] [INFO] Discord terminated websocket gateway connection, attempting reconnect...
[01/16/17 16:20:04] [DEBUG] CNetwork::WsDisconnect
[01/16/17 16:20:04] [DEBUG] CNetwork::WsConnect
[01/16/17 16:20:04] [DEBUG] CNetwork::WsSendResumePayload
[01/16/17 16:20:04] [DEBUG] CNetwork::DoHeartbeat
[01/16/17 16:20:04] [DEBUG] sending heartbeat
[01/16/17 16:20:04] [DEBUG] CNetwork::WsRead
[01/16/17 16:20:04] [DEBUG] CNetwork::DoHeartbeat
[01/16/17 16:20:04] [DEBUG] CNetwork::OnWsRead
[01/16/17 16:20:04] [DEBUG] OnWsRead: {
    "d": {
        "_trace": [
            "discord-gateway-prd-1-18",
            "discord-sessions-prd-1-9"
        ],
        "heartbeat_interval": 41250
    },
    "op": 0,
    "s": 205,
    "t": "RESUMED"
}
[01/16/17 16:20:04] [DEBUG] CNetwork::WsRead
[01/16/17 16:20:46] [DEBUG] CNetwork::DoHeartbeat
[01/16/17 16:20:46] [DEBUG] sending heartbeat
[01/16/17 16:21:27] [DEBUG] CNetwork::DoHeartbeat
[01/16/17 16:21:27] [DEBUG] sending heartbeat
[01/16/17 16:22:04] [DEBUG] CNetwork::OnWsRead
[01/16/17 16:22:04] [INFO] Discord terminated websocket gateway connection, attempting reconnect...
[01/16/17 16:22:04] [DEBUG] CNetwork::WsDisconnect
[01/16/17 16:22:04] [DEBUG] CNetwork::WsConnect
[01/16/17 16:22:08] [ERROR] Can't resolve Discord gateway URL 'gateway.discord.gg': Host not found (authoritative) (1)
[01/16/17 16:22:08] [DEBUG] CNetwork::WsSendResumePayload

ubuntu 16.04

[2017/11/27 05:20:57] Loaded.
[2017/11/27 05:20:57] Loading plugin: mysql.so
[2017/11/27 05:20:57] >> plugin.mysql: R41-2 successfully loaded.
[2017/11/27 05:20:57] Loaded.
[2017/11/27 05:20:57] Loading plugin: discord-connector.so
[2017/11/27 05:20:58] Failed (/home/sampserver/samp03/plugins/libssl.so.10: version `libssl.so.10' not found (required by plugins/discord-connector.so))
[2017/11/27 05:20:58] Loaded 3 plugins.

cmake and make can't find boost libraries

I tried to install them, from aptitude, the boost libraries site (1.65.1), everything. Even, someone helped me for hours (thanks for your support cawfee ❤️), trying to link the libraries but I couldn't. So, is there any way to do this? I'm currently using Ubuntu 16.04.3.

This is what I get from CMake:

-- Configuring done
CMake Error at libs/cmake/AddSAMPPlugin.cmake:2 (add_library):
  Target "discord-connector" links to target "Boost::system" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/CMakeLists.txt:23 (add_samp_plugin)

And this is after using make:

/usr/bin/ld: cannot find -lBoost::system
collect2: error: ld returned 1 exit status
src/CMakeFiles/discord-connector.dir/build.make:516: recipe for target 'src/discord-connector.so' failed
make[2]: *** [src/discord-connector.so] Error 1
CMakeFiles/Makefile2:294: recipe for target 'src/CMakeFiles/discord-connector.dir/all' failed
make[1]: *** [src/CMakeFiles/discord-connector.dir/all] Error 2
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

Thanks in advance.

Server Halt

One day at exactly midnight the bot stopped working and it just halts the rest of the loading process of the server:

[20:08:48] [INFO] changed log level from 'warning, error' to 'debug, info, warning, error'
[20:08:52] [DEBUG] DCC_Connect("*****")
[20:08:52] [DEBUG] CCallback::Create(amx=0x8d556c8, name='DCC_OnChannelMessage')
[20:08:52] [DEBUG] CCallback::Create - callback index for 'DCC_OnChannelMessage': 0
[20:08:52] [INFO] Callback 'DCC_OnChannelMessage' set up for delayed execution.
[20:08:52] [DEBUG] CNetwork::Initialize
[20:08:52] [DEBUG] CNetwork::HttpConnect
[20:08:52] [DEBUG] CNetwork::HttpGet
[20:08:52] [DEBUG] CNetwork::HttpSendRequest
[20:08:52] [DEBUG] CNetwork::HttpPrepareRequest
[20:08:52] [DEBUG] CNetwork::HttpSendRequest(/api/v5/gateway) (actual send)
[20:08:52] [DEBUG] CNetwork::HttpWriteRequest
[20:08:52] [DEBUG] CNetwork::WsConnect
[20:08:53] [DEBUG] CNetwork::WsRead
[20:08:53] [DEBUG] CNetwork::WsIdentify
[20:08:53] [DEBUG] CNetwork::OnWsRead
[20:08:53] [DEBUG] OnWsRead: {
    "d": {
        "_trace": [
            "discord-gateway-prd-1-19"
        ],
        "heartbeat_interval": 41250
    },
    "op": 10,
    "s": null,
    "t": null
}
[20:08:53] [DEBUG] CNetwork::DoHeartbeat
[20:08:53] [DEBUG] sending heartbeat
[20:08:53] [DEBUG] CNetwork::WsRead
[20:08:53] [DEBUG] CNetwork::OnWsRead
[20:08:53] [DEBUG] OnWsRead: {
    "d": null,
    "op": 11,
    "s": null,
    "t": null
}
[20:08:53] [DEBUG] heartbeat ACK
[20:08:53] [DEBUG] CNetwork::WsRead
[20:08:53] [DEBUG] CNetwork::OnWsRead
[20:08:53] [DEBUG] OnWsRead: {
    "d": {
        "_trace": [
            "discord-gateway-prd-1-19",
            "discord-sessions-prd-1-8"
        ],
        "guilds": [],
        "presences": [],
        "private_channels": [],
        "relationships": [],
        "session_id": "b1bc973d3e23c101fc983d8dc8551ff8",
        "user": {
            "avatar": "751a5b3c24dd98d7bddcf36996f1bc4d",
            "bot": true,
            "discriminator": "7132",
            "email": null,
            "id": "303984062073405442",
            "mfa_enabled": false,
            "username": "Gameserver",
            "verified": true
        },
        "user_settings": {},
        "v": 5
    },
    "op": 0,
    "s": 1,
    "t": "READY"
}
[20:08:53] [DEBUG] CNetwork::WsRead
[20:09:35] [DEBUG] CNetwork::DoHeartbeat
[20:09:35] [DEBUG] sending heartbeat
[20:09:35] [DEBUG] CNetwork::OnWsRead
[20:09:35] [DEBUG] OnWsRead: {
    "d": null,
    "op": 11,
    "s": null,
    "t": null
}```

Messages are not send to channel

Hey,

I just tried working with Discord plugin, I am facing a problem of; The messages of players are being send to the channel but the messages called by server are not. I am using same function for both.

Here's the function
public Discord_SendMessage(string[]) { printf("[Discord_SendMessage] %s",string); DCC_SendChannelMessage(Discord_EchoC, string); return 1; }

This is being called in a different script from my main script.

In my server log

[Discord_SendMessage] • Zombies has won the zombie apocalypse! Reward: $10000
[18:13:57]
[Discord_SendMessage] • [RANDOM] Next Mission is Team-deathmatch: Odd Little Town. | Map by JimmySpaceTravel1337.
[18:14:15]
[Discord_SendMessage] • Mission Team-deathmatch: Odd Little Town has successfully initialized.

While This was sent from log

[Discord_SendMessage] Sasuke_Uchiha (0):�1 test

This looks pretty odd as it's the same thing so why won't it send those messages?

discord-connector-log.txt

Running the linux version

I'm currently having this issue: Failed (/usr/lib/i386-linux-gnu/libstdc++.so.6: version 'GLIBCXX_3.4.21' not found (required by plugins/discord-connector.so))

I've checked and I already have libstdc++ installed by default. Running Debian 8.7 32bit.

retry whole HTTP request on failure

Currently the individual write/read operations are repeated, which doesn't make sense if the read operation fails, since there will be nothing to read on a newly established connection.
I should repeat the write op if the read op fails.

cannot open

[01/04/2017 09:15:12]  Loading plugin: discord-connector.so
[01/04/2017 09:15:12]   Failed (libssl.so.10: cannot open shared object file: No such file or directory)

libssl.so.1.1

[22:39:46] Loading plugin: discord-connector.so
[22:39:46] Failed (libssl.so.1.1: cannot open shared object file: No such file or directory)

i have debian 9

Travis CI Download for Linux...

Where is the download link to .so(linux) files...
And .Inc files...
I see the AppVeyor build's artifacts, but it's for Windows (.DLL) where is the Linux (.so) build I can't get Travis CI builds artifact...
And download button in readme.md takes me to a missing page...

Debian 8 Issue

Error log:

[12:14:07] Loading plugin: discord-connector.so [12:14:07] Failed (libssl.so.10: cannot open shared object file: No such file or directory) [12:14:07] Loaded 8 plugins.

I have Debian 8 and the library installed. It throws that error when tried to run on that environment. However, it works fine when run in a Windows environment (with the .dll) on a local setup.

Any fix to this?

Update:
It seems the particular issue is that I can't get to install the x32 openssl library, something which I found to be an issue that a user sorted out that he fixed simply by switching to Ubuntu (#16).

To put it simply, after attempting to install openssl, I get a prompt that says that it can be installed, but only at the expense of other packages, which are vital. Here's a screenshot of it: http://puu.sh/w05OU/4e58cdd91b.jpg

I'm looking more into this issue and will definitely post here if I find a solution that does not involve making the switch from one platform to the other.

Update 2:

Fixed it, issue can be closed.

Plugin timeout

Version: 0.2.1
Error:
[19:58:30] Loading plugin: discord-connector.dll
[19:58:51] >> plugin.dc-connector: timeout while initializing data.

OS: Windows Server 2016

Please help me

Hi, I seriously know nothing about ubuntu/linux. I have hosting game server. I want to install this AMAZING plugin, but! I have got that error:
Loading plugin: discord-connector.so
Failed (/usr/lib/i386-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by plugins/discord-connector.so))
Please help!

DDC_Connect - freezes server

Hey, I have noticed some issues with DDC_Connect. Sometimes it will freeze when connecting and you will have to restart the server.

Perhaps you could add a timeout to this?

I would also like to state that this will happen every time you try to connect while the bot is already connected. Could you please add a function so we could disconnect the bot as well?

This is a problem because server restarts on my server will not give the bot time to disconnect and the server will freeze on initialization.

Thanks

EDIT:

I'd also like to state that sometimes when it actually does connect, it will fail to set the channel variables (I'll check if it's 0, if it is GetChannelById). I have yet to encounter this problem on Windows.

Would also like to state that I'm using openssl-dev since I couldn't install the 32bit openssl regular one without conflicts.

Can't find boost/beast?

Been trying to compile the plugin for about 3 hours straight now, but I can't make the beast library work. I have downloaded it from git and placed it on the boost folder, but it doesn't seem to work whatsoever with the plugin. (I am building the v0.2.1 tag)

                 from /root/samp-discord-connector/src/Channel.cpp:3:
/root/samp-discord-connector/src/Http.hpp:14:32: fatal error: boost/beast/core.hpp: No such file or directory
 #include <boost/beast/core.hpp>
                                ^
compilation terminated.
root@deb:~/boost_1_64_0/boost/beast# dir
core      http      version.hpp  websocket.hpp  zlib.hpp
core.hpp  http.hpp  websocket    zlib
root@deb:~/boost_1_64_0/boost/beast# pwd
/root/boost_1_64_0/boost/beast
root@deb:~/boost_1_64_0/libs/beast# dir
core      http      version.hpp  websocket.hpp  zlib.hpp
core.hpp  http.hpp  websocket    zlib
root@deb:~/boost_1_64_0/libs/beast# pwd
/root/boost_1_64_0/libs/beast

g++ (Debian 4.9.2-10) 4.9.2
cmake version 3.4.0
boost 1.64

Messages being lost

Sometimes sent messages are being lost, very likely somewhere within the ratelimit system.

Compling C++

Hello maddinator !

when i try to complie the plugin
it's always says;

CMake Error at CMakeLists.txt:29 (message):
Could NOT find Boost; specify additional paths.

Support Polish symbols

Messages with Polish symbols (ą, ę, ó, ć, ł, ż, ź) are not sending on Discord.

Libssl1.1 on Ubuntu

I'm trying to start my SA-MP server with discord plugin on Linux (Ubuntu)

The Error:

[14:36:09] Loading plugin: discord-connector.so
[14:36:09] Failed (libssl.so.1.1: cannot open shared object file: No such file or directory)
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] Script[gamemodes/SASRP.amx]: Run time error 19: "File or function is not found"
[14:36:09] Number of vehicle models: 0
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:09] [debug] Run time error 19: "File or function is not found"
[14:36:09] [debug] DCC_SendChannelMessage
[14:36:09] [debug] DCC_FindChannelById
[14:36:09] [debug] DCC_GetChannelName
[14:36:09] [debug] DCC_GetUserName
[14:36:13] [debug] Server received interrupt signal
[14:36:13] [debug] Native backtrace:
[14:36:13] [debug] #0 f73cb180 in _Z13GetStackTraceRSt6vectorI10StackFrameSaIS0_EEPv () from plugins/crashdetect.so
[14:36:13] [debug] #1 f73c3064 in _ZN11CrashDetect20PrintNativeBacktraceERSoRKN2os7ContextE () from plugins/crashdetect.so
[14:36:13] [debug] #2 f73c3d64 in _ZN11CrashDetect20PrintNativeBacktraceERKN2os7ContextE () from plugins/crashdetect.so
[14:36:13] [debug] #3 f73c5b9e in _ZN11CrashDetect11OnInterruptERKN2os7ContextE () from plugins/crashdetect.so
[14:36:13] [debug] #4 f73ca465 in ?? () from plugins/crashdetect.so
[14:36:13] [debug] #5 f77c3bd0 in ?? ()
[14:36:13] [debug] #6 f77c3be9 in ?? ()
[14:36:13] [debug] #7 f74a33ca in nanosleep () from /lib/i386-linux-gnu/libc.so.6
[14:36:13] [debug] #8 f74d32c5 in usleep () from /lib/i386-linux-gnu/libc.so.6
[14:36:13] [debug] #9 080b2dca in ?? () from ./samp03svr
[14:36:13] [debug] #10 f740b637 in __libc_start_main () from /lib/i386-linux-gnu/libc.so.6
[14:36:13] [debug] #11 0804b4e1 in ?? () from ./samp03svr
[14:36:13] --- Server Shutting Down.
[14:36:13] [debug] Run time error 19: "File or function is not found"
[14:36:13] [debug] DCC_SendChannelMessage
[14:36:13] [debug] DCC_FindChannelById
[14:36:13] [debug] DCC_GetChannelName
[14:36:13] [debug] DCC_GetUserName
[14:36:14]

seanny@SeanMcElholm:~$ sudo apt-get install libssl1.1:i386
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libssl1.1:i386
E: Couldn't find any package by glob 'libssl1.1'
E: Couldn't find any package by regex 'libssl1.1'

I did add i386 architecture using dpkg and that didn't do anything to remedy the problem. :(

Discord WS timeout

Discord seems to close the gateway after two minutes if no events are send. It also seems to close the gateway incorrectly; it closes the websocket connection directly, completely ignoring the SSL layer, which results in a stream_truncated error.
The plugin will need to reconnect to the WS gateway (with resume payload), just like it got a reconnect payload (opcode 7).

Build not linking Boost correctly

Not sure if this is an issue with the included CMake files or my system but I thought I'd raise an issue anyway because this happened after following the build steps in the readme (and also checking the Travis log).

Steps I took:

  • Installed cmake-3.7.1
  • Installed boost 1.6.3 (default location)
  • mkdir build && cd build && cmake ..

Result:

$ cmake ..
CMake Warning at /usr/local/share/cmake-3.7/Modules/FindBoost.cmake:744 (message):
  Imported targets not available for Boost version 106300
Call Stack (most recent call first):
  /usr/local/share/cmake-3.7/Modules/FindBoost.cmake:848 (_Boost_COMPONENT_DEPENDENCIES)
  /usr/local/share/cmake-3.7/Modules/FindBoost.cmake:1435 (_Boost_MISSING_DEPENDENCIES)
  CMakeLists.txt:21 (find_package)


-- Boost version: 1.63.0
-- Found the following Boost libraries:
--   system
-- CMake version: 3.7.1
-- Build type:
-- Configuring done
CMake Error at libs/cmake/AddSAMPPlugin.cmake:2 (add_library):
  Target "discord-connector" links to target "Boost::system" but the target
  was not found.  Perhaps a find_package() call is missing for an IMPORTED
  target, or an ALIAS target is missing?
Call Stack (most recent call first):
  src/CMakeLists.txt:23 (add_samp_plugin)


-- Generating done
-- Build files have been written to: /home/southclaws/samp-discord-connector/build

Once I can get this to build, I plan to use it in production so I'll likely be actively contributing!

Discord server for this plugin

Since this is a plugin for a Discord server, I think there should be a Discord server/guild. I can make one and link it, but I figured it might be more suitable if @maddinat0r does it since he's the repository owner as well.

Can't load discord-connector.so CentOs 7

First i loaded discord connector in Windows 10. it worked very well.
After that when i tried to connect it on CentOs 7, i received this error.
Loading plugin: discord-connector.so Failed (libssl.so.1.0.0: cannot open shared object file: No such file or directory)
I searched over the internet for solution and found nothing (To be honest, i am just learning to use VPS)(Sorry for inconvenience)
What do i do to resolve it?
do i need to install Debian 8, to resolve this problem?
do i need to make some directory in lib folder?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.