irc bots problem
#1

Hello, im developing a minigames server and everything works except a thing, when the server restart for the next map, the irc bots remain connected in the channel but it doesnt echo NOTHING that happening ingame:

I use a filterscript for general things (accounts, irc, anticheat etc) and gamemodes for the maps.

This is OnGameModeInit from the main FS

pawn Код:
gBotID[0] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_1_NICKNAME, BOT_1_REALNAME, BOT_1_USERNAME);
    IRC_SetIntData(gBotID[0], E_IRC_CONNECT_DELAY, 5);

    gBotID[1] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_2_NICKNAME, BOT_2_REALNAME, BOT_2_USERNAME);
    IRC_SetIntData(gBotID[1], E_IRC_CONNECT_DELAY, 5);

    gBotID[2] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_3_NICKNAME, BOT_3_REALNAME, BOT_3_USERNAME);
    IRC_SetIntData(gBotID[2], E_IRC_CONNECT_DELAY, 5);

    gBotID[3] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_4_NICKNAME, BOT_4_REALNAME, BOT_4_USERNAME);
    IRC_SetIntData(gBotID[3], E_IRC_CONNECT_DELAY, 5);

    gBotID[4] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_5_NICKNAME, BOT_5_REALNAME, BOT_5_USERNAME);
    IRC_SetIntData(gBotID[4], E_IRC_CONNECT_DELAY, 5);

    gBotID[5] = IRC_Connect(IRC_SERVER, IRC_PORT, BOT_6_NICKNAME, BOT_6_REALNAME, BOT_6_USERNAME);
    IRC_SetIntData(gBotID[5], E_IRC_CONNECT_DELAY, 5);

    gGroupID = IRC_CreateGroup();
In OnGameModeExit i dont make the bots disconnect to reconnect it when server restarted, because they're too slow. So the bots stay connected, but when the server restarts for load the new map (i use changemode), it doesnt echo nothing of what is typed ingame.
Reply


Messages In This Thread
irc bots problem - by Face9000 - 28.01.2013, 22:44
Re: irc bots problem - by Djole1337 - 28.01.2013, 22:48
Re: irc bots problem - by Face9000 - 28.01.2013, 22:50
Re: irc bots problem - by Djole1337 - 28.01.2013, 22:52
Re: irc bots problem - by Face9000 - 28.01.2013, 22:52
Re: irc bots problem - by Face9000 - 29.01.2013, 17:26
Re: irc bots problem - by Face9000 - 30.01.2013, 07:46

Forum Jump:


Users browsing this thread: 1 Guest(s)