Re: Socket plugin (v0.2b released) -
DeitY - 21.02.2018
Fixed version of socket.so , including linked libraries and fixed libcrypto bugs(static)
Special thanks to zlaajaa92
Re: Socket plugin (v0.2b released) -
Kaperstone - 21.02.2018
Quote:
Originally Posted by DeitY
Fixed version of socket.so , including linked libraries and fixed libcrypto bugs(static)
|
Can you upload the source? (GitHub for example)
and/or share a fork of the source with the new updates?
Re: Socket plugin (v0.2b released) -
DeitY - 21.02.2018
Quote:
Originally Posted by Kaperstone
Can you upload the source? (GitHub for example)
and/or share a fork of the source with the new updates?
|
well its a source of ->
https://github.com/pBlueG/Socket
just compiled with linked libraries and those annoying erros removed
Re: Socket plugin (v0.2b released) -
KessMan - 02.08.2018
I changed the web-host to the site and now not work sockets. (Web host has sockets libraries installed and enabled.)
socket_connect($socket, '195.178.12.2', '7778');
195.178.12.2 = Site IP. (Do I have to cross the site's IP or Server IP?)
7778 = PORT Socket.
I do not know what to fill in to IP and port.
Thanks for reading.
Have a nice day everyone.
Sorry for my english.
Re: Socket plugin (v0.2b released) -
haoss - 02.08.2018
Quote:
Originally Posted by KessMan
I changed the web-host to the site and now not work sockets. (Web host has sockets libraries installed and enabled.)
socket_connect($socket, '195.178.12.2', '7778');
195.178.12.2 = Site IP. (Do I have to cross the site's IP or Server IP?)
7778 = PORT Socket.
I do not know what to fill in to IP and port.
Thanks for reading.
Have a nice day everyone.
Sorry for my english.
|
You must use your server's IP address:
socket_connect($socket, 'SERVERIP', '7778');
Re: Socket plugin (v0.2b released) -
KessMan - 02.08.2018
SOLVED
Re: Socket plugin (v0.2b released) -
Chaprnks - 12.08.2018
I\'ve always wondered, whats an example of usage of this plugin? I\'m not talking some small 10-liner include snippet.. like give me an example that would be a crucial/vital part of a gamemode; that relies on sockets. Not criticizing.. just very interested in this plugin & its potential.
Re: Socket plugin (v0.2b released) -
Kaperstone - 12.08.2018
Quote:
Originally Posted by Chaprnks
I\'ve always wondered, whats an example of usage of this plugin? I\'m not talking some small 10-liner include snippet.. like give me an example that would be a crucial/vital part of a gamemode; that relies on sockets. Not criticizing.. just very interested in this plugin & its potential.
|
Send chat from in-game to your website in real time, send location from in-game to your server and using this info you can create a real-time map.
you can create real-time real-estate or something like that.
you can as well create a control panel as an app or web app that would actually do things without getting in-game (i.e. kick the player when you ban him from the control panel, destroy/create properties etc)
Re: Socket plugin (v0.2b released) -
Unkovic - 14.08.2018
socket v0.1b? That dont want libeay32.dll ? is someone have it?
Re: Socket plugin (v0.2b released) -
dotSILENT - 14.08.2018
I don't encourage anyone to use this plugin if you want it to be reliable. This code is poorly written and has no socket error checking at all, if I recall correctly there was a case where a socket would timeout and the recv function keeps returning -1 and an error is stored in WSAGetLastError/errno but this plugin doesn't check it at all and starts an infinite loop thinking it's constantly receiving data.