Bot Problem
#1

[19:58:53] *** IRC_OnDisconnect: Bot ID 1 disconnected from 107.20.61.35:6667 (End of file)
[20:05:13] *** IRC_OnDisconnect: Bot ID 2 disconnected from 107.20.61.35:6667 (End of file)
[20:05:18] *** IRC_OnDisconnect: Bot ID 3 disconnected from 107.20.61.35:6667 (End of file)

Any help?

Please help:

[20:09:38] *** IRC_OnConnectAttempt: Bot ID 2 attempting to connect to 107.20.61.35:6667...
[20:09:38] *** IRC_OnDisconnect: Bot ID 1 disconnected from 107.20.61.35:6667 (End of file)
[20:09:41] *** IRC_OnConnectAttempt: Bot ID 4 attempting to connect to 107.20.61.35:6667...
[20:09:43] *** IRC_OnConnectAttempt: Bot ID 3 attempting to connect to 107.20.61.35:6667...
[20:09:45] *** IRC_OnConnectAttempt: Bot ID 5 attempting to connect to 107.20.61.35:6667...
[20:09:48] *** IRC_OnDisconnect: Bot ID 3 disconnected from 107.20.61.35:6667 (End of file)
Reply
#2

In server.cfg, what does line maxnpc says
Reply
#3

maxnpc: 2
Reply
#4

Could you show your irc connect details. It is most likely caused by a mistake inthere
Reply
#5

Код:
#include <a_samp>
// irc.inc from this package
#include <irc>
// sscanf2.inc from the sscanf plugin
#include <sscanf2>

#pragma tabsize 0
#define COLOR_WHITE 0xFFFFFFFF
// Name that everyone will see
#define BOT_1_NICKNAME "ZvS"
// Name that will only be visible in a whois
#define BOT_1_REALNAME "ZvS"
// Name that will be in front of the hostname (username@hostname)
#define BOT_1_USERNAME "ZvS"

#define IRC_PORT (6667)

#define BOT_2_NICKNAME ""
#define BOT_2_REALNAME "ZvS"
#define BOT_2_USERNAME "ZvS"



// Maximum number of bots in the filterscript
#define MAX_BOTS (2)

#define PLUGIN_VERSION "1.4.3"

new botIDs[MAX_BOTS], groupID;
Reply
#6

Does the script try to connect the second bot? An empty name might be crashing the script.
Reply
#7

No, it still work not, every Time this "end of File" Error. Why come this? I saw that other Guys have this Problem too. Why can nobody fix that?
Reply
#8

You could try printing all raw information sent by the irc server. There might be more information required for the bot to connect succesfully.

You can test if this is the problem by connecting the bots to another network. For example server: irc.tl (where most samp irc channels are)
Reply
#9

The comic is recently it still works. And how can i printing?
Reply
#10

Use the example filterscript that comes with the plugin. It prints EVERYTHING
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)