Register for your free account! | Forgot your password?

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

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

Advertisement



[help] fucking UpdateSpawn

Discussion on [help] fucking UpdateSpawn within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2008
Posts: 92
Received Thanks: 21
Angry [help] ******* UpdateSpawn

this is wrong
Quote:
public static void UpdateSpawn(Character Me)
{
if (Me != null)
{
foreach (DictionaryEntry en in AllClients)// this **** line
{
Character Charr = (Character)en.Value;
and i change this for
Quote:
public static void UpdateSpawn(Character Me)
{
if (Me != null)
{
IDictionaryEnumerator en = AllClients.GetEnumerator();
while (en.MoveNext())//now is here -.-
{
Character Charr = (Character)en.Value;
the shitt console says

Quote:
Accoun† £ogada Com Sucesso Chiozo IP >--> 189.34.156.196
System.NullReferenceException: Referência de objeto não definida para uma instância de um objeto.
em UltimateCo.World.UpdateSpawn(Character Me) na C:\Documents and Settings\LOST\Desktop\FuckCo\UltimateCo\World.cs:l inha 700
em UltimateCo.Client.GetPacket(Byte[] data) na C:\Documents and Settings\LOST\Desktop\FuckCo\UltimateCo\Client.cs: linha 6059

WTF? can any help me
reborn666 is offline  
Old 01/07/2009, 00:36   #2
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,882
foreach loops on ICollection's automatically translate into your 2nd code (lol).
InfamousNoone is offline  
Old 01/07/2009, 01:00   #3


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
You have a null entry in your client list apparently, and it doesnt like it.

Stop using buggy source thats my advice
Korvacs is offline  
Reply


Similar Threads Similar Threads
fucking botjail
04/30/2007 - Conquer Online 2 - 7 Replies
some1 know how can i exit from botjail without DBs??



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


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.