Register for your free account! | Forgot your password?

You last visited: Today at 14:12

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

Advertisement



Fix Damage [CoMy]

Discussion on Fix Damage [CoMy] within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2009
Posts: 3
Received Thanks: 0
Fix Damage [CoMy]

im not sure if this work, is not tested, but
have a try. Im not good coder

Go to Client and search for:
Quote:
if (AttackType == 2 || AttackType == 25)
Under That code paste this
Quote:
case 4587://Fix Damage Bug
{
{
{
if (MyChar.Damage != "GetDBPackage","DamageHit")
SendPacket(General.MyPackets.SendDamage(MyChar.MyD amage.DamageID, "GetDamage"));
MyChar.MyDamage.PlayerHealth == -> "<, GetDamage"(MyChar);
MyChar.Damage = <0;
MyChar.DamageID = <0;
MyChar.DamagePosition, x == "GetChar. PositonX", y == "GetChar. PositionY"
MyChar.MyDamage = Sendpacket(General.MyPackets.SendReflect(MyChar.My Damage.DamageID, "GetDamage" == MyCharHealth == -> "<, GetDamage"(MyChar));
World.UpdateSpawn(MyChar & PlayerChar);
World.SpawnOthersHit(MyCharDamage == false);
Then
EndProgress, SendPacket(General.MyPackets.SendHitMiss(MyChar.My Damage.DamageID, "Damage == 0"));
SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "Your Damage Missed on "GetPlayerChar.Name", 2000));
}
}
}
Now open Packets and search for:
Quote:
public byte[] AuthResponse(string ip, byte[] key1, byte[] key2)
Under that code paste this:
Quote:
public byte[] SendDamage(string hit, byte[] key1, byte[] key2)
{
ushort PacketType = 0x38f;
byte[] Packet = new byte[25];
fixed (byte* p = Packet)
{
ushort PacketType = 1101;
byte[] Packet = new byte[18];

fixed (byte* p = Packet)
{
*((ushort*)p) = (ushort)Packet.Length;
*((ushort*)(p + 2)) = (ushort)PacketType;
*((uint*)(p + 4)) = (uint)DamageUID;
*((uint*)(p + 8)) = (uint)DamageID
*(p + 16) = 1;
}
internal byte[] DamgeLinkSend(string q == "26")
}
return DamagePacket;
}
{
*(p + 12 + i) = RePaste.ToDamage(ip[i]);
}
return Packet;
}

internal byte[] DamageLink(string p)
{
SendPackageEnd(2,5');
}
}
}
}
That should be it, dont flame if it dont work, because im not good coder and i havent tested it
Ty
Bamb is offline  
Reply


Similar Threads Similar Threads
[HELP]CoMy Damage Bug
09/10/2009 - CO2 Private Server - 16 Replies
Okay, well..... The CoMy Bug with damage, how do i fix it. If you don't know what im talking about, then it is the bug where you can wear no gear and level dont matter and the other only hit 1. Ex. Level 40 withouth gear and level 135 with full +12 then the level 135 still hits 1 and guards hit 1 and mobs hit 1
[Release] Fix Archer/Taoist Damage and Huge Thunder/Fire Damage
04/20/2009 - CO2 PServer Guides & Releases - 14 Replies
This is what you need to Fix Archer (Skills)/Taoist Damage and Huge Thunder/Fire Damage in LOTF source. Open Other.cs public static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl) Replace the whole method with the following method public static uint CalculateDamage(Character Attacker, Character Attacked, byte AttackType, ushort SkillId, byte SkillLvl) {
Need Help : 10x damage launcher / melee ---> 10x damage range
06/07/2008 - RF Online - 0 Replies
As long as i tried this cheat only work for the launcher / melee weapon. I tried several times but i only get the animation speed increase when using range weapons. Have anyone succesful using the 10x damage cheat to the range weapon :confused:
Physical Damage/Damage Reduction Question
05/20/2006 - Conquer Online 2 - 5 Replies
How does phys damage work with the RB def bonus and then with blessed % dmg reduction along with tortoise gem %. Can someone just show me how to calculate the damage in a short mathematical equation showing attack, defense, reborn bonus, blessed pct and tortoise pct? Thanks in advance, it seems that not many people fully understand the way this works (me included) so I think it would help out a lot of people if they knew. EDIT: Is the reborn 30% defense calculated in the beginning off the...



All times are GMT +1. The time now is 14:12.


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.