Author Topic: question on game announcements in channel  (Read 689 times)

Offline fireshocker

  • Newbie
  • *
  • Join Date: Jun 2010
  • Posts: 11
  • Reputation 0
    • View Profile
question on game announcements in channel
« on: August 31, 2010, 06:08:47 AM »
I use the modified ntbot script by muddywaters,  just wandering if there is a way to have it disable the channel announcements if you would disable the login feature. sometimes I run just mf and it still announces game in channel.  is it possible or not worth the time?

thanks

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

question on game announcements in channel
« on: August 31, 2010, 06:08:47 AM »

Offline mythosis

  • PK Pro
  • ****
  • Join Date: Aug 2010
  • Posts: 265
  • Reputation 0
  • USWest Channel: op pkbaal
    • View Profile
Re: question on game announcements in channel
« Reply #1 on: August 31, 2010, 07:01:36 AM »
Post your NTBot.ntj file. Use the codebox (# sign).

My version has
Code: [Select]
var gameAnnouncement = "Next Game: %game%counter//%password in %time seconds.";
// leave blank not to post a channel announcement

Check if you have that. To make it blank, make it say
Code: [Select]
var gameAnnouncement = "";Suggested you comment out the rest if your doing this though. You'll forget how to fix it oterwise.

To be more direct, it probably announces the game info here:
Code: [Select]
case 1: // Lobby
...
...
else
{
if(joinChannelInChat && gameAnnouncement && me.gamename && isChannelUser(me.account, me.charname))
{
var tempDelay = (gameAnnouncementDelay > 5500) ? gameAnnouncementDelay : 5500 +
  (gameAnnouncementDelayRandom > 700) ? Random(0, gameAnnouncementDelayRandom) : 500;
var gameText = gameAnnouncement;
gameText = gameText.replace("%password", me.gamepassword);
gameText = gameText.replace("%game", getGameName(me.gamename));
gameText = gameText.replace("%counter", getGameCounter(me.gamename, false));
gameText = gameText.replace("%time", parseInt((nextGameMake - GetTickCount() - tempDelay)/1000+3.0));
if(parseInt((nextGameMake - GetTickCount() - tempDelay)/1000+3.0) > 5)
{
Delay(tempDelay);
Say(gameText);
}
}
timeoutDelay(nextGameMake-GetTickCount(), location, true);
}
break;
case 2: // Waiting In Line


Taking out the announcement really doesn't make a time difference. It takes 1 second to make the announcement (not even). But you might want to take it off just becuase it gives the game password. It doesnt matter really though. No one is going to follow your bot and steal it's loot. They wont keep up, and if they can, its not worth it. My bot joins a channel I create and announces there. I like that way more then not announcing.
« Last Edit: August 31, 2010, 07:06:17 AM by mythosis »

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: question on game announcements in channel
« Reply #1 on: August 31, 2010, 07:01:36 AM »

Offline fireshocker

  • Newbie
  • *
  • Join Date: Jun 2010
  • Posts: 11
  • Reputation 0
    • View Profile
Re: question on game announcements in channel
« Reply #2 on: August 31, 2010, 06:36:49 PM »
I like it announcing also, just when I do random game names and such for mfing.   but is there a way to have it disable the game announement when you set login  to false. if not no big deal.

Offline mythosis

  • PK Pro
  • ****
  • Join Date: Aug 2010
  • Posts: 265
  • Reputation 0
  • USWest Channel: op pkbaal
    • View Profile
Re: question on game announcements in channel
« Reply #3 on: August 31, 2010, 06:50:07 PM »
To make it not announce while login=false
NTBot.ntj
 ;D
Code: [Select]
else
{
if(channelLogin == true) // true: announce, false: dont announce
{
if(joinChannelInChat && gameAnnouncement && me.gamename && isChannelUser(me.account, me.charname))
{
var tempDelay = (gameAnnouncementDelay > 5500) ? gameAnnouncementDelay : 5500 +
  (gameAnnouncementDelayRandom > 700) ? Random(0, gameAnnouncementDelayRandom) : 500;
var gameText = gameAnnouncement;
gameText = gameText.replace("%password", me.gamepassword);
gameText = gameText.replace("%game", getGameName(me.gamename));
gameText = gameText.replace("%counter", getGameCounter(me.gamename, false));
gameText = gameText.replace("%time", parseInt((nextGameMake - GetTickCount() - tempDelay)/1000+3.0));
if(parseInt((nextGameMake - GetTickCount() - tempDelay)/1000+3.0) > 5)
{
Delay(tempDelay);
Say(gameText);
}
}
timeoutDelay(nextGameMake-GetTickCount(), location, true);
}
}
break;
case 2: // Waiting In Line

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: question on game announcements in channel
« Reply #3 on: August 31, 2010, 06:50:07 PM »

Offline fireshocker

  • Newbie
  • *
  • Join Date: Jun 2010
  • Posts: 11
  • Reputation 0
    • View Profile
Re: question on game announcements in channel
« Reply #4 on: August 31, 2010, 09:12:28 PM »
sweet works perfect. thank you for the quick response. just like the thought of not having to change between ntbot scripts.

PureKaoz.com - D2NT, Diablo 3 & Starcaft 2 Hacks

Re: question on game announcements in channel
« Reply #4 on: August 31, 2010, 09:12:28 PM »