Register for your free account! | Forgot your password?

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

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

Advertisement



Loads of problems! 5165

Discussion on Loads of problems! 5165 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Loads of problems! 5165

Hey guys i got a few problems in my 6165 server. if anyone can help woule be much appreciated....

1> Sometimes chars done save.

Someone said somethign about added mobs already for this one >
Quote:
System.ArgumentException: Item has already been added. Key in dictionary: 'NewestCOServer.Game.Mob' Key being added: 'NewestCOServer.Game.Mob'
at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)
at System.Collections.Hashtable.Add(Object key, Object value)
at NewestCOServer.Features.SkillsClass.SkillUse.GetMo bTargets(UInt32 Single) in C:\rikardo updated\Features\Skills.cs:line 265
at NewestCOServer.Features.SkillsClass.SkillUse.GetTa rgets(UInt32 Single) in C:\rikardo updated\Features\Skills.cs:line 147
Dont know what this is!
Quote:
System.NullReferenceException: Object reference not set to an instance of an object.
at NewestCOServer.PacketHandler.Handle(GameClient GC, Byte[] PData) in C:\rikardo updated\PacketHandler.cs:line 723
Dont know what this is either
Quote:
System.ArgumentException: Destination array is not long enough to copy all the items in the collection. Check array index and length.
at System.ThrowHelper.ThrowArgumentException(Exceptio nResource resource)
at System.BitConverter.ToInt16(Byte[] value, Int32 startIndex)
at NewestCOServer.Main.GameWorker.DataHandler(StateOb j StO, Byte[] Data) in C:\rikardo updated\Main\GameWorker.cs:line 65
.Beatz is offline  
Old 02/28/2010, 12:10   #2
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
have you installed the DB correctly? the mob one looks like the mobs wont load correctly either. the one in packtehandler.cs looks like that it cant do all the packters and the client cant find them. and the third one i cant make anything out of it. but i think i can help you when you explain whats really wrong.
like can you log in the game?
have you tried installing the source again?
ph03nixx is offline  
Old 02/28/2010, 12:17   #3
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by ph03nixx View Post
have you installed the DB correctly? the mob one looks like the mobs wont load correctly either. the one in packtehandler.cs looks like that it cant do all the packters and the client cant find them. and the third one i cant make anything out of it. but i think i can help you when you explain whats really wrong.
like can you log in the game?
have you tried installing the source again?
I can log into the game and so can everybody else.
I have reinstalled the source again.
the problem is mainly that characters sometimes dont save properly. I dont know why that is. My character and some of the players and a PM or 2 characters always save no problem.
Thanks for the help xD
.Beatz is offline  
Old 02/28/2010, 13:35   #4


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Heres an example of your "object reference not set to an instance of an object" exception:

Code:
            DMapLoader.DMapServer DmapHandler;
            DmapHandler.ConquerPath = @"C:\Conquer Example\";
            DmapHandler.Load();
DmapHandler has not been defined, it has been declared as being a DMapServer, however at the moment it is still null, for it to work you would need this:


Code:
            DMapLoader.DMapServer DmapHandler = new DMapLoader.DMapServer();
            DmapHandler.ConquerPath = @"C:\Conquer Example\";
            DmapHandler.Load();
Now the object atually has a value and that exception will not be thrown.

This only applies to instances of objects, static objects do not require this in most cases.
Korvacs is offline  
Thanks
1 User
Old 02/28/2010, 14:11   #5
 
.Beatz's Avatar
 
elite*gold: 0
Join Date: May 2006
Posts: 1,190
Received Thanks: 516
Quote:
Originally Posted by Korvacs View Post
Heres an example of your "object reference not set to an instance of an object" exception:

Code:
            DMapLoader.DMapServer DmapHandler;
            DmapHandler.ConquerPath = @"C:\Conquer Example\";
            DmapHandler.Load();
DmapHandler has not been defined, it has been declared as being a DMapServer, however at the moment it is still null, for it to work you would need this:


Code:
            DMapLoader.DMapServer DmapHandler = new DMapLoader.DMapServer();
            DmapHandler.ConquerPath = @"C:\Conquer Example\";
            DmapHandler.Load();
Now the object atually has a value and that exception will not be thrown.

This only applies to instances of objects, static objects do not require this in most cases.
Thanks for this i will go and do this now
.Beatz is offline  
Reply


Similar Threads Similar Threads
Problems in 5165
04/07/2010 - CO2 Private Server - 5 Replies
Hey all i have problems in my source V5165 http://i42.tinypic.com/a2q5ft.jpg NO Top halo system say me Congrats you won top ninja,war,Trojan,arch.... and not top halo i think i don,t have PKTroument.cs in my project C# Look photo here
5165 Problems! 2 problems!
02/28/2010 - CO2 Private Server - 8 Replies
Okay so NOW I get these 2 problems in ma command prompt window of ma source... 2 problems: I really need help since I dunno wtf is the problem on 1 and 2...I'd appreciate it!
Help in 5165 problems.
02/09/2010 - CO2 Private Server - 1 Replies
Is this the right place of release my thread? I"m still new and maybe if I'm mistaken I thread in wrong place just let me explain my problem First. i got my problem in my signature. Hope some reply me with a a code and guide how to to them. please help. and i forgot this is my first thread hope no spamming here. all i want is help for all who know about 5165 Ill upload a sample picture of my 2nd problem for clarification. All my problems is listed in my signature. please big...
[Help]5165 problems
01/13/2010 - CO2 Private Server - 7 Replies
how stable is 5165 and wht are some bugs that needs fixed and worked on and errors that need fixed not errors or problems that people are having like what makes this source unstable if any thang. what skills needs to be worked. what needs to be added. i dont care about npcs and such
[Problems] Source 5165 All Problems
11/28/2009 - CO2 Private Server - 7 Replies
Hello Everyone, Ok i will put All my problems here So i hope noone spamming and Say Go learn C# and w/e 1-RegPage: fixed all by adding  to the start of the pass and  to the end of the pass. its working okay and when i create character and try to rejoin the game close with itself Note: When i make From NewestCOServer Cmd it works fine and the game dont close i mean i want other players to make thier own accounts and dont ask me to make them The Accounts they want. 2-Lottery: Cant...



All times are GMT +1. The time now is 20:18.


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.