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:
Ich habe es getestet mit 2 bots und es läuft wunderbar. jedoch klappt es mit 3 bots nicht. somit istQuote:
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:
In my case it set the delay to 3000. you have to see what works best.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.
2. Find these lines:
Replace "Delay(100);" with this:Code:controlData.setText( controlData.controls.lobby.join.editBox.password, gamepassword); Delay(100);
Code:if(me.charname == delayLeecher){ Delay(delayLeecherDelay); } else{ Delay(100); }
für mich falsch.Quote:
Because 2 bots can join right away with no problem you need to give the 3rd bot a delay.
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






eingefügt. Einfach deine Chars bei DelayedJoinChars eintragen und gegebenenfalls das Delay noch anpassen. (MultipleLeecherJoinDelay)
