Author Topic: Iso Help With My D2 Baal Leech Fight Bot  (Read 2162 times)

Offline Cmowner

  • Newbie
  • *
  • Posts: 0
  • Reputation 0
  • Clan iG
    • View Profile
    • InSane Gamers
Iso Help With My D2 Baal Leech Fight Bot
« on: June 10, 2010, 10:15:02 AM »
Hmm well it was working fine but now like when it put your friends list and it says

*Your friend is using diablo to lord of destruction in the game Pva-Baal-01*

So when my bot tries to join it now instead of typing just the game name in the join game area it types

*The Game PvA-Baal-01*

Any ideas?

please help someone

Offline Justin

  • I run this bitch!
  • Administrator
  • PureKaoz HeRo
  • *****
  • Posts: 780
  • Reputation 3
  • Fck Bnet
    • View Profile
    • PureKaoz.com
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #1 on: June 10, 2010, 12:18:20 PM »
This has happened to me before to... It's because of the username you put into the config... Sometimes i could never get the  username i had in there to work, and would literally have to put someone elses in and it would work just fine.

Owner of Cutting Edge Promotions http://CEPromotion.net

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #2 on: June 10, 2010, 12:19:06 PM »
I know it has something to do wit the line its trying to read, because the account name is probably long. But i have never used a leech script. So idk what the problem is. But Justin is here, he probably knows :) Gl.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #3 on: June 10, 2010, 12:20:22 PM »
This has happened to me before to... It's because of the username you put into the config... Sometimes i could never get the  username i had in there to work, and would literally have to put someone elses in and it would work just fine.

Its because the length of tha acc name or char name. Yur can fix it by modding tha line it reads. Let me check some shit out.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline Cmowner

  • Newbie
  • *
  • Posts: 0
  • Reputation 0
  • Clan iG
    • View Profile
    • InSane Gamers
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #4 on: June 10, 2010, 12:29:59 PM »
Hmmm Idk i know it worked fine on this leecher his acc name is *AF-Fireshocker* I switched it to follow this guys acc *AF-Noeymc* Worked fine but i switched  it back to *AF-Fireshocker* it didnt work so i tried today to follow *AF-Noeymc* Still doesnt work Hmmm im clueless lol i even tried downloading the bot and re adding the script like i did last time to fix this but this time it didnt work

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #5 on: June 10, 2010, 12:34:30 PM »
This is a problem due to the leader's account name is to long and the chat being read for the game name is "in the game xxxx-01 (private). instead of reading "the game xxxx-01 (private).

You will notice this line in the NTBotLeech.ntj file:
var regGameNameEnglish=/^\s*(the\s)?(game\s)?([\w\s-]*\w)\s\(private\)\.\s*$/gi;

The fix for this is fairly simple. You can see the words (the\s)?(game\s)?
You need to check your leader's lines when you /f l in game. the second line is being read. If the secodn line reads "in the game xxxx-01 (private)." then you have to add (in\s)? before (the\s)?(game\s)?
End result:
Code: [Select]
var regGameNameEnglish=/^\s*(in\s)?(the\s)?(game\s)?([\w\s-]*\w)\s\(private\)\.\s*$/gi;


You must then find the line:
game = lines[friend + 1].replace(regGameNameEnglish, "$3");

Change the $3 to $4 (this changed the word that is read from the 3rd to the 4th.

IF you have more words to enter, follow the same format for both edits.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"

Offline Cmowner

  • Newbie
  • *
  • Posts: 0
  • Reputation 0
  • Clan iG
    • View Profile
    • InSane Gamers
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #6 on: June 10, 2010, 12:49:31 PM »
Yes! Works perfect thanks guys! glad i posted on this site instead lol ^^ faster responces

Offline TheFreak

  • Just like an admin ;)
  • PK Pro
  • ****
  • Posts: 373
  • Reputation 1
  • I rap and write javascript mutha fucka!
    • View Profile
Re: Iso Help With My D2 Baal Leech Fight Bot
« Reply #7 on: June 10, 2010, 01:18:57 PM »
Yes! Works perfect thanks guys! glad i posted on this site instead lol ^^ faster responces

No problem. Were here to help. Tell all yur friends bout this site.


My New function:

function AlbertEinstein()
{
If (A = success in life)
A = x + y + z;
x = Work;
y = Play;
z = Keeping your mouth shut;
}

"Right after the Sam-Frodo suckfest, right before the credits roll, Sam fuckin' flat-out brick's in Frodo's mouth"