Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator

Join the forum, it's quick and easy

Iranian Programming Support

Welcome To Csharp TeaM Forum.
For Use All Forum Posts And See Links
Please Register
Thanks
www.Programming.MrForum.net
Csharp TeaM Administrator

Iranian Programming Support

Would you like to react to this message? Create an account in a few clicks or log in to continue.
Iranian Programming Support

Csharp TeaM

Top posting users this month

No user

Latest topics

» html to c# source code convert help
by launchar Tue Dec 06, 2016 7:22 am

» User input
by nesraz Sun Dec 20, 2015 8:39 am

» darkhaste source mediaplayer baraye b4a
by parham01 Tue Dec 15, 2015 10:31 am

» Tolide esme file gheire tekrari
by sajjad3011 Fri Jul 31, 2015 5:00 pm

» 368 library basic 4 android
by alimusavi71 Fri Jul 17, 2015 6:45 pm

» نرم افزار دریافت لایسنس آنتی ویروس نود 32
by programmer-x Wed Jul 15, 2015 3:19 pm

» help for java applications
by launchar Wed Jul 01, 2015 12:25 am

» Nimbuzz id Maker auto Captcha & Auto add FlooD & id BloCker
by briant Sat Jun 20, 2015 12:46 pm

» best mobile server v.1.0.0 persian edition
by programmer-x Fri Jun 19, 2015 12:41 am

» plz help me i neez xml code for spy bot
by alone Sun Mar 22, 2015 9:30 pm

» Dialogs Lib {Basic 4 Android}
by abdo0o Mon Mar 09, 2015 4:02 pm

» Room + PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:06 am

» PV Flooder Nimbuzz 2015
by sholeh Sat Feb 21, 2015 8:03 am

» سی شارپ سورس
by tr0 Wed Dec 24, 2014 12:15 pm

» help plz auto maker ids
by launchar Wed Dec 17, 2014 5:57 pm

» Join Multi Id To Room + Captcha [ Badbuzz Team ] In Seri Ba AgsXMPP !!
by abdo0o Fri Dec 12, 2014 4:47 am

» Amoozesh Ersale Sms Dar B4a
by abdo0o Fri Dec 12, 2014 4:43 am

» help me pls mehran brother
by launchar Wed Dec 03, 2014 6:36 pm

» plz help code Refresh captcha join Room
by ayad53 Wed Dec 03, 2014 12:24 pm

» please Help Me For AutoCaptchaa kardan IdMaker
by abdo0o Tue Dec 02, 2014 12:12 pm

» source C# bot addlist sender by ==> Alone_051@n.c
by walahazrat Mon Dec 01, 2014 2:34 am

» s2a sender tro help me pls
by walahazrat Mon Dec 01, 2014 2:28 am

» Help For {Data id } C# asixmpp.dll
by abdo0o Sun Nov 30, 2014 11:17 pm

» Help C# {Join & Left With Remoter}
by $iahi Tue Nov 25, 2014 10:31 am

» Source Nimbuzz User Searcher By Mehr,an [ Badbuzz TeaM ]
by waseemmalik Wed Nov 19, 2014 11:35 am


2 posters

    Badbuzz MF Server Anti Flood 1.0

    Mehran Mahmoudi
    Mehran Mahmoudi
    Administrator
    Administrator


    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 26
    Location : Iran , Qazvin , Qazvin

    Solved Badbuzz MF Server Anti Flood 1.0

    Post by Mehran Mahmoudi Thu Jun 26, 2014 7:44 am

    Hi
    Ye Servere Anti Flood Ke Mitunid Anti Flood Be Roometun Join Bedin Bahash.  CRAZY 
    Didam Baz Dare Flooder Miad Ba Inke Speedeshun Lak Poshte  lol!  Vali Useraye Room Aziat Mishan Dar Zemn Man Pesare Khubiam Be Fekre Useram  Ghermez 
    ID Ro Online Konid Pvsh Begid Help, Help Mide Kheyliam Khoob

    Baraye Join Dadane Anti Flood > af#id#pw#room
    Ex: Af#mehr,an#123456#badbuzz

    Screen:
    Badbuzz MF Server Anti Flood 1.0 Anti_Flood_Server

    Designesh Kare Yeki Az Doostaye Khubame.

    Download:
    http://s5.picofile.com/file/8127778042/Badbuzz_MF_Server_Anti_Flood_1_0.rar.html

    Scan Ham Nemizaram  >:o  Ba In Soft Be Harki Zarari Resid Age Sabet Kard Khodam Jobran Mikonam, Ok??  PARDON 

    Created By Mehr,an@nimbuzz.com  DANCE 
    Badbuzz Team  BOSS 
    zaira
    zaira
    Junior Member
    Junior Member


    Posts : 70
    Points : 106
    Thanks : 0
    Join date : 2014-06-16

    Solved Re: Badbuzz MF Server Anti Flood 1.0

    Post by zaira Thu Jul 03, 2014 3:39 pm

    salam meran YES 


    please give source of server full bot TIRED 
    Mehran Mahmoudi
    Mehran Mahmoudi
    Administrator
    Administrator


    Posts : 485
    Points : 780
    Thanks : 194
    Join date : 2013-09-06
    Age : 26
    Location : Iran , Qazvin , Qazvin

    Solved Re: Badbuzz MF Server Anti Flood 1.0

    Post by Mehran Mahmoudi Tue Jul 08, 2014 4:35 pm

    Hi Bro
    Its my OLD server full bot ! it has many bugs and you should fix them before using this !!
    Code:
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    using agsXMPP;
    using agsXMPP.Xml.Dom;
    using agsXMPP.protocol.client;
    using System.Net.NetworkInformation;
    using Microsoft.VisualBasic;
    using agsXMPP.protocol.x.muc;
    using System.Windows.Forms;
    using System.Timers;
    namespace BadBuZz_MF_Private_Bot_V_1
    {
        class ServerFullBot
        {
            XmppClientConnection x;
            XmppClientConnection y;
            MucManager mucManager;
            ListBox lstUsers;
            string strUser, strPw, strRoom, strMaster;
            bool blWlc = false, blAutoMem = false, blAutoKick = false, blAutoBan = false;
            System.Timers.Timer pingTimer;
            System.Timers.Timer jokerTImer;
            bool isReconnect;
            TextBox txtJokes;
            public void InsertInformation(string id, string pw, string room, string master, XmppClientConnection xmpp)
            {
                try
                {
                    y = null;
                    y=xmpp;
                    x = null;
                    x = new XmppClientConnection("nimbuzz.com", 5222);
                    x.ConnectServer = "o.nimbuzz.com";
                    x.Username = id;
                    x.Password = pw;
                    Random rnd = new Random();
                    x.Resource = "Badbuzz_MF_Private_Bot_By_Mehr,an@n.c_Server_Full_Bot_" + rnd.Next().ToString();
                    x.KeepAlive = true;
                    x.KeepAliveInterval = 100000;
                    x.Priority = 10;
                    x.Open();
                    x.OnLogin += new ObjectHandler(cn_OnLogin);
                    x.OnAuthError += new XmppElementHandler(x_OnAuthError);
                    x.OnClose += new ObjectHandler(x_OnClose);
                    x.OnMessage += new MessageHandler(x_OnMessage);
                    x.OnPresence += new PresenceHandler(x_OnPresence);
                    strUser = id;
                    strPw = pw;
                    strRoom = room;
                    strMaster = master;
                }
                catch { }
            }
            private void Reconnect(string id, string pw, string room, string master)
            {
                try
                {
                    x = null;
                    x = new XmppClientConnection("nimbuzz.com", 5222);
                    x.ConnectServer = "o.nimbuzz.com";
                    x.Username = id;
                    x.Password = pw;
                    Random rnd = new Random();
                    x.Resource = "Badbuzz_MF_Private_Bot_By_Mehr,an@n.c_Server_Full_Bot_" + rnd.Next().ToString();
                    x.KeepAlive = true;
                    x.KeepAliveInterval = 100000;
                    x.Priority = 10;
                    x.Open();
                    x.OnLogin += new ObjectHandler(cn_OnLogin2);
                    x.OnAuthError += new XmppElementHandler(x_OnAuthError2);
                    x.OnClose += new ObjectHandler(x_OnClose);
                    x.OnMessage += new MessageHandler(x_OnMessage);
                    x.OnPresence += new PresenceHandler(x_OnPresence);
                    strUser = id;
                    strPw = pw;
                    strRoom = room;
                    strMaster = master;
                }
                catch { }
            }
            private void cn_OnLogin(object se)
            {
                try
                {
                    y.Send(new agsXMPP.protocol.client.Message(new Jid(strMaster + "@nimbuzz.com"), MessageType.chat, "Connected And Joined To Room ;) !"));
                    y = null;
                    mucManager = new MucManager(x);
                    mucManager.JoinRoom(new Jid(strRoom + "@conference.nimbuzz.com"), x.Username);
                    x.Status = "Badbuzz MF Private Bot By Mehr,an@n.c\nFull Bot Server :)";
                    lstUsers = new ListBox();
                    lstUsers.Items.Clear();
                    pingTimer = new System.Timers.Timer();
                    pingTimer.Interval = 300000;
                    pingTimer.Enabled = true;
                    pingTimer.Elapsed += pingTimer_Tick;
                    jokerTImer = new System.Timers.Timer();
                    isReconnect = false;
                    txtJokes = new TextBox();
                    txtJokes.Text = new Form1().txtJoke.Text;
                }
                catch { }
            }
            private void cn_OnLogin2(object se)
            {
                try
                {
                    mucManager = new MucManager(x);
                    mucManager.JoinRoom(new Jid(strRoom + "@conference.nimbuzz.com"), x.Username);
                    x.Status = "Badbuzz MF Private Bot By Mehr,an@n.c\nFull Bot Server :)";
                    lstUsers = new ListBox();
                    lstUsers.Items.Clear();
                    pingTimer = new System.Timers.Timer();
                    pingTimer.Interval = 300000;
                    pingTimer.Start();
                    pingTimer.Elapsed += pingTimer_Tick;
                    jokerTImer = new System.Timers.Timer();
                    isReconnect = false;
                    txtJokes = new TextBox();
                    txtJokes.Text = new Form1().txtJoke.Text;
                }
                catch { }
            }
            private void jokerTImer_Tick(object se, ElapsedEventArgs da)
            {
                try
                {
                    string[] Jokes = null;
                    Jokes = txtJokes.Text.Split(new char[] { '#' });
                    string Joke = null;
                    Joke = Jokes[new Random().Next(Jokes.Length)].ToString();
                    SendRoomPm(Joke);
                }
                catch { }
            }
            private void pingTimer_Tick(object se, ElapsedEventArgs da)
            {
                try
                {
                    x.Send("<iq to='nimbuzz.com' type='get' id='mehran'><ping xmlns='urn:xmpp:ping' /></iq>");
                    SendRoomPm("Badbuzz MF Private Bot :)");
                }
                catch { }
            }
            private void x_OnClose(object se)
            {
                try
                {
                    pingTimer.Stop();
                    if (isReconnect == false)
                        if (NetworkInterface.GetIsNetworkAvailable())
                            Reconnect(strUser, strPw, strRoom, strMaster);
                }
                catch { }
            }
            private void x_OnAuthError(object se, Element da)
            {
                try
                {
                    y.Send(new agsXMPP.protocol.client.Message(new Jid(strMaster + "@nimbuzz.com"), MessageType.chat, "Login Failed !"));
                    y = null;
                    x.Close();
                    x = null;
                }
                catch { }
            }
            private void x_OnAuthError2(object se, Element da)
            {
                try
                {
                    x.Close();
                    x = null;
                }
                catch { }
            }
            private void x_OnPresence(object se, Presence pres)
            {
                try
                {
                    if (pres != null)
                    {
                        if (pres.From.Server == x.Server)
                        {
                            if (pres.Type == PresenceType.subscribe)
                            {
                                Presence acc = new Presence
                                {
                                    To = new Jid(pres.From.Bare),
                                    Type = PresenceType.subscribed
                                };
                                x.Send(acc);
                                return;
                            }
                            if (pres.Type == PresenceType.subscribed)
                            {
                                Presence acc = new Presence
                                {
                                    To = new Jid(pres.From.Bare),
                                    Type = PresenceType.subscribe
                                };
                                x.Send(acc);
                                x.Send(new agsXMPP.protocol.client.Message(new Jid(pres.From.Bare), MessageType.chat, "Badbuzz MF Private Bot By Mehr,an@n.c ;)"));
                                return;
                            }
                        }
                        if (pres.From.Server.StartsWith("conference"))
                        {
                            if (pres.Type == PresenceType.available)
                            {
                                if (pres.From.Resource != x.Username.ToLower())
                                {
                                    if (blWlc == true)
                                    {
                                        if (!lstUsers.Items.Contains(pres.From.Resource))
                                            lstUsers.Items.Add(pres.From.Resource);
                                        string[] wlcs = { "wb", "wlc", "wellcome", "khosh umadi", "ta alan koja boodi jigar? :D ", "wb nafasam :* ", "khosh umadi be roome khodet golakam ", "cheragha ro khamush kon mikhaym ye karayi konim :$ ", "wb , eshgham mishi? :$ " };
                                        int rnd = new Random().Next(wlcs.Length);
                                        string wlc = null;
                                        wlc = wlcs[rnd].ToString();
                                        SendRoomPm(pres.From.Resource + " : " + wlc);
                                        return;
                                    }
                                    if (blAutoBan == true)
                                    {
                                        SendRoomPm("/ban " + pres.From.Resource);
                                        return;
                                    }
                                    if (blAutoKick == true)
                                    {
                                        SendRoomPm("/kick " + pres.From.Resource);
                                        return;
                                    }
                                    if (blAutoMem == true)
                                    {
                                        SendRoomPm("/mem " + pres.From.Resource);
                                        return;
                                    }
                                }
                            }
                            if (pres.Type == PresenceType.unavailable)
                            {
                                if (pres.From.Resource != x.Username.ToLower())
                                    if (lstUsers.Items.Contains(pres.From.Resource))
                                        lstUsers.Items.Remove(pres.From.Resource);
                                if (pres.From.Resource == x.Username.ToLower())
                                {
                                    mucManager = new MucManager(x);
                                    mucManager.JoinRoom(new Jid(pres.From.User + "@conference.nimbuzz.com"), x.Username);
                                    return;
                                }
                            }
                            if (pres.MucUser.Status.Code == StatusCode.Kicked)
                                if (pres.From.Resource == x.Username.ToLower())
                                {
                                    mucManager = new MucManager(x);
                                    mucManager.JoinRoom(new Jid(pres.From.User + "@conference.nimbuzz.com"), x.Username);
                                    return;
                                }
                        }
                    }
                }
                catch { }
            }
            private void SendRoomPm(string body)
            {
                x.Send(new agsXMPP.protocol.client.Message(new Jid(strRoom + "@conference.nimbuzz.com"), MessageType.groupchat, body));
                return;
            }
            private void x_OnMessage(object se, agsXMPP.protocol.client.Message msg)
            {
                try
                {
                    if (msg.Body != null)
                    {
                        if (msg.Type == MessageType.groupchat)
                        {
                            if (msg.Body.Substring(1, 1) == "/")
                            {
                                if (msg.From.Resource == strMaster.ToLower())
                                {
                                    string cmd = msg.Body.Substring(0, 1).ToLower();
                                    string user = msg.Body.Remove(0, 2);
                                    switch (cmd)
                                    {
                                        case "m":
                                            SendRoomPm("/mem " + user);
                                            SendRoomPm(user + " : member shod.");
                                            break;
                                        case "k":
                                            SendRoomPm("/kick " + user);
                                            SendRoomPm(user + " : kick shod.");
                                            break;
                                        case "b":
                                            SendRoomPm("/ban " + user);
                                            SendRoomPm(user + " : ban shod.");
                                            break;
                                        case "v":
                                            SendRoomPm("/mute " + user);
                                            SendRoomPm(user + " : member shod.");
                                            break;
                                        case "a":
                                            SendRoomPm("linke avatare " + user + "\nhttp://avatar.nimbuzz.com/getAvatar?jid=" + user + "%40nimbuzz.com");
                                            break;
                                        case "j":
                                                bool myBool = true;
                                                for (int b = 0; b < user.Length; b++)
                                                {
                                                    if (char.IsNumber(user, b) == false)
                                                    {
                                                        myBool = false;
                                                        break;
                                                    }
                                                }
                                                if (myBool == true)
                                                {
                                                    jokerTImer.Interval = Convert.ToInt32(user) * 60000;
                                                    jokerTImer.Enabled = true;
                                                    jokerTImer.Elapsed += jokerTImer_Tick;
                                                    SendRoomPm("Joker Fa'al Shod, Fasele Har Joke " + user + " daqiqe.");
                                                }
                                                else
                                                    SendRoomPm("Error !\nJ/Fasele Joke Send Konid Be Daqiqe , Faghat Adad ! Mesal: J/2");
                                                break;                                                                                                                                                 
                                    }
                                }
                            }
                            if (msg.Body.ToLower().Substring(0, 5) == "joke/")
                            {
                                if (msg.From.Resource == strMaster.ToLower())
                                {
                                    string cmd = msg.Body.Remove(0, 5).ToLower();
                                    switch (cmd)
                                    {
                                        case "off":
                                            jokerTImer.Enabled = false;
                                            SendRoomPm("joker gheyre faal shod.");
                                            break;
                                        default:
                                            SendRoomPm("Error ! \nSend Joke/Off For Disable Joke Bot.");
                                            break;
                                    }
                                }
                            }
                            if (msg.Body.Substring(2, 1) == "/")
                            {
                                if (msg.From.Resource == strMaster.ToLower())
                                {
                                    string cmd = msg.Body.Substring(0, 2).ToLower();
                                    string user = msg.Body.Remove(0, 3);
                                    switch (cmd)
                                    {
                                        case "uv":
                                            SendRoomPm("/mute r " + user);
                                            SendRoomPm(user + " : unvisitor shod.");
                                            break;
                                        case "ub":
                                            SendRoomPm("/ban r " + user);
                                            SendRoomPm(user + " : unban shod.");
                                            break;
                                        case "wb":
                                            switch (user.ToLower())
                                            {
                                                case "ac":
                                                    blWlc = true;
                                                    SendRoomPm("wlc bot faal shod.");
                                                    break;
                                                case "de":
                                                    blWlc = false;
                                                    SendRoomPm("wlc bot gheyre faal shod.");
                                                    break;
                                                default:
                                                    SendRoomPm("error ! send wb/ac for activate and wb/de for deactivate wlc bot.");
                                                    break;
                                            }
                                            break;
                                        case "am":
                                            switch (user.ToLower())
                                            {
                                                case "ac":
                                                    blWlc = true;
                                                    SendRoomPm("auto member bot faal shod.");
                                                    break;
                                                case "de":
                                                    blWlc = false;
                                                    SendRoomPm("auto member bot gheyre faal shod.");
                                                    break;
                                                default:
                                                    SendRoomPm("error ! send am/ac for activate and am/de for deactivate auto member bot.");
                                                    break;
                                            }
                                            break;
                                        case "ak":
                                            switch (user.ToLower())
                                            {
                                                case "ac":
                                                    blWlc = true;
                                                    SendRoomPm("auto kick bot faal shod.");
                                                    break;
                                                case "de":
                                                    blWlc = false;
                                                    SendRoomPm("auto kick bot gheyre faal shod.");
                                                    break;
                                                default:
                                                    SendRoomPm("error ! send ak/ac for activate and ak/de for deactivate auto kick bot.");
                                                    break;
                                            }
                                            break;
                                        case "ab":
                                            switch (user.ToLower())
                                            {
                                                case "ac":
                                                    blWlc = true;
                                                    SendRoomPm("auto ban bot faal shod.");
                                                    break;
                                                case "de":
                                                    blWlc = false;
                                                    SendRoomPm("auto ban bot gheyre faal shod.");
                                                    break;
                                                default:
                                                    SendRoomPm("error ! send ab/ac for activate and ab/de for deactivate auto ban bot.");
                                                    break;
                                            }
                                            break;
                                    }
                                }
                            }
                            if (msg.Body.ToLower().StartsWith("love/"))
                            {
                                string[] Users = null;
                                Users = msg.Body.Remove(0, 5).Split(new char[] { '@' });
                                Random rnd = new Random();
                                string LoveCOunt = "Love between " + Users[0] + " and " + Users[1] + " is " + rnd.Next(0, 100);
                                SendRoomPm(LoveCOunt);
                                return;
                            }
                        }
                        if (msg.Type == MessageType.chat)
                        {
                            if (msg.Body.ToLower() == "bot/off")
                            {
                                if (msg.From.User == strMaster.ToLower())
                                {
                                    x.Send(new agsXMPP.protocol.client.Message(new Jid(msg.From.Bare), MessageType.chat, "*BYE*\nBadbuzz MF Private Bot By Mehr,an@N.c :)"));
                                    isReconnect = true;
                                    x.Close();
                                    x = null;
                                    return;
                                }
                            }
                            if (msg.Body.ToLower() == "help")
                            {
                                if (msg.From.User == strMaster.ToLower())
                                {
                                    x.Send(new agsXMPP.protocol.client.Message(new Jid(msg.From.Bare), MessageType.chat, "Baraye Member Kardane Kasi TOye ROom M/ID Send Konid.\nEx: m/mehr,an\n-----\nBaraye Kick Kardan , K/ID\n-----\nBaraye Ban Kardan , B/ID\n-----\nBaraye UnBan Kardan , Ub/ID\n-----\nBaraye Visitor Kardan V/ID\n-----\nBaraye UnVisitor Kardan , Uv/ID\n-----\nBaraye Fa'al Kardane Wlc Bot, Wb/Ac \n-----\nBaraye Gheyre Faal Kardane Wlc Bot , Wb/De\n-----\nBaraye Faal Kardane Auto Member Bot, AM/Ac\n-----\nBaraye Gheyre Fa'al Kardane Auto Mem Bot Am/De\n-----\nBaraye Fa'al Kardane Auto Kick , Ak/Ac\n-----\nBaraye Gheyre Fa'al Kardane Auto Kick , Ak/De\n-----\nBaraye Fa'al Kardane Auto Ban , Ab/Ac\n-----\nBaraye Gheyre Fa'al Kardane Auto Ban , Ab/De\n-----\nBaraye Gereftane Avatare User , Send A/ID\n-----Baraye Fa'al Kardane Joke Bot, J/Fasele Joke Be Daqiqe Send Konid. Mesal: J/2 \n-----Baraye Gheyre Faal Kardane Joke Bot, Joke/Off Send Konid.\nBadBuzZ MF Private Bot By Mehr,an@N.c\nFor My LOVE <3 "));
                                    return;
                                }
                            }
                        }
                    }
                }
                catch { }
            }
        }
    }
    IT HAS MANY BUGS ! DONT FORGOT IT !
    Good Luck

    Sponsored content


    Solved Re: Badbuzz MF Server Anti Flood 1.0

    Post by Sponsored content


      Current date/time is Thu May 09, 2024 6:25 pm