_Ace
BattleForums Senior Member
- Joined
- May 17, 2003
- Messages
- 1,474
- Reaction score
- 0
- Location
- Under my bed (Spain)
- Website
- Visit site
Riiiiiiiiiight, I found a method to get rid of R/D easily, you just have to join a channel and say something before creating games, and as d2jsp has a game creating file (starter.d2j) I found a way to do it automaticaly (this mean no more resets, multibots or waiting, just bot to death with any delay)...
EDIT: I think this won't work if you use autod2jsp.exe just use d2jspassist.exe... it's somewhere in BlizzHackers but I uploaded the one I have to my FTP (might be an old version, but it works -> http://www.telecable.es/personales/glr1/d2jspassist.exe). Just set the loop delay to 99999999999999999 so it doesn't reset D2 (no need to )
Instructions:
1) Open starter.d2j located in the "scripts" folder.
2) Add this function:
3) Find the following lines:
4) Add "enterChat();" right below, so it looks like:
5) Find this:
6) Add "enterChat();" below:
7) Save, close and enjoy
Credits to mjm6055 and bob102 from BlizzHackers for the idea and some of the code...
EDIT: I think this won't work if you use autod2jsp.exe just use d2jspassist.exe... it's somewhere in BlizzHackers but I uploaded the one I have to my FTP (might be an old version, but it works -> http://www.telecable.es/personales/glr1/d2jspassist.exe). Just set the loop delay to 99999999999999999 so it doesn't reset D2 (no need to )
Instructions:
1) Open starter.d2j located in the "scripts" folder.
2) Add this function:
Code:
//Added by TheAce
function enterChat() {
b = find_control_by_name("QUIT");
if(b) {
b.click();
delay(5000);
ChooseCharacter();
delay(5000);
c = find_control_by_name("ENTER CHAT");
if(c) {
c.click();
delay(3000);
say("/join afk");
delay(1000);
random_words = TDW_BASIC_GetRandomString(rnd(4,15));
say(random_words);
delay(1000);
say("/join afk2");
delay(1000);
random_words = TDW_BASIC_GetRandomString(rnd(4,15));
say(random_words);
delay(1000);
say("/join afk3");
delay(1000);
random_words = TDW_BASIC_GetRandomString(rnd(4,15));
say(random_words);
} else {
print("Could not enter chat.");
}
} else {
print("Could not go back to character selection screen.");
}
}
//End of TheAce's addition
Code:
function main() {
var LastGameStarted = -1;
delay(3000);
while(!findLocation()) delay(1000);
// first time on bnet, so...
dprint("Successfully logged onto battle.net.");
dprint("Starting game creations.");
// clickLadder();
Code:
function main() {
var LastGameStarted = -1;
delay(3000);
while(!findLocation()) delay(1000);
// first time on bnet, so...
dprint("Successfully logged onto battle.net.");
dprint("Starting game creations.");
// clickLadder();
enterChat();
Code:
if(!game_failed) {
while(me.ingame) { // we're in game now, wait till we leave the game.
delay(500);
}
now = getTickCount();
dprint("Game End Detected! Elapsed time: " + ((now-LastGameAttempt)/1000) + " seconds");
dprint("Waiting " + (GameCreateDelay/1000) + " seconds before starting next game.");
delay(GameCreateDelay);
Code:
if(!game_failed) {
while(me.ingame) { // we're in game now, wait till we leave the game.
delay(500);
}
now = getTickCount();
dprint("Game End Detected! Elapsed time: " + ((now-LastGameAttempt)/1000) + " seconds");
dprint("Waiting " + (GameCreateDelay/1000) + " seconds before starting next game.");
delay(GameCreateDelay);
enterChat();
Credits to mjm6055 and bob102 from BlizzHackers for the idea and some of the code...