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

Csharp TeaM

Top posting users this month

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


    i2 Quiz Bot Source Code For C# and VB.NET

    Share
    avatar
    pokhte
    Csharp Admin
    Csharp Admin

    Posts : 139
    Points : 253
    Thanks : 82
    Join date : 2013-06-29
    Age : 22
    Location : IRaN/Fars/KaZerouN

    Open i2 Quiz Bot Source Code For C# and VB.NET

    Post by pokhte on Fri Feb 21, 2014 8:57 am

    i2 Quiz Bot Source Code For C# and VB.NET

    Password: ramtin

    [You must be registered and logged in to see this link.]







    There is no where to run. Destiny will be come...
    avatar
    Nima
    Csharp Admin
    Csharp Admin

    Posts : 210
    Points : 326
    Thanks : 56
    Join date : 2013-07-08
    Age : 24
    Location : Iran-AmoL

    Open Re: i2 Quiz Bot Source Code For C# and VB.NET

    Post by Nima on Mon Jul 07, 2014 4:24 am

    salam ramtin . thx for sorce code. mofid bod
    aqa mishe method SetUserScore yani
    void SetUserScore(string user, int score) { }
    va method GetUserScore yani
    string GetUserScore(string username) { }

    in 2ta method ro chejuri benvisam to C#?
    codesho bezar , ya rahnamai kon faqat to chi save o load konam
    bazam thx





    avatar
    pokhte
    Csharp Admin
    Csharp Admin

    Posts : 139
    Points : 253
    Thanks : 82
    Join date : 2013-06-29
    Age : 22
    Location : IRaN/Fars/KaZerouN

    Open Re: i2 Quiz Bot Source Code For C# and VB.NET

    Post by pokhte on Mon Jul 07, 2014 5:33 pm

    slm, man pcim format shode bod.
    vase hamin dige tu soal javabhaye hichkasi sherkat nemikardam.
    in source ham jozve pak shodegan bod, ama khoshbakhtane classesh tuye recoveryha bod.

    man kolan in library ro ba XML e c# neveshte bodam.
    code ina ham bedamet be dardet nemikhore

    yadame tuye versione asli SetUserScore ro karde bodam Score e tanha>

    Code:

            public static void Score(string Username, int score)
            {
                try
                {
                    if (BotsXmlDoc == null)
                        return;
                    AddUser(Username);
                    XmlNode XNode = BotsXmlDoc.SelectSingleNode("i2QuizBot");
                    XmlNodeList NList = XNode.SelectNodes("User");
                    for (int i = 0; i < NList.Count; i++)
                    {
                        if (NList[i].Attributes.GetNamedItem("Us").Value == Username.ToLower())
                        {
                            int getMyInt = int.Parse(NList[i].Attributes.GetNamedItem("Score").Value);
                            int newInt = getMyInt + score;
                            NList[i].Attributes.GetNamedItem("Score").Value = newInt.ToString();
                            break;
                        }
                    }
                }
                catch { }
            }

    Code:

            public static string GetUserScore(string Username)
            {
                string str = "this username dosen't exist";
                try
                {
                    if (BotsXmlDoc == null)
                        return "Looks like you are dosen't fill anything";
                    AddUser(Username);
                    XmlNode XNode = BotsXmlDoc.SelectSingleNode("i2QuizBot");
                    XmlNodeList NList = XNode.SelectNodes("User");
                    for (int i = 0; i < NList.Count; i++)
                    {
                        if (NList[i].Attributes.GetNamedItem("Us").Value == Username.ToLower())
                        {
                            str = NList[i].Attributes.GetNamedItem("Score").Value;
                            break;
                        }
                    }
                }
                catch { }
                return str;
            }
    versione be kar rafte tuye librarye Nimbuzz.dll behtar va kamel tar bod ke oun + kole source Nimbuzz.dll ham recovery nashod.

    Movafagh bashi
    avatar
    Nima
    Csharp Admin
    Csharp Admin

    Posts : 210
    Points : 326
    Thanks : 56
    Join date : 2013-07-08
    Age : 24
    Location : Iran-AmoL

    Open Re: i2 Quiz Bot Source Code For C# and VB.NET

    Post by Nima on Tue Jul 08, 2014 3:25 am

    dastet dard nakone ramtin . mrc .
    man yejasho nafahmidam . BotsXmlDoc chie ?
    XmlDoc new kardi ? ye soale dige aqa qeyre xml rahe dige nadare ?

    AddUser Ham nemidonam chie dada





    avatar
    pokhte
    Csharp Admin
    Csharp Admin

    Posts : 139
    Points : 253
    Thanks : 82
    Join date : 2013-06-29
    Age : 22
    Location : IRaN/Fars/KaZerouN

    Open Re: i2 Quiz Bot Source Code For C# and VB.NET

    Post by pokhte on Tue Jul 08, 2014 4:37 am

    hale tozih nadaram, in source dll >
    [You must be registered and logged in to see this link.]





    There is no where to run. Destiny will be come...

    Sponsored content

    Open Re: i2 Quiz Bot Source Code For C# and VB.NET

    Post by Sponsored content


      Current date/time is Mon Dec 11, 2017 5:53 pm