Register for your free account! | Forgot your password?

You last visited: Today at 01:57

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

Advertisement



After Patch 5722

Discussion on After Patch 5722 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 06/27/2013, 18:46   #16
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
i added the codes but still thesame
marcbacor6666 is offline  
Old 06/27/2013, 20:17   #17
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
make a command to check the AssassinColor may be a bad BP calculation
abdoumatrix is offline  
Old 06/27/2013, 20:44   #18
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
marcbacor6666 is offline  
Old 06/27/2013, 20:50   #19
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Quote:
Originally Posted by marcbacor6666 View Post
i know what u mean | sometime due to bad BP calculation.

try this command to check this ur BP value

PHP Code:
  case "bpp":
                                
Conquer_Online_Server.Console.WriteLine("BP:" client.Entity.AssassinColor);
                                break; 
abdoumatrix is offline  
Old 06/27/2013, 20:54   #20
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
oke

where can i fix my bp system? here?
Quote:
public ushort BattlePowerCalc(Entity e)
marcbacor6666 is offline  
Old 06/27/2013, 21:17   #21
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
yeah
abdoumatrix is offline  
Old 06/27/2013, 21:27   #22
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76


Code:
 public ushort BattlePowerCalc(Entity e)
        {
            ushort BP = e.Level;
            ushort level = e.Level;
            if (e == null)
            {
                return 0;
            }
            if (e.Owner == null)
            {
                return 0;
            }

            foreach (IConquerItem i in e.Owner.Equipment.Objects)
            {
                if (!Owner.AlternateEquipment)
                {
                    if (i == null) continue;
                    if (i.Position < 20)
                    {
                        if (i.Position != ConquerItem.Bottle &&
                            i.Position != ConquerItem.Garment && i.Position != ConquerItem.RightWeaponAccessory && i.Position != ConquerItem.LeftWeaponAccessory && i.Position != ConquerItem.SteedArmor)
                        {
                            Byte Multiplier = 1;
                            if (i.Position == ConquerItem.RightWeapon && i.IsTwoHander())
                            {
                                Multiplier = 2;
                                IConquerItem left = e.Owner.Equipment.TryGetItem(ConquerItem.LeftWeapon);
                                if (left != null)
                                {

                                    Multiplier = 1;

                                }
                            }

                            Byte quality = (Byte)(i.ID % 10);
                            if (quality >= 6)
                            {
                                BP += (Byte)((quality - 5) * Multiplier);
                            }
                            if (i.SocketOne != 0)
                            {
                                BP += (Byte)(1 * Multiplier);
                                if ((Byte)i.SocketOne % 10 == 3)
                                    BP += (Byte)(1 * Multiplier);
                                if (i.SocketTwo != 0)
                                {
                                    BP += (Byte)(1 * Multiplier);
                                    if ((Byte)i.SocketTwo % 10 == 3)
                                        BP += (Byte)(1 * Multiplier);
                                }
                            }
                            BP += (Byte)(i.Plus * Multiplier);
                        }
                    }
                }
                else
                {
                    if (i == null) continue;
                    if (i.Position > 9)
                    {
                        if (i.Position != ConquerItem.AltBottle &&
                            i.Position != ConquerItem.AltGarment && i.Position != ConquerItem.RightWeaponAccessory && i.Position != ConquerItem.LeftWeaponAccessory && i.Position != ConquerItem.SteedArmor)
                        {
                            Byte Multiplier = 1;
                            if (i.Position == ConquerItem.AltRightHand && i.IsTwoHander())
                            {
                                Multiplier = 2;
                                IConquerItem left = e.Owner.Equipment.TryGetItem(ConquerItem.AltLeftHand);
                                if (left != null)
                                {

                                    Multiplier = 1;

                                }
                            }

                            Byte quality = (Byte)(i.ID % 10);
                            if (quality >= 6)
                            {
                                BP += (Byte)((quality - 5) * Multiplier);
                            }
                            if (i.SocketOne != 0)
                            {
                                BP += (Byte)(1 * Multiplier);
                                if ((Byte)i.SocketOne % 10 == 3)
                                    BP += (Byte)(1 * Multiplier);
                                if (i.SocketTwo != 0)
                                {
                                    BP += (Byte)(1 * Multiplier);
                                    if ((Byte)i.SocketTwo % 10 == 3)
                                        BP += (Byte)(1 * Multiplier);
                                }
                            }
                            BP += (Byte)(i.Plus * Multiplier);
                        }
                    }
                }
            }
            level = (ushort)(level + ((ushort)e.NobilityRank));
            return (ushort)(level + ((byte)(e.Reborn * 5)));
        }
marcbacor6666 is offline  
Old 06/27/2013, 21:48   #23
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
add
level += BP;
abdoumatrix is offline  
Thanks
1 User
Old 06/27/2013, 22:11   #24
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
nice, i added that and remove some of my codes and now the console bp info and game is same
marcbacor6666 is offline  
Old 06/27/2013, 22:16   #25
 
abdoumatrix's Avatar
 
elite*gold: 0
Join Date: Jul 2008
Posts: 874
Received Thanks: 238
Done?
abdoumatrix is offline  
Old 06/27/2013, 22:24   #26
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
yup its done, but there are some little problems about the bp that still exist, some characters have higher bp in game and lower bp in console command @bpp

THe steed bp was not added

problem solved here is the fixed

Code:
    public UInt16 BattlePowerCalc(Entity e)
        {
            UInt16 BP = e.Level;

            if (e == null) return 0;
            if (e.Owner == null) return 0;
            foreach (IConquerItem i in e.Owner.Equipment.Objects)
            {
                if (!Owner.AlternateEquipment)
                {
                    if (i == null) continue;
                    if (i.Position < 20)
                    {
                        if (i.Position != ConquerItem.Bottle &&
                            i.Position != ConquerItem.Garment && i.Position != ConquerItem.RightWeaponAccessory && i.Position != ConquerItem.LeftWeaponAccessory && i.Position != ConquerItem.SteedArmor)
                        {
                            Byte Multiplier = 1;
                            if (i.Position == ConquerItem.RightWeapon && i.IsTwoHander())
                            {
                                Multiplier = 2;
                                IConquerItem left = e.Owner.Equipment.TryGetItem(ConquerItem.LeftWeapon);
                                if (left != null)
                                {

                                    Multiplier = 1;

                                }
                            }

                            Byte quality = (Byte)(i.ID % 10);
                            if (quality >= 6)
                            {
                                BP += (Byte)((quality - 5) * Multiplier);
                            }
                            if (i.SocketOne != 0)
                            {
                                BP += (Byte)(1 * Multiplier);
                                if ((Byte)i.SocketOne % 10 == 3)
                                    BP += (Byte)(1 * Multiplier);
                                if (i.SocketTwo != 0)
                                {
                                    BP += (Byte)(1 * Multiplier);
                                    if ((Byte)i.SocketTwo % 10 == 3)
                                        BP += (Byte)(1 * Multiplier);
                                }
                            }
                            BP += (Byte)(i.Plus * Multiplier);
                        }
                    }
                }
                else
                {
                    if (i == null) continue;
                    if (i.Position > 9)
                    {
                        if (i.Position != ConquerItem.AltBottle &&
                            i.Position != ConquerItem.AltGarment && i.Position != ConquerItem.RightWeaponAccessory && i.Position != ConquerItem.LeftWeaponAccessory && i.Position != ConquerItem.SteedArmor)
                        {
                            Byte Multiplier = 1;
                            if (i.Position == ConquerItem.AltRightHand && i.IsTwoHander())
                            {
                                Multiplier = 2;
                                IConquerItem left = e.Owner.Equipment.TryGetItem(ConquerItem.AltLeftHand);
                                if (left != null)
                                {

                                    Multiplier = 1;

                                }
                            }

                            Byte quality = (Byte)(i.ID % 10);
                            if (quality >= 6)
                            {
                                BP += (Byte)((quality - 5) * Multiplier);
                            }
                            if (i.SocketOne != 0)
                            {
                                BP += (Byte)(1 * Multiplier);
                                if ((Byte)i.SocketOne % 10 == 3)
                                    BP += (Byte)(1 * Multiplier);
                                if (i.SocketTwo != 0)
                                {
                                    BP += (Byte)(1 * Multiplier);
                                    if ((Byte)i.SocketTwo % 10 == 3)
                                        BP += (Byte)(1 * Multiplier);
                                }
                            }
                            BP += (Byte)(i.Plus * Multiplier);
                        }
                    }
                }
            }

            BP += (Byte)e.NobilityRank;
            BP += (Byte)(e.Reborn * 5);
            BP += (Byte)GuildSharedBp;
            BP += (Byte)ClanSharedBp;

            return BP;
        }
marcbacor6666 is offline  
Old 06/28/2013, 03:06   #27
 
elite*gold: 0
Join Date: Sep 2007
Posts: 54
Received Thanks: 1
Quote:
Originally Posted by marcbacor6666 View Post
yup its done, but there are some little problems about the bp that still exist, some characters have higher bp in game and lower bp in console command @bpp

THe steed bp was not added

problem solved here is the fixed

Code:
    public UInt16 BattlePowerCalc(Entity e)
        {
            UInt16 BP = e.Level;

            if (e == null) return 0;
            if (e.Owner == null) return 0;
            foreach (IConquerItem i in e.Owner.Equipment.Objects)
            {
                if (!Owner.AlternateEquipment)
                {
                    if (i == null) continue;
                    if (i.Position < 20)
                    {
                        if (i.Position != ConquerItem.Bottle &&
                            i.Position != ConquerItem.Garment && i.Position != ConquerItem.RightWeaponAccessory && i.Position != ConquerItem.LeftWeaponAccessory && i.Position != ConquerItem.SteedArmor)
                        {
                            Byte Multiplier = 1;
                            if (i.Position == ConquerItem.RightWeapon && i.IsTwoHander())
                            {
                                Multiplier = 2;
                                IConquerItem left = e.Owner.Equipment.TryGetItem(ConquerItem.LeftWeapon);
                                if (left != null)
                                {

                                    Multiplier = 1;

                                }
                            }

                            Byte quality = (Byte)(i.ID % 10);
                            if (quality >= 6)
                            {
                                BP += (Byte)((quality - 5) * Multiplier);
                            }
                            if (i.SocketOne != 0)
                            {
                                BP += (Byte)(1 * Multiplier);
                                if ((Byte)i.SocketOne % 10 == 3)
                                    BP += (Byte)(1 * Multiplier);
                                if (i.SocketTwo != 0)
                                {
                                    BP += (Byte)(1 * Multiplier);
                                    if ((Byte)i.SocketTwo % 10 == 3)
                                        BP += (Byte)(1 * Multiplier);
                                }
                            }
                            BP += (Byte)(i.Plus * Multiplier);
                        }
                    }
                }
                else
                {
                    if (i == null) continue;
                    if (i.Position > 9)
                    {
                        if (i.Position != ConquerItem.AltBottle &&
                            i.Position != ConquerItem.AltGarment && i.Position != ConquerItem.RightWeaponAccessory && i.Position != ConquerItem.LeftWeaponAccessory && i.Position != ConquerItem.SteedArmor)
                        {
                            Byte Multiplier = 1;
                            if (i.Position == ConquerItem.AltRightHand && i.IsTwoHander())
                            {
                                Multiplier = 2;
                                IConquerItem left = e.Owner.Equipment.TryGetItem(ConquerItem.AltLeftHand);
                                if (left != null)
                                {

                                    Multiplier = 1;

                                }
                            }

                            Byte quality = (Byte)(i.ID % 10);
                            if (quality >= 6)
                            {
                                BP += (Byte)((quality - 5) * Multiplier);
                            }
                            if (i.SocketOne != 0)
                            {
                                BP += (Byte)(1 * Multiplier);
                                if ((Byte)i.SocketOne % 10 == 3)
                                    BP += (Byte)(1 * Multiplier);
                                if (i.SocketTwo != 0)
                                {
                                    BP += (Byte)(1 * Multiplier);
                                    if ((Byte)i.SocketTwo % 10 == 3)
                                        BP += (Byte)(1 * Multiplier);
                                }
                            }
                            BP += (Byte)(i.Plus * Multiplier);
                        }
                    }
                }
            }

            BP += (Byte)e.NobilityRank;
            BP += (Byte)(e.Reborn * 5);
            BP += (Byte)GuildSharedBp;
            BP += (Byte)ClanSharedBp;

            return BP;
        }
thanks man that help me alot
wolvreen2006 is offline  
Old 06/28/2013, 05:53   #28
 
marcbacor6666's Avatar
 
elite*gold: 0
Join Date: Oct 2006
Posts: 557
Received Thanks: 76
Quote:
thanks man that help me alot
your welcome
marcbacor6666 is offline  
Reply


Similar Threads Similar Threads
5722 Spawn packet.
05/04/2013 - CO2 Private Server - 7 Replies
Hey everyone. Any one could help and give me the right spawn packets? or just give me a good guide that could help me in figure out it my own :handsdown::handsdown::handsdown: to be sure of what i had done
PSF Downloads - HOTFILE LINK (Full Client, Manual Patch, Cumulative Patch)
11/11/2010 - Soldier Front Philippines - 2 Replies
FULL GAME CLIENT Click here to download full game client and open the downloaded file to start game installation. If Special Force has already been installed, the original program will be deleted. Reinstall the game by opening the downloaded installation file. http://hotfile.com/dl/81245607/7304199/Special_Fo rce110210.exe.html Latest Manual Patch Download the latest updates and patch files. http://hotfile.com/dl/81039428/0594947/SF_manual_ 101104.exe.html
yet another nexon patch to patch the patch that patched their patch
07/10/2010 - Mabinogi - 6 Replies
I love how nexon patches games so frequently. NOT. and their downloader doesn't even seem to work. Have to manually download the pack 65 patcher. Gonna try Tiara and see if still works



All times are GMT +1. The time now is 01:58.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.