Register for your free account! | Forgot your password?

Go Back   elitepvpers > Conquer Online 2 > CO2 PServer - Discussions / Questions
You last visited: Today at 23:38

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

 

[Help] Upgrading items (CoEmu v2)

Closed Thread
 
Old   #1
 
elite*gold: 0
Join Date: Apr 2009
Posts: 749
Received Thanks: 432
[Help] Upgrading items (CoEmu v2)

hi all!

i've got error whith this:

Code:
		public static int NextEquipLevel(int ItemId)
		{
			int NewItem = ItemId;
			Struct.ItemData Item = Nano.Items[ItemId];
            if(ArmorType(ItemId) == false || WeaponType(Convert.ToString(ItemId)) == 117)
            {
                if (Type2(Convert.ToString(ItemId)) != 12 && Type2(Convert.ToString(ItemId)) != 15 && Type2(Convert.ToString(ItemId)) != 16 || Item.Level == 45 && Type2(Convert.ToString(ItemId)) == 12 || Item.Level >= 112 && Type2(Convert.ToString(ItemId)) == 12)
                    NewItem += 10;
                else if (Type2(Convert.ToString(ItemId)) == 12 && Item.Level < 45)
                    NewItem += 20;
                else if (Type2(Convert.ToString(ItemId)) == 12 && Item.Level >= 52 && Item.Level < 112)
                    NewItem += 30;
                else if (Type2(Convert.ToString(ItemId)) == 15 && Item.Level == 1 || Type2(Convert.ToString(ItemId)) == 15 && Item.Level >= 110)
                    NewItem += 10;
                else if (Type2(Convert.ToString(ItemId)) == 15)
                    NewItem += 20;
                else if (Type2(Convert.ToString(ItemId)) == 16 && Item.Level < 124)
                    NewItem += 20;
                else if (Type2(Convert.ToString(ItemId)) == 16)
                    NewItem += 10;

                if (WeaponType(Convert.ToString(NewItem)) == 421)
                {
                    NewItem = ItemId;
                    if (Item.Level == 45 || Item.Level == 55)
                        NewItem += 20;
                    else
                        NewItem += 10;
                }
            }
            else if (Type2(Convert.ToString(ItemId)) != 12 && Type2(Convert.ToString(ItemId)) != 15)
            {
                if (Item.Class == 21)
                    if (Type2(Convert.ToString(ItemId)) == 13)
                    {
                        if (Item.Level < 110)
                            NewItem += 10;
                        else
                            NewItem += 5000;
                    }
                if (Item.Class == 11)
                    if (Type2(Convert.ToString(ItemId)) == 13)
                    {
                        if (Item.Level < 110)
                            NewItem += 10;
                        else
                            NewItem += 5000;
                    }
                if (Item.Class == 40)
                    if (Type2(Convert.ToString(ItemId)) == 13)
                    {
                        if (Item.Level < 112)
                            NewItem += 10;
                        else
                            NewItem += 5000;
                    }
                if (Item.Class == 190)
                    if (Type2(Convert.ToString(ItemId)) == 13)
                    {
                        if (Item.Level < 115)
                            NewItem += 10;
                        else
                            NewItem += 5000;
                    }
                if (Item.Class == 21)
                    if (Type2(Convert.ToString(ItemId)) == 11)
                    {
                        if (Item.Level< 112)
                            NewItem += 10;
                        else
                            NewItem += 920;
                    }
                if (Item.Class == 11)
                    if (Type2(Convert.ToString(ItemId)) == 11)
                    {
                        if (Item.Level < 112)
                            NewItem += 10;
                        else
                            NewItem -= 6010;
                    }
                if (Item.Class == 40)
                    if (Type2(Convert.ToString(ItemId)) == 11)
                    {
                        if (Item.Level < 117)
                            NewItem += 10;
                        else
                            NewItem -= 1060;
                    }
                if (Item.Class == 190)
                    if (Type2(Convert.ToString(ItemId)) == 11)
                    {
                        if (Item.Level < 112)
                            NewItem += 10;
                        else
                            NewItem -= 2050;
                    }

            }

            if (ItemId == 500301)
                NewItem = 500005;

            if (ItemId == 410301)
                NewItem = 410005;

            return NewItem;
		}
for example itens after level 90, doesn't level anymore...

and armor/helmet/earring doesn't level.... someone can help me fix this?

waiting gratefully : D



12tails is offline  
Old   #2
 
elite*gold: 0
Join Date: Aug 2009
Posts: 104
Received Thanks: 7
I already PM'd you how to fix that a few secs ago.. so dont worrie about ansering that quesion ^.^ PM me back 12tails


1supertao is offline  
Old   #3
 
elite*gold: 0
Join Date: Apr 2009
Posts: 749
Received Thanks: 432
okay ... i'm testing it right now!

i will repply in some mins wait : D

Edit problem fixed

#request close
12tails is offline  
Old   #4
 
elite*gold: 0
Join Date: Aug 2009
Posts: 104
Received Thanks: 7
I got ur message ^.^ Np bro ^.^


1supertao is offline  
Old   #5
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 908
#Closed


kinshi88 is offline  
Closed Thread



« Previous Thread | Next Thread »

Similar Threads
[GUIDE] Upgrading to 5156 with CoEmu
Hey pvpers! (Questions will be answered) I've been wondering from time to time and it's time to move on on this forum, In this guide i will...
91 Replies - CO2 PServer Guides & Releases
Upgrading items
I know theres supposed to be a % for each level item for you to succed like +11 - +12 might be 5% but is there no way to manipulate this number to...
4 Replies - 4Story
Upgrading items
There is a guy in cabal (eu) saying that he can upgrade items to +7 and wont fail, and alot of people are saying that he can do it. Now my question...
5 Replies - Cabal Main - Discussions / Questions



All times are GMT +2. The time now is 23:38.


Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.