Register for your free account! | Forgot your password?

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

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

Advertisement



Problem with a few accounts

Discussion on Problem with a few accounts within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: May 2009
Posts: 14
Received Thanks: 0
Problem with a few accounts

I've observed this problem over the course of 2 days. Whenever certain players login I get this error on the .exe thing. All of these players also experienced a common problem, they lost items upon logging. I believe its because they have 41+ items in their inventory, but i'm not the best at this. It also crashes the login. Can anyone pinpoint the problem? If so, can you find a solution as well? Thanks. And yes this is the conquer-sx source.


Heres the error.
Golden11 is offline  
Old 07/20/2011, 22:40   #2
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
Code:
If (!Somecollection.Contains(Whateveryouwanttoadd))
    Somecollection.Add(Whateveryouwanttoadd);
BaussHacker is offline  
Old 07/20/2011, 22:45   #3
 
elite*gold: 0
Join Date: May 2009
Posts: 14
Received Thanks: 0
"I'm not the best at this" Where do I put that and what would I add?

#Fail on my part.
Golden11 is offline  
Old 07/20/2011, 22:50   #4
 
elite*gold: 0
Join Date: May 2011
Posts: 1,769
Received Thanks: 756
At the line giving the exception.

The reason you get the exception, it's because you're trying to add something to a collection, that's already added.

Example could be:
Code:
//this will give an exception:
void AddItemToBag(Item item)
{
    this.Bag.Items.Add(item);
}

//This will avoid it.
void AddItemToBag(Item item)
{
if (!this.Bag.Items.Contains(item))
    this.Bag.Items.Add(item);
}
BaussHacker is offline  
Reply


Similar Threads Similar Threads
Problem bei Accounts machen
03/09/2011 - Metin2 Private Server - 5 Replies
Hey Com Da meine Regi ja nicht geht wie gestern schonmal gepostet habe ich mir gedacht gut machste deine Acc in der DB soo will ACC dazu machen gebe *Id* ein und Pw will Speichern kommt da auch ne Fehler Meldung da kommt : 1062 - Duplicate entry '2' for key 1 Das is diese Meldung und deshalb geht RegiPage auch nicht brauche Hilfe bin da überfragt... Mfg Nooack
Problem Bei Accounts
05/13/2010 - Metin2 Private Server - 12 Replies
Also ich hab das problem Wenn ich mir eine eigenen Account machen will auf meinem p server kann ich mir charackter erstellen wenn ich auf start drücke nach 5 sek komm ich zurück zur server liste .aber mit dem test account rain geht es hilft mir pls:rtfm:
P-Server Problem mit Accounts.
04/17/2010 - Metin2 Private Server - 1 Replies
Hey, ich habe folgendes problem. Ich öffne mit Navicat Account- Account und erstelle einen Neuen in der liste. Mit dem PW von rain etc. Ich mache das alles nach einem video tut. YouTube - GM Rechte auf eigenem Meitn2 Pserver Tutorial! so dann klicke ich auf speichern. logge mich ein wie er im vid. erstelle einen char ( wie er im vid) klick auf starten damit ich eiloggen kann und bekomme kick in der Charauswahl PLZ HELP ME!!!!! PS: Mein server hat 1 GB arbeitsspeicher zugewiesen und...
Problem mit Accounts
11/03/2009 - Metin2 Private Server - 2 Replies
ALso mein Navicat is jetzt nach neinem Monat abgelaufen.... Kann man jetzt noch irgendwie anders Accounts erstellen? :D MFG,EInoede
Problem With the accounts
11/22/2008 - EO PServer Hosting - 1 Replies
Hello all, i am using the DB Palladin, and i have one problem, i create the account, and join at game, but, if i buy something or get some item on game, when i logout and logon the accont dont work again. i think, the problem can be the checksum in the itens, someone here have idea? i am w8 for reply... and if i make the MSG Server without checksum, will work? Att. i am using the server posted by Dibiase!



All times are GMT +1. The time now is 17:44.


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.