Register for your free account! | Forgot your password?

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

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

Advertisement



my server not drop any thing

Discussion on my server not drop any thing within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2009
Posts: 87
Received Thanks: 2
my server not drop any thing

when i make the code //
my server not drop any thing

When the code and Make Add 2 Slash the server does not give me cps or any thing plz help me

the code this



Quote:
if (!Companion)
//MonsterInfo.Drop(killer); this is the code
ServerBase.Kernel.Maps[MapID].Floor[X, Y, MapObjType, this] = true;
if (killer.EntityFlag == EntityFlag.Player)
{
killer.Owner.IncreaseExperience(MaxHitpoints, true);
if (killer.Owner.Team != null)
{
foreach (Client.GameState teammate in killer.Owner.Team.Teammates)
{
if (ServerBase.Kernel.GetDistance(killer.X, killer.Y, teammate.Entity.X, teammate.Entity.Y) <= ServerBase.Constants.pScreenDistance)
{
if (killer.UID != teammate.Entity.UID)
{
uint extraExperience = MaxHitpoints / 2;
if (killer.Spouse == teammate.Entity.Name)
extraExperience = MaxHitpoints * 2;
byte TLevelN = teammate.Entity.Level;
if (killer.Owner.Team.CanGetNoobExperience(teammate))
{
if (teammate.Entity.Level < 137)
{
extraExperience *= 2;
teammate.IncreaseExperience(extraExperience, false);
teammate.Send(ServerBase.Constants.NoobTeamExperie nce(extraExperience));
}
}
else
{
if (teammate.Entity.Level < 137)
{
teammate.IncreaseExperience(extraExperience, false);
teammate.Send(ServerBase.Constants.TeamExperience( extraExperience));
}
}
byte TLevelNn = teammate.Entity.Level;
byte newLevel = (byte)(TLevelNn - TLevelN);
if (newLevel != 0)
{
if (TLevelN < 70)
{
for (int i = TLevelN; i < TLevelNn; i++)
{
teammate.Team.Teammates[0].VirtuePoints += (uint)(i * 3.83F);
teammate.Team.SendMessage(new Message("The leader, " + teammate.Team.Teammates[0].Entity.Name + ", has gained " + (uint)(i * 7.7F) + " virtue points for power leveling the rookies.", System.Drawing.Color.Red, Message.Team));
}
}
}
}
}
}
}
alaa410 is offline  
Old 10/06/2011, 13:52   #2
 
F i n c h i's Avatar
 
elite*gold: 0
Join Date: Nov 2009
Posts: 785
Received Thanks: 422
// means it doesn't matter, C# will not read that line.
F i n c h i is offline  
Old 10/06/2011, 14:32   #3
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
// is a comment state which means that the compiler ignore it and its usefull in making Titles for codes nothing else i guess ..wish i helped u enough
shadowman123 is offline  
Old 10/06/2011, 16:23   #4
 
elite*gold: 0
Join Date: Feb 2009
Posts: 920
Received Thanks: 3,514
lol....
m7mdxlife is offline  
Thanks
1 User
Old 10/06/2011, 16:27   #5
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
// and /* */ is commentary.
BaussHacker is offline  
Old 10/06/2011, 16:29   #6
 
elite*gold: 0
Join Date: Feb 2009
Posts: 920
Received Thanks: 3,514
Quote:
Originally Posted by BaussHacker View Post
// and /* */ is commentary.
*i could have gone my whole life without knowing that*
m7mdxlife is offline  
Old 10/06/2011, 16:50   #7
 
elite*gold: 0
Join Date: Dec 2009
Posts: 87
Received Thanks: 2
but i will delete slash i get some error

Quote:
at Conquer_Online_Server.Database.MonsterInformation. Drop(Entity killer) in D
:\server\sqlxmlx\Source\Database\MonsterTable.cs:l ine 261
at Conquer_Online_Server.Game.Entity.Die(Entity killer) in D:\server\sqlxmlx\
Source\Game\Entity.cs:line 1692
at Conquer_Online_Server.Game.Attacking.Calculate.Mag ic(Entity Attacker, Enti
ty Attacked, SpellInformation SInfo) in D:\server\sqlxmlx\Source\Game\Attacking\
Calculate.cs:line 386
at Conquer_Online_Server.Game.Attacking.Calculate.Mag ic(Entity attacker, Enti
ty attacked, UInt16 spellID, Byte spellLevel) in D:\server\sqlxmlx\Source\Game\A
ttacking\Calculate.cs:line 411
at Conquer_Online_Server.Game.Attacking.Handle.Execut e() in D:\server\sqlxmlx
\Source\Game\Attacking\Handle.cs:line 124
at Conquer_Online_Server.Game.Attacking.Handle..ctor( Attack attack, Entity at
tacker, Entity attacked) in D:\server\sqlxmlx\Source\Game\Attacking\Handle.cs: li
ne 23
at Conquer_Online_Server.Game.Screen._timerCallBack(O bject scrObject) in D:\s
erver\sqlxmlx\Source\Game\Screen.cs:line 250
[02:09:40] System.NullReferenceException: Object reference not set to an instanc
e of an object.
at Conquer_Online_Server.Database.MonsterInformation. Drop(Entity killer) in D
:\server\sqlxmlx\Source\Database\MonsterTable.cs:l ine 261
at Conquer_Online_Server.Game.Entity.Die(Entity killer) in D:\server\sqlxmlx\
Source\Game\Entity.cs:line 1692
at Conquer_Online_Server.Game.Attacking.Calculate.Mag ic(Entity Attacker, Enti
ty Attacked, SpellInformation SInfo) in D:\server\sqlxmlx\Source\Game\Attacking\
Calculate.cs:line 386
at Conquer_Online_Server.Game.Attacking.Calculate.Mag ic(Entity attacker, Enti
ty attacked, UInt16 spellID, Byte spellLevel) in D:\server\sqlxmlx\Source\Game\A
ttacking\Calculate.cs:line 411
at Conquer_Online_Server.Game.Attacking.Handle.Execut e() in D:\server\sqlxmlx
\Source\Game\Attacking\Handle.cs:line 124
at Conquer_Online_Server.Game.Attacking.Handle..ctor( Attack attack, Entity at
tacker, Entity attacked) in D:\server\sqlxmlx\Source\Game\Attacking\Handle.cs: li
ne 23
at Conquer_Online_Server.Game.Screen._timerCallBack(O bject scrObject) in D:\s
erver\sqlxmlx\Source\Game\Screen.cs:line 250
alaa410 is offline  
Old 10/06/2011, 17:31   #8
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Some cases the coder just put // or /*/ to remind himself about smthing will be added to future or w.e for sm reason this doesnt mean that u delete them ..but check for the errors but anyways Drop problem is in Database/MonsterTable.cs ..
shadowman123 is offline  
Old 10/06/2011, 18:21   #9
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Quote:
Originally Posted by shadowman123 View Post
Some cases the coder just put // or /*/ to remind himself about smthing will be added to future or w.e for sm reason this doesnt mean that u delete them ..but check for the errors but anyways Drop problem is in Database/MonsterTable.cs ..
It could also be because you have something that currently is not working and that you will fix later or some old codes that you're not using anymore, but still got to use as reference etc. However it would be more common to use [Obsolete] for that, because it tells newer developers they should not use it.
BaussHacker is offline  
Reply


Similar Threads Similar Threads
[Buddy Thing] Bones thing
08/15/2011 - Archlord - 17 Replies
Uhm, ssry creating a thread only for that, but ma buddy is 80 and i really have to move ma balls and take the rewards. Uhmm i'm blocked at the thing where u have to ransack 100 **** in CF. please some1 tell me there is another way to get those :p
2010 SERVER FİLES DROP BUGS HELP MAX DROP %200 ???*
03/08/2011 - Metin2 Private Server - 7 Replies
http://www.yukleresim.com/images/07423386923704606 746.jpg
The server is not showing up and i tryed every thing
01/04/2011 - Private Server Advertising - 0 Replies
Well Im trying to make crying Gunz and me and partner have tryed every thing. but the server would never show up. The computer i am using is Windows 7 and My router is a netgear2000 i even tryed portforwording but nothing i even tryed Hamachi please i really need help. Config <?xml version="1.0" encoding="UTF-8"?> <XML> <SERVER> <IP></IP> <PORT>6000</PORT>
(ConquerWorld)The firist server in the world . new monistrs.styles.all evry thing
12/06/2010 - CO2 PServer Archive - 15 Replies
http://ahyaarab.net/images/178.gif http://ahyaarab.net/images/449.gif ConquerWorld Online Server The Best In The World http://ahyaarab.net/images/449.gif Opened the ConquerWorld all that is new and exclusive http://ahyaarab.net/images/499.gif http://ahyaarab.net/images/281.gif ConquerWorld
accserver thing used to start EO server?..
07/14/2009 - EO PServer Hosting - 3 Replies
oh btw man u know the AccountServer Version 6.127-1 thing?...the thing u use to start the EO server? well i put a virus detection on my pc and now i cant launch server cause accserver has a virus..... well i need accserver thing to download that doesnt have a virus in it.....oh and btw im usin the ManequinFULL the accserver that is used to start the server has a virus in it and so i need another one to download that doesnt have a virus....



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


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.