Latest topics | » سلام علیک و رحمه الله...چه خبرا بچه ها؟ by DARK Sat Apr 30, 2022 11:59 pm
» oon ghadima!!! by Inj3ctor Wed Aug 18, 2021 4:26 am
» need a source code of any server for university project help me for it by xerockss Sun Jun 09, 2019 10:28 pm
» New : Run Python based bots like Aurora, Blacksmith, VBOt in your Android Mobile by ltc_mkt Wed Feb 27, 2019 5:09 pm
» دوره ی اضافه کردن سکه به برنامه هایی همچون فالوور بگیر و ممبرگیر و ... (خریداری شده) by mr.pitza Mon Oct 01, 2018 8:10 pm
» hach any id f.a.c.e.b.o.o.k 2019 by christian777 Sat Apr 21, 2018 4:41 am
» هديه للجميع 500 نك فلوود قديم شغالين 500 old ids flood free by christian777 Mon Apr 09, 2018 6:37 pm
» Freebuzz & Nimbuzz yadet bekheyr ! by DARK Thu Apr 05, 2018 1:54 pm
» new flood 2018 فلود جديد يعمل على جميع انواع نكات لفلود القديمة والجديدة by christian777 Fri Oct 20, 2017 6:20 am
» STEALTH PROJECT WEB FLOOD NIMBUZZ by djsaim Sat Sep 30, 2017 8:51 pm
» XIO server & online bots by ltc_mkt Mon May 29, 2017 8:12 pm
» فریباز دوباره برمیگردد by Mer+sad Thu Apr 06, 2017 3:34 am
» Xio Server Updated Elite Version by lekshmi321 Wed Mar 29, 2017 11:35 am
» Join MulTi id nimbuzz 2016 by sami-alarifi Mon Dec 05, 2016 3:09 am
» انجمن تیم امنیتی آنانیموس سکوریتی by shirsefat Thu Nov 17, 2016 6:12 pm
» Xio Server Latest Version by shirsefat Thu Nov 17, 2016 6:04 pm
» amooZesh kamele hack dar yek file pdf by shirsefat Fri Nov 11, 2016 2:23 am
» CRACKER IDS 2017 WORKING by abdo-osmana Sat Oct 29, 2016 1:43 am
» NEW ... ROOM ANTI CAPCHA 2017 DESTROY ROOMS V 4 BY AL-JOOOCKER@N.C by abdo-osmana Sat Oct 29, 2016 1:41 am
» NEW FLOOD ROOM AND PV 2017 ANTI CAPTCHA by abdo-osmana Sat Oct 29, 2016 1:30 am
» add new server Work 24 hours --- تحديث حسابات السيرفرات قم بــاضافه السيرفرات الجديده تعمل 24 ساعه by abdo-osmana Sat Oct 29, 2016 1:28 am
» new auto id maker by sandy_rawat Tue Oct 04, 2016 4:24 pm
» wonderful list id arbic for crucker اكبر ليستة ايملات تخمين جديدة by christian777 Sun Sep 25, 2016 12:59 am
» New Abdo Cobra Auto Id maker Source code working by Kash007 Sat Sep 24, 2016 10:26 pm
» 2000 id flood free by christian777 Sun Sep 18, 2016 3:54 am
» new ip address changer with crack@pishaash@n.c by cebecis Sat Sep 10, 2016 3:19 am
» تجسس على الخصوصية by majed5160 Thu Aug 25, 2016 3:26 am
» سلام دوستان من by majed5160 Wed Aug 24, 2016 3:10 am
» Trusted online server bots by bom Fri Aug 19, 2016 7:59 pm
» فلود جديد ناررررر by christian777 Sat Aug 13, 2016 10:12 am
» Receive Captcha in PVT C# and VB.NET source code available by wathk Thu Jul 28, 2016 3:01 am
» Attention nimbuzz users ! by -namakul- Tue Jul 26, 2016 8:27 pm
» Salam man az karbqraye qadimiton hastam lotfan komakam konid :( by SALIJON* Sat Jul 23, 2016 6:34 pm
» Nimbuzz stylish ids for sale by msb Wed Jul 20, 2016 12:33 pm
» Nuke Mobileserver V9 by launchar Tue Jul 19, 2016 1:51 pm
» help me please c sharp masters by launchar Tue Jul 19, 2016 1:39 pm
» salam be dostane qadimi hamgi join bedin bebinm kojain :P by ghaz_ghaz90 Sat Jul 09, 2016 12:22 am
» Xio Server Update by ghaz_ghaz90 Fri Jul 08, 2016 11:15 pm
» Xio Auto Capcha ID Maker ( FASTEST IDMAKER EVER) by karthik~ajay Thu Jul 07, 2016 10:59 pm
» All web defacers and SQLi hach by mitu143 Thu Jun 16, 2016 1:24 pm
» special daface pages FreeBuzz-Team by mitu143 Thu Jun 16, 2016 12:59 pm
» Meet A Stranger Room Advertizer BoT by lekshmi321 Sun Jun 05, 2016 5:14 pm
» NEW STEALTH PROJECT WEB FLOOD NIMBUZZ by gentarbumi Sun Apr 24, 2016 10:08 pm
» Moving the write using HTML تحريك الكتابة باستخدام جافا سكرييت by faris.jra7 Sat Apr 23, 2016 11:40 pm
» فلود غرف النيمباز by saeid Sat Apr 16, 2016 12:43 am
» How to Show Hidden Files and Folders In Windows 7 by i_am~the_best Fri Apr 15, 2016 8:45 am
» How to Earn Money Online From PTC Sites by i_am~the_best Fri Apr 15, 2016 8:43 am
» Create Id and Chat by star.iraq Sun Apr 10, 2016 2:51 pm
» Addlist DC + hanger + remote v2.0 by oye Tue Apr 05, 2016 9:18 am
» XIO ADD FLOOD V.2 by lekshmi321 Fri Mar 25, 2016 8:37 pm
|
| | tutorial to create a mini room searcher | |
|
+5rajasaim prince.killer 6590 2-nimbuzz-2 admin 9 posters | Author | Message |
---|
admin Administrator
Posts : 651 Points : 10562 Thanked : 29 Join date : 2012-04-18 ASL : AFRA 19
| Subject: tutorial to create a mini room searcher Thu Aug 01, 2013 6:28 pm | |
| - Quote :
- in amuzesh ro be darkhaste yeki ke nemud mara migozarim.
azunjai ke hame az library alex gnak neidunam chi chi agsxmpp use mikonan baz amuzeshemun ba hamin dlle azunjai ke hichki adat nadare az methodaye khode in lib use kone va hame az readxml karashuno pish mibaran bazam amuzesh az hamun readxmle
- Quote :
- first add below controls to your form
// control name // 3 textbox private System.Windows.Forms.TextBox txtid; // a textbox , rename to txtid private System.Windows.Forms.TextBox txtpsw; // a textbox, rename to txtpsw private System.Windows.Forms.TextBox txtroom; // a textbox, rename to txtroom // 5 button private System.Windows.Forms.Button btnlogout;// a Button, rename to btnlogout private System.Windows.Forms.Button btnstart;//////////////////////////////////// private System.Windows.Forms.Button btnstop;///////////////////////////////// private System.Windows.Forms.Button btnclear;/////////////////////////////////////// private System.Windows.Forms.Button btnlogin;////////////////////////// // 1 listbox private System.Windows.Forms.ListBox listroom; //ListBox , rename to listroom // 1 timer private System.Windows.Forms.Timer timer1;//a timer // 1 label private System.Windows.Forms.Label lblinfo;// a label,rename to lblinfo - Quote :
- from properties change interval of timer1 to 2000(2 sec)
this.timer1.Interval = 2000; - Quote :
- in a free place of form1 class past this code
[color=#ff3333] - Code:
-
agsXMPP.XmppClientConnection x; int i = 0; with doublclick on btnlogin past below codes into onclick events of that - Code:
-
x = new agsXMPP.XmppClientConnection { Server = "nimbuzz.com", ConnectServer = "o.nimbuzz.com" }; x.Open(txtid.Text, txtpsw.Text, "www.freebuzz.ir"); x.OnLogin += new agsXMPP.ObjectHandler(OnLogin); x.OnAuthError += new agsXMPP.XmppElementHandler(OnAuthError); x.OnClose += new agsXMPP.ObjectHandler(OnClose); x.OnReadXml += new agsXMPP.XmlHandler(OnReadXml); - Quote :
- repeat for btnlogout and past below codes
- Code:
-
if (x.XmppConnectionState != agsXMPP.XmppConnectionState.Disconnected) x.Close(); - Quote :
- repeat doublclick on btnstart and past this codes
- Code:
-
if (btnstart.Text == "pause") { btnstart.Text = "start"; timer1.Stop(); }else{ btnstart.Text = "pause"; timer1.Start(); } - Quote :
- repeat for btnstop and past
- Code:
-
btnstart.Text = "start"; timer1.Stop(); i = 0; - Quote :
- and for btnclear
- Code:
-
listroom.Items.Clear(); - Quote :
- now doublclick on listroom
- Code:
-
try { System.Windows.Forms.Clipboard.SetText(listroom.SelectedItem.ToString().Substring(0, listroom.SelectedItem.ToString().IndexOf("@") - 0));//copy room name to clipboard } catch { } - Quote :
- for timer1 too
- Code:
-
try {
x.Send("<iq type='set' to='conference.nimbuzz.com'><query xmlns='jabber:iq:search'><set xmlns='http://jabber.org/protocol/rsm'><index>" + i + "</index><max>1</max></set><x type='get' xmlns='jabber:x:data'><field var='name'><value>" + txtroom.Text + "</value></field></x></query></iq>"); // index "i" max 1 with any send grab one room , u can change 1 to 10 and grabb 10 room on any recive and use of next and prive like nimbuzzsymbian in this case dont use of timer i += 1; lblinfo.Text = "Searching..."; } catch { } - Quote :
- for handel onlogin onreadxml ... we write thats codes into a free place of form1 class
- Code:
-
private void OnClose(object sender) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.ObjectHandler(OnClose), new object[] { sender }); return; } lblinfo.ForeColor = Color.Red; lblinfo.Text = "Disconnected"; } private void OnLogin(object sender) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.ObjectHandler(OnLogin), new object[] { sender }); return; } lblinfo.ForeColor = Color.Green; lblinfo.Text = "connected";
} private void OnAuthError(object sender, agsXMPP.Xml.Dom.Element e) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.XmppElementHandler(OnAuthError), new object[] { sender, e }); return; } lblinfo.ForeColor = Color.Red; lblinfo.Text = "Wrong Id or Password"; } private void OnReadXml(object sender, string xml) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.XmlHandler(OnReadXml), new object[] { sender, xml }); } else { string r; string t; xml = xml.Replace("\"", "'"); if (xml.IndexOf("from='conference.nimbuzz.com'") != -1) {
if (xml.IndexOf("<field var='jid' type='jid-single'><value>") != -1) {
r = xml.Substring(xml.IndexOf("<field var='jid' type='jid-single'><value>") + 42); r = r.Substring(0, r.IndexOf("</value>") - 0);//jid of conference
if (xml.IndexOf("<field var='num_users' type='text-single'><value>") != -1) {
t = xml.Substring(xml.IndexOf("<field var='num_users' type='text-single'><value>") + 49); t = t.Substring(0, t.IndexOf("</value>") - 0); // number of users listroom.Items.Add(r + " 25/" + t); } } else { lblinfo.Text="Dosetn Exist any room with this keyword" ; btnstop_Click(null, null);
} } } } - Quote :
- all our codes
- Code:
-
using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.Text; using System.Windows.Forms;
namespace WindowsFormsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } agsXMPP.XmppClientConnection x; int i = 0; private void OnClose(object sender) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.ObjectHandler(OnClose), new object[] { sender }); return; } lblinfo.ForeColor = Color.Red; lblinfo.Text = "Disconnected"; } private void OnLogin(object sender) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.ObjectHandler(OnLogin), new object[] { sender }); return; } lblinfo.ForeColor = Color.Green; lblinfo.Text = "connected";
} private void OnAuthError(object sender, agsXMPP.Xml.Dom.Element e) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.XmppElementHandler(OnAuthError), new object[] { sender, e }); return; } lblinfo.ForeColor = Color.Red; lblinfo.Text = "Wrong Id or Password"; } private void OnReadXml(object sender, string xml) { if (base.InvokeRequired) { base.BeginInvoke(new agsXMPP.XmlHandler(OnReadXml), new object[] { sender, xml }); } else { string r; string t; xml = xml.Replace("\"", "'"); if (xml.IndexOf("from='conference.nimbuzz.com'") != -1) {
if (xml.IndexOf("<field var='jid' type='jid-single'><value>") != -1) {
r = xml.Substring(xml.IndexOf("<field var='jid' type='jid-single'><value>") + 42); r = r.Substring(0, r.IndexOf("</value>") - 0);//jid of conference
if (xml.IndexOf("<field var='num_users' type='text-single'><value>") != -1) {
t = xml.Substring(xml.IndexOf("<field var='num_users' type='text-single'><value>") + 49); t = t.Substring(0, t.IndexOf("</value>") - 0); // number of users listroom.Items.Add(r + " 25/" + t); } } else { lblinfo.Text="Dosetn Exist any room with this keyword" ; btnstop_Click(null, null);
} } } }
private void timer1_Tick(object sender, EventArgs e) { try {
x.Send("<iq type='set' to='conference.nimbuzz.com'><query xmlns='jabber:iq:search'><set xmlns='http://jabber.org/protocol/rsm'><index>" + i + "</index><max>1</max></set><x type='get' xmlns='jabber:x:data'><field var='name'><value>" + txtroom.Text + "</value></field></x></query></iq>"); i += 1; lblinfo.Text = "Searching..."; } catch { } }
private void listroom_SelectedIndexChanged(object sender, EventArgs e) { try { System.Windows.Forms.Clipboard.SetText(listroom.SelectedItem.ToString().Substring(0, listroom.SelectedItem.ToString().IndexOf("@") - 0));//copy room name to clipboard } catch { } }
private void btnlogin_Click(object sender, EventArgs e) { x = new agsXMPP.XmppClientConnection { Server = "nimbuzz.com", ConnectServer = "o.nimbuzz.com" }; x.Open(txtid.Text, txtpsw.Text, "www.freebuzz.ir"); x.OnLogin += new agsXMPP.ObjectHandler(OnLogin); x.OnAuthError += new agsXMPP.XmppElementHandler(OnAuthError); x.OnClose += new agsXMPP.ObjectHandler(OnClose); x.OnReadXml += new agsXMPP.XmlHandler(OnReadXml); }
private void btnlogout_Click(object sender, EventArgs e) { if (x.XmppConnectionState != agsXMPP.XmppConnectionState.Disconnected) x.Close(); }
private void btnstart_Click(object sender, EventArgs e) { if (btnstart.Text == "pause") { btnstart.Text = "start"; timer1.Stop(); }else{ btnstart.Text = "pause"; timer1.Start(); } }
private void btnstop_Click(object sender, EventArgs e) { btnstart.Text = "start"; timer1.Stop(); i = 0; }
private void btnclear_Click(object sender, EventArgs e) { listroom.Items.Clear(); }
} }
- Quote :
- this is our soft result
| |
| | | 2-nimbuzz-2 T-SBD
Posts : 16 Points : 3 Thanked : 0 Join date : 2013-07-29
| Subject: Re: tutorial to create a mini room searcher Thu Aug 01, 2013 6:30 pm | |
| | |
| | | 6590 T-SBD
Posts : 267 Points : -858 Thanked : 7 Join date : 2012-08-01 ASL : RamTin 18 Fars/Kazeroun
| Subject: Re: tutorial to create a mini room searcher Thu Aug 01, 2013 9:35 pm | |
| salam reza NICE , ama ba IQ age adam begire ke asontare taze mishod az using System.Xml; e khode c# ham use kard , hamashon asontar az in rahian ke dadi ama nabayad amozesh midadi ! be 2 dalil 1. inke shoma ke shoro kardi be amozesh doroste hamechio free gozashti ama age dide bashi tu hichja nemian hamechio kaamel tozih bedan , va khode barname nevis bayad bere donbale in kara 2. amade khor ziyad hast alan taghriban 30nafar tu nim nistan ke baladan room searcher besazan ke ba in amozeshet dige hame yad migiran :s ! az farda room searcher Bad ,zed,wild ... buzz va ... miad biron be har hal mc | |
| | | prince.killer T-SBD
Posts : 18 Points : 1163 Thanked : 10 Join date : 2013-01-03 ASL : 27 f pakitan Nimbuzz Id : ayush
| Subject: Re: tutorial to create a mini room searcher Fri Aug 02, 2013 12:54 pm | |
| bro getiing your password wrong :-D | |
| | | The author of this message was banned from the forum - See the message | rajasaim T-SBD
Posts : 180 Points : 85 Thanked : 1 Join date : 2013-06-01 ASL : pakistan Nimbuzz Id : 07,
| Subject: Re: tutorial to create a mini room searcher Sat Aug 03, 2013 12:35 pm | |
| | |
| | | .syntax_error. T-SBD
Posts : 198 Points : 1011 Thanked : 1 Join date : 2012-09-17
| Subject: Re: tutorial to create a mini room searcher Sat Aug 03, 2013 10:51 pm | |
| | |
| | | The author of this message was banned from the forum - See the message | rajasaim T-SBD
Posts : 180 Points : 85 Thanked : 1 Join date : 2013-06-01 ASL : pakistan Nimbuzz Id : 07,
| Subject: Re: tutorial to create a mini room searcher Sun Aug 04, 2013 12:20 pm | |
| | |
| | | ghaz_ghaz90 FreeBuzz Team
Posts : 934 Points : 1823 Thanked : 5 Join date : 2012-04-28 ASL : arash
| Subject: Re: tutorial to create a mini room searcher Sun Aug 04, 2013 1:25 pm | |
| nga k.o.n in kharejiya hamechi ro moft mikhan ajab , tnx reza jan aliy bod | |
| | | The author of this message was banned from the forum - See the message | rajasaim T-SBD
Posts : 180 Points : 85 Thanked : 1 Join date : 2013-06-01 ASL : pakistan Nimbuzz Id : 07,
| | | | The author of this message was banned from the forum - See the message | shayan123456 T-SBD
Posts : 34 Points : 970 Thanked : 0 Join date : 2012-08-08
| Subject: Re: tutorial to create a mini room searcher Mon Aug 05, 2013 3:54 am | |
| az koja bayad download konam ! lazem daram room searchero | |
| | | The author of this message was banned from the forum - See the message | rajasaim T-SBD
Posts : 180 Points : 85 Thanked : 1 Join date : 2013-06-01 ASL : pakistan Nimbuzz Id : 07,
| Subject: Re: tutorial to create a mini room searcher Mon Aug 05, 2013 1:51 pm | |
| | |
| | | ghaz_ghaz90 FreeBuzz Team
Posts : 934 Points : 1823 Thanked : 5 Join date : 2012-04-28 ASL : arash
| Subject: Re: tutorial to create a mini room searcher Mon Aug 05, 2013 2:38 pm | |
| | |
| | | BigWizard T-SBD
Posts : 119 Points : 6307 Thanked : 40 Join date : 2013-02-10 ASL : SaDeGh Nimbuzz Id : TasBeaT@nimbuzz.com
| Subject: Re: tutorial to create a mini room searcher Tue Aug 06, 2013 12:10 pm | |
| - shayan123456 wrote:
az koja bayad download konam ! lazem daram room searchero bia dash inam linke Download sakht bud benvisi man vasat ehem kardam | |
| | | Sponsored content
| Subject: Re: tutorial to create a mini room searcher | |
| |
| | | | tutorial to create a mini room searcher | |
|
Similar topics | |
|
| Permissions in this forum: | You cannot reply to topics in this forum
| |
| |
| |