Register for your free account! | Forgot your password?

You last visited: Today at 02:15

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

Advertisement



Dura issues

Discussion on Dura issues within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2010
Posts: 939
Received Thanks: 76
Dura issues

In the source that I have the Dura is off, I was told to find another source that was the same patch so I did (6711) Both sources contain

Code:
public ushort Durability
        {
            get { return BitConverter.ToUInt16(Buffer, 12); } 
            set { WriteUInt16(value, 12, Buffer); }
        }
        public ushort MaximDurability
        {
            get { return BitConverter.ToUInt16(Buffer, 14); } 
            set { WriteUInt16(value, 14, Buffer); }
        }
First part is from MsgItemInfo.cs and below is from MsgItemInfoEx.cs

Code:
 public UInt16 Durability
        {
            get { return BitConverter.ToUInt16(mData, 24); } 
            set { Writer.WriteUInt16(value, 24, mData); }
        }
        public UInt16 MaxDurability
        {
            get { return BitConverter.ToUInt16(mData, 26); }  
            set { Writer.WriteUInt16(value, 26, mData); }
        }
Basically items are showing as 37/35
denominator is offline  
Old 01/14/2022, 21:22   #2
 
elite*gold: 0
Join Date: Jul 2020
Posts: 5
Received Thanks: 2
Since dura can cause many damage bug, i try this code to send them jail eveytime they lost dura to Zero 0. but i need help this can cause their character in jail cannot un equipe or move, like client are damage.

else if (I.CurDur == 0 && Equip)
{
BOTJailed = true;
MyClient.MyChar.BOTJailedDays = 3;
MyClient.MyChar.Teleport(6003, 38, 77);
Game.World.SendMsgToAll("SYSTEM", MyClient.MyChar.Name + " was jailed for equiping a broken items that can cause bug damage! ", 2005, 0);
asanamorbisto is offline  
Old 01/18/2022, 05:07   #3
 
Asphy×ia's Avatar
 
elite*gold: 0
Join Date: Feb 2014
Posts: 151
Received Thanks: 80
Quote:
Originally Posted by asanamorbisto View Post
Since dura can cause many damage bug, i try this code to send them jail eveytime they lost dura to Zero 0. but i need help this can cause their character in jail cannot un equipe or move, like client are damage.

else if (I.CurDur == 0 && Equip)
{
BOTJailed = true;
MyClient.MyChar.BOTJailedDays = 3;
MyClient.MyChar.Teleport(6003, 38, 77);
Game.World.SendMsgToAll("SYSTEM", MyClient.MyChar.Name + " was jailed for equiping a broken items that can cause bug damage! ", 2005, 0);
Why not just fix durability *****
Asphy×ia is offline  
Thanks
1 User
Old 01/18/2022, 05:47   #4
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Quote:
Originally Posted by Asphy×ia View Post
Why not just fix durability *****
I wasn't going to say anything, but yah. This. Fixing a durability bug by jailing anyone who exploits it is crazy anti-player. Players play games to have fun. Once your game starts punishing players for playing the game, you've failed.
Spirited is offline  
Thanks
1 User
Old 01/18/2022, 23:06   #5
 
pintinho12's Avatar
 
elite*gold: 0
Join Date: Jul 2009
Posts: 907
Received Thanks: 390
Quote:
Originally Posted by Spirited View Post
I wasn't going to say anything, but yah. This. Fixing a durability bug by jailing anyone who exploits it is crazy anti-player. Players play games to have fun. Once your game starts punishing players for playing the game, you've failed.
This, also Durability causing Damages bug is pretty stupid
pintinho12 is offline  
Old 01/19/2022, 15:46   #6
 
Soulfly25's Avatar
 
elite*gold: 0
Join Date: Mar 2006
Posts: 565
Received Thanks: 59
Why not just add some stuff in the Damage System when the Durability = 0 then Damage = 1?
Soulfly25 is offline  
Old 01/19/2022, 18:53   #7
 
Spirited's Avatar
 
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
Normally in games, having equipment that's zero durability means the stats of that item aren't taken into account when doing attack and defense calculations. That check is obviously not happening here, so why is durability even being factored into that server's current attack calculations? That makes no sense.

Quote:
Originally Posted by Soulfly25 View Post
Why not just add some stuff in the Damage System when the Durability = 0 then Damage = 1?
If that happened to me in a game and I figured out I was doing 1 damage because I equipped an item with zero durability (which isn't even clear), then I'd bring it up as a new bug. I wouldn't imagine the server owner put that in on purpose to punish players. That's daft.
Spirited is offline  
Thanks
1 User
Old 01/19/2022, 20:32   #8
 
elite*gold: 0
Join Date: Jul 2011
Posts: 95
Received Thanks: 76
Imagine you are playing a private server, chilling. Completely minding your own business, killing some monsters, getting some good loot and having a good time. You are thinking to yourself, "well, this server isn't too bad, is it?"

Then all of a sudden, you are teleported to jail with a message:

Quote:
Latyos was jailed for equiping a broken items that can cause bug damage!
Not long after, you find out that you are jailed for 3 ******* DAYS because you forgot to repair your ******* ring.

Or, you suddenly start hitting for 1 for no apparent reason.

All because owner of the server is not capable of writing a really simple damage update routine that will pretty much run on few occasions (Equip/Unequip items, durability going 0, Stat change to name a few) so he has to send you to jail for 3 days or set your damage to 1.
Latyos is offline  
Thanks
3 Users
Reply


Similar Threads Similar Threads
Dura!!
07/16/2006 - Conquer Online 2 - 3 Replies
How do I get my dura 0/10 on my weapon without braking it?



All times are GMT +2. The time now is 02:15.


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.