Sasu Posted December 5, 2018 Share Posted December 5, 2018 (edited) Hey! My problem is simple but weird. I'm just doing sockOpen to my socket server but for some reason the server console throws: ' WARNING: Bad argument @ 'triggerEvent' [Expected element at argument 2]' I'm using Linux x64 module (https://nightly.multitheftauto.com/files/modules/64/ml_sockets.so) and my script is like: local discordSocket = sockOpen("myurl.xyz", 777); My socket server is in nodejs: var App = require('express')(); var server = require('http').Server(App); var io = require('socket.io')(server); server.listen(777, () => console.log("Escuchando puerto 777")); io.on('connection', function (socket) { console.log("Alguien se ha conectado!"); }); Edited December 5, 2018 by Sasu Link to comment
Sasu Posted December 5, 2018 Author Share Posted December 5, 2018 Solved. It was oop attribute in meta, this break the module. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now