Registration DOES NOT need an email verification. Welcome to the biggest MyBrute forum on the internet. Look at the sections' stickies: you'll find there everything you need to know about the game! |
| | 3-Server BC Bot | |
| | Author | Message |
---|
Yaboirobby * * * * * * * * * * *
Posts : 4322 Join date : 2009-05-21 Age : 28 Location : Atlanta, GA
| Subject: 3-Server BC Bot Sun 23 May 2010, 21:18 | |
| Lumi sent me this a long time ago and told me to keep it between us, but since he has not been around for a while and this is valuable information, I will share it with the forum. As the title says, it is a download that allows you to run your bot on all three servers so you never waste IPs. It is also possible to just run 2 of the bots for 2 servers. I am not sure how it handles BE's, but you can play with it and see. More than likely, if you are running the 3 bot version and one server goes into BE, it will continue on the other two. Just play around with it and see. Anyway....
Here's the whole setup you'll need:
http://rapidshare.com/files/299781409/MultipleBCs.rar.html
It's made on a 1024 x 768 resolution screen so hopefully that's close enough to what you're running. If not, you're going to have to play with the placement of "BC Shortcuts" window to get it just right. I included 2 pics to give you a better idea of how it's setup on my computer.
An important point to make: I think you're probably going to have to delete the 3 shortcuts in the BC Shortcuts folder because they won't open properly once transferred to a new computer. Just delete them and create new shortcuts for each bot and put it in the folder so it's the same as it is now.
Give it a test run and see how it goes. Edit the config.xml file and just fill in random brutes for the test run if you want. To start it, load up the FR bot and choose to create pupils. That should start the automated sequence. The ES bot should be the last bot to run. Once it's done. It should close itself and will click twice on the browser in the background. That's how I needed to change IPs on my dsl connection. You'll have to edit this part so it changes IP for your setup.
Good luck forum :) | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: 3-Server BC Bot Sun 23 May 2010, 21:34 | |
| Maybe you should make a new package and update the link: - Spoiler:
Nice. I was thinking about that for some time (and I'm still thinking about it). If I have time I will instead modify the Java code and recompile the BC jar with multiple servers COM/FR/ES (if there's no protection on the BC server) which would make a really clean multiple server BC (identical to what's existing now, just 4 more masters to specify in config.xml). EDIT:In the meantime, it is rather easy to build such a COM/FR/ES setup with the "official" BC version: - Create 3 BC installations, each of them for a given server (COM/FR/ES), of course in different directories.
- Say the first BC installation for COM has a real *.bat IP Resetter as usual.
- The two other BC installations for FR and ES have blank *.bat IP resetter that does nothing at all and a fake IP Getter that just return a random IP (you have either to create your own fake IP Getter or find a page on the internet that shows different first characters each time it is loaded). For these two installations the delay for the creation of pupils must be shorter than for the first BC installtion (say two times shorter).
- Run the "Création automatique" for all 3 BC installations: that's it!
Why does this work? The first BC installtion for COM creates pupils as usual and changes IP, while the other BC installations just do create pupils (without changing IP which is not necessary) at a sufficiently high rate (because the delay is shorter) so that between each IP reset you can be sure that the FR and ES BC installations created at least one pupil for each master.
Last edited by Sioc on Mon 24 May 2010, 05:53; edited 15 times in total | |
| | | Yaboirobby * * * * * * * * * * *
Posts : 4322 Join date : 2009-05-21 Age : 28 Location : Atlanta, GA
| Subject: Re: 3-Server BC Bot Sun 23 May 2010, 21:39 | |
| - Sioc wrote:
- Maybe you should make a new package and update the link:
- Spoiler:
Sorry. Didn't know the link was out... I don't know if I still have it though. I'll look later. | |
| | | bamb@m * * * * * * * * *
Posts : 692 Join date : 2009-08-13 Location : under a palm tree ┏ ( ・o・) ┛♪
| Subject: Re: 3-Server BC Bot Mon 24 May 2010, 05:59 | |
| @ sioc, for that temporary idea to work, you'd have to be able to ensure that all the bc's are running synchronized so that the ones using spoofed IPs don't miss the window of opportunity for proper creation while the main one is using the real IP changer. If one of the spoofed bc's reconnect is off by a second or more, after a certain number of runs, it would get its creation cycle interrupted when the router/modem resets for real. That interruption and loss of an IP on the secondary bc's may not happen very often, and for those with larger IP pools, a few IP's won't be missed, but for those with smaller pools, every IP is precious Using Lumi's idea as a base, I modified several things for Yab, myself, and a few others when they requested (I did it on their computers personally to make sure it'd work). the setup I used before lumi's idea was more complicated - all three would run at once like this: - Spoiler:
bc1 - reconnect = wait for bc2 reconnect to start, then wait for bc3 reconnect to end (bc3 was the real reconnect)
bc2 - reconnect = "if bc1 reconnect running, then run reconnect, else wait for bc1 reconnect", then "wait for bc3 reconnect to end"
bc3 - reconnect = "if bc1 and bc2 reconnect running, run reconnect, else wait"
*and all three would stay open at all times, except when the bc resetter would run for those that needed it
lumi's method for running three at once was: - Spoiler:
bc1 - reconnect = close bc1, open and run bc2
bc2 - reconnect = close bc2, open and run bc3
bc3 - reconnect = close bc3, run reconnect, and open and run bc1
and, he made sure to use the FR server first, then ES, then COM last to help ensure that if you had FR masters to pupil, they'd get their pupils before the bot masters would take theirs so the IP wasn't wasted. (I am only posting this since it seems to reveal the technique, as you said, Yab ) so, for those that have experience with minor scripting, running all three separately using Lumi's style is best, and for those with no experience, Sioc's method will work just about the same | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: 3-Server BC Bot Mon 24 May 2010, 06:08 | |
| - bamb@m wrote:
- @ sioc, for that temporary idea to work, you'd have to be able to ensure that all the bc's are running synchronized so that the ones using spoofed IPs don't miss the window of opportunity for proper creation while the main one is using the real IP changer. If one of the spoofed bc's reconnect is off by a second or more, after a certain number of runs, it would get its creation cycle interrupted when the router/modem resets for real. That interruption and loss of an IP on the secondary bc's may not happen very often, and for those with larger IP pools, a few IP's won't be missed, but for those with smaller pools, every IP is precious
No. Because the delay for the two other BC setups are shorter and they have a fake IP Getter. So they don't have to by synchronized in order not to miss any pupil. Moreover if the main BC that changes IP is a FR one then by properly reducing the delay of the other BCs you don't waste any IP on COM/ES as for Lumi's method. I've done some tests and it seems that after a loss of connection while BC is pupilling it continues once the connection is back (may indeed be wrong here and should do more testing though). But I do prefer Lumi's method as well because imo starting over everytime with a fresh BC seems more stable than letting the same BC instance running all time. | |
| | | w13winni VIP
Posts : 282 Join date : 2009-04-17
| Subject: Re: 3-Server BC Bot Mon 24 May 2010, 17:25 | |
| hmmm ca me fait penser a un truc que j'ai fait , j'ai pas le temps de traduire mais si Sioc juge utile ce script je suis sur qu'il le fera ( ou pas^^ ) il faut arriver a synchroniser les BC ensembles, et ça c'est possible a l'aide du resetIP.bat, avec un script php qui vas checker la connexion exemple de ce que j'ai fait pour un membre: http://www.megaupload.com/?d=SOARF1Z8 avec création sur 6 brute simultanément , ici on utilise un script perl pour rebooter, après a vous d'adaptater votre reboot ( dans le .bat, un petit "start c:/votrereboot.exe ou ajouter les ligne batch), explication du fonctionnement : - Spoiler:
dossier crea1 >>>> la ou se trouve le reboot, c'est ce BC qui vas lancer le .bat et le reboot (ici le script perl ); delay a 1, le script php vas checker la connexion et reprendre la création quand la connexion internet sera revenu
dossier crea 2 >>>> copie du dossier crea1 sans le reboot, check de la connexion; la création reprend quand la connexion internet est revenu. delay a 1 de cette façon, la création sera syncro sur les 2 BC, elle reprendra simultanément des que la connexion internet sera revenu
la synchro se fera au bout du 2eme eleve crée, il faut au moins un reboot elle ne sera jamais parfaite, mais on ne peut pas trouver mieux^^
dossier crea3 >>>>> idem crea2
dans config éditer bien sur le nom des maitre a upper
je conseille de tester le rebootip.bat avant de lancer BC normalement, des que le rebootip.bat se lance, ca met des "HORS LIGNE" a la suite et un "connexion ok" quand la connexion est revenu , si jamais ça met direct "connexion ok" alors que la box reboot bien, c'est que le script a checker la connexion avant que celle ci disparaisse, il faut donc aller dans le dossier core >>> brute2.php et dans sleep(2) remplacer le 2 par une valeur un peu plus grande genre 3 , 4 etc....
| |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: 3-Server BC Bot Mon 24 May 2010, 19:42 | |
| Ok, I won't translate everything but this is yet another interesting route. This one makes use of a PHP script to synchronize all 3 BC instances that run simultaneously. - Spoiler:
- Code:
-
<?php
sleep(2); // verification de la connexion //tant que la connexion n'est pas revenu, BC ne relance pas la creation >>> attribution automatique du delay //mettre le delay dans "config" a '1'. $test = 1; while($test == 1){ if (!$sock = @fsockopen('www.google.fr', 80, $num, $error, 5)){ echo 'HORS LIGNE'; echo("\n"); $test = 1; } else{ $url=('http://google.fr'); $verif = @file_get_contents($url); $verif2 = strpos($verif,'google'); while($verif2 == FALSE){ $verif = @file_get_contents($url); $verif2 = strpos($verif,'google'); echo 'HORS LIGNE'; echo("\n"); sleep(1); } echo 'connexion ok'; echo("\n"); exit; } }
?>
First BC directory in winni's file will trigger IP resets through that PHP script. Other two instances are "followers". Yet another interesting route imo, seems quite straightforward to use but didn't test it though (pretty happy with my current 2-server BC bot atm ;-) ). To sum up the 5 routes: - w13winni: 3 simultaneous synchronized BC instances, no BC restart. At first requires no coding skill at all because winni already did everything (but I didn't test it though). Drawback: stability issues if BC is not restarted, IPs given away cannot be recovered.
- Luminous: 3 non simultaneous BC instances, BC restarts each time. Requires a bit of rather easy scripting and the fact that BC restarts every time yields a more stable routine. Drawback: you can't reconnect faster than the whole process of loading up the 3 instances of BC, IPs given away cannot be recovered.
- Bamb@m: 3 simultaneous artificially synchronized BC instances. Requires some ease with scripting (Actionaz or Winautomation). Drawback: same as for w13Winni's route.
- Sioc: 3 simultaneous non synchronized BC instances. Requires a fake IPGetter (not mandatory!) but no scripting/coding skill at all. The advantage is that IPs given by BC can be recovered if the delay of instances 2 and 3 of BC is short enough. A priori the less stable of all routes. Drawback: stability issues if BC is not restarted, eventually some problems if the connection is reset just when another BC instance is pupilling (didn't encounter the problem though).
- Modified 3-server BC: not yet!
Well, depending on your skills and knowledge you can now choose the route that suits you best ;-) Personnally I'm using a hybrid version of Luminous' route and Sioc's (taking advantages of both routes: restarting BC each time and not losing IPs given away). | |
| | | bamb@m * * * * * * * * *
Posts : 692 Join date : 2009-08-13 Location : under a palm tree ┏ ( ・o・) ┛♪
| Subject: Re: 3-Server BC Bot Thu 27 May 2010, 04:19 | |
| - Sioc wrote:
- bamb@m wrote:
- @ sioc,.....it would get its creation cycle interrupted when the router/modem resets for real. That interruption and loss of an IP on the secondary bc's may not happen very often, and for those with larger IP pools, a few IP's won't be missed, but for those with smaller pools, every IP is precious
No. Because the delay for the two other BC setups are shorter and they have a fake IP Getter. So they don't have to by synchronized in order not to miss any pupil. Moreover if the main BC that changes IP is a FR one then by properly reducing the delay of the other BCs you don't waste any IP on COM/ES as for Lumi's method. I've done some tests and it seems that after a loss of connection while BC is pupilling it continues once the connection is back (may indeed be wrong here and should do more testing though).
But I do prefer Lumi's method as well because imo starting over everytime with a fresh BC seems more stable than letting the same BC instance running all time. since I only have my own ISP to use, I can't be sure either, but since yours would continue after resetting, and mine would lose the pupil, and assuming I remember correctly that your reset is only a few seconds (mine takes a minute per reset), I'd have to assume if the connection loss is only a few seconds it's ok, but if longer, you'll lose it like in my situation. | |
| | | Fuuton * * * *
Posts : 43 Join date : 2009-06-30 Location : Portugal
| Subject: Re: 3-Server BC Bot Thu 27 May 2010, 17:40 | |
| Sorry for the dum question, but this 3 server bot is to use 3 diferent BC simultaneous in wich each one is for COM, FR and ES, right? This way we could pupil through the 3 different servers without waste the IPs. How do I make this work? Cause when I start BC1, it doesnt pass to BC2 or BC3 whatsoever. I have to make it manually. Shouldnt do it automatic? | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: 3-Server BC Bot Thu 27 May 2010, 17:52 | |
| Read our posts above, yes, here, just a few lil'posts above... | |
| | | Fuuton * * * *
Posts : 43 Join date : 2009-06-30 Location : Portugal
| Subject: Re: 3-Server BC Bot Thu 27 May 2010, 18:05 | |
| Yes, I have read it, but still didnt understand how to automatic pass from one BC to another. | |
| | | Sioc admin
Posts : 2785 Join date : 2009-12-19
| Subject: Re: 3-Server BC Bot Sat 12 Jun 2010, 19:53 | |
| Version 1.3.00 is now a 4-server bot. All this is not required anymore. Locking down topic. | |
| | | Sponsored content
| Subject: Re: 3-Server BC Bot | |
| |
| | | | 3-Server BC Bot | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |
|