Register for your free account! | Forgot your password?

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

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

Advertisement



problem mit 3 leech bots mit redvex fastmod

Discussion on problem mit 3 leech bots mit redvex fastmod within the Diablo 2 Programming forum part of the Diablo 2 category.

Reply
 
Old   #1
 
Kobold2's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 108
Received Thanks: 0
problem mit 3 leech bots mit redvex fastmod

Hallo

erstmal zu meiner situation:
ich habe 3 bots welche bei meinem freund in priv dia baal runs leechen und ich benutze den redvex fastmod.

das problem ist folgendes:
wenn nach einem fertigen game alle 3 bots im chat sind und auf das neue game von leader warten und dann bei der meldung joinen gibt es nur joinbugs weil eben alle gleichzeitig joinen

ich habe mal gesucht und einen interessanten eintrag in der etal wiki gefunden der so ziemlich meiner situation enspricht:

Quote:
Using redvex with Etal with multiple leechfighters causes some to fail to join

If you use redvex and 3 bots to leechfight by default they will all join the new game at the same time. This will always cause 1 bot to fail to join. Because 2 bots can join right away with no problem you need to give the 3rd bot a delay.

1. Put this in your NTLeechStarter.ntj file right in the beginning to the other variables:

Code:
var delayLeecher = "leechernamehere"; 	//add the name of one of your leechers
					// must be spelled and cased exactly
var delayLeecherDelay = 500;  		// the delay that will differ from the other
					// leechers. Play with this and find what works best.
In my case it set the delay to 3000. you have to see what works best.

2. Find these lines:
Code:
controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
Delay(100);
Replace "Delay(100);" with this:
Code:
	if(me.charname == delayLeecher){
		Delay(delayLeecherDelay);
	}

	else{
		Delay(100);
	}
Ich habe es getestet mit 2 bots und es läuft wunderbar. jedoch klappt es mit 3 bots nicht. somit ist
Quote:
Because 2 bots can join right away with no problem you need to give the 3rd bot a delay.
für mich falsch.
also bräuchte ich noch eine verzögerung für den zweiten bot.

sodass am ende der erste bot ohne delay joint, dann der zweite mit nem kleinem delay und dann schliesslich der letzte auch mit nen kleinem delay.


also hab ich einfach mal noch 2 variablen oben eingefügt, aber wie löse ich das dann weiter unten bei punkt 2. ?

grüsse
Kobold2 is offline  
Old 07/19/2011, 13:50   #2
 
elite*gold: 0
Join Date: Mar 2010
Posts: 539
Received Thanks: 418
Ich habs mal für folgende Situation gecodet:
1. Leecher joint gleich
2. Leecher (delayLeecher1) nach 100 + delayLeecherDelay
3. Leecher (delayLeecher2) nach 100 + 2x delayLeecherDelay

Code:
var delayLeecher1 = "leecher1"; 	//add the name of one of your leechers
var delayLeecher2 = "leecher2"; 	// must be spelled and cased exactly

var delayLeecherDelay = 500;  		// the delay that will differ from the other
					// leechers. Play with this and find what works best.
Und der 2. Teil:
Code:
	controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
	if(me.charname == delayLeecher1)
		Delay(100 + delayLeecherDelay);
	elseif(me.charname == delayLeecher2)
		Delay(100 + 2 * delayLeecherDelay);
	else
		Delay(100);
Ist keine schöne Lösung, sollte jedoch funktionieren.
TheCrazy11 is offline  
Old 07/19/2011, 13:58   #3

 
lanara's Avatar
 
elite*gold: 139
Join Date: Oct 2006
Posts: 12,058
Received Thanks: 24,256
Ich habe das ganze in etwas anderer Form mal in meine eingefügt. Einfach deine Chars bei DelayedJoinChars eintragen und gegebenenfalls das Delay noch anpassen. (MultipleLeecherJoinDelay)
lanara is offline  
Thanks
1 User
Old 07/19/2011, 14:56   #4
 
Kobold2's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 108
Received Thanks: 0
also erstmal danke euch beiden aber der manager schliesst sich immer sofort nach dem starten mit ner fehlermeldung bei beiden vorschlägen..
ich benutzte den etal bot.
Kobold2 is offline  
Old 07/19/2011, 19:55   #5

 
lanara's Avatar
 
elite*gold: 139
Join Date: Oct 2006
Posts: 12,058
Received Thanks: 24,256
Wäre gut, wenn du die Fehlermeldung dann auch mit posten würdest.
lanara is offline  
Old 07/25/2011, 15:54   #6
 
elite*gold: 0
Join Date: Jul 2009
Posts: 153
Received Thanks: 27
@Kobold2
hatte das gleiche problem, habs jetzt auf ne andere art gelöst
habe mir einfach von der NTLeechStarter.ntj zwei kopien (NTLeechStarter3.ntj und NTLeechStarter4.ntj) erstellt und darin einfach die delay werte erhöht
bei NTLeechStarter3.ntj
Code:
case 5: // Join Game
    if (game)
    {
        controlData.setText( controlData.controls.lobby.join.editBox.gameName, game);
        Delay ([COLOR="Red"]300[/COLOR]);
        controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
        Delay ([COLOR="Red"]800[/COLOR]);
bei NTLeechStarter4.ntj
Code:
case 5: // Join Game
    if (game)
    {
        controlData.setText( controlData.controls.lobby.join.editBox.gameName, game);
        Delay ([COLOR="Red"]600[/COLOR]);
        controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword);
        Delay ([COLOR="Red"]1600[/COLOR]);
ist zwar nicht die schönste art das problem zu lösen
aber es funktioniert (bei mir zumindest)
data29 is offline  
Reply


Similar Threads Similar Threads
[Suche] Link für RedVex Fastmod
07/03/2011 - Diablo 2 - 1 Replies
Hey leute habe ja vor kurzem mit D2 wieder angefangen und wollte auch gleich loslegen und benötige Fastmod. Habe Lanaras Tutorial befolgt etc. (Danke nochmal an lanara^^) Nur funktionieren die Links für den Fastmod nicht mehr und wollte mal fragen ob jemand den Fastmod nochmal uploaden kann. Danke nochmals
redvex fastmod safe oder risiko?
11/03/2010 - Diablo 2 - 7 Replies
Hallo zusammen, heute bin ich auf das Thema redvex fastmod für Sternenlooper aufmerksam geworden, daher habe ich einige Fragen über dieses Prog: 1.) Wie sicher ist diese Anwendung? (wollte ungerne einen Ban riskieren:)) 2.) Welche Vorteile / Nachteile bringt dieses Programm mit sich? 3.) Wo kann ich eine aktuelle Version + kleine Anleitung für den Sternenlooper finden?
Redvex Plugins: FastMod v2.1 / Condom v34.2
11/19/2009 - Diablo 2 - 2 Replies
hey, hat wer sichere download links bzw kann mir die zwei plugins schicken ? :)



All times are GMT +1. The time now is 19:37.


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.