Register for your free account! | Forgot your password?

You last visited: Today at 15:13

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

Advertisement



Guild Problem

Discussion on Guild Problem within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
Guild Problem

Hello, i'm using a 5165 (Leveling)
it's ProjectX but For Leveling.

well, i started on it there's 2h

i logged in, walking in twincity and clack, everything stoped, and this error appeared



Guilds.cs

Guilds.dat
Attached Images
File Type: jpg Sans titre.JPG (67.9 KB, 15 views)
Pro4Never2 is offline  
Old 03/05/2011, 17:51   #2
 
stealarcher's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
Most likely the file stream isnt being closed after 1 save, so the next save it cant read it again. Search for FS.Close();, if u cant find it, thats the issue.
stealarcher is offline  
Thanks
1 User
Old 03/05/2011, 18:46   #3
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
Replace this
Code:
 public static void LoadGuilds() 
        { 
            if (File.Exists(@"C:\OldCODB\Guilds.dat")) 
            { 
                FileStream FS = new FileStream(@"C:\OldCODB\Guilds.dat", FileMode.Open); 
                BinaryReader BR = new BinaryReader(FS); 
                int GuildsCount = BR.ReadInt32(); 
                for (int i = 0; i < GuildsCount; i++) 
                { 
                    Guild G = new Guild(BR); 
                    AllTheGuilds.Add(G.GuildID, G); 
                } 
                GuildWars.LastWinner = (Guild)AllTheGuilds[BR.ReadUInt16()]; 
            } 
        }
with this

Code:
 public static void LoadGuilds() 
        { 
            if (File.Exists(@"C:\OldCODB\Guilds.dat")) 
            { 
                FileStream FS = new FileStream(@"C:\OldCODB\Guilds.dat", FileMode.Open); 
                BinaryReader BR = new BinaryReader(FS); 
                int GuildsCount = BR.ReadInt32(); 
                for (int i = 0; i < GuildsCount; i++) 
                { 
                    Guild G = new Guild(BR); 
                    AllTheGuilds.Add(G.GuildID, G); 
                } 
                GuildWars.LastWinner = (Guild)AllTheGuilds[BR.ReadUInt16()]; 
                BR.Close();
                FS.Close();
            } 
        }

Here we go again sohaib, one NPC Release, 10 requests? Is that how you are not like 1 month ago?
Iron~Man is offline  
Thanks
1 User
Old 03/05/2011, 19:14   #4
 
stealarcher's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
Quote:
Originally Posted by Iron~Man View Post
Here we go again sohaib, one NPC Release, 10 requests? Is that how you are not like 1 month ago?
At least hes trying to learn, unlike many others on these forums.
stealarcher is offline  
Old 03/05/2011, 19:22   #5
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
Quote:
Originally Posted by stealarcher View Post
At least hes trying to learn, unlike many others on these forums.
Doing the one thing you learnt(Doing NPCs) all the time Isn't trying to learn.
Iron~Man is offline  
Thanks
1 User
Old 03/05/2011, 19:25   #6
 
elite*gold: 0
Join Date: Dec 2010
Posts: 97
Received Thanks: 11
doing my maximaun sry, but be sure, i don't request like a donkey anymore, i'm trying to fix it be4 requesting help
Pro4Never2 is offline  
Old 03/05/2011, 19:30   #7
 
stealarcher's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
Quote:
Originally Posted by Iron~Man View Post
Doing the one thing you learnt(Doing NPCs) all the time Isn't trying to learn.
You have to start somewhere, and this isnt for NPCs. This is for guilds, so obviously hes working on other things as well.
stealarcher is offline  
Old 03/05/2011, 19:33   #8
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
And You Didn't thank me for my fix.. Jesus Christ..

#edit
Pardon, Allah.
Iron~Man is offline  
Thanks
1 User
Old 03/05/2011, 19:35   #9
 
stealarcher's Avatar
 
elite*gold: 0
Join Date: Apr 2006
Posts: 231
Received Thanks: 94
*****, you didnt even post the fix first, *** ****. you really are a *****.
stealarcher is offline  
Thanks
2 Users
Old 03/05/2011, 20:18   #10
 
Iron~Man's Avatar
 
elite*gold: 0
Join Date: Dec 2010
Posts: 162
Received Thanks: 31
Quote:
Originally Posted by stealarcher View Post
*****, you didnt even post the fix first, *** ****. you really are a *****.
Even If I am, That's none of your business.
Iron~Man is offline  
Reply


Similar Threads Similar Threads
SIEGE guild problem!!! HELP!
07/22/2010 - Dekaron Private Server - 1 Replies
Hy! I using DK difference client/servefiles/sql db and when I tried to fix the siege with a script (see below) I got this guild error: http://kepfeltoltes.hu/100720/690529342deka_www.k epfeltoltes.hu_.png I tried two version: -I run the script. The script is create a new guild (MadeInHungary) and the picture is the scripts effect . -I create manually a new guild in the client (MadeInHungary) and I run the script. I restart the client and Im kicked from the new guild and the picture is...
[Help]Guild Problem
07/20/2010 - CO2 Private Server - 3 Replies
Hey guys...I've been wondering if some of you can tip me with a good "Pass Leadership" code... I've made this one #region Leadership else if (Control == 7) { if ((GC.MyChar.MyGuild != null && GC.MyChar.GuildRank == NewestCOServer.Features.GuildRank.GuildLeader)) { ...
problem with guild
07/18/2010 - Dekaron Private Server - 3 Replies
I had problem with creating guild emblem so i checked tables, there wasnt guild ranks so i writed all masterscodes again but if i go in game and try to make a guild it says fail to create a guild! Some1 have any idea what may be a problem?
Guild problem
01/03/2009 - Dekaron Private Server - 8 Replies
Hey. Recently, there's been a bug or something in my guild. Whenever you press "g", you instantly crash. Everyone in my guild has the problem, and i was just wondering if there's another way to leave the guild. Cheers, Zenuki



All times are GMT +1. The time now is 15:14.


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.