|
You last visited: Today at 02:15
Advertisement
Dura issues
Discussion on Dura issues within the CO2 Private Server forum part of the Conquer Online 2 category.
04/15/2021, 16:37
|
#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
|
|
|
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);
|
|
|
01/18/2022, 05:07
|
#3
|
elite*gold: 0
Join Date: Feb 2014
Posts: 151
Received Thanks: 80
|
Quote:
Originally Posted by asanamorbisto
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 *****
|
|
|
01/18/2022, 05:47
|
#4
|
elite*gold: 12
Join Date: Jul 2011
Posts: 8,211
Received Thanks: 4,114
|
Quote:
Originally Posted by Asphy×ia
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.
|
|
|
01/18/2022, 23:06
|
#5
|
elite*gold: 0
Join Date: Jul 2009
Posts: 907
Received Thanks: 390
|
Quote:
Originally Posted by Spirited
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
|
|
|
01/19/2022, 15:46
|
#6
|
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?
|
|
|
01/19/2022, 18:53
|
#7
|
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
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.
|
|
|
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.
|
|
|
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.
|
|