SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Plugin Development

Reply
 
Thread Tools Display Modes
Old 17/01/2018, 05:39 AM   #301
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 824
Default Re: Socket plugin (v0.2b released)

If someone could maintain this plugin :\
__________________
Kaperstone is offline   Reply With Quote
Old 17/01/2018, 06:57 AM   #302
jlalt
High-roller
 
Join Date: Oct 2014
Location: Iran
Posts: 1,447
Reputation: 366
Default Re: Socket plugin (v0.2b released)

Quote:
Originally Posted by Kaperstone View Post
Encountered the same issue on a clean setup, wondered why 0.2b ain't loading, even tho I had it in my dir/
Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[18:55:11] 
[18:55:11] Server Plugins
[18:55:11] --------------
[18:55:11]  Loading plugin: crashdetect
[18:55:11]   CrashDetect v4.18.1 is OK.
[18:55:11]   Loaded.
[18:55:11]  Loading plugin: socket02b
[18:55:11]   Failed.
[18:55:11]  Loaded 1 plugins.

[18:55:11] 
[18:55:11] Filterscripts
[18:55:11] ---------------
[18:55:11]   Loaded 0 filterscripts.

[18:55:11] [debug] Run time error 19: "File or function is not found"
[18:55:11] [debug]  socket_create
[18:55:11] [debug]  is_socket_valid
[18:55:11] [debug]  socket_connect
[18:55:11] [debug]  socket_set_max_connections
[18:55:11] [debug]  socket_listen
[18:55:11] [debug]  socket_destroy
[18:55:11] [debug]  socket_send
[18:55:11] [debug] Run time error 19: "File or function is not found"
[18:55:11] [debug]  socket_create
[18:55:11] [debug]  is_socket_valid
[18:55:11] [debug]  socket_connect
[18:55:11] [debug]  socket_set_max_connections
[18:55:11] [debug]  socket_listen
[18:55:11] [debug]  socket_destroy
[18:55:11] [debug]  socket_send
[18:55:11] Script[gamemodes/socket.amx]: Run time error 19: "File or function is not found"
[18:55:11] Number of vehicle models: 0

----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[18:55:19] 
[18:55:19] Server Plugins
[18:55:19] --------------
[18:55:19]  Loading plugin: crashdetect
[18:55:19]   CrashDetect v4.18.1 is OK.
[18:55:19]   Loaded.
[18:55:19]  Loading plugin: socket01b
[18:55:19]  Socket plugin v0.1b loaded.
[18:55:19]   Loaded.
[18:55:19]  Loaded 2 plugins.

[18:55:19] 
[18:55:19] Filterscripts
[18:55:19] ---------------
[18:55:19]   Loaded 0 filterscripts.

[18:55:20] socket_connect(): Socket ID 0 has failed to connect.
[18:55:20] socket_listen(): Socket has failed to bind on port 7776.
[18:55:20] Socket Test Gamemode main
[18:55:20] Number of vehicle models: 0
libeay32 and ssleay32 missing just add these dlls and it supposed to work fuine. [ had same issue did that and tested on two pcs with different windowses worked fuine on both. ]
attached them below.
Attached Files
File Type: rar SockLibs.rar (628.8 KB, 88 views)
jlalt is offline   Reply With Quote
Old 30/01/2018, 06:17 AM   #303
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 824
Default Re: Socket plugin (v0.2b released)

By the way, these are files from OpenSSL.


Probably are required because in 0.2b SSL support was added?
__________________
Kaperstone is offline   Reply With Quote
Old 10/02/2018, 02:39 PM   #304
AlejandroOrtega
Banned
 
Join Date: Jan 2017
Location: Bulgaria
Posts: 19
Reputation: 6
Default Re: Socket plugin (v0.2b released)

Amazing, thanks!
AlejandroOrtega is offline   Reply With Quote
Old 11/02/2018, 07:56 AM   #305
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 824
Default Re: Socket plugin (v0.2b released)

Quote:
Originally Posted by haoss View Post
Another late response, is there any news on this project ? I've already got my user panel and server setuped using this and now i'm experiencing random crashes.
Thanks.
There aren't and probably won't be, BlueG haven't replied to any of the replies and no one other than him maintance the plugin.
__________________
Kaperstone is offline   Reply With Quote
Old 21/02/2018, 08:05 PM   #306
DeitY
Huge Clucker
 
DeitY's Avatar
 
Join Date: Aug 2012
Location: Serbia
Posts: 323
Reputation: 14
Default Re: Socket plugin (v0.2b released)

Fixed version of socket.so , including linked libraries and fixed libcrypto bugs(static)

Special thanks to zlaajaa92
Attached Files
File Type: rar socket.rar (766.1 KB, 48 views)
__________________
Serbian RolePlay Server! 5+ Years SAMP server, 3+ years highest number of players in balcan!


Last edited by DeitY; 21/02/2018 at 09:01 PM.
DeitY is online now   Reply With Quote
Old 21/02/2018, 09:01 PM   #307
Kaperstone
High-roller
 
Kaperstone's Avatar
 
Join Date: May 2011
Location: Russia
Posts: 3,352
Reputation: 824
Default Re: Socket plugin (v0.2b released)

Quote:
Originally Posted by DeitY View Post
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?
__________________
Kaperstone is offline   Reply With Quote
Old 21/02/2018, 09:02 PM   #308
DeitY
Huge Clucker
 
DeitY's Avatar
 
Join Date: Aug 2012
Location: Serbia
Posts: 323
Reputation: 14
Default Re: Socket plugin (v0.2b released)

Quote:
Originally Posted by Kaperstone View Post
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
__________________
Serbian RolePlay Server! 5+ Years SAMP server, 3+ years highest number of players in balcan!

DeitY is online now   Reply With Quote
Old 02/08/2018, 10:54 AM   #309
KessMan
Big Clucker
 
Join Date: Oct 2016
Posts: 69
Reputation: 0
Default Re: Socket plugin (v0.2b released)

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.
KessMan is offline   Reply With Quote
Old 02/08/2018, 12:11 PM   #310
haoss
Little Clucker
 
Join Date: Jul 2013
Posts: 10
Reputation: 0
Default Re: Socket plugin (v0.2b released)

Quote:
Originally Posted by KessMan View Post
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');
haoss is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Socket Plugin] Retrieving input stream iRage Scripting Help 0 08/01/2014 09:11 AM
Question about socket plugin Kirollos Scripting Help 6 13/07/2012 08:33 PM


All times are GMT. The time now is 12:30 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.