17.02.2014, 05:45
I am trying my ass of to make a well developed server but i am having some difficulties, on my IRC channel Bot's dosn't connect. when i compile i don't get any errors please help me ??
Some Useful Code:
Some Useful Code:
PHP код:
#define SQL_HOST "******"
#define SQL_USER "****"
#define SQL_PASS ""
#define SQL_DB "***"
#define mysql_fetch_row(%1) mysql_fetch_row_format(%1,"|")
//------- The IRC Defines and what not --------
#define BOT_1_NICKNAME "Bot" //change me
#define BOT_1_REALNAME "Bot"
#define BOT_1_USERNAME "Bot"
#define BOT_2_NICKNAME "BotA" //change me
#define BOT_2_REALNAME "BotA"
#define BOT_2_USERNAME "BotA"
#define IRC_SERVER "irc.uk.mibbit.ne"
#define IRC_PORT (6667)
#define IRC_CHANNEL "#cdcnr" //change me
// Maximum number of bots in the filterscript jsut leave this as is! unless you
// want to code more bots in. it wont be needed unless you have a verry popular
// serber with 100+ Players, 2 bots should handle just fine :D
#define MAX_BOTS (2)
//meh change if you want
#define PLUGIN_VERSION "1.4.2"
#define ServerName "***************" //change me
#define SVERSION "1.1" //change me
#define SERVER_FORUMS "***************" //change me
#define LICENSE "Public" //THIS IS IMPORTANT! LEAVE AS IS!
#define BANSERV "_DATA_" //this is for anticheat itwill display "_DATA_ Has benned player blahh for blahhh"
#define REGSERV "-OpServ-" // this is for register and login comands
#define ALPHA 0 //change this to 1 if your server is in alpha mode.