SA-MP Forums Archive
IRC Plugin - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: IRC Plugin (/showthread.php?tid=290726)



( rйsolue) IRC Plugin - Baba_oweo - 16.10.2011

Hello,

I set up on my SAMP the GM San Fierro Cops-Robbers-RPG.
Once the launched server he crash.

Here is my "server-log":

Код:
SA-MP Dedicated Server
----------------------
v0.3c R2, ©2005-2011 SA-MP Team

[15:39:38] password = ""  (string)
[15:39:38] filterscripts = ""  (string)
[15:39:38] 
[15:39:38] Server Plugins
[15:39:38] --------------
[15:39:38]  Loading plugin: irc.so
[15:39:38] 
*** IRC Plugin v1.3.6 by Incognito loaded ***

[15:39:38]   Loaded.
[15:39:38]  Loading plugin: streamer.so
[15:39:38] 

*** Streamer Plugin v2.3.8 by Incognito loaded ***

[15:39:38]   Loaded.
[15:39:38]  Loading plugin: sscanf.so
[15:39:38] 

[15:39:38]  ===============================

[15:39:38]       sscanf plugin loaded.     

[15:39:38]    © 2009 Alex "******" Cole

[15:39:38]  ===============================

[15:39:38]   Loaded.
[15:39:38]  Loaded 3 plugins.

[15:39:38] 
[15:39:38] Filter Scripts
[15:39:38] ---------------
[15:39:38]   Loaded 0 filter scripts.

[15:39:38] 
----------------------------------
[15:39:38]  San Fierro Cops-Robbers-RPG
[15:39:38] ----------------------------------

[15:39:38] Number of vehicle models: 116
[15:39:38] Incoming connection: 127.0.0.1:41121
[15:39:38] [npc:join] Billy has joined the server (0:127.0.0.1)
[15:39:39] [NPC SPAWN] Billy has been placed in his tram.
[15:39:44] *** IRC Plugin: Could not resolve server address (Success)
[15:39:44] *** IRC_OnDisconnect: Bot ID 1 disconnected!
[15:39:44] *** IRC_OnDisconnect: Bot ID 1 attempting to reconnect...
[15:39:49] *** IRC Plugin: Could not resolve server address (Success)
[15:39:49] *** IRC_OnDisconnect: Bot ID 1 disconnected!
[15:39:49] *** IRC_OnDisconnect: Bot ID 1 attempting to reconnect...
[15:39:54] *** IRC Plugin: Could not resolve server address (Success)
[15:39:54] *** IRC_OnDisconnect: Bot ID 1 disconnected!
[15:39:54] *** IRC_OnDisconnect: Bot ID 1 attempting to reconnect...
[15:40:04] *** IRC Plugin: Could not resolve server address (Success)
[15:40:04] *** IRC_OnDisconnect: Bot ID 1 disconnected!
[15:40:04] *** IRC_OnDisconnect: Bot ID 1 attempting to reconnect...
[15:40:14] *** IRC Plugin: Could not resolve server address (Success)
[15:40:14] *** IRC_OnDisconnect: Bot ID 1 disconnected!
[15:40:14] *** IRC_OnDisconnect: Bot ID 1 attempting to reconnect...
[15:40:15] Incoming connection: 79.84.210.231:61615
[15:40:16] [join] Baba has joined the server (1:79.84.210.231)
My server under debian say to me: " segmentation fault "...


Sorry from my English I am French


Re: IRC Plugin - Kingunit - 16.10.2011

Do you have the settings good in the script himself? IP to connect etc.


Re : IRC Plugin - Baba_oweo - 16.10.2011

Hello Kingunit

In what file I can see?

thx


Re: IRC Plugin - Kingunit - 16.10.2011

At the gamemode, most of the time ontop. Those things are defined.


Re : IRC Plugin - Baba_oweo - 16.10.2011

here ?

Код:
/IRC Defines
// 1st Echo Bot
#define BOT_1_NICKNAME "Name1"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "SFCRRPG"

// 2nd Echo Bot
#define BOT_2_NICKNAME "Name2"
#define BOT_2_REALNAME "SA-MP Bot"
#define BOT_2_USERNAME "SFCRRPG"

//All bots password
#define IRC_BOT_PASSWORD "password"

// Admin Echo Bot (3rd)
#define BOT_3_NICKNAME "Name3"
#define BOT_3_REALNAME "SA-MP Bot"
#define BOT_3_USERNAME "SFCRRPG"

//Admin Channel password
#define IRC_ADMINCHANNEL_PASSWORD "Password"

#define IRC_SERVER "irc.network.com"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#channel"
#define IRC_ADMINCHANNEL "#channel.OPER"

#define MAX_BOTS (3)
#define MAX_ROADBLOCKS 35
#define MAX_SPAM 5

#define SPEC_TYPE_NONE 0
#define SPEC_TYPE_PLAYER 1
#define SPEC_TYPE_VEHICLE 2



Re: IRC Plugin - Kingunit - 16.10.2011

pawn Код:
/IRC Defines
// 1st Echo Bot
#define BOT_1_NICKNAME "Name1"
#define BOT_1_REALNAME "SA-MP Bot"
#define BOT_1_USERNAME "SFCRRPG"

// 2nd Echo Bot
#define BOT_2_NICKNAME "Name2"
#define BOT_2_REALNAME "SA-MP Bot"
#define BOT_2_USERNAME "SFCRRPG"

//All bots password
#define IRC_BOT_PASSWORD "password"

// Admin Echo Bot (3rd)
#define BOT_3_NICKNAME "Name3"
#define BOT_3_REALNAME "SA-MP Bot"
#define BOT_3_USERNAME "SFCRRPG"

//Admin Channel password
#define IRC_ADMINCHANNEL_PASSWORD "Password"

#define IRC_SERVER "irc.network.com"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#channel"
#define IRC_ADMINCHANNEL "#channel.OPER"
Fill it out with your own IRC server.


Re : IRC Plugin - Baba_oweo - 16.10.2011

I do not have to server irc


Re: IRC Plugin - Kingunit - 16.10.2011

Get one, or join a known one.


Re : IRC Plugin - -Jojo- - 16.10.2011

How it should do?


Re : IRC Plugin - Baba_oweo - 16.10.2011

Yes, how I can make to find a free?

You have Skype? Or MSN? Just for 2 minutes

I am obliged to put an irc?