IRC installing..
#1

I need some help installing IRC
pawn Код:
#include <irc>
//============================================================================//
#define BOT_1_NICKNAME "SACNC1
#define BOT_1_REALNAME "SACNC21"
#define BOT_1_USERNAME "SACNC"

#define BOT_2_NICKNAME "SACNC2"
#define BOT_2_REALNAME "SACNC2"
#define BOT_2_USERNAME "SACNC"

#define IRC_SERVER "irc.sa-irc.com"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#sacnc.echo"

#define MAX_BOTS (2)

#define PLUGIN_VERSION "1.4.3"

new botIDs[MAX_BOTS], groupID;
//=================================//
//IRC
enum
{
    E_IRC_CONNECT_ATTEMPTS,
    E_IRC_CONNECT_DELAY,
    E_IRC_CONNECT_TIMEOUT,
    E_IRC_RECEIVE_TIMEOUT
}
error:
Код:
 D:\SA-MP\[v0.1]SACNC [0.3e R2]\gamemodes\SACNC.pwn(8) : fatal error 100: cannot read from file: "irc"

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


1 Error.
NOTE: I added irc.so into the plugins, because the vps only accepts Linux servers, anyways.. how?
Reply
#2

The compiler does not read the plugin files.
Check your includes, whether all required includes exist
Reply
#3

In Linux, I added the plugins .so
and there's no pawno folder in it the online server..
Reply
#4

bump
Reply
#5

Quote:
Originally Posted by _Khaled_
Посмотреть сообщение
In Linux, I added the plugins .so
and there's no pawno folder in it the online server..

You are showing a compile error. This complie error has nothing to do with where you run your server on; you are compiling on windows. The include files are _only_ read during your code being compiled. The compiled code is saved as amx, which you run on your server.
On the machine where you are compiling the code, the file is missing.

Edit: read the rules!! No bumping within 48 hours! (you bumped already in 11 minutes!)
Reply
#6

Confirm that irc.inc is in your Pawno/Includes folder on your PC, not your host.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)