Register for your free account! | Forgot your password?

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

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

Advertisement



Regarding the exp monsters give when they die

Discussion on Regarding the exp monsters give when they die within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
Regarding the exp monsters give when they die

Any one know where the experience you gain from monsters is calculated ?
Seems like when i'm killing monsters i get no experience, in top left corner i get :"You have gained 0 extra experience from killing monsters!".
Same for weapon skill and spells, they only get exp until level 1 then stop (these can be upgraded with cps though).
mujake is offline  
Old 05/20/2013, 06:31   #2
 
LordGragen.'s Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 606
Received Thanks: 67
in your database have you check the config.sql?

there should be spot for

not all sources have but good luck.
LordGragen. is offline  
Old 05/20/2013, 06:43   #3
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
so if that number is not read it might make all the calculations involving it = 0?
mujake is offline  
Old 05/20/2013, 07:15   #4
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 946
Really depends on your source, in my it's calculated within the packethandler for combat when hitting and in the actual monster file when killing.

I do something like this:
Code:
ulong exp = (ulong)ProjectX_V3_Lib.ThreadSafe.RandomGenerator.Generator.Next((int)(damage / 2), (int)damage);
						if (attacked.Level > (attacker.Level + 10))
							exp *= 2;
						else if (attacker.Level > (attacked.Level + 10))
							exp = (ulong)ProjectX_V3_Lib.ThreadSafe.RandomGenerator.Generator.Next(1, (int)attackedmob.Level);
						attackerclient.AddExp(exp);
And this when killing:
Code:
					if (damage < 3)
						damage = 3;
					if (killer.Level > Level)
						damage = 3;
					if (Level > (killer.Level - 10))
						(killer as GameClient).AddExp((ulong)(((damage * 2) / 3) + ExtraExperience));
Note: These are my calculations, not following the actual TQ calculations.
Super Aids is offline  
Old 05/20/2013, 13:00   #5
 
mujake's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 494
Received Thanks: 54
thank you, fixed it finally , it didn't send the exp calculated.
mujake is offline  
Old 05/20/2013, 13:03   #6


 
CptSky's Avatar
 
elite*gold: 0
Join Date: Jan 2008
Posts: 1,434
Received Thanks: 1,147
Btw. For a calculation based on TQ, I use it in my COPS v6 source.
CptSky is offline  
Reply


Similar Threads Similar Threads
CAN ANY GIVE SCRIPS FOR HOTAN MONSTERS
09/20/2011 - SRO Private Server - 3 Replies
PLEASE NEED SCRIPS
How do i make monsters give exp when killed?
06/09/2008 - Conquer Online 2 - 1 Replies
Im new to this hole conquer server thing and the source i have dosent give exp when i kill monsters and i cant figure it out at all does anyone have a way i can add exp?



All times are GMT +2. The time now is 13:11.


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.