Register for your free account! | Forgot your password?

You last visited: Today at 04:05

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

Advertisement



Calculate the Weapon %

Discussion on Calculate the Weapon % within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Mar 2010
Posts: 18
Received Thanks: 1
Calculate the Weapon %

Hi guys,

Anyone know how can i calculate the difference of an atribute of the weapon by the %?

for example:

Phy. attack power 504 ~ 616 (0%)

Phy. attack power X ~ Y (50%)

I cant figure out how to calculate the X and Y.

i realy need to do it.

Thank you guys.
ighor10 is offline  
Old 03/20/2011, 23:16   #2
 
elite*gold: 0
Join Date: May 2007
Posts: 282
Received Thanks: 158
dunno the formula but you can do it on > weapon
or
click on the weapon you want and add the %'s
sirfhalas is offline  
Old 03/21/2011, 00:05   #3
 
elite*gold: 0
Join Date: Mar 2010
Posts: 18
Received Thanks: 1
No :S

I realy need the formula, because i am making an application that will need it.

i want to save all information about normal weapons, and then i want to calculate the abnormal weapons, like weapons with 60% of atack and etc.
ighor10 is offline  
Old 03/21/2011, 00:34   #4
 
npcdoom's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 76
Received Thanks: 147
Well its really simple, base + ((max-min)/100)*percent
npcdoom is offline  
Thanks
2 Users
Old 03/21/2011, 01:06   #5
 
elite*gold: 0
Join Date: Mar 2010
Posts: 18
Received Thanks: 1
Humm.
Thx. its what i need.


BTW, do u know a good place to get all this information?

I need information about all Chinese Weapons/armors, with base-min-max.
and an image 16x16 if possible
ighor10 is offline  
Old 03/21/2011, 01:21   #6
 
elite*gold: 0
Join Date: Nov 2008
Posts: 31
Received Thanks: 29
Quote:
Originally Posted by ighor10 View Post
Humm.
Thx. its what i need.


BTW, do u know a good place to get all this information?

I need information about all Chinese Weapons/armors, with base-min-max.
and an image 16x16 if possible
media.pk2
dracek is offline  
Old 04/04/2011, 16:25   #7
 
elite*gold: 0
Join Date: Nov 2010
Posts: 105
Received Thanks: 131
Quote:
Originally Posted by npcdoom View Post
Well its really simple, base + ((max-min)/100)*percent
What you mean with the base?
.Veteran> is offline  
Old 04/04/2011, 16:38   #8
 
kevin_owner's Avatar
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,484
Received Thanks: 809
I guess the player strength when he has no weapons on it. so the damage which you create with your fists. and the strength and int points which also increase those.

EDIT: after reading this thread again i'm pretty sure that i'm not correct:P
kevin_owner is offline  
Old 04/04/2011, 21:22   #9
 
npcdoom's Avatar
 
elite*gold: 0
Join Date: Jun 2009
Posts: 76
Received Thanks: 147
Quote:
Originally Posted by .Veteran> View Post
What you mean with the base?
Item base damage, when its 0%.
npcdoom is offline  
Thanks
1 User
Old 04/07/2011, 16:52   #10
 
elite*gold: 0
Join Date: Nov 2010
Posts: 105
Received Thanks: 131
I still don't get how to calculate it in the qword/lword of the item packet
Could you tell me how?
.Veteran> is offline  
Old 04/08/2011, 06:24   #11
 
naty48's Avatar
 
elite*gold: 0
Join Date: Mar 2009
Posts: 337
Received Thanks: 474
Firstly define some variables:
A = Basic Attack Power
B = Skill Attack Power
C = Attack Power Increasing rate
D = Enemy's total accessories Absorption rate
E = Enemy's Defence Power
F = Balance rate
G = Total Damage Increasing rate
H = Skill Attack Power rate

A final damage formula :
Damage = ((A + B)*(1 + C)/(1 + D) - E)*F*(1 + G)*H

hope is that helping out..
naty48 is offline  
Old 04/08/2011, 07:21   #12
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by naty48 View Post
A final damage formula :
Damage = ((A + B)*(1 + C)/(1 + D) - E)*F*(1 + G)*H
A more graphical representation:
Attached Images
File Type: gif wolframalpha-20110408002017840.gif (5.9 KB, 109 views)
lesderid is offline  
Thanks
1 User
Old 04/08/2011, 13:56   #13
 
Keyeight's Avatar
 
elite*gold: 844
Join Date: Oct 2010
Posts: 839
Received Thanks: 192
will thx alot lesderid for this help ^^
Keyeight is offline  
Old 04/14/2011, 20:30   #14
 
elite*gold: 0
Join Date: Nov 2010
Posts: 105
Received Thanks: 131
Somebody knew how to calculate it into the qword of the item packet?Wasted so much time into this **** and still don't get howto
.Veteran> is offline  
Old 04/14/2011, 21:56   #15
 
elite*gold: 0
Join Date: Jan 2009
Posts: 314
Received Thanks: 686
I did that already and it was very difficult because you have to compare much items, but finally i got it as you can see on these pictures:




If you play around with this value you may find out how it works.

If you send
1 --> Durability = 3%
2 --> Durability = 6%
3 --> Durability = 9%
...
we will end at 31 --> Durability = 100%.

Good the first value is full and we can continue
32 --> Durability = 0% but Phy Reinforce = 3%
33 --> Durability = 3% but Phy Reinforce = 3%
34 --> Durability = 6% but Phy Reinforce = 3%
...

I hope this helps you to figure out the logic.
DaxterSoul is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Gunbound Calculate searched
07/11/2010 - General Gaming Discussion - 0 Replies
Hey have someone a Calculate for Gunbound to faster learn how i shot beocouse i want make myself not by a bot but to lern i want us a program like this i hope u can help thx:mofo:
Calculate DMG , SP , WEAPON!
06/25/2008 - Silkroad Online - 4 Replies
Calculate DMG, SP ALL THINGS! Take a look and font forget press thanx button if you like :D:D. Just click here
DO ANYONE HOW TO CALCULATE MENTOR EXP
06/03/2008 - Conquer Online 2 - 1 Replies
LIKE WHEN WILL MENTOR GOT EXP FROM STUDENT WHEN THEY KILL MONSTER AND LEVEL OR WHEN STUDEMT KILL CERTAIN AMOUNT OF MONSTER



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


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.