[HELP] Annoying Guild Problem - AGAIN!

08/25/2010 22:17 killersub#1
alright so I kno korvacs closed my last one but I had to say sumthin else before saying the "#request close" thing...so I did what I did and it worked but now Im creating a guild then closing it and its saving but still giving me that error when I debug...

THE ERROR IS ON GUILDS.CS

the error is located here (in guilds.cs) IN RED:

Code:
public void ReadThis(BinaryReader BR)
        {
            MembID = BR.ReadUInt32();
            [COLOR="DarkRed"]MembName = BR.ReadString();[/COLOR]
            Donation = BR.ReadUInt32();
            Level = BR.ReadByte();
            Rank = (GuildRank)BR.ReadByte();
            MyGuildID = BR.ReadUInt16();
        }
the error its giving me is this:

Code:
Unable to read beyond the end of the stream.
and my guilds.dat is full of stuff!

heres my guilds.dat:

Code:
,   BB 
WanHelsing@B ‰d   BB 
WanHelsing@B ‰d@B costeaA guild            žA ~FearMe~@B nd   žA ~FearMe~@B nd@B 
Noob~KingZA guild            C 	The_Queen@‰df   $C asdfar    :ZfC 	The_Queen‰df6Vf|~SxTeam~|®A guild           cB Oddeza@B €d    jB fuckUd Z YB _PuReBlooD_    „Z cB Oddezaܩ „d  ^TheGodFathers^A guild           C 	The_Queen@B ‰d   C 	The_Queen@B ‰d@B TesterA guild             impulse@B ‰d    impulse@B ‰d@B StaffA guild           C 	The_Queen@B ‰d5   C 	The_Queen@B ‰d5@B 5TestA guild            r] impulse@B dŽ!   @Ž sheep1    2Ž!ˆ ~Dark~nnja~    F2Ž!c,4 	~StarWar~    d2Ž!Hy( SEXYYYYY    m2Ž!
' karen    l2Ž!9 BurtoN    q2Ž!r] impulse@B dŽ!` Ž!GuildA guild            *B Owner@B –d   *B Owner@B –d@B WeGotFu**dByA guild            ‰B AllEyesOnMe@B „d=   žB DontFuckWithMe    ~2=‰B AllEyesOnMe@B „d=@B =	LethalityA guild            C 	Bl4z3StaRا ‚d   -C 
Hell_MaKeR    [ZC 	Bl4z3StaRا dا Dark~BrotherhoodA guild            œE Paragon@B d*   œE Paragon@B d*@B *~PvP-PWNERS~             –C 	ConquerSx@B hdxt   –C 	ConquerSx@B hdxt@B xtTTTTTTooA guild            ː† NewDream` od‚ƒ
   R Make_Me    /2‚ƒV.
Alex_br#35    ^2‚ƒ89 @lex_br    r2‚ƒ crouwer    *2‚ƒ‡Joe#41    l2‚ƒL Lacooste    r2‚ƒ“] 
Billabong~    .2‚ƒ Lost_Br    |Z‚ƒ.A Oakley    QZ‚ƒː† NewDream` pd‚ƒ*, ‚ƒ.Brasil.A guild            B Stefy@B ]d   ‚B PoGea    „2xB Rusu- „ZB Stefy@B „d 	= V.|.PA guild           B Owner@B ƒdo    B Owner@B ƒdo @B o 423423dA guild           B Tro2@B ƒd‚   B Tro2@B ƒd‚@B ‚sadasdaA guild            C Katana@#‚d   B Dunhill    ]2B Wickit.Razor€–˜ nZC Katana@#‚dNinja~AllianceA guild            Šs 	Dark_Lord@B d•   $ ~Storm    2•Šs 	Dark_Lord@B d•@B •ExTreamStaffA guild            >C AhmeDا ud+   7C Shek0@B jZ+>C AhmeDا ud+  +friendsA guild            B QuickCo@B ‚d   B QuickCo@B ‚d@B QuickCoA guild            dc Apollon@B vd0   dc Apollon@B zd0€ 0Anti~BritainA guild            RB 
WanHelsing@B ‰di   \B 	Th3Mast3r    t2inB Layla    „2iVB 	PuReBlooD    ?2iRB 
WanHelsing@B –di@B i
WeGodFuc***ByA guild           B Wickit.Razor@KL nd   B 
BlackLotuS    d2B GheboaiaVillage    2ZB Wickit.Razor@KL pd€L ~Wickit.Legacy!A guild            NC HelpDesk@B ‰d   [C MaGical    ‰2NC HelpDesk@B ‰d@B 5456A guild           SB _Dark_Warrior_ Ii qdcn   PB ~Gods~Hell~iG„ZcnSB _Dark_Warrior_!„dcnM5cn*Pro*PK*TM*A guild           ‹B TheShowStopper@B „ds   ‹B TheShowStopper@B „ds@B sDrugs>x<A guild            MB Dragonا „dϐ
   ~B Nobu z r2ϐ}B ~ReyRa~    „2ϐƒB AAleXX    „2ϐxB Rusu@B 2ϐ`B Nadine    „2ϐuB AAAleXXX    „2ϐ†B 	DontWorry    2ϐlB Anahi    „2ϐiB Fanel€–˜ „2ϐB 2PAC*† „2ϐoB AleX    „ZϐaB Azot€„ZϐMB Dragon ;X‰dϐ~{ϐ
Be†reyalsA guild           B TRO1@B „dœ   B TRO1@B „dœ@B œ222222222222A guild            B WanHellsing[GM]@B ‰dD   B WanHellsing[GM]@B ŒdD@B DRulzanStaffA guild            „B G3N3R4L@B „dDZ   …B CPAdmin    „2DZ„B G3N3R4L@B „dDZ@B DZ->~R€ŸELLÝ0N~<-A guild           *Cr Frodo@B d“Œ   *Cr Frodo@B od“Œ@B “ŒLollideKlubiA guild           LB ^BlackWolF^- €d\   ZB InF3rN0@KL „2\LB ^BlackWolF^- „d\\AngelOfDarkness~A guild            . d’&   7 Malvious    n2’&,r Moto    o2’&1, 	PokerFace    ƒ2’&s? 
!Kaylee!x!    w2’&
|f MusiQ    |2’&/] Ryoichi    nZ’&Y	ShinobI    ‚Z’& . ‚d’&P ’&'-FriendLy-'A guild           R* Tanel+ ‰d‹Y   R* Tanel3Jd‹YZC‹YTQSucksA guild           B Andrei‡6  adˆ!   B Xefon    G2ˆ!B Andrei‡6  dˆ!# ˆ!
FirstGuildA guild            B 
QuickOwner@B d
   B 
QuickOwner@B ‚d
@B 
BastAvsBastaA guild            B ShadowReaverا |d`   B Dragon d2`B EviL|Pro[GM]    Œ2`B 
Ansatsusha    oZ`B ShadowReaver‰d`Ρ`VeilOfDarknessA guild           TB Apolo@B „dZ{   [B ~Ares~    2Z{TB Apolo@B „dZ{@B Z{
GoldenPhoenixA guild            B 
~^sChELeToN^~@B }d   B 	BlaCkAk47    ^2B XoXo    Z2B ScandaL    h2B 
~^sChELeToN^~@œqƒd@œq	-FreeDoM-A guild            B DianA@B €d   B DianA@B €d@B sthsA guild            B SuzI@B ‚dt   B Reaper    z2tB SuzI@B ‚dt@B t!~KilLerS~!A guild            UB kokoš;‰dt   UB kokoš;‰dtš;t	-AllStar-A guild            sB 
Vøl¢øM~j rd   tB VolcoM~    nZsB 
Vøl¢øM~j rdj |FallenAngelz|A guild           f
I kno its weird but its encrypted so idk...anyways Ive been trying to fix it and it seems the only possible fix is if you put ANOTHER guilds.dat file in there then it will work when u debug...

BUT when u make a guild and close the source and debug again guess what? SAME ERROR AGAIN...so idk wat to do about this seriously...any help?
08/25/2010 22:33 .Beatz#2
Can you please post your SaveGuilds void on here. Might help us better.
08/25/2010 22:46 Kiyono#3
The file is not encrypted...
08/26/2010 01:40 Arcо#4
Kiyono is correct, its encoded in binary.
08/26/2010 03:29 Korvacs#5
[Only registered and activated users can see links. Click Here To Register...]

Tells you the reason why your having a problem. The same for you Arco i beleive you were having an issue with this aswell, although probably solved long ago.
08/27/2010 00:10 Arcо#6
Quote:
Originally Posted by Korvacs View Post
[Only registered and activated users can see links. Click Here To Register...]

Tells you the reason why your having a problem. The same for you Arco i beleive you were having an issue with this aswell, although probably solved long ago.
Yeah I used Bw.Write(ConvertToInt16(Key)); and it worked.