Register for your free account! | Forgot your password?

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

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

Advertisement



Problem 5375 Console :(

Discussion on Problem 5375 Console :( within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Aug 2009
Posts: 20
Received Thanks: 2
Angry Problem 5375 Console :(

Sorry to bother so much but I'm mario mistakes this is the next I shut the server and the console and hit me when I write the @ exit the console does nothing

YeuryXD is offline  
Old 06/24/2011, 03:58   #2
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
MonsterInformation.Drop(Entity Killer) <<< thats the problem the killer is null you should pass only the objects that does not == null other ways you'll get the same exception all the time ,

you can do something like the following in side that drop void .
if (Killer != null) { your drop **** goes here; }

and btw do some research about the(thread safe in C#)
{ Angelius } is offline  
Old 06/24/2011, 05:23   #3
 
rockymiperro's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 95
Received Thanks: 2
this dont fix the problem i was try and dont work =( y make this its good?
if (Killer != null) killer.ConquerPoints += (20);
rockymiperro is offline  
Old 06/24/2011, 06:50   #4
 
elite*gold: 0
Join Date: Aug 2009
Posts: 20
Received Thanks: 2
#region Cps Drop
if (Game.Entity.ChanceSuccess(10000000))
{
killer.ConquerPoints += 25;
killer.Owner.Send(new Network.GamePackets.Message("Felicidadeshaora consigues 25 Cps.", System.Drawing.Color.Yellow, 2005));
}
#endregion
YeuryXD is offline  
Old 06/24/2011, 10:59   #5
 
S/W's Avatar
 
elite*gold: 0
Join Date: Nov 2010
Posts: 159
Received Thanks: 39
Tray his one

Quote:
if (Owner.Name.Contains("Guard"))
return;
#region CPs
if (Game.Entity.ChanceSuccess(6))
{
uint amount = Level;

if (Level > 10)
{
amount = (uint)(Level / 10);
amount += (uint)(amount + (amount * 2.687));
}

if (amount == 0)
return;

killer.ConquerPoints += amount;
killer.Owner.Send(new Network.GamePackets.Message("The monster has Give you " + amount + " cps.", System.Drawing.Color.Yellow, 2005));
}
#endregion
S/W is offline  
Old 06/24/2011, 14:31   #6
 
elite*gold: 0
Join Date: Dec 2009
Posts: 87
Received Thanks: 2
Quote:
Originally Posted by S/W View Post
Tray his one
where i can edit the commint

can any one help me to make this pls
alaa410 is offline  
Old 06/24/2011, 14:52   #7
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Quote:
Originally Posted by rockymiperro View Post
this dont fix the problem i was try and dont work =( y make this its good?
if (Killer != null) killer.ConquerPoints += (20);
really ? you tried and it dident work ? well guess what you did it wrong ...

and btw null references doesent have to be any of the parameters that is passed to the void and if you take a look at the screen shot up there you'll see that it tells you exactly where the problem is and if you cant read/follow/fix such small problem please give up the privet servers **** until you learn at least the basics of C#.

and.... if (Killr != null) and if (Killer == null) return; is being used to avoid passing//processing any null references to the void (So you dont get any of those exceptions) and if the server that you are using was a well coded server you well never need to double check those null stuff :/
{ Angelius } is offline  
Old 06/24/2011, 18:50   #8
 
rockymiperro's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 95
Received Thanks: 2
Quote:
Originally Posted by { Angelius } View Post
really ? you tried and it dident work ? well guess what you did it wrong ...

and btw null references doesent have to be any of the parameters that is passed to the void and if you take a look at the screen shot up there you'll see that it tells you exactly where the problem is and if you cant read/follow/fix such small problem please give up the privet servers **** until you learn at least the basics of C#.

and.... if (Killr != null) and if (Killer == null) return; is being used to avoid passing//processing any null references to the void (So you dont get any of those exceptions) and if the server that you are using was a well coded server you well never need to double check those null stuff :/
problem solved men you know how to fix this error of anysockets?

rockymiperro is offline  
Old 06/24/2011, 18:56   #9
 
{ Angelius }'s Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 991
Received Thanks: 1,107
Quote:
Originally Posted by rockymiperro View Post
problem solved men you know how to fix this error of anysockets?
No i dont cus it sounds like you dident read any of my replays on the topic .
{ Angelius } is offline  
Old 06/24/2011, 20:54   #10
 
rockymiperro's Avatar
 
elite*gold: 0
Join Date: Sep 2009
Posts: 95
Received Thanks: 2
i was read i said problem solved men really
rockymiperro is offline  
Reply


Similar Threads Similar Threads
help thi the console for 5375
06/26/2011 - CO2 Private Server - 3 Replies
hi everybody i have one erro in the console of 5375 i want to now waht it this? and how i can fit it if is possible check this pic http://img197.imageshack.us/img197/5901/helpxg.jp g help please
Nobility 5375 Problem
06/23/2011 - CO2 Private Server - 0 Replies
Hello friend I have a problem with my server 5375 is as follows: when I make a donation to the nobility is not granted any of the range.:handsdown:
5375 error with my console
06/20/2011 - CO2 Private Server - 3 Replies
Hello good friend I have an error with my console in my 5375 server this error causes a lot tabi lag on my server.:handsdown: http://i52.tinypic.com/352jbyp.jpg
Problem in the NPC dialogue 5375
06/09/2011 - CO2 Private Server - 0 Replies
Hello all go my question is very easy and simple, but is a doubt very important. Well we know how to create an NPC just add the codes in dialogs.cs and insert an ID, this ID will be the same in sql table of NPCs, but when I turn the server is not the NPC Honestly .. I have a doubt about the table fields npc (task0, Task1, task2 ...) I would like to know if this is what is missing to start with on the NPC decks. PS: My source is 5375 Question: :rtfm: What are the task and how do I tell my...
Problem With Vigro Of 5375
05/23/2011 - CO2 Private Server - 0 Replies
Welcome Coders I've Problem With Vigro in 5375 Like This When i ride a horse +12 The Vigro Be So Low And Suddenly it high step by step Thanks For Will HElp Me.



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


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.