4Botters


 
Go Back   4Botters" I am A Bad Ass Botter " > Online Games > Conquer Online Sections > Conquer Bots > Conquer Private Servers

Conquer Private Servers Post guides , scripts , advertise , anything related to Conquer Private Servers !


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-03-2009, 02:46 PM
cakobu's Avatar
Beginner
 
Join Date: Jul 2008
Location: ||*||Catalunya||*||
Posts: 88
Thanks: 17
Thanked 29 Times in 9 Posts
Smile New 5165 NPC. Make items.

Hello all,

Here ist one npc for make items super, +12, -7, 255, sdg,sdg.

The players just need put correct name in the box and click ok.

And the sistem make the item. =)

If you want change the item give you can change this

Here ist the code:

Code:
                            case 300010:                                
                                {
                                    if (Control == 0)
                                    {
                                        GC.AddSend(Packets.NPCSay("Hello want make one item? Type the name of the item in the box please."));
                                        GC.AddSend(Packets.NPCLink2("Here.", 1));
                                        GC.AddSend(Packets.NPCLink("No.", 255));
                                        GC.AddSend(Packets.NPCSetFace(N.Avatar));
                                        GC.AddSend(Packets.NPCFinish());
                                    }

                                    {
                                        if (Control == 1)
                                        {
                                            uint ID = 0;
                                            foreach (DatabaseItem DI in Database.DatabaseItems.Values)
                                                if (DI.Name == ReadString(Data))
                                                {
                                                    ID = DI.ID;
                                                    Game.ItemIDManipulation e = new Game.ItemIDManipulation(ID);
                                                    Game.Item.ItemQuality Quality = Game.Item.ItemQuality.Super;

                                                    break;
                                                }

                                            Game.Item I = new NewestCOServer.Game.Item();
                                            I.Color = NewestCOServer.Game.Item.ArmorColor.Orange;
                                            //I.FreeItem = true;
                                            I.ID = ID;
                                            I.UID = (uint)Program.Rnd.Next(10000000);
                                            try
                                            {
                                                I.MaxDur = I.DBInfo.Durability;
                                                I.CurDur = I.MaxDur;
                                            }
                                            catch (Exception Exc) { Program.WriteLine(Exc); }
                                            try
                                            {
                                                I.Plus = (12);
                                            }
                                            catch { }
                                            try
                                            {
                                                I.Bless = (7);
                                            }
                                            catch { }
                                            try
                                            {
                                                I.Enchant = (255);
                                            }
                                            catch { }
                                            try
                                            {
                                                I.Soc1 = (Game.Item.Gem.SuperDragonGem);
                                            }
                                            catch { }
                                            try
                                            {
                                                I.Soc2 = (Game.Item.Gem.SuperDragonGem);
                                            }
                                            catch { }
                                            I.Effect = NewestCOServer.Game.Item.RebornEffect.None;

                                            GC.MyChar.AddItem(I);
                                        }
                                    }
                                }
                                break;
                            #endregion
And add the npc where you want.

Code:
300010 9267 2 99 1002 463 353


Enter the name.



Here is the item.
__________________
I always have hidden text in my messages! Find them by selecting the text as you do now.
----------------------------------------------------------------------------------------------------
Sorry about my English,I'm Spanish



Last edited by cakobu; 12-03-2009 at 03:02 PM.
Reply With Quote
The Following 7 Users Say Thank You to cakobu For This Useful Post:
cala22 (12-14-2009), Closo (12-17-2009), DeathMagnetiC (12-17-2009), Hepatitis C (12-28-2009), silwhat (12-17-2009), stiwen (12-31-2009), zengy (Today)
Google Adsense

  #2 (permalink)  
Old 12-03-2009, 02:56 PM
The.Darkness's Avatar
A Botter
 
Join Date: Apr 2008
Posts: 110
Thanks: 28
Thanked 2 Times in 1 Post
Send a message via MSN to The.Darkness Send a message via Yahoo to The.Darkness
Default Re: My best release for the moment.

Well Done !!!
Reply With Quote
The Following 2 Users Say Thank You to The.Darkness For This Useful Post:
  #3 (permalink)  
Old 12-03-2009, 02:57 PM
~Black~Devil~'s Avatar
Bad Ass Botta!
 
Join Date: Oct 2007
Posts: 359
Thanks: 40
Thanked 68 Times in 23 Posts
Send a message via MSN to ~Black~Devil~ Send a message via Skype™ to ~Black~Devil~
Default Re: My best release for the moment.

God woark,thanks,but +12 and -7 systęm not codet yet xD
__________________
Projecktas Qonquer LT
-Charakters create-Done
-Horse-Done
-Ninja-Done
-Skills-Done
-PK Turnament-Not done still
-GuildWar-Done(Not add prize clame system)
-IVENTS-Not done
-NPC Codet-50%
-1 RB-Done
-2 RB-Done
-VIP-Done
-VIP Shop-Done
-OFFLINE tg-Not Done
-All Another inportant things-Done!






Nori Prisijunkti Prie musu? PM Mane Skype>>>>> sawickas_666
Reply With Quote
The Following User Says Thank You to ~Black~Devil~ For This Useful Post:
  #4 (permalink)  
Old 12-03-2009, 03:53 PM
.: ROCK :.'s Avatar
Bad Ass Botta!
 
Join Date: Oct 2009
Location: !תת קרקעי!
Posts: 385
Thanks: 16
Thanked 110 Times in 53 Posts
Default Re: My best release for the moment.

thxxx dude.. good work..
__________________
X.x.X My Game Is fire Game X.x.X

Reply With Quote
The Following User Says Thank You to .: ROCK :. For This Useful Post:
  #5 (permalink)  
Old 12-03-2009, 05:04 PM
Beginner
 
Join Date: Dec 2008
Location: Romania
Posts: 72
Thanks: 56
Thanked 46 Times in 12 Posts
Default Re: My best release for the moment.

Quote:
Originally Posted by ~Black~Devil~ View Post
God woark,thanks,but +12 and -7 systęm not codet yet xD
you put in character.cs
Code:
        public void AddItem22(uint ID, byte Plus, byte Bless, Game.Item.Gem Soc1, Game.Item.Gem Soc2, byte Enchant)
        {
            Item I = new Item();
            I.Plus = Plus;
            I.Soc1 = Soc1;
            I.Soc2 = Soc2;
            I.Enchant = Enchant;
            I.Bless = Bless;//Gem Soc1
            I.ID = ID;
            I.UID = (uint)Rnd.Next(10000000);
            I.MaxDur = I.DBInfo.Durability;
            I.CurDur = I.MaxDur;

            if (I.UID == 0)
            {
                I.UID = (uint)Rnd.Next(10000000);
            }

            Inventory.Add(I);
            // MyClient.AddSend(Packets.AddItem(I, 0));
            MyClient.AddSend(Packets.AddItem(I, 0));
        }
and Ex: for item you put
Code:
GC.MyChar.AddItem22(191305, 12, 7, Game.Item.Gem.SuperDragonGem, Game.Item.Gem.SuperDragonGem, 255);
Reply With Quote
The Following 2 Users Say Thank You to catalin For This Useful Post:
  #6 (permalink)  
Old 12-17-2009, 03:06 AM
DeathMagnetiC's Avatar
Beginner
 
Join Date: Sep 2009
Location: Some were in the world
Posts: 78
Thanks: 3
Thanked 25 Times in 16 Posts
Send a message via MSN to DeathMagnetiC Send a message via Yahoo to DeathMagnetiC
Default Re: My best release for the moment.

Ok, arry for this noob question (well i am a noob at C#) but were would u copy that file into like the exact spot...? and really good work i like it alot thank you!
__________________
IF I HELPED U CLICK THANKS!!!

Last edited by DeathMagnetiC; 12-17-2009 at 11:26 AM.
Reply With Quote
The Following User Says Thank You to DeathMagnetiC For This Useful Post:
  #7 (permalink)  
Old 12-28-2009, 12:06 AM
Noob
 
Join Date: Oct 2007
Posts: 20
Thanks: 1
Thanked 11 Times in 3 Posts
Default Re: My best release for the moment.

ok at first
when you want to add Code with
#endregion <-- at end
you have to add at the first #region

so you will not have error
anyway this code work good but there problem " warring"
at this line
Code:
ID = DI.ID;
                                                    Game.ItemIDManipulation e = new Game.ItemIDManipulation(ID);
                                                    Game.Item.ItemQuality Quality = Game.Item.ItemQuality.Super;
but the code still work but if you want it without any problem you should change it to be like this
Code:

ID = DI.ID;
Game.ItemIDManipulation e = new Game.ItemIDManipulation(ID);
Game.Item.ItemQuality Quality = e.Quality;
anyhelp with C# please ask me
mabye im on online here all the time but you can talk to me on my msn
if that allow here to say my msn id here
anyway
[Only registered and activated users can see links. ]
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


Translate This Page


All times are GMT. The time now is 04:31 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.