Register for your free account! | Forgot your password?

You last visited: Today at 15:42

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Release] Muddy's D2NT

Discussion on [Release] Muddy's D2NT within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old 05/21/2011, 11:47   #1996
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
Quote:
Originally Posted by David Dean View Post
Hey Guys. First off I want to thank you for a GREAT working Bot. This is the first Bot that I've ever actually used. I do have one problem though. It deals with "NTCows.ntj". When I attempt to run it. It tells me that I have a syntax error located at line 86 (it says its missing a ";"). Is this a known issue? And if not is there something I need to do to get it to work?
This is indeed a known issue.

That very line in your NTCow.ntj should look like this:
Code:
NTTMGR_VisitTown())
Just change it to
Code:
NTTMGR_VisitTown();
and it should work just fine.

Kind Regards
Muddy
Muddy Waters is offline  
Thanks
1 User
Old 05/21/2011, 12:46   #1997
 
elite*gold: 0
Join Date: Feb 2011
Posts: 20
Received Thanks: 0
WoW! Thats awsome. That worked my man. Is there away to make it "run" from the Cow King?

Edit: Maybe I should explain. I play a smiter/hdin hybrid and I really would like to NOT kill the King. I found "Range" for the Cow King (set at 80). What do you think about a range set to 120? (Stray hammers can be bad for his HP. Lol.)
David Dean is offline  
Old 05/21/2011, 13:31   #1998
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
Quote:
Originally Posted by David Dean View Post
WoW! Thats awsome. That worked my man. Is there away to make it "run" from the Cow King?

Edit: Maybe I should explain. I play a smiter/hdin hybrid and I really would like to NOT kill the King. I found "Range" for the Cow King (set at 80). What do you think about a range set to 120? (Stray hammers can be bad for his HP. Lol.)
You could, but it wouldn't change anything, because the Cow King's corresponding monster Unit can only be instantiated in a range of about 70-75 yards. The distance cannot be checked without that Unit, thus increasing that value would be quite pointless.

By the way, this is due to D2NT's internal functions, so unfortunately there is nothing to be done about that.

Kind Regards
Muddy
Muddy Waters is offline  
Thanks
1 User
Old 05/21/2011, 13:44   #1999
 
elite*gold: 0
Join Date: Feb 2011
Posts: 20
Received Thanks: 0
Ahhhh! I got'cha. So the way you programmed it (IE: The 80 yards) is well enough off to make sure we don't kill him correct?

I actually have another question if you wouldn't mind. While running around my Paladin collects AND keeps all amulets and rings that don't meet the requirements of your item_config files. (I've not changed anything other then a few things in the "MWConfig_GlobalSettings.ntl" file dealing with Crafting).
David Dean is offline  
Old 05/21/2011, 16:39   #2000
 
elite*gold: 0
Join Date: May 2011
Posts: 12
Received Thanks: 0
I have to admit. Muddy waters; very nice work!
I used D2bs before, now downloaded muddy's d2nt bot and its brilliant.

But i got some questions:
How can i make messages in channel?
How can i set a next game delay?

And with baal my hdin is not always casting hammers before the waves>?

Weird cause i cant find those in the scripts.
I'm hoping for a quick reply on these easy questions!

Thanks!
Petrinius is offline  
Old 05/21/2011, 21:18   #2001
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
Quote:
Originally Posted by David Dean View Post
Ahhhh! I got'cha. So the way you programmed it (IE: The 80 yards) is well enough off to make sure we don't kill him correct?

I actually have another question if you wouldn't mind. While running around my Paladin collects AND keeps all amulets and rings that don't meet the requirements of your item_config files. (I've not changed anything other then a few things in the "MWConfig_GlobalSettings.ntl" file dealing with Crafting).
This is a known bug related to crafting, didn't fix it yet as I'm currently busy working on the update of my mule manager project.

Quote:
Originally Posted by Petrinius View Post
I have to admit. Muddy waters; very nice work!
I used D2bs before, now downloaded muddy's d2nt bot and its brilliant.

But i got some questions:
How can i make messages in channel?
How can i set a next game delay?

And with baal my hdin is not always casting hammers before the waves>?

Weird cause i cant find those in the scripts.
I'm hoping for a quick reply on these easy questions!

Thanks!
All of these things can be changed in the Entry Point itself which in this case is NTBot.ntj.

In order to post chat announcements, you will have to register your char as a channel user first by adding either the char name or the account name to the ChannelUsers array.

Just like this:
Code:
ChannelUsers.push("YourCharNameGooesHere", "YourAccountNameGoesHere");
Also, you should initialize JoinChannelInChat with the Name of the channel you would like to join - chat announcements won't work, if no channel is specified.
The announcement itself can be changed by setting GameAnnouncement. Check the comments to get an idea of possible placeholders that can be used in the announcement string.

In order to change the delay between games, you might want to vary CreateGameThreshold.

Note: all changes within the entry point will require a D2 restart to take effect.

Kind Regards
Muddy
Muddy Waters is offline  
Thanks
2 Users
Old 05/21/2011, 23:35   #2002
 
elite*gold: 0
Join Date: Feb 2011
Posts: 20
Received Thanks: 0
Yeah. I saw the new project. Lol. Did the whole (I'm new to the Bot but I program a bit to so I was already a member here to get ideas on different subject matter) HWID thing. But sadly can't Beta it yet.

On a side note. Glad I'm not "failing" and actually having problems with known issues! Lol.

Edit by Muddy:
I'm sorry for so many questions! I swear I'm looking for answers. But sadly I don't speak German. Lol. I have another question!

With the MWOrganHarvest.ntj file. Is there a way to save 3 sets of keys and then open all 3 portals in the same game? Instead of picking just one portal type to grind for.
David Dean is offline  
Old 05/22/2011, 01:01   #2003

 
Denny456's Avatar
 
elite*gold: 358
Join Date: Jul 2009
Posts: 1,519
Received Thanks: 288
Hallo muddy ich habe insgesamt 7 probleme und zwar sehen die so aus das ich 7 chars runnen lassen möchte 6 sorcs und 1 pala habe meines erachtens alles richtig eingestellt, das nehme ich daher da an ich den barb auch alles eingestellt habe und er perfeckt läuft eventuell könntest du mal über die cfg´s rüber schauen und mir meine/n fehler aufführen.

€: sie joinen das game und leaven instant mit der meldung game finished im d2nt log
Attached Files
File Type: zip Char cfgs.zip (52.3 KB, 17 views)
Denny456 is offline  
Old 05/22/2011, 01:39   #2004
 
elite*gold: 0
Join Date: Aug 2004
Posts: 233
Received Thanks: 39
Code:
        /* 
	// *********************** Act I ***********************

und
Code:
	*/
	//------------------------------------------------------------------------------
	// Misc Configuration
	//------------------------------------------------------------------------------
Du musst /* und */ entfehrenen, du hast im moment keine skripts eingestellt
/* öffnent einen mehrzeiligen Comment
und */ schließt ihn.

Gruß
letsid
letsid is offline  
Thanks
2 Users
Old 05/22/2011, 02:08   #2005
 
elite*gold: 0
Join Date: Feb 2011
Posts: 20
Received Thanks: 0
Is it possible to set up "Boss" specific abilities. IE: Uber Diablo and Uber Baal. I found in the NTAttack.ntl the code

Code:
	if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
Would it be possible put this after the Mephisto code?

Code:
//UDia	if(target.classid == 705 && NTConfig_AttackSkill[10] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[10], NTC_HAND_LEFT);
//UDia	else if(NTConfig_AttackSkill[index + 1] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
//UDia	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//UDia
//UDia	if(target.classid == 705 && NTConfig_AttackSkill[11] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[11], NTC_HAND_RIGHT);
//UDia	else if(NTConfig_AttackSkill[index + 1] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
//UDia	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//
//UBaal	if(target.classid == 709 && NTConfig_AttackSkill[12] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[12], NTC_HAND_LEFT);
//UBaal	else if(NTConfig_AttackSkill[index + 1] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
//UBaal	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//UBaal
//UBaal	if(target.classid == 709 && NTConfig_AttackSkill[13] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[13], NTC_HAND_RIGHT);
//UBaal	else if(NTConfig_AttackSkill[index + 1] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
//UBaal	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);

*Mind the // Comments. I have those in so it doesn't mess with my file.
What I'm trying to do is set up an ability in the left and right hands (IE: I play a 1 point smiter/hammerdin. I'd like to ONLY use Smite on the Ubers and Hammers on all else.

Edit by Muddy:
Update on Boss specific attacks:

Code:
/*
	if(target.classid == 704 || 705 || 706 || 707 || 708 || 709 && NTConfig_AttackSkill[10] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[10], NTC_HAND_LEFT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);

	if(target.classid == 705 || 706 || 707 || 708 || 709 && NTConfig_AttackSkill[11] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[11], NTC_HAND_RIGHT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
*/
Placed before:

Code:
	if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
Any Ideas? What this should do is set an attack for each of the Ubers (in left hand) and put up a specific aura for all Ubers but Mephisto.
David Dean is offline  
Old 05/22/2011, 12:08   #2006
 
elite*gold: 0
Join Date: May 2011
Posts: 12
Received Thanks: 0
Code:
var JoinChatAfterLogin			= true;			// join chat after login
var JoinRandomChannel			= false;		// if this is true, will join a random channel, otherwise it will use the channel below..
var JoinChannelInChat			= "op pornobaal";// leave blank not to join a private channel
var PerformChannelLogin			= true;		// type ".login" once after joining the channel
var ChannelUsers 				= new Array();	// dynamic array that holds channel users
var MaximumLocationLoops		= 5;			// The maximum number of loops for a single location; if the window is does not respond and is caught in an infinite loop it will be restarted when the number of loops exceeds the one you specify here
var JoinGameKeywords			= new Array("dia", "baal");
var JoinRandomGamesChars		= new Array("");
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// Add any char/account here that is supposed to perform chat actions/game announcements or join a private channel
ChannelUsers.push("Hdin name");
// Or
ChannelUsers.push("??");

// The following key expressions will be replaced by their actual values:  %game --> "gamename-"  <>  %counter --> number of the next game  <>  %time --> time in seconds till game creation  <>  %password --> game password
// Note that the announcement will start after the first run, so there usually won't be any anncouncement right after login - If the gamename is undefined, the bot will try to load the backup file to announce the upcoming game properly
var GameAnnouncement			= "Creating "gamename-"%counter in about %time seconds";			// Leave blank not to post a channel announcement
var GameAnnouncementDelay		= 3000;			// Wait X milliseconds before posting the announcement message (don't set this too low!)
var GameAnnouncementDelayRandom		= 500;			// Random amount of time to add to a to the announcement delay
var UseFileBackupTimeMax		= 30;
So this is what it should look like? %Counter is oke if I add it like that?(I mean, should it count the games or must i put a value there)

"op pornobaal" --> not: "pornobaal"?

E: var GameAnnouncement = "Creating "%game-%counter" in about %time seconds";
There is a fault here. He doesn't open diablo now.

Thx,

Greetz
Petrinius is offline  
Old 05/22/2011, 12:11   #2007
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
Quote:
Originally Posted by David Dean View Post
Yeah. I saw the new project. Lol. Did the whole (I'm new to the Bot but I program a bit to so I was already a member here to get ideas on different subject matter) HWID thing. But sadly can't Beta it yet.

On a side note. Glad I'm not "failing" and actually having problems with known issues! Lol.

Edit by Muddy:
I'm sorry for so many questions! I swear I'm looking for answers. But sadly I don't speak German. Lol. I have another question!

With the MWOrganHarvest.ntj file. Is there a way to save 3 sets of keys and then open all 3 portals in the same game? Instead of picking just one portal type to grind for.
The char should usually do all three portals in one game.

Unless:
  • MWConfig_IntendedUberPortal is initialized with 133, 134 or 135 (it should be 0 by default).
  • Your char is carrying incomplete organ sets - if he is, he might open just one portal in order to complete these organ sets.

Quote:
Originally Posted by Denny456 View Post
Hallo muddy ich habe insgesamt 7 probleme und zwar sehen die so aus das ich 7 chars runnen lassen möchte 6 sorcs und 1 pala habe meines erachtens alles richtig eingestellt, das nehme ich daher da an ich den barb auch alles eingestellt habe und er perfeckt läuft eventuell könntest du mal über die cfg´s rüber schauen und mir meine/n fehler aufführen.

€: sie joinen das game und leaven instant mit der meldung game finished im d2nt log
Die Antwort hast du ja schon.

Schau am besten auch nochmal rein, damit dir solche Fehler in Zukunft nicht mehr passieren.

Quote:
Originally Posted by David Dean View Post
Is it possible to set up "Boss" specific abilities. IE: Uber Diablo and Uber Baal. I found in the NTAttack.ntl the code

Code:
	if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
Would it be possible put this after the Mephisto code?

Code:
//UDia	if(target.classid == 705 && NTConfig_AttackSkill[10] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[10], NTC_HAND_LEFT);
//UDia	else if(NTConfig_AttackSkill[index + 1] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
//UDia	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//UDia
//UDia	if(target.classid == 705 && NTConfig_AttackSkill[11] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[11], NTC_HAND_RIGHT);
//UDia	else if(NTConfig_AttackSkill[index + 1] > 0)
//UDia		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
//UDia	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//
//UBaal	if(target.classid == 709 && NTConfig_AttackSkill[12] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[12], NTC_HAND_LEFT);
//UBaal	else if(NTConfig_AttackSkill[index + 1] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
//UBaal	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
//UBaal
//UBaal	if(target.classid == 709 && NTConfig_AttackSkill[13] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[13], NTC_HAND_RIGHT);
//UBaal	else if(NTConfig_AttackSkill[index + 1] > 0)
//UBaal		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
//UBaal	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);

*Mind the // Comments. I have those in so it doesn't mess with my file.
What I'm trying to do is set up an ability in the left and right hands (IE: I play a 1 point smiter/hammerdin. I'd like to ONLY use Smite on the Ubers and Hammers on all else.

Edit by Muddy:
Update on Boss specific attacks:

Code:
/*
	if(target.classid == 704 || 705 || 706 || 707 || 708 || 709 && NTConfig_AttackSkill[10] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[10], NTC_HAND_LEFT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_LEFT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);

	if(target.classid == 705 || 706 || 707 || 708 || 709 && NTConfig_AttackSkill[11] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[11], NTC_HAND_RIGHT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
*/
Placed before:

Code:
	if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
	else if(NTConfig_AttackSkill[index + 1] > 0)
		NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
	return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target);
Any Ideas? What this should do is set an attack for each of the Ubers (in left hand) and put up a specific aura for all Ubers but Mephisto.

NTConfig_AttackSkill
is an array which holds 10 elements - you can't just index undefined elements (well, you basically can, but you shouldn't for various reasons).
Since this is obviously quite specific, you could as well just set the skillids
directly in the algorithm, without outsourcing them to your config.

I didn't check the classids from your example above, but assuming those are correct, this should to the trick:
Code:
if(target.classid => 705 && target.classid <= 709)
{
	NTC_PutSkill(MWS_FANATICISM, NTC_HAND_RIGHT);
	
	return NTC_CastSkill(MWS_SMITE, NTC_HAND_LEFT, target);
}

if(target.classid == 704 && NTConfig_AttackSkill[7] > 0)
	NTC_PutSkill(NTConfig_AttackSkill[7], NTC_HAND_RIGHT);
else if(NTConfig_AttackSkill[index + 1] > 0)
	NTC_PutSkill(NTConfig_AttackSkill[index + 1], NTC_HAND_RIGHT);
return NTC_CastSkill(NTConfig_AttackSkill[index], _NTA_SkillHand[index], target)
Kind Regards
Muddy
Muddy Waters is offline  
Thanks
1 User
Old 05/22/2011, 12:40   #2008
 
elite*gold: 0
Join Date: Feb 2011
Posts: 20
Received Thanks: 0
Yeah. I had made the changes to the array itself. But ****! What you posted is right what I wanted. Now only to test it! Lol. And sorry about the double post earlier.

Edit:

I did come across an error after putting in that snippet of code. I believe its just a reference problem. Maybe you might have a quick throw in.

Code:
scripts\libs\common\NTCommon.ntl (1576) : ReferenceError: NTA_Initialize is not defined
The code in that section is:

Code:
function MWC_Initialize()
{
	NTCU_InitCubing();
	
	NTA_Initialize();
David Dean is offline  
Old 05/22/2011, 12:55   #2009
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41624
Join Date: Jan 2010
Posts: 22,728
Received Thanks: 12,654
Quote:
Originally Posted by David Dean View Post
Yeah. I had made the changes to the array itself. But damn! What you posted is right what I wanted. Now only to test it! Lol. And sorry about the double post earlier.
Maybe it was just too obvious to even think about it.
I got that problem all the time, always thinking of complicated solutions when the real solution is relatively simple.

Quote:
Originally Posted by Petrinius View Post
Code:
var JoinChatAfterLogin			= true;			// join chat after login
var JoinRandomChannel			= false;		// if this is true, will join a random channel, otherwise it will use the channel below..
var JoinChannelInChat			= "op pornobaal";// leave blank not to join a private channel
var PerformChannelLogin			= true;		// type ".login" once after joining the channel
var ChannelUsers 				= new Array();	// dynamic array that holds channel users
var MaximumLocationLoops		= 5;			// The maximum number of loops for a single location; if the window is does not respond and is caught in an infinite loop it will be restarted when the number of loops exceeds the one you specify here
var JoinGameKeywords			= new Array("dia", "baal");
var JoinRandomGamesChars		= new Array("");
//---------------------------------------------------------------------------------------------------------------------------------------------------------
// Add any char/account here that is supposed to perform chat actions/game announcements or join a private channel
ChannelUsers.push("Hdin name");
// Or
ChannelUsers.push("??");

// The following key expressions will be replaced by their actual values:  %game --> "gamename-"  <>  %counter --> number of the next game  <>  %time --> time in seconds till game creation  <>  %password --> game password
// Note that the announcement will start after the first run, so there usually won't be any anncouncement right after login - If the gamename is undefined, the bot will try to load the backup file to announce the upcoming game properly
var GameAnnouncement			= "Creating "gamename-"%counter in about %time seconds";			// Leave blank not to post a channel announcement
var GameAnnouncementDelay		= 3000;			// Wait X milliseconds before posting the announcement message (don't set this too low!)
var GameAnnouncementDelayRandom		= 500;			// Random amount of time to add to a to the announcement delay
var UseFileBackupTimeMax		= 30;
So this is what it should look like? %Counter is oke if I add it like that?(I mean, should it count the games or must i put a value there)

"op pornobaal" --> not: "pornobaal"?

E: var GameAnnouncement = "Creating "%game-%counter" in about %time seconds";
There is a fault here. He doesn't open diablo now.

Thx,

Greetz
You can't use " in a string literal as it is an element of the JavaScript syntax, a metacharacter.

If you want to keep it like that, you gonna have to escape those characters:
Code:
var GameAnnouncement	= "Creating \"%game-%counter\" in about %time seconds";
And "%counter" will be replaced by the actual number of the next game.

Kind Regards
Muddy
Muddy Waters is offline  
Thanks
1 User
Old 05/22/2011, 12:59   #2010
 
elite*gold: 0
Join Date: May 2011
Posts: 12
Received Thanks: 0
Thanks! Now its working properly!

You get a second thx on a reply now from me. XD

Keep up the good work!

E: So i dont have to put the names of the hosts of that channel anywere in the scripts (i have them in my friendlist)?
Petrinius is offline  
Reply


Similar Threads Similar Threads
[Release] D2NT 3.1 1.13c
07/17/2016 - Diablo 2 - 91 Replies
hi, hab eben den d2nt3.1 gefunden. ein neues baba script is dabei. release thread eon D2NT3.1
[Realease] Muddy's Waypoint Catcher
08/21/2013 - Diablo 2 Programming - 46 Replies
Moin zusammen, hier mal die erste Release Version eines kleinen Scripts genannt Waypoint Catcher. Das ganze ist jetzt nichtmal 24h alt, dementsprechend sind vermutlich noch einige Bugs vorhanden. Hinweise dazu nehme ich gerne entgegen. ;) Features: - Suchen sämtlicher Wegpunkte mit Ausnahme, wobei in Akt ein durch Probleme im Jail Bereich nach dem Wegpunkt Outer Cloister abgebrochen wird - Wahlweise auch mit TP an jedem gefundenen Wp, sodass man damit auch anderen (nicht-Bots) die...
[D2NT] Long Dia Release
05/10/2011 - Diablo 2 Programming - 28 Replies
Ein kleines Script für diablo, es startet beim eingang macht ein tp cleart den weg zum star macht am star noch ein tp dann läufts wie das normale nur cleart es schöner :) hoffe euch gefällts ich habs noch nicht wirklich getestet (2-3 runs) bugs können gerne hier gepostet werden verbesserungs vorschläge auch :D installation: 1.)Script in den Bot ordner kopieren 2.)Script im editor oder vergleichbaren öffnen 3.) Msg´s anpassen (ist nicht schwer) 4.) in der char config die zeile...
D2NT 3.0 Pickit release
10/22/2010 - Diablo 2 - 77 Replies
edit
Muddy's D2NT Help
07/29/2010 - Diablo 2 - 3 Replies
hi i just started to use the bot it work's great. how do i set up the skill's i use on my Sorc and pick up itme's? ..... if you reply to this post please use english



All times are GMT +1. The time now is 15:44.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.