[Request] XP Balls

01/17/2010 22:18 alexik#1
Can someone give me the correct code of xp balls? I mean codes for normal exp.. cause if i use 10 exp balls i got lvl 1-127 or 128.

Here is my code!

Code:
                if (Level < 30)
                    return (uint)(150000 + Level * 43000);
                else if (Level < 50)
                    return (uint)(400000 + Level * 43000);
                else if (Level < 80)
                    return (uint)(300000 + Level * 50000);
                else if (Level < 80)
                    return (uint)(300000 + Level * 60000);
                else if (Level < 100)
                    return (uint)(300000 + Level * 70000);
                else if (Level < 110)
                    return (uint)(300000 + Level * 90000);
                else if (Level < 120)
                    return (uint)(300000 + Level * 110000);
                else if (Level < 125)
                    return (uint)(300000 + Level * 150000);
                else if (Level < 130)
                    return (uint)(300000 + Level * 170000);
                else
                    return (uint)(37748736 + Level * 225000 + (7 - (137 - Level)) * 75497472);
01/17/2010 22:36 spare2#2
Code:
        public uint ExpBallExp
        {
            get
            {
                if (Level < 30)
                    return (uint)(15000 + Level * 430);
                else if (Level < 50)
                    return (uint)(40000 + Level * 430);
                else if (Level < 80)
                    return (uint)(30000 + Level * 500);
                else if (Level < 80)
                    return (uint)(30000 + Level * 600);
                else if (Level < 100)
                    return (uint)(30000 + Level * 700);
                else if (Level < 110)
                    return (uint)(30000 + Level * 900);
                else if (Level < 120)
                    return (uint)(30000 + Level * 1100);
                else if (Level < 125)
                    return (uint)(30000 + Level * 1500);
                else if (Level < 130)
                    return (uint)(30000 + Level * 1000);
                else
                    return (uint)(30000 + Level * 1000);
            }
        }
I didn't code this.
For reference, go to [Only registered and activated users can see links. Click Here To Register...]
01/17/2010 22:43 alexik#3
still not work.. i got too much xp from xp balls.. 1-128.. :(
01/18/2010 00:33 spare2#4
That doesn't make sense.
Here look at the differences in EXP from your script and the script I gave you.
[Only registered and activated users can see links. Click Here To Register...]
01/18/2010 03:11 Arcо#5
Quote:
Originally Posted by alexik View Post
still not work.. i got too much xp from xp balls.. 1-128.. :(

Did you debug?
Because my exp calcs work greatly.
01/18/2010 03:41 .Ryu#6
Quote:
Originally Posted by Hepatitis C View Post

Did you debug?
Because my exp calcs work greatly.
Of course it works fine but he has to build first
01/18/2010 03:59 Arcо#7
Quote:
Originally Posted by .Ryu View Post
Of course it works fine but he has to build first
Lol that's pretty much what I just asked.
01/18/2010 04:09 xScott#8
Quote:
Originally Posted by Hepatitis C View Post
Lol that's pretty much what I just asked.
Would the ExpRate you set affect the exp given by the EXPBalls?

If so that would answer his question ><
01/18/2010 04:14 spare2#9
Interesting find, EXP rate does effect EXP Ball EXP.
Edit: I also found out if you use Exp Ball in training ground, the exp amount will get divided. =o
01/18/2010 04:21 Arcо#10
Quote:
Originally Posted by spare2 View Post
Interesting find, EXP rate does effect EXP Ball EXP
No it doesn't.
I've tested it and the server's exprate doesn't effect expball rate whatsoever.
01/18/2010 04:23 xScott#11
Quote:
Originally Posted by Hepatitis C View Post
No it doesn't.
I've tested it and the server's exprate doesn't effect expball rate whatsoever.
it did for me, i tried like 40 Exprate and 10Expballs got me to level92 o-o
01/18/2010 04:30 spare2#12
Quote:
Originally Posted by Hepatitis C View Post
No it doesn't.
I've tested it and the server's exprate doesn't effect expball rate whatsoever.
It does. Find all references to ExpBallExp. You will see it uses IncreaseExp(uint Amount, bool isTeamExp) to add EXP to the character. And in there, it does this to the amount of exp.
Code:
Amount = (uint)(Amount * EqStats.GemExtraExp * World.ExperienceRate);
And it doesn't check if the exp was from an EXP ball or not.
01/18/2010 17:42 alexik#13
Quote:
Originally Posted by Hepatitis C View Post

Did you debug?
Because my exp calcs work greatly.
ur calcs? i dont have ur source.
01/18/2010 18:50 Arcо#14
Quote:
Originally Posted by alexik View Post
ur calcs? i dont have ur source.

I have released them.
01/18/2010 21:32 alexik#15
Quote:
Originally Posted by Hepatitis C View Post

I have released them.
spare2 is ur account? if not give me please a link to ur relase.