[Release] zTeam Season 8 Episode 2 (Source)

Page 55 of 216 FirstFirst ... 545474849505152535455565758596061626365105155 ... LastLast
Results 811 to 825 of 3226
  1. #811
    Account Upgraded | Title Enabled! PiECLOUD is offline
    MemberRank
    Apr 2015 Join Date
    237Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by natzugen View Post
    manually, or complete the code :)


    did you edit the itemtooltip.bmd?

    - - - Updated - - -

    to add the item code option in the zfilemanager

    add a button and a text box with readonly property in ItemEditor.cs[Design]


    and add this code in the button section in itemeditor.cs

    PHP Code:
    string category listBoxCategory.GetItemText(listBoxCategory.SelectedItem);            int value = (int)numericUpDownIndex.Value;
                
    int cat=0;


                if (
    category == "Sword")
                {
                     
    cat 0;
                }
                if (
    category == "Axes")
                {
                     
    cat 1;
                }
                else if (
    category == "Maces & Scepters")
                {
                     
    cat 2;
                }
                else if (
    category == "Spears")
                {
                     
    cat 3;
                }
                else if (
    category == "Bows & Crossbows")
                {
                     
    cat 4;
                }
                else if (
    category == "Staffs & Books")
                {
                     
    cat 5;
                }
                else if (
    category == "Shields")
                {
                     
    cat 6;
                }
                else if (
    category == "Helms")
                {
                     
    cat 7;
                }
                else if (
    category == "Armors")
                {
                     
    cat 8;
                }
                else if (
    category == "Pants")
                {
                     
    cat 9;
                }
                else if (
    category == "Gloves")
                {
                     
    cat 10;
                }
                else if (
    category == "Boots")
                {
                     
    cat 11;
                }
                else if (
    category == "Wings & Misc")
                {
                     
    cat 12;
                }
                else if (
    category == "Pets & Misc")
                {
                     
    cat 13;
                }
                else if (
    category == "Jewels & Misc")
                {
                     
    cat 14;
                }
                else if (
    category == "Magic books")
                {
                     
    cat 15;
                }


                    
    int icode value + (cat 512);
                    
    string s icode.ToString();

                
    // replace itemcode.txt for your textboxname.cs
                    
    Itemcode.Text s
    I don't really get it.. can you be more specific? where to add this? I add it at the bottom but the build is error.

  2. #812
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by PiECLOUD View Post
    I don't really get it.. can you be more specific? where to add this? I add it at the bottom but the build is error.
    Add the button in the itemeditor.cs[design] as i said then double click the button and it will take you to the button code section then just paste that, also remember to add the textbox and replace the name like the commented part says

    - - - Updated - - -

    Quote Originally Posted by natzugen View Post
    Add the button in the itemeditor.cs[design] as i said then double click the button and it will take you to the button code section then just paste that, also remember to add the textbox and replace the name like the commented part says
    I'll upload the compiled version and the source later when i have acces to my pc if you still have problems

  3. #813
    Account Upgraded | Title Enabled! PiECLOUD is offline
    MemberRank
    Apr 2015 Join Date
    237Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by natzugen View Post
    Add the button in the itemeditor.cs[design] as i said then double click the button and it will take you to the button code section then just paste that, also remember to add the textbox and replace the name like the commented part says
    how do you connect the code with these boxes???


    and what should be the textboxname.cs in here?
    Last edited by PiECLOUD; 07-07-15 at 10:10 AM.

  4. #814
    Valued Member huythao229 is offline
    MemberRank
    Jul 2012 Join Date
    Viet NamLocation
    103Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by jackbot View Post
    Ruby pedants and all of accessory items are working fine xD!!!

    !!
    @jackbot Please share move full map! Thanks you!!!

  5. #815
    Valued Member StefanoAguiar is offline
    MemberRank
    Sep 2013 Join Date
    BrasilLocation
    108Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Even putting the npc 249 x happens absolutely nothing anyone knows anything let me know if you can be my MuServer? someone could post the files running this to me please.

    MuServer: https://forum.ragezone.com/f197/ztea...video-1055676/


    Last edited by StefanoAguiar; 07-07-15 at 01:00 PM.

  6. #816
    Apprentice Stefan Sis is offline
    MemberRank
    Feb 2014 Join Date
    16Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    i have a problem and don't know how to solve it, after i open the client and press the server valhalla it disconnects me how to solve it?

  7. #817
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by PiECLOUD View Post
    how do you connect the code with these boxes???


    and what should be the textboxname.cs in here?
    so you didnt create the button nor the textbox

    just do as it says add them in the itemeditor.cs(design)
    doudble click the button and it will take you where that code goes
    then just replace the itemcode.text for the name of your textbox followed of ".text"

    example your textbox is called "whatever" then instead of itemcode.text you write whatever.text

    i dont know how else to put it, i'll just upload the compiled version later if you stil have problems saerch on MSDN forums or goole windows froms in c#


  8. #818
    Hmm.. huh? MrQU3ST10N is offline
    MemberRank
    Jun 2013 Join Date
    Trojan St. 404Location
    1,109Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by StefanoAguiar View Post
    Even putting the npc 249 x happens absolutely nothing anyone knows anything let me know if you can be my MuServer? someone could post the files running this to me please.

    MuServer: https://forum.ragezone.com/f197/ztea...video-1055676/


    there's no reset system on severithe release..
    we got brain.
    try to understand things to. don't spam.

  9. #819
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by StefanoAguiar View Post
    Even putting the npc 249 x happens absolutely nothing anyone knows anything let me know if you can be my MuServer? someone could post the files running this to me please.

    MuServer: https://forum.ragezone.com/f197/ztea...video-1055676/


    try replacing the npc id with this one -> 226

  10. #820
    Account Upgraded | Title Enabled! PiECLOUD is offline
    MemberRank
    Apr 2015 Join Date
    237Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by natzugen View Post
    so you didnt create the button nor the textbox

    just do as it says add them in the itemeditor.cs(design)
    doudble click the button and it will take you where that code goes
    then just replace the itemcode.text for the name of your textbox followed of ".text"

    example your textbox is called "whatever" then instead of itemcode.text you write whatever.text

    i dont know how else to put it, i'll just upload the compiled version later if you stil have problems saerch on MSDN forums or goole windows froms in c#

    im telling you which one is the textbox???
    Itemcode: is Label
    the middle box is a textbox but it must be blank.
    and last one is Get Item code button..
    so ??? do I have to replace Itemcode.text with Itemcode: ????
    I can't replace it with the blank one.. because there will be a numbers going to show up there once you hit the button.

  11. #821
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by PiECLOUD View Post
    im telling you which one is the textbox???
    Itemcode: is Label
    the middle box is a textbox but it must be blank.
    and last one is Get Item code button..
    so ??? do I have to replace Itemcode.text with Itemcode: ????
    I can't replace it with the blank one.. because there will be a numbers going to show up there once you hit the button.
    here is compiled https://mega.co.nz/#!EN9w3QbJ!7Qyerk...6OiQ2086nTE0Fg
    1 thing is shown text and a different thing is object name, check the object properties.



    again, read a little about windows forms first if you dont know what you are doing or else you will only get errors.

  12. #822
    Account Upgraded | Title Enabled! PiECLOUD is offline
    MemberRank
    Apr 2015 Join Date
    237Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by natzugen View Post
    here is compiled https://mega.co.nz/#!EN9w3QbJ!7Qyerk...6OiQ2086nTE0Fg
    1 thing is shown text and a different thing is object name, check the object properties.



    again, read a little about windows forms first if you dont know what you are doing or else you will only get errors.
    Simple & best explanation :
    Double click on ItemEditor.cs
    1 click the Toolbox , you see it on the right side.
    2 create a Label name it "temcode:"
    3 create a textbox , leave it blank. now scroll down you will a "Design" Tab
    and you will see "TextBox1" (which is the default name)
    4 go back to the toolbox and create a button, name it Get item code or whatever you want to name it
    5 Hold Cntrl and click the Blank textbox and the button you just created, double click again there will be a pop-up showing codes.
    copy this code

    Code:
    string category = listBoxCategory.GetItemText(listBoxCategory.SelectedItem);            int value = (int)numericUpDownIndex.Value;
                int cat=0;
    
    
                if (category == "Sword")
                {
                     cat = 0;
                }
                if (category == "Axes")
                {
                     cat = 1;
                }
                else if (category == "Maces & Scepters")
                {
                     cat = 2;
                }
                else if (category == "Spears")
                {
                     cat = 3;
                }
                else if (category == "Bows & Crossbows")
                {
                     cat = 4;
                }
                else if (category == "Staffs & Books")
                {
                     cat = 5;
                }
                else if (category == "Shields")
                {
                     cat = 6;
                }
                else if (category == "Helms")
                {
                     cat = 7;
                }
                else if (category == "Armors")
                {
                     cat = 8;
                }
                else if (category == "Pants")
                {
                     cat = 9;
                }
                else if (category == "Gloves")
                {
                     cat = 10;
                }
                else if (category == "Boots")
                {
                     cat = 11;
                }
                else if (category == "Wings & Misc")
                {
                     cat = 12;
                }
                else if (category == "Pets & Misc")
                {
                     cat = 13;
                }
                else if (category == "Jewels & Misc")
                {
                     cat = 14;
                }
                else if (category == "Magic books")
                {
                     cat = 15;
                }
    
    
                    int icode = value + (cat * 512);
                    string s = icode.ToString();
    
                // replace itemcode.txt for your textboxname.cs
                    Itemcode.Text = s;  
    and the end of the code there's a text says "Itemcode.Text"
    replace it with your Blank textbox name which is the one I told you in instruction # 3
    in the Design Tab. so , it's textBox1. Now replace Itemcode.Text with textBox1.Text.
    Now Compile the Source and done.
    @natzugen
    SIMPLE EXPLANATION RIGHT?? why can't you do that?? don't make things getting longer..

    For those who don't know how to add
    follow my instructions.

  13. #823
    (づ。◕‿‿◕。) Natzugen is offline
    MemberRank
    Jun 2014 Join Date
    ElbelandLocation
    1,858Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by PiECLOUD View Post
    Simple & best explanation :
    Double click on ItemEditor.cs
    1 click the Toolbox , you see it on the right side.
    2 create a Label name it "temcode:"
    3 create a textbox , leave it blank. now scroll down you will a "Design" Tab
    and you will see "TextBox1" (which is the default name)
    4 go back to the toolbox and create a button, name it Get item code or whatever you want to name it
    5 Hold Cntrl and click the Blank textbox and the button you just created, double click again there will be a pop-up showing codes.
    copy this code

    Code:
    string category = listBoxCategory.GetItemText(listBoxCategory.SelectedItem);            int value = (int)numericUpDownIndex.Value;
                int cat=0;
    
    
                if (category == "Sword")
                {
                     cat = 0;
                }
                if (category == "Axes")
                {
                     cat = 1;
                }
                else if (category == "Maces & Scepters")
                {
                     cat = 2;
                }
                else if (category == "Spears")
                {
                     cat = 3;
                }
                else if (category == "Bows & Crossbows")
                {
                     cat = 4;
                }
                else if (category == "Staffs & Books")
                {
                     cat = 5;
                }
                else if (category == "Shields")
                {
                     cat = 6;
                }
                else if (category == "Helms")
                {
                     cat = 7;
                }
                else if (category == "Armors")
                {
                     cat = 8;
                }
                else if (category == "Pants")
                {
                     cat = 9;
                }
                else if (category == "Gloves")
                {
                     cat = 10;
                }
                else if (category == "Boots")
                {
                     cat = 11;
                }
                else if (category == "Wings & Misc")
                {
                     cat = 12;
                }
                else if (category == "Pets & Misc")
                {
                     cat = 13;
                }
                else if (category == "Jewels & Misc")
                {
                     cat = 14;
                }
                else if (category == "Magic books")
                {
                     cat = 15;
                }
    
    
                    int icode = value + (cat * 512);
                    string s = icode.ToString();
    
                // replace itemcode.txt for your textboxname.cs
                    Itemcode.Text = s;  
    and the end of the code there's a text says "Itemcode.Text"
    replace it with your Blank textbox name which is the one I told you in instruction # 3
    in the Design Tab. so , it's textBox1. Now replace Itemcode.Text with textBox1.Text.
    Now Compile the Source and done.
    @natzugen
    SIMPLE EXPLANATION RIGHT?? why can't you do that?? don't make things getting longer..

    For those who don't know how to add
    follow my instructions.
    i just shared the code i dont have any responsability to teach you how to add a textbox and name it since we are in a DEVELOPMENT thread.

    besides is common sense that when someone says replace the name you shouldnt be changing the text.

    if you know what to do with the textbox there is the code, if not there is the compiled version aswell.
    have fun

  14. #824
    Account Upgraded | Title Enabled! PiECLOUD is offline
    MemberRank
    Apr 2015 Join Date
    237Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Quote Originally Posted by natzugen View Post
    i just shared the code i dont have any responsability to teach you how to add a textbox and name it since we are in a DEVELOPMENT thread.

    besides is common sense that when someone says replace the name you shouldnt be changing the text.

    if you know what to do with the textbox there is the code, if not there is the compiled version aswell.
    have fun
    just wanna make things clear , and simple to understand..
    thanks for the link you shared but I don't need it anymore.

  15. #825
    Apprentice Angryy is offline
    MemberRank
    Dec 2014 Join Date
    21Posts

    re: [Release] zTeam Season 8 Episode 2 (Source)

    Can anyone share the server already built ?



Advertisement