Register for your free account! | Forgot your password?

Go Back   elitepvpers > Other Online Games > Diablo 2 > Diablo 2 Programming
You last visited: Today at 21:22

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

Advertisement



need help with leechbot muddy

Discussion on need help with leechbot muddy within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2011
Posts: 3
Received Thanks: 0
need help with leechbot muddy

hello everyone.
i hope that someone can help me.
since yesterday i 'm trying to configure leechbot but doesn't work..the problem is that he enter on tp when leader make it..but i have configured on char configs mwconfigenterunsafetp = false.. he enter anyway and he die cuz monster..
i don't understand what i have to do..
i wanna that my leech enter only when leader say: tp is safe
pls help me
have nice day
matty609 is offline  
Old 11/05/2011, 13:17   #2
 
elite*gold: 0
Join Date: Aug 2011
Posts: 126
Received Thanks: 87
hey,

i dont know the solution for the problem, but a possible workaround.

Open NTBaal.ntj in the folder "Muddy's D2NT\scripts\NTBot\bots\"

and search for this:

Code:
		if(NTConfig_PublicMode)
		{
			if(_monsterCount > 1 && MWConfig_Announcements.BaalThrone)
				Say(MWConfig_Announcements.BaalThrone.replace(/%d/gi, _monsterCount));
			
			NTM_MoveTo(me.areaid, 15116, 5068);
			
			_monsterCount = MW_CountMonstersInThrone(20);
			
			if(_monsterCount > 1)
			{
				if(_monsterCount < 3 && MWConfig_Announcements.BaalTpCold)
					Say(MWConfig_Announcements.BaalTpCold.replace(/%d/gi, _monsterCount));
				else if(_monsterCount < 6 && MWConfig_Announcements.BaalTpWarm)
					Say(MWConfig_Announcements.BaalTpWarm.replace(/%d/gi, _monsterCount));
				else if(MWConfig_Announcements.BaalTpHot)
					Say(MWConfig_Announcements.BaalTpHot.replace(/%d/gi, _monsterCount));
			}
			else if(MWConfig_Announcements.BaalTpNone)
				Say(MWConfig_Announcements.BaalTpNone);
			
			NTM_MakeTP();
			
			NTA_ClearPosition(25, true, 2);
		}
and replace it with this

Code:
		if(NTConfig_PublicMode)
		{
			if(_monsterCount > 1 && MWConfig_Announcements.BaalThrone)
				Say(MWConfig_Announcements.BaalThrone.replace(/%d/gi, _monsterCount));
			
			NTM_MoveTo(me.areaid, 15116, 5068);
			
			_monsterCount = MW_CountMonstersInThrone(20);
			
			if(_monsterCount > 1)
			{
				if(_monsterCount < 3 && MWConfig_Announcements.BaalTpCold)
					Say(MWConfig_Announcements.BaalTpCold.replace(/%d/gi, _monsterCount));
				else if(_monsterCount < 6 && MWConfig_Announcements.BaalTpWarm)
					Say(MWConfig_Announcements.BaalTpWarm.replace(/%d/gi, _monsterCount));
				else if(MWConfig_Announcements.BaalTpHot)
					Say(MWConfig_Announcements.BaalTpHot.replace(/%d/gi, _monsterCount));
			}
			else if(MWConfig_Announcements.BaalTpNone)
				Say(MWConfig_Announcements.BaalTpNone);
			
			NTA_ClearPosition(25, true, 2);
		}
the only change is the deletion of this

Code:
			NTM_MakeTP();
line. So it shouldnt open an unsafe tp at all.

Please let me know if it worked.
PeterNeu is offline  
Thanks
1 User
Old 11/05/2011, 14:41   #3
Administrator
 
Muddy Waters's Avatar
 
elite*gold: 41364
Join Date: Jan 2010
Posts: 22,727
Received Thanks: 12,652
Apparently, there is a slight mistake in the NT_GameMsgEvents() function which causes your leecher to take just any message by his leader as permission to enter the TP.

If you fix this error, it should work just fine. Fortunately, fixing this is quite easy, just replace the function by the one below:
Code:
function NT_GameMsgEvents(msg, type)
{
	var _msg = msg.toLowerCase();
	
	if(type == 0 && _msg.indexOf(NTConfig_Leader.toLowerCase()) > -1 && MWConfig_Announcements.BaalTpSafe && _msg.indexOf(MWConfig_Announcements.BaalTpSafe.toLowerCase()) > -1)
		_AllowedToEnterTP = true;
}
Kind Regards
Muddy
Muddy Waters is offline  
Old 11/15/2011, 13:57   #4
 
elite*gold: 0
Join Date: Sep 2011
Posts: 16
Received Thanks: 0
one more question, i want the leechbot to join the tp when leader sais a specific sentence... where to put that in for the leechbot?

PHP Code:
function NT_GameMsgEvents(msgtype)
{
    var 
_msg msg.toLowerCase();
    
    if(
type == && _msg.indexOf(NTConfig_Leader.toLowerCase()) > -&& MWConfig_Announcements.BaalTpSafe && _msg.indexOf(MWConfig_Announcements.BaalTpSafe.toLowerCase()))
        
_AllowedToEnterTP true;

in here? with ""??

nvm i guess its global settings? we run it on different pcs so
Chaoxalive is offline  
Reply


Similar Threads Similar Threads
Muddy’s D2NT – FAQ [NO QUESTIONS]
12/12/2011 - Diablo 2 Programming - 17 Replies
Hey folks, As I’m almost done with the upcoming update I figured it might be a good idea to start the FAQ right away. I did a bit of brainstorming on how to approach this and then came up with the idea of including everyone in its creation. So many of you already did such a great job at answering questions in the release topic and helping users with various issues, so why do all the work myself when you could as well give me a hand with this? :) What I’d basically like you to do is to pick...
bei muddy wird nichts im log gezeigt
11/04/2011 - Diablo 2 - 2 Replies
obwohl er sachen behält. wo befindet sich die zeile in der ich was ändern muss?
[Muddy D2NT v 1.12] Probleme mit Itemlog und neuer DLL 1.13d
11/03/2011 - Diablo 2 Programming - 8 Replies
Hi, nutze die aktuelle DLL für 1.13d Funktioniert nach ersten Tests soweit. Allerding liefert der Itemlog im Manager lückenhafte Angaben. Siehe Bild: http://u70.img-up.net/Zwischenabrged.jpg Cursor ist auf dem "Bone Knife" auch die andern Items werden nur mit iLvl gelistet, jedoch werden keine Stats angezeigt.
Muddy´s Bot ohne Energieschild?
04/12/2011 - Diablo 2 - 2 Replies
Hallo zusammen, ich habe nun meine erste HC Soso fertig zum booten, habe eben auch schon erste Testlauf gestartet und da ist mir sofort aufgefallen, das er kein Energieschild und keine Eisrüstung castet. Bisher musste ich deswegen noch nie was einstellen, weil er das immer automatisch gemacht hat. Habe mir jetzt aber Muddy´s Bot drauf gezogen und dort castet er es nicht, habe auch schon alles abgesucht und auch hier im Forum nach einer Lösung gesucht, aber leider nix gefunden. Hoffe...
Muddy´s D2nt Bot Fehler.
03/02/2011 - Diablo 2 Programming - 1 Replies
Hallo, ich habe folgendes Problem. Ich habe mir mal Muddy´s D2nt Bot Ver. runtergeladen. Nun läuft alles supi, außer das er Kein Diablo + Baal macht. Wenn er mit den Runnen anfängt macht er alles das was er soll. Andy, Duriel, Meph, (Dann eiegentlich Diablo aber den lässt er aus). Dann gehts weiter mit Eldrich + Shenk, danach sollte Baalrun kommen, aber er leavt nach Shenk. Ich habe keine *//* vor den Baal und Diablo Scrip sind alle genau so eingestellt wie bei den restliche Bossen...



All times are GMT +1. The time now is 21:23.


Powered by vBulletin®
Copyright ©2000 - 2025, 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 ©2025 elitepvpers All Rights Reserved.