Register for your free account! | Forgot your password?

You last visited: Today at 20:19

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

Advertisement



Coding problem 5165

Discussion on Coding problem 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
sohaib's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 258
Received Thanks: 102
Coding problem 5165

when i was coding today , i got this error after debugging

so when i debug(F5) i see this

and when i open NewestCoServer.exe i see this

sohaib is offline  
Old 06/23/2010, 00:29   #2
 
elite*gold: 0
Join Date: Sep 2008
Posts: 494
Received Thanks: 120
omg no matter what u add it will cause errors that no1 seen for long time i see that this source is to hard for u :P:P well u have added npc wrong check ur last added npc and we dont well me dont understand ur language its French or Portuguese?
Adziunia is offline  
Old 06/23/2010, 01:01   #3
 
ftp4life's Avatar
 
elite*gold: 0
Join Date: Mar 2007
Posts: 130
Received Thanks: 9
Quote:
Originally Posted by sohaib View Post
when i was coding today , i got this error after debugging

so when i debug(F5) i see this

and when i open NewestCoServer.exe i see this

in your OldCODB open NPCs.txt erase the last few npcs u have added and retry
ftp4life is offline  
Old 06/23/2010, 05:23   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Can you translate the error that is shown in the box?
Arcо is offline  
Old 06/23/2010, 19:06   #5


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
It looks to me like your trying to add a key to the dictionary which already exists, and you cant have duplicate keys in a dictionary.
Korvacs is offline  
Old 06/23/2010, 20:36   #6
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Korv is right, look for an npc with the id of 4 in the NPC.txt, and delete it.
Arcо is offline  
Old 06/23/2010, 21:49   #7
 
sohaib's Avatar
 
elite*gold: 0
Join Date: Jun 2010
Posts: 258
Received Thanks: 102
i deleted OldCODB and i have put an other one, so i re edited npcs.txt
and it's done, thx anyway
sohaib is offline  
Reply


Similar Threads Similar Threads
Mob.cs coding problem(help)
06/23/2010 - CO2 Private Server - 6 Replies
hi, so i have co pserver 5165 i'm coding mob.cs, to make a monster droping an item so here is the script and tell me wha'ts wrong, because i made the Id of GoldDew else if (MyMath.ChanceSuccess(DropRates.CPBag)) { if (Char != null) if (Char.VipLevel >= 3) { if (Char.Inventory.Count <= 39)
Error in coding 5165
06/22/2010 - CO2 Private Server - 1 Replies
my server is 5165, i was editing the source (making this:http://www.elitepvpers.com/forum/co2-pserver-g uides-releases/497531-release-dbzone-vip.html#post 4582986) so when i debug i get this error http://img19.imageshack.us/img19/423/sanstitreoi. jpg and when i go to open server normaly i find this http://img171.imageshack.us/img171/6848/sanstitre 2ku.jpg
problem with coding
08/03/2009 - CO2 Private Server - 19 Replies
when my moms die then respawn they are invisible... probably a mistake in coding >< any ideas? lotf



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


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.