Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server
You last visited: Today at 14:52

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

Advertisement



Which file contains the dmg formula?

Discussion on Which file contains the dmg formula? within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2006
Posts: 239
Received Thanks: 103
Which file contains the dmg formula?

I remember someone saying that one of the files contained the formula to determine how dmg is calculated.

Which file is it?
Relaxation is offline  
Old 10/12/2010, 04:19   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
depends on source.

Usually something like

Calculations>Damage.cs or something like that.

attack, damage, etc. Totally depends on where you decide to place it.
pro4never is offline  
Old 10/12/2010, 05:35   #3
 
elite*gold: 0
Join Date: Jun 2006
Posts: 239
Received Thanks: 103
I wanna see it to know how the calculations work, potency, rebirth etc, how they are calculated by the server.

I'm not a pro. If someone can do it for me, or at least explain how, that would be awesome.
Relaxation is offline  
Old 10/12/2010, 05:55   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Well what source is it?
Arcо is offline  
Old 10/12/2010, 06:09   #5
 
elite*gold: 0
Join Date: Jun 2006
Posts: 239
Received Thanks: 103
Quote:
Originally Posted by Аrco View Post
Well what source is it?
Don't got a specific source in mind.

Are there any sources that include talismen/artifacts/dragonsouls into the equation, the way TQ does them?

If there is one, I could try with it.
Relaxation is offline  
Old 10/12/2010, 07:09   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,764
Received Thanks: 5,291
Possibly, only way to find out is to look through em.
Arcо is offline  
Old 10/12/2010, 07:15   #7
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Obviously no sources contain that as there is no public source running a new patch (That has calculations done)

The only servers with semi finished calculations are lotf, coemu and MAYBE one or two other older sources.


Lotf is known for HORRIBLE dmg calculations at time though... Elitecoemu and such iirc has proper calculations but that's long before any artifacts or any of the new stuff (just plus, bless, quality and base item stats + talis)
pro4never is offline  
Old 10/12/2010, 07:18   #8
 
elite*gold: 0
Join Date: Jun 2006
Posts: 239
Received Thanks: 103
How do they implement talismen then? Do they just make up their own formula?
Relaxation is offline  
Old 10/12/2010, 08:13   #9
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Of course. Everything related to pservers is simply "made up"

The only exception to that is when you are reading existing files (such as client itemtype or dmap files)

IIRC it goes something like...



Damage += Attacker.Pdmg - Attacked.Pdef;
if(Attacked.Bless > 0)
Damage -= Damage * (Attacked.Bless/100);
if(Attacked.TortPct > 0)
Damage -= Damage * (Attacked.TortPct/100);
if(Attacker.DragPct > 0)
Damage += Damage * (Attacker.DragPct /100);//this boost overal dmg by dragon gems or w/e other PERCENTAGE damage you are dealing
if(Attacker.Stigged)
Damage += Damage * (boost from stig level / 100);
if(Attacked.ManaShield)
Damage -= Damage * ( boost from mana shield / 100);
if(Attacked.XpShield)
Damage /= 3;
Damage += Attacker.TaliPdmg - Attacker.TaliPdef;

uint RebDiff = (uint)(Attacked.Reborn - Attacker.Reborn);
if(RebDiff > 0)
{
if(RebDiff == 1)
{
Damage *= .7;
}
else if(RebDiff == 2)
{
Damage *= .5;
}
}

if(Damage < 1)
Damage = 1;

return Damage;


Something along those lines. Don't think I forgot everything... Tali comes LAST (not effected by things like pdef and shield) Bless comes near the start, as do torts. Reborn comes near the end of calc.

May not be PERFECT but is damned close.

Note: just wrote this off the top of my head. Is not related to any source or pre-written code.
pro4never is offline  
Thanks
1 User
Old 10/12/2010, 19:05   #10
 
elite*gold: 0
Join Date: Jun 2006
Posts: 239
Received Thanks: 103
Quote:
Originally Posted by pro4never View Post
Of course. Everything related to pservers is simply "made up"

The only exception to that is when you are reading existing files (such as client itemtype or dmap files)

IIRC it goes something like...



Damage += Attacker.Pdmg - Attacked.Pdef;
if(Attacked.Bless > 0)
Damage -= Damage * (Attacked.Bless/100);
if(Attacked.TortPct > 0)
Damage -= Damage * (Attacked.TortPct/100);
if(Attacker.DragPct > 0)
Damage += Damage * (Attacker.DragPct /100);//this boost overal dmg by dragon gems or w/e other PERCENTAGE damage you are dealing
if(Attacker.Stigged)
Damage += Damage * (boost from stig level / 100);
if(Attacked.ManaShield)
Damage -= Damage * ( boost from mana shield / 100);
if(Attacked.XpShield)
Damage /= 3;
Damage += Attacker.TaliPdmg - Attacker.TaliPdef;

uint RebDiff = (uint)(Attacked.Reborn - Attacker.Reborn);
if(RebDiff > 0)
{
if(RebDiff == 1)
{
Damage *= .7;
}
else if(RebDiff == 2)
{
Damage *= .5;
}
}

if(Damage < 1)
Damage = 1;

return Damage;


Something along those lines. Don't think I forgot everything... Tali comes LAST (not effected by things like pdef and shield) Bless comes near the start, as do torts. Reborn comes near the end of calc.

May not be PERFECT but is damned close.

Note: just wrote this off the top of my head. Is not related to any source or pre-written code.
Thats awesome. I wanna test it out. This one isn't found on any CO files, right?

I'm honestly curious about the m-def formula too.

edit: NVM found it.
Relaxation is offline  
Old 10/12/2010, 20:44   #11
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Damage is server side. Client has no effect on the damage done really. The only damage it knows about is the calculation for damage which is put in your stat window... It never knows any of the stats for a person you are targeting.

Ooh and I should correct that in that the initial damage is a random number between mindmg-max dmg.
pro4never is offline  
Reply


Similar Threads Similar Threads
Formula card 079 value?
04/29/2010 - Cabal Online - 1 Replies
Hello. Can anyone please tell me the value of formula card no.079. It's for glory potion lvl 1. Thanks.
Can you help me? Attack formula !!
01/31/2010 - Aion - 0 Replies
- I want to ask about the attack's formula in INFO of the Character when equip weapon . - And how many defense i need to increase in order to decrease 1 damage. :confused:
Formula for Steeds Please
07/30/2009 - Conquer Online 2 - 3 Replies
What is the accurate formula for steed breeding (the 0.9+0.1 rough estimate isnt gonna cut it for rare steeds). Dont need a calculator either
Steed Formula
07/30/2009 - CO2 Private Server - 1 Replies
What is the accurate formula for steed breeding (the 0.9+0.1 rough estimate isnt gonna cut it for rare steeds). Dont need a calculator either
[Help]formula.ini function
01/31/2009 - Dekaron Private Server - 2 Replies
can any1 help me to explain the function of each line pls..i only know a little such as exp ratio, lvl and stat..it will be much easier for me if i know each of them..where can i edit my server DF time..? thanks wMaxLevel ,170 wMinLevelToLoseExp ,0 byStatPointPerLevel ,10 wDropMaxDistance ,180 fItemRatio ,0.5 fSTRDamageRatio ,0.4



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


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.