Question about Threads / Counters

diesiel

Новичок
Регистрация
21.07.2011
Сообщения
9
Благодарностей
1
Баллы
3
Hey; just purchased the pro version of Zennoposter and spent some time learning it today, i like it so far ;-)

I made a working hotmail account creator, here's how it's setup:

After 5 successful account creations (Each successful creation increases my counter by 1), when counter = 5, it will execute one of my EXE files that i created, then start the whole process over again at Counter = 1.


My question is this: If i do multi-threaded, that means each thread will have it's own individual counter? This wouldn't work for me because the exe i mentioned earlier resets my router to get a new IP, so if i have 5 threads running, when each one reaches counter=5, it will reset the router! So that means my router will be reset once per each thread, 5 times total lol. Is there anyway to make a "global" counter that's the same for all threads? Any tips?
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
Hey diesiel, congrats with purchasing.
There are macros category - Global storage and global counter there.
So, here you are:-)
 

diesiel

Новичок
Регистрация
21.07.2011
Сообщения
9
Благодарностей
1
Баллы
3
spasibo tavarish!

thank you for the help! i will have more questions for sure later on ;-)
 

Hungry Bulldozer

Moderator
Регистрация
12.01.2011
Сообщения
3 441
Благодарностей
834
Баллы
113
Na zdorovie:-)
Feel free to ask any questions
 

Кто просматривает тему: (Всего: 2, Пользователи: 0, Гости: 2)