Register for your free account! | Forgot your password?

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

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

Advertisement



[Help]How to change damage 5165

Discussion on [Help]How to change damage 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
necuja's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 114
Received Thanks: 25
[Help]How to change damage 5165

Hey i was wondering how i can change the damage on normal hit's and on TwoFoldBlade's and fb/ss hurc ect....

I want to make it too where everyone will hit like 2-4k on each other so it will be based on skill's

I'm using source 5165


Thanks guy's
necuja is offline  
Old 01/12/2010, 12:02   #2
 
elite*gold: 0
Join Date: May 2006
Posts: 52
Received Thanks: 25
is not so easy to change . but i laredy change the dmg .. almoust as real server i can explain u how to do'it
in characters.cs serach for
public void TakeAttack(Character Attacker, uint Damage, AttackType AT, bool IsSkill)

lines that contain "EqStats.TotalBless) / 100);" and modify to
EqStats.TotalBless) / 160); < this is for melee atack

modify only what is in public void TakeAttack(Character Attacker, uint Damage, AttackType AT, bool IsSkill)

then serach in skills.cs

EqStats.TotalBless) / 100); and modify to EqStats.TotalBless) / 160); << this is for skill attack

so take care there are more lines that u must modify they are some types of attak
intel_ro is offline  
Thanks
3 Users
Old 01/12/2010, 12:22   #3
 
necuja's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 114
Received Thanks: 25
Why change 100 to 160 i dont get it does that make it less? and how do u know what u should change it too?


Thanks
necuja is offline  
Old 01/12/2010, 12:30   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Your dividing by a larger number, which results therefore in a smaller one.

Although the damage calculation is wrong, this could provide you with a more reasonable damage range.
Korvacs is offline  
Thanks
1 User
Old 01/12/2010, 13:55   #5
 
necuja's Avatar
 
elite*gold: 0
Join Date: Feb 2007
Posts: 114
Received Thanks: 25
Quote:
Originally Posted by Korvacs View Post
Your dividing by a larger number, which results therefore in a smaller one.

Although the damage calculation is wrong, this could provide you with a more reasonable damage range.
Hmm thanks but do i just pick a random higher number?Also which number am i dividing?100?

So i guess divide 16,000 by 100 to get 160?

Thanks again!
necuja is offline  
Old 01/12/2010, 14:05   #6


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Quote:
Originally Posted by necuja View Post
Hmm thanks but do i just pick a random higher number?Also which number am i dividing?100?

So i guess divide 16,000 by 100 to get 160?

Thanks again!
Your dividing the calculated damage (i beleive) by 100.

So 67000 / 100 = 670.

Dividing by a higher number results in:

67000 / 160 = 418.75
Korvacs is offline  
Thanks
1 User
Old 01/12/2010, 15:00   #7
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
Quote:
Originally Posted by intel_ro View Post
is not so easy to change . but i laredy change the dmg .. almoust as real server i can explain u how to do'it
in characters.cs serach for
public void TakeAttack(Character Attacker, uint Damage, AttackType AT, bool IsSkill)

lines that contain "EqStats.TotalBless) / 100);" and modify to
EqStats.TotalBless) / 160); < this is for melee atack

modify only what is in public void TakeAttack(Character Attacker, uint Damage, AttackType AT, bool IsSkill)

then serach in skills.cs

EqStats.TotalBless) / 100); and modify to EqStats.TotalBless) / 160); << this is for skill attack

so take care there are more lines that u must modify they are some types of attak
you have the damage fixed o.O
ramix is offline  
Old 01/12/2010, 15:31   #8
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,165
Just change the hole itemtype.dat so all the weapons got the same attack values 0.o
Huseby is offline  
Thanks
1 User
Old 01/12/2010, 16:38   #9
 
elite*gold: 0
Join Date: May 2006
Posts: 52
Received Thanks: 25
Quote:
Originally Posted by ramix View Post
you have the damage fixed o.O
no is somtin like real co natural defence but is from begining .. i dind make the script to check if the caracter is rb or not rb

On real co server at each rb u get 30% reduction
so the calcultion is simple

if u look on source 5165 u will see that the calcultion is like
* ( 100 - bless.total / 100 ) that the pure dmg of skill or melle
so if u divide to 160 u will reduce like 60%
i use 170 and i still is much on lower ping because a ninja can TF 2 times in less than 1 sec
i need to work some delay betwen skils
if u look better in script .. the calculation is somting like this

Damage = (uint)((double)Damage * (100 - C.EqStats.TotalBless) / 160);
Damage = 2K
If full -7
and natural defence is 60% based on second rb

2000 * 49 / 160 = 612.5

if u ahave blade balde troj and attaka sis 36K - 43K

if dmg is 38000 * 49 / 160 = 11943
intel_ro is offline  
Thanks
2 Users
Old 01/12/2010, 16:43   #10
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
that is rigth.... the fun and tower level 130 can bug damage in source???
ramix is offline  
Old 01/12/2010, 16:49   #11
 
Sp!!ke's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 380
Received Thanks: 58
I have atack fixed 100% try my server and see that
Sp!!ke is offline  
Old 01/12/2010, 16:51   #12
 
ramix's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 272
Received Thanks: 61
hummm hlp us
ramix is offline  
Old 01/12/2010, 19:10   #13
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Quote:
Originally Posted by Korvacs View Post
Your dividing the calculated damage (i beleive) by 100.

So 67000 / 100 = 670.

Dividing by a higher number results in:

67000 / 160 = 418.75
so you cant divide by 160 because it gives a decimal? what if you divided by 200?

but that can give a realy small number i guess iunno XD
xScott is offline  
Thanks
1 User
Old 01/12/2010, 19:17   #14
 
elite*gold: 0
Join Date: May 2006
Posts: 52
Received Thanks: 25
Quote:
Originally Posted by intel_ro View Post
no is somtin like real co natural defence but is from begining .. i dind make the script to check if the caracter is rb or not rb

On real co server at each rb u get 30% reduction
so the calcultion is simple

if u look on source 5165 u will see that the calcultion is like
* ( 100 - bless.total / 100 ) that the pure dmg of skill or melle
so if u divide to 160 u will reduce like 60%
i use 170 and i still is much on lower ping because a ninja can TF 2 times in less than 1 sec
i need to work some delay betwen skils
if u look better in script .. the calculation is somting like this

Damage = (uint)((double)Damage * (100 - C.EqStats.TotalBless) / 160);
Damage = 2K
If full -7
and natural defence is 60% based on second rb

2000 * 49 / 160 = 612.5

if u ahave blade balde troj and attaka sis 36K - 43K

if dmg is 38000 * 49 / 160 = 11943
Quote:
Originally Posted by xScott View Post
so you cant divide by 160 because it gives a decimal? what if you divided by 200?

but that can give a realy small number i guess iunno XD
so (100 - C.EqStats.TotalBless) << this part is the bless on items i think working with non negative numbers is better this is not real calculation
the real calculation is divided by 100 but ppl forget the way of this game the damage should be calculated based on reborns ..
2nd rb 30% more def than 1st RB and 1st RB 30% more defence than non rb
intel_ro is offline  
Thanks
1 User
Old 01/12/2010, 19:34   #15
 
xScott's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 322
Received Thanks: 63
Quote:
Originally Posted by intel_ro View Post
so (100 - C.EqStats.TotalBless) << this part is the bless on items i think working with non negative numbers is better this is not real calculation
the real calculation is divided by 100 but ppl forget the way of this game the damage should be calculated based on reborns ..
2nd rb 30% more def than 1st RB and 1st RB 30% more defence than non rb
but he wanted it so people hit less so its based on skill? wouldn't dividing it by 200 do that?
xScott is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
5165 Damage Calculation
03/07/2010 - CO2 Private Server - 7 Replies
Fixes around the forum are useless and no where near good enough if you want to make a server public. Someone should go ahead and fix it then release their code. Get some thanks and make everyone happy. I wont because I can't, I would if i could. ^^
5165 Damage issues
02/06/2010 - CO2 Private Server - 1 Replies
Okay, this is odd. Somehow my lvl 100 naked ninja one hits my 2nd rb PM with over 17k hp, yet... he does only 52 damage. WTF. How can i change this damage? Thanks in advance!
Simple Handle Damage for 5165
01/31/2010 - CO2 Private Server - 0 Replies
Sry with my english, Here it is simple method for handle damage for 5165 source, couse i hve trouble with damage, all player can hit by 1. go to Character.cs after TakeAttack method i create new method, like this : public void ExtraDefence(ushort pDef) { pDef = (ushort)(this.Level * 100);//<-----put every value u need if (this.Reborns == 1) { pDef = (ushort)(pDef + ((pDef * 30) / 100));
Is it possible to change damage of critical?
07/15/2008 - Kal Online - 3 Replies
I seen today that someone used a hack and gm said it was a crithacker and its also a knight so any ideas of hack that could have done this? And is there any other good Kal Online hacking site beside this one?



All times are GMT +1. The time now is 07:56.


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