Register for your free account! | Forgot your password?

You last visited: Today at 07:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



130 Katana wont equip

Discussion on 130 Katana wont equip within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
130 Katana wont equip

Hey guys, just implemented a Katana from normal CO...



:/ anybody got any ideas why it's doing this?
flaMe~ is offline  
Old 04/17/2009, 15:01   #2
 
your_nightmare's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 63
Received Thanks: 10
did you add same file in database? amke sure if you added
your_nightmare is offline  
Old 04/17/2009, 15:02   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
Yep, it's in my database.
flaMe~ is offline  
Old 04/17/2009, 15:09   #4


 
KraHen's Avatar
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2,216
Received Thanks: 793
Check source code maybe and implement the item`s usage?
KraHen is offline  
Old 04/17/2009, 15:11   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
well...in item usage add its id...and add the equip code.
alexbigfoot is offline  
Old 04/17/2009, 15:16   #6
 
Kital82's Avatar
 
elite*gold: 0
Join Date: Aug 2006
Posts: 129
Received Thanks: 15
To use it use phpmyadmin to equip it on your char. Hmmm i don't know if you can add it, because i have already tried and i think it comes from Conquer.exe wich don't see the katana as a weapon ...
Kital82 is offline  
Old 04/17/2009, 15:23   #7
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
I'm pretty sure you can make Katanas... just dont know why mine isn't equipping.
flaMe~ is offline  
Old 04/17/2009, 16:17   #8
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
In Character.cs , in the void
Code:
UseItem(ulong ItemUID, string Item)
add
Code:
            else if (ItemParts[0] == "IDOfTheKatana")
            {
                if (ItemsInInventory < 40)
                {
                    if (Equips[5] == null)
                    {
                        if (Equips[4] == null)
                        {
                            AddItem(Item, 4, (uint)ItemUID);
                            World.UpdateSpawn(this);
                            RemoveItem(ItemUID);
                        }
                        else
                        {
                            RemoveItem(ItemUID);
                            if (Equips[4] != null)
                                UnEquip(4);

                            AddItem(Item, 4, (uint)ItemUID);
                            World.UpdateSpawn(this);
                        }
                    }
                    else
                    {
                        RemoveItem(ItemUID);
                        if (Equips[5] != null)
                            UnEquip(5);

                        AddItem(Item, 5, (uint)ItemUID);
                        World.UpdateSpawn(this);
                    }
                }
            }
To be sure it will work, in else if (ItemParts[0] == "IDOfTheKatana") put the id of the katana so it will be if (ItemParts[0] == "xxxxxxxxxx") xxxxxxxx= id of katana.

After u got it added, right click on the katana , if u have no weapon in the second hand, it will go in the first hand but if u got a weapon in both hands , the katana will go in the second hand.

Have fun!
alexbigfoot is offline  
Thanks
7 Users
Old 04/17/2009, 16:27   #9
 
Zatoichi's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 434
Received Thanks: 431
Holy **** Alex, ty so much. I have spent now almost 4 days trying to get the katana in my hand. You dont even wanna KNOW the things i resorted to trying. >.<

Anyway, i appreciate the help. I will try this now, but i gave you thanks already, since it is the most helpful ANYONE has been on this subject. Thanks for taking the time to help. Pce.
Zatoichi is offline  
Old 04/17/2009, 16:37   #10
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
Thanks for your help Alex, but i've run into another problem...



I cannot move either...

EDIT: HAHA! Nvm, forgot to add the mesh in 3dobj.ini

Fixed it myself I'm just gonna get the glow working, then i'll screenshot it for you guys.

EDIT2: Only works in my left hand, cant move if it's in my right... and can't equip two of them..
flaMe~ is offline  
Old 04/17/2009, 16:56   #11
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
Lol, no problem guys =) , i`m glad i was helpful
and guys...if u want the katana to be as a weapon is, add it using the guide for BusterBlade, just dont add the blade`s *.c3 or others add the katana`s things.

here is the link:
alexbigfoot is offline  
Old 04/17/2009, 16:59   #12
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
That's what i did... read my last post please alex.
flaMe~ is offline  
Old 04/17/2009, 17:02   #13
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
if u added using the guide ... it cant dont work. well... i didnt tryed but i`ll give it a try
alexbigfoot is offline  
Old 04/17/2009, 17:04   #14
 
elite*gold: 0
Join Date: Apr 2009
Posts: 148
Received Thanks: 15
I think it's something to do with the code you just posted, to equip the Katanas, because if i have a blade in my right hand.. and a katana in my left, i can move around and it works perfectly...

but i cannot move when the katana is in my right hand, and i cannot equip two katanas at once...

EDIT:

WOW! I just stumbled across something really cool!

I was playing with the code that alex just posted up here...

(I added in the red text)
Code:
else if (ItemParts[0] == "601339")
            {
                if (ItemsInInventory < 40)
                {
                    if (Equips[5] == null)
                    {
                        [COLOR="Red"]AddItem(Item, 5, (uint)ItemUID);
                        World.UpdateSpawn(this);[/COLOR]
                        if (Equips[4] == null)
                        {
                            AddItem(Item, 4, (uint)ItemUID);
                            World.UpdateSpawn(this);
                            RemoveItem(ItemUID);
                        }
                        else
                        {
                            RemoveItem(ItemUID);
                            if (Equips[4] != null)
                                UnEquip(4);

                            AddItem(Item, 4, (uint)ItemUID);
                            World.UpdateSpawn(this);
                        }
                    }
                    else
                    {
                        RemoveItem(ItemUID);
                        if (Equips[5] != null)
                            UnEquip(5);

                        AddItem(Item, 5, (uint)ItemUID);
                        World.UpdateSpawn(this);
                    }
                }
Now if I equip one katana, it will equip two :P

Like so:

flaMe~ is offline  
Old 04/17/2009, 17:22   #15
 
elite*gold: 0
Join Date: Dec 2007
Posts: 618
Received Thanks: 213
lemme remake the code to work proper...i was in a hurry before and now i got more time...just wait a few minutes

EDIT:
Code:
else if (ItemParts[0] == "601339")
            {
                if (ItemsInInventory < 40)
                {
                    if (Equips[4] == null && Equips[5] == null)
                    {
                        AddItem(Item, 4, (uint)ItemUID);
                        World.UpdateSpawn(this);
                        RemoveItem(ItemUID);
                    }
                    else if (Equips[4] != null && Equips[5] == null)
                    {
                        AddItem(Item, 5, (uint)ItemUID);
                        World.UpdateSpawn(this);
                        RemoveItem(ItemUID);
                    }
                    else if (Equips[4] != null && Equips[5] != null)
                    {
                        UnEquip(5);
                        AddItem(Item, 5, (uint)ItemUID);
                        World.UpdateSpawn(this);
                        RemoveItem(ItemUID);
                    }
                }
            }
So...if u got no weapons in ur hands, the katana will go in the first hand, if u got a weapon in the first hand the katana will go in the second hand, if u got both hands with weapons , the katana will go in the second hand.
Enjoy!
alexbigfoot is offline  
Thanks
4 Users
Reply


Similar Threads Similar Threads
[HELP] How can I equip level 130 katana?
10/03/2009 - CO2 Private Server - 5 Replies
ok, i play a server where there is ninja but u cant wear lvl 130 katana. I can wear lvl 70 katana, but not 130. How can I epuip the 130 lvl katana?



All times are GMT +2. The time now is 07:10.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2024 elitepvpers All Rights Reserved.