Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 03:56

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

Advertisement



[Release]Nearly Perfect Expball Calculations

Discussion on [Release]Nearly Perfect Expball Calculations within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
[Release]Nearly Perfect Expball Calculations

I went and tested these calculations for expballs for the 5165 source.
I'll release them here.
Keep in mind that these are not perfect.
They are almost perfect.
Enjoy.

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);
            }
        }
Arcо is offline  
Thanks
16 Users
Old 11/29/2009, 18:25   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Thanks for contributing something,
how ever please keep in mind there is a release section now! =D
Basser is offline  
Old 11/29/2009, 18:28   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Smythe94 View Post
Thanks for contributing something,
how ever please keep in mind there is a release section now! =D
Lmao you're right.
I thought that's the section I was in when I posted it.
Sorry.
#request move.
Arcо is offline  
Thanks
3 Users
Old 11/29/2009, 18:34   #4
 
-Shunsui-'s Avatar
 
elite*gold: 0
Join Date: Apr 2008
Posts: 1,152
Received Thanks: 321
Thanks 1 less thing i had to add,

FTW for the MP pots and HP Pots do you remmeber wat i gotah add to make it incase if your MP is already full not to remove the item

Ex..

#region MP Pots
case 1001000:
{
CurMP += 70;
RemoveItem(I);
break;
}

i was thinkin ading MaxMP += 70; but i think it will just add extra 70 HP to my Current Health
-Shunsui- is offline  
Old 11/29/2009, 18:35   #5
 
sawickas's Avatar
 
elite*gold: 0
Join Date: Sep 2008
Posts: 617
Received Thanks: 38
wats Wrong in his code
Quote:
#region Prize NPC
case 47:
{
if (Control == 0)
{
GC.AddSend(Packets.NPCSay("Helo i am Prize Npc wat Yuo want To do"));
GC.AddSend(Packets.NPCLink("Give MY My prize",1));
GC.AddSend(Packets.NPCLink("Nothing",255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
if (Control == 1)
{
GC.AddSend(Packets.NPCSay("Sorry you Dont hawe any prize in his server"));
GC.AddSend(Packets.NPCLink("Ok I see", 255));
GC.AddSend(Packets.NPCSetFace(N.Avatar));
GC.AddSend(Packets.NPCFinish());
}
}
break;
}
#endregion
Can any One tell My thanks
sawickas is offline  
Old 11/29/2009, 18:35   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by flako27 View Post
Thanks 1 less thing i had to add
Well if you use it give me a thanks please.
I'd appreciate it.
Quote:
Originally Posted by sawickas View Post
wats Wrong in his code Can any One tell My thanks
Post your own thread for it.
That's completely off topic to this thread.
Arcо is offline  
Thanks
3 Users
Old 11/29/2009, 18:41   #7
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by Tiku View Post
Well if you use it give me a thanks please.
I'd appreciate it.
Tbh, I think you should press thanks anyway, when somebody contributes something nice, no matter if you use it, for example if its for some other source, so you can't use it, you could still press thanks to show you respect his release.
Basser is offline  
Thanks
2 Users
Old 11/29/2009, 19:09   #8
 
Huseby's Avatar
 
elite*gold: 106
Join Date: Oct 2006
Posts: 6,047
Received Thanks: 1,164
#Moved
Huseby is offline  
Thanks
1 User
Old 11/30/2009, 09:36   #9
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by flako27 View Post
Thanks 1 less thing i had to add,

FTW for the MP pots and HP Pots do you remmeber wat i gotah add to make it incase if your MP is already full not to remove the item

Ex..

#region MP Pots
case 1001000:
{
CurMP += 70;
RemoveItem(I);
break;
}

i was thinkin ading MaxMP += 70; but i think it will just add extra 70 HP to my Current Health
Look in my Official 5165 Thread.
In my first post check out the spoilers.
I coded a fix to that.
Arcо is offline  
Thanks
2 Users
Old 12/01/2009, 09:50   #10
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,376
Quote:
Originally Posted by flako27 View Post
Thanks 1 less thing i had to add,

FTW for the MP pots and HP Pots do you remmeber wat i gotah add to make it incase if your MP is already full not to remove the item

Ex..

#region MP Pots
case 1001000:
{
CurMP += 70;
RemoveItem(I);
break;
}

i was thinkin ading MaxMP += 70; but i think it will just add extra 70 HP to my Current Health
if CurMp <= MaxMp
delete = false
else
curMp += 70
if curMp > maxMp
curMp = maxMp
delete = true
break


or however your particular source handles deleting or not deleting an item. Simply check if hp is full already, if so don't delete it (also print out a msg to the player would be a handy lil addition). If it's not full, add the hp
pro4never is offline  
Old 12/01/2009, 12:40   #11
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
What's the 5165 source?
PeTe Ninja is offline  
Thanks
1 User
Old 12/01/2009, 13:19   #12
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by PeTe Ninja View Post
What's the 5165 source?

I believe its Tanel's source.
It as made public about a week or two ago.
Arcо is offline  
Thanks
1 User
Old 12/01/2009, 19:46   #13
 
elite*gold: 0
Join Date: Sep 2008
Posts: 1,683
Received Thanks: 505
Quote:
Originally Posted by Tiku View Post

I believe its Tanel's source.
It as made public about a week or two ago.
Sadly, that is true.
Basser is offline  
Thanks
1 User
Old 12/02/2009, 11:34   #14
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Quote:
Originally Posted by Smythe94 View Post
Sadly, that is true.

Yeah, I hate to see someone's hard worked leaked out like that.
Arcо is offline  
Thanks
2 Users
Old 12/02/2009, 13:38   #15
 
_Emme_'s Avatar
 
elite*gold: 1142
Join Date: Aug 2006
Posts: 2,464
Received Thanks: 1,161
Quote:
Originally Posted by Tiku View Post

Yeah, I hate to see someone's hard worked leaked out like that.
Hard work? I had that source for some months now, haven't changed a bit. All it is really is a LOTF source with different variable name and a higher patch, that's about it. For the important stuffs, he's doing it pretty much the same, really.

The source is ****, not alot better than LOTF.
_Emme_ is offline  
Reply


Similar Threads Similar Threads
[Release] ExpBall Max use (CoEmu v2)
10/31/2009 - CO2 PServer Guides & Releases - 5 Replies
Hya!! Maybe this will be a stupid thing but here we go! first add this at character.cs: public bool ExpUsed = false; public int ExpBallN = 0; then go to useitem.cs and use this expball code ( or use your and add what's needed only... ): #region ExpBall
[Release]Right Archer/Tao Calculations
02/02/2009 - CO2 PServer Guides & Releases - 8 Replies
Fine I was Bored So I decided To play With calculations.Here They comes,Lets start with Archer one.The Only thing You gotta do Is find a right spot for it.I am not going to help you with doing that basic thing lol. Archer Direct Attack: if (AtkType == 25) { if (PTarget.Dodge <= 1) { ...



All times are GMT +2. The time now is 03:56.


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.