Latest topics | » Salam Bacheha by TasbeaT Thu Aug 11, 2016 8:33 pm
» id Maker Onlain FireBuzZ TeaM by modaaaa Sun Mar 06, 2016 2:51 am
» id maker v2 coded by 50 by modaaaa Sun Mar 06, 2016 2:50 am
» آپدیت جدید xmod برای نسخه جدید کلش اف کلنز (زمستان 2016) .هماهنگ با 8.116.2 by l!v!lonster Wed Feb 17, 2016 10:02 am
» help plz komak mikham fori by l!v!lonster Tue Feb 16, 2016 4:37 pm
» فیلم اموزشی نصب Ejabberd by kurd98 Fri Jul 24, 2015 3:26 pm
» اجبرد بر روی شبکه محلی by kurd98 Fri Jul 24, 2015 3:20 pm
» online spybot and server bots... by huss4in. Wed Jul 15, 2015 3:53 am
» online mobile server bot 24/7 online by i).t33m Sat May 30, 2015 6:52 am
» TeamViewer 10.0.41459 by i).t33m Sat May 30, 2015 6:38 am
» Topic Jame -- Server bot by shona_chokra Sun Mar 22, 2015 12:19 am
» PV Message Flooder Nimbuzz 2015 by sholeh by sholeh Sat Mar 07, 2015 2:11 pm
» Room + PV Flooder Nimbuzz 2015 by sholeh Tue Feb 17, 2015 6:57 pm
» PV Flooder Nimbuzz 2015 by sholeh by sholeh Sat Feb 14, 2015 12:42 am
» chat box vb.net... by the.last.black.hat Wed Jan 28, 2015 5:23 pm
» Change Avatar by vb.net... by the.last.black.hat Wed Jan 28, 2015 3:29 pm
» online bot severs by lof-team Wed Jan 21, 2015 6:10 pm
» Evil floOder by kurad Wed Nov 19, 2014 2:35 pm
» super black scorpion flood room = 4 pvt traget in one time 3.0 by hesho Sat Aug 23, 2014 8:24 pm
» v*p*s AT LOW PRICE by sweetsam01 Tue Jul 29, 2014 6:20 pm
|
Top posting users this week | |
Who is online? | In total there are 33 users online :: 0 Registered, 0 Hidden and 33 Guests None Most users ever online was 113 on Thu Dec 12, 2013 8:09 am |
May 2024 | Mon | Tue | Wed | Thu | Fri | Sat | Sun |
---|
| | 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 | | | Calendar |
|
| | plzzzzzzzzzzz bia to (namayesh user room) | |
| Author | Message |
---|
esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: plzzzzzzzzzzz bia to (namayesh user room) Mon Jul 15, 2013 9:35 am | |
| salam dostan ye ki in __private void xml__ dad ke goft baray namayesh user room ke dorset hastvali ye moshkeli dare ine ke vaghti tarf left mide az room id on remove nemishe!!!baiad chi be in ezafe konam ke beshe!????rasti anti adminam tosh ghatieCODE: - Code:
-
private void Xml1(object sender, string xml) { if (base.InvokeRequired) { base.BeginInvoke(new XmlHandler(this.Xml1), new object[] { RuntimeHelpers.GetObjectValue(sender), xml }); } else { xml = Strings.Replace(xml, "\"", "'", 1, -1, CompareMethod.Text); if (Strings.InStr(xml, "type='unavailable'", CompareMethod.Text) <= 0) { if (((Strings.InStr(xml, "affiliation='owner'", CompareMethod.Binary) != 0)) | ((Strings.InStr(xml, "affiliation='admin'", CompareMethod.Binary) != 0)) | ((Strings.InStr(xml, "affiliation='member'", CompareMethod.Binary) != 0)) | ((Strings.InStr(xml, "affiliation='none'", CompareMethod.Binary) != 0)) && ((Strings.InStr(xml, "type='unavailable'", CompareMethod.Binary) & Strings.InStr(xml, "role='none'", CompareMethod.Binary)) == 0)) {
string str2 = xml.Substring(xml.IndexOf("jid='") + 5); str2 = str2.Substring(0, str2.IndexOf("@") - 0); int b = listBox2.Items.Count; for (int i = 0; i < b; i++) { if (str2.ToString() == listBox2.Items[i].ToString()) { listBox2.Items.RemoveAt(i); } } listBox2.Items.Add(str2.ToString()); } label12.Text = listBox2.Items.Count.ToString(); } try { Application.DoEvents(); xml = xml.ToLower(); xml = xml.Replace("\"", "'"); textBox7.AppendText(xml); if (xml.IndexOf("@conference.nimbuzz.com/admin'", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { if (xml.IndexOf("enter the right answer to start chatting.", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { gt = xml.Substring(xml.IndexOf("enter the right answer to start chatting.") + 42); gt = gt.Substring(0, gt.IndexOf("</body>") - 0); gt = gt.Replace(" ", ""); gt = gt.Replace("=...", ""); gt = gt.Replace("thousand", ""); gt = gt.Replace("hundred", ""); gt = gt.Replace("and", ","); gt = gt.Replace("ten", "10"); gt = gt.Replace("eleven", "11"); gt = gt.Replace("twelve", "12"); gt = gt.Replace("thirteen", "13"); gt = gt.Replace("fourteen", "14"); gt = gt.Replace("fifteen", "15"); gt = gt.Replace("sixteen", "16"); gt = gt.Replace("seventeen", "17"); gt = gt.Replace("eighteen", "18"); gt = gt.Replace("nineteen", "19"); gt = gt.Replace("twenty-", "2"); gt = gt.Replace("thirty-", "3"); gt = gt.Replace("forty-", "4"); gt = gt.Replace("fifty-", "5"); gt = gt.Replace("sixty-", "6"); gt = gt.Replace("seventy-", "7"); gt = gt.Replace("eighty-", "8"); gt = gt.Replace("ninety-", "9"); gt = gt.Replace("twenty", "20"); gt = gt.Replace("thirty", "30"); gt = gt.Replace("forty", "40"); gt = gt.Replace("fifty", "50"); gt = gt.Replace("sixty", "60"); gt = gt.Replace("seventy", "70"); gt = gt.Replace("eighty", "80"); gt = gt.Replace("ninety", "90"); gt = gt.Replace("one", "1"); gt = gt.Replace("two", "2"); gt = gt.Replace("three", "3"); gt = gt.Replace("four", "4"); gt = gt.Replace("five", "5"); gt = gt.Replace("six", "6"); gt = gt.Replace("seven", "7"); gt = gt.Replace("eight", "8"); gt = gt.Replace("nine", "9"); if (gt.IndexOf("-", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { int y = Convert.ToInt32(gt.Substring(0, +1)); int x = Convert.ToInt32(gt.Substring(2, +1)); j = (y - x).ToString(); } else if (gt.IndexOf("+", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { int y = Convert.ToInt32(gt.Substring(0, +1)); int x = Convert.ToInt32(gt.Substring(2, +1)); j = (y + x).ToString(); } else if (gt.IndexOf("*", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { int y = Convert.ToInt32(gt.Substring(0, +1)); int x = Convert.ToInt32(gt.Substring(2, +1)); j = (y * x).ToString(); } else if (gt.IndexOf("Whatisthe1stdigitof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 2); j = j.Substring(0, j.IndexOf("?") - 4);
} else if (gt.IndexOf("Whatisthe2nddigitof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 3); j = j.Substring(0, j.IndexOf("?") - 3);
} else if (gt.IndexOf("Whatisthe3rddigitof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 4); j = j.Substring(0, j.IndexOf("?") - 2);
} else if (gt.IndexOf("Whatisthe4thdigitof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 5); j = j.Substring(0, j.IndexOf("?") - 1);
} else if (gt.IndexOf("Whatisthe5thdigitof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 6); j = j.Substring(0, j.IndexOf("?") - 0);
} else if (gt.IndexOf("asdigits?", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("Whatis") + 6); j = j.Substring(0, j.IndexOf("as") - 0);
} else if (gt.IndexOf("whichisthesmallest?", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("bers") + 4); j = j.Substring(0, j.IndexOf(",w") - 0); string[] s = null; s = j.Split(','); long lng = 0; lng = Convert.ToInt64(s[s.GetLowerBound(0)]); for (var i = s.GetLowerBound(0); i <= s.GetUpperBound(0); i++) { if (lng > Convert.ToInt64(s[i])) { lng = Convert.ToInt64(s[i]); } } j = lng.ToString();
} else if (gt.IndexOf("whichisthebiggest?", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("bers") + 4); j = j.Substring(0, j.IndexOf(",w") - 0); string[] s = null; s = j.Split(','); long lng = 0; lng = Convert.ToInt64(s[s.GetUpperBound(0)]); for (var i = s.GetLowerBound(0); i <= s.GetUpperBound(0); i++) { if (lng < Convert.ToInt64(s[i])) { lng = Convert.ToInt64(s[i]); } } j = lng.ToString();
} else if (gt.IndexOf("The1stnumberof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 2); j = j.Substring(0, j.IndexOf("is?") - 0); string[] s = null; s = j.Split(','); j = s[0].ToString();
} else if (gt.IndexOf("The2ndnumberof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 2); j = j.Substring(0, j.IndexOf("is?") - 0); string[] s = null; s = j.Split(','); j = s[1].ToString();
} else if (gt.IndexOf("The3rdnumberof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 2); j = j.Substring(0, j.IndexOf("is?") - 0); string[] s = null; s = j.Split(','); j = s[2].ToString();
} else if (gt.IndexOf("The4thnumberof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 2); j = j.Substring(0, j.IndexOf("is?") - 0); string[] s = null; s = j.Split(','); j = s[3].ToString();
} else if (gt.IndexOf("The5thnumberof", System.StringComparison.OrdinalIgnoreCase) + 1 != 0) { j = gt.Substring(gt.IndexOf("of") + 2); j = j.Substring(0, j.IndexOf("is?") - 0); string[] s = null; s = j.Split(','); j = s[4].ToString(); } try { esi.Send("<message to='" + textBox4.Text + "@conference.nimbuzz.com' type='groupchat'><body>" + j + "</body></message>"); } catch { } } } } catch { } } }
Last edited by esi.0181 on Sat Aug 24, 2013 1:52 pm; edited 3 times in total |
| | | l!v!lonster Admin
Medals : Posts : 839 Emtiaz : 41398 Thanked : 220 Join date : 2013-06-10 Job/Hobbies : Karmand Asl : Mojtaba 26 GolesTan My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Mon Jul 15, 2013 10:51 am | |
|
salam shahin
man ba khode xmpp tozih midam Age tavajoh karde bashi toye Wlc bot Avilable hast vase join hala ma barak3esh mikonim - Code:
-
if (prs.Type == PresenceType.unavailable) { string text = prs.From.Resource + " Az RoOm Left Dad"; removeid(prs.From.Resource); age mikhi tye ye richbox ham namayesh bde mitoni text on khat strng text ro ham bezari dar ghere in sorat hamin code zir kafie vase left dadan
- Code:
-
if (prs.Type == PresenceType.unavailable) { removeid(prs.From.Resource); } man neveshtam age kasi left dad boro class removeid va ID ro delet kon hala class removeid - Code:
-
private void removeid(string prs.From.Resource) { int l = listBox1.Items.Count; for (int i = 0; i < l; i++) { if (prs.From.Resource == listBox1.Items[i].ToString()) { listBox1.Items.RemoveAt(i); // age id ghablan tu list bude pakesh mikonim break; } } } in class ro be projat ezafe k.o.n.i dg hale ,Age hal nashod bego proje benvisam vasat |
| | | esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Mon Jul 15, 2013 6:40 pm | |
| private void removeid(string prs.From.Resource) .From.Resource in gesmat tashkil nemishe!!!!!!!! vaghti . mizanam neme bename From bala nemiad!!!! |
| | | marmulak_7 new member
Medals : Posts : 34 Emtiaz : 39835 Thanked : 20 Join date : 2013-06-20 Asl : MoHaMmAd / Fars =>> NourAbad
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Mon Jul 15, 2013 9:48 pm | |
|
- esi.0181 wrote:
- private void removeid(string prs.From.Resource)
.From.Resource in gesmat tashkil nemishe!!!!!!!! vaghti . mizanam neme bename From bala nemiad!!!! ba ejaze dash mojtaba void removeid : to inja string tarif kardi pas ye string nemitone in baseh = string prs.From.Resource codet bayad in tori bashe - Code:
-
private void removeid(string m) { int l = listBox1.Items.Count; for (int i = 0; i < l; i++) { if (m == listBox1.Items[i].ToString()) { listBox1.Items.RemoveAt(i); // age id ghablan tu list bude pakesh mikonim break; } } }
hala to void xmlread khodet : kari be hame cod hat nadaram faqat ye chizi to cod hat didam goftam behesh eshare konam - Code:
-
for (int i = 0; i < b; i++) { if (str2.ToString() == listBox2.Items[i].ToString()) { listBox2.Items.RemoveAt(i); } } listBox2.Items.Add(str2.ToString());
to inja to codet aval umadi ID ro remove kardi bad dobare birun halqe umadi id ro add kardi khob injaye codet irad dare dg rafesh kon. moafaq bashi ya haq |
| | | esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Tue Jul 16, 2013 4:42 am | |
| - Code:
-
private void removeid(string m) { int l = listBox2.Items.Count; for (int i = 0; i < l; i++) { if (m == listBox2.Items[i].ToString()) { listBox2.Items.RemoveAt(i); break; } } } ino hal karde bodam bejae m u prse gozashte bodam - Code:
-
for (int i = 0; i < b; i++) { if (str2.ToString() == listBox2.Items[i].ToString()) { listBox2.Items.RemoveAt(i); } } listBox2.Items.Add(str2.ToString()); } label12.Text = listBox2.Items.Count.ToString(); } ino ta dast kari mikonam dige list ro neshon nemide!!!! alanm moshkelam raf nashode yani tarf vaghti left mide bazm id hast vaghti dobare join mide intori mishe!! |
| | | esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Tue Jul 16, 2013 6:19 pm | |
| |
| | | marmulak_7 new member
Medals : Posts : 34 Emtiaz : 39835 Thanked : 20 Join date : 2013-06-20 Asl : MoHaMmAd / Fars =>> NourAbad
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Tue Jul 16, 2013 9:53 pm | |
| negah ma to Presence ye "available" darim ba ye "unavailable".
to "available" vaqti id join mide addesh kon to listbox.albate qable add az listbox hazfesh kon bad dobare addesh kon chon in tori dg id tekrari nemiyad to listbox.
hala vase "unavailable" : hala vaqti id left mide mige kole items haye listbox ro tey kon bebin chenin id toshon hast age hast az list hazfesh kon - Code:
-
if (pres.Type == PresenceType.unavailable) { try { for (int i = 0; i < listBox1.Items.Count; i++) { if (listBox1.Items[i].ToString().IndexOf(pres.From.Resource) != -1) { listBox1.Items.Remove(listBox1.Items[i]); } } } catch { } }
hala vase errorei ke nejon dadi az ye try o catch use kon dg error nemide
ya haq
************************************ |
| | | esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Wed Jul 17, 2013 2:42 am | |
| - Code:
-
private void Xml1(object sender, string xml) { if (base.InvokeRequired) { base.BeginInvoke(new XmlHandler(this.Xml1), new object[] { RuntimeHelpers.GetObjectValue(sender), xml }); } else { xml = Strings.Replace(xml, "\"", "'", 1, -1, CompareMethod.Text); if (Strings.InStr(xml, "type='unavailable'", CompareMethod.Text) <= 0) { if (((Strings.InStr(xml, "affiliation='owner'", CompareMethod.Binary) != 0)) | ((Strings.InStr(xml, "affiliation='admin'", CompareMethod.Binary) != 0)) | ((Strings.InStr(xml, "affiliation='member'", CompareMethod.Binary) != 0)) | ((Strings.InStr(xml, "affiliation='none'", CompareMethod.Binary) != 0)) && ((Strings.InStr(xml, "type='unavailable'", CompareMethod.Binary) & Strings.InStr(xml, "role='none'", CompareMethod.Binary)) == 0)) { try { string str2 = xml.Substring(xml.IndexOf("jid='") + 5); str2 = str2.Substring(0, str2.IndexOf("@") - 0); int b = listBox2.Items.Count; for (int i = 0; i < b; i++) { if (str2.ToString() == listBox2.Items[i].ToString()) { listBox2.Items.RemoveAt(i); } } listBox2.Items.Add(str2.ToString()); label12.Text = listBox2.Items.Count.ToString(); } catch { } } ezafe kardam dige error nadad mc vali hanozam ke hanoze vaghti id left mide az list pak nemishe!!!! - Code:
-
private void wlc(object sender, agsXMPP.protocol.client.Presence Pres) {
if (InvokeRequired) { base.BeginInvoke(new agsXMPP.protocol.client.PresenceHandler(wlc), new object[] { sender, Pres }); return; } else { if (Pres.Type == PresenceType.unavailable) { try { for (int i = 0; i < listBox2.Items.Count; i++) { if (listBox2.Items[i].ToString().IndexOf(Pres.From.Resource) != -1) { listBox2.Items.Remove(listBox2.Items[i]); } } } catch { } } } } } dige kojaii in eshtebahe vayyyy |
| | | marmulak_7 new member
Medals : Posts : 34 Emtiaz : 39835 Thanked : 20 Join date : 2013-06-20 Asl : MoHaMmAd / Fars =>> NourAbad
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Wed Jul 17, 2013 5:59 am | |
| Project bezar ya m0jtaba ya man ya d0stan dg edit k0nim barat. Nemikhad project kameleto bezari ke kaci s0e estefade k0ne. Faqat hamin qesmato bezar |
| | | esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Wed Jul 17, 2013 8:04 am | |
| to pv nim baraton send mikonam ya forum |
| | | esi.0181 Firebuzz Member
Medals : Posts : 1065 Emtiaz : 42026 Thanked : 102 Join date : 2013-06-11 Age : 32 Job/Hobbies : danesh jo Asl : shahin-anzali-18 sale 1373/6/6 My Mood :
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) Wed Jul 17, 2013 7:13 pm | |
| dash to pv ham nim ha forum dadm - 0 wrote:
- in coda ha dorost bod 1 eshtebah kojik az man bod ke hal nemishod mc
post solved & lock |
| | | Sponsored content
| Subject: Re: plzzzzzzzzzzz bia to (namayesh user room) | |
| |
| | | | plzzzzzzzzzzz bia to (namayesh user room) | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |