Register for your free account! | Forgot your password?

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

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

Advertisement



Absolutely Mind Blasting

Discussion on Absolutely Mind Blasting within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 10/29/2010, 14:12   #16
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Quote:
Originally Posted by _tao4229_ View Post
10 dollars says nobody that has posted in this thread understands it
Looked to me its kinda like fractions.
Isnt it just doing some *'ing and some other math stuff to get the same number as inputted? I know its along those lines, it also has a limit before the result is done?
_DreadNought_ is offline  
Old 10/29/2010, 16:57   #17
 
elite*gold: 0
Join Date: Sep 2008
Posts: 694
Received Thanks: 207
Quote:
Originally Posted by Korvacs View Post
This doesnt have very much to do with programming, you need to be good at maths to understand this.
True, tho, still got me lost.
DragonHeart is offline  
Old 10/29/2010, 21:55   #18
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
I realize that is it offtopic, but posting it here is the only place in the CO-community where math of this kind can be treated with importance.
You want me to make this relevant to CO? Gladly:
Code:
        static double f2(double y, double x, int klimit)
        {
            if (x > 0)
                return f(y / x, klimit);
            else if (y >= 0 && x < 0)
                return Math.PI + f(y / x, klimit);
            else if (y < 0 && x < 0)
                return (-Math.PI) + f(y / x, klimit);
            else if (y > 0 && x == 0)
                return Math.PI / 2;
            else if (y < 0 && x == 0)
                return (-Math.PI) / 2;
            return Double.NaN;
        }
Code:
        static int GetAngle(int X1, int Y1, int X2, int Y2)
        {
            return (int)Math.Round(f2(Y2 - Y1, X2 - X1, 5) * 180 / Math.PI);
        }
Used commonly to get the angle between two entities. You just didn't know (or better yet, you didn't have to know / understand) the math behind it but this calculation is likely used somewhere in your source, but the functions it depends on are likely being used from the .NET library instead of self-implemented. Knowing the angle is essential in calculating who gets it for the "wave" magic-type (named by TQ). Think about the poleaxe skill.
InfamousNoone is offline  
Old 10/29/2010, 22:13   #19
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
I made it relevant to CO now, could you please explain the problem now?
InfamousNoone is offline  
Old 10/29/2010, 22:56   #20


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
Quote:
Originally Posted by .Kob View Post
He's just another human in our little planet.
But thats true, are the moderators scared?
Not scared, merely have respect, inf has never to my knowledge posted anything that goes against the rules here, nor posted anything that isnt relevant to the section he posted in.....as he has proven once again.
Korvacs is offline  
Thanks
1 User
Old 10/29/2010, 23:05   #21
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
I was not saying this was irrelevant, however I was pointing out the behaviour towards Infamous.
Basser is offline  
Old 10/29/2010, 23:29   #22
 
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
I understand it now. I just had to look up a lot of math class variables and what they do. This is a way of getting accuracy (as you said), I learned something similar in AP Statistics. Is this what our calculators use?
FuriousFang is offline  
Old 10/30/2010, 11:09   #23
 
elite*gold: 20
Join Date: Aug 2005
Posts: 1,734
Received Thanks: 1,000
Cleaned. Infamous, do you mind merging the actual CO part of the calculation to the first post?
tanelipe is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
CABAL PH Try My new Bot Absolutely FREE!!!!!!!
08/27/2008 - Cabal Hacks, Bots, Cheats, Exploits & Macros - 8 Replies
all Pinoyz!!!! try my self made bot!! heres the link trust me scan it if you want - got an update my new version - dont forget to give me -!!!!!!



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


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.