Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] Some Weird Bugs I got.

Discussion on [Help] Some Weird Bugs I got. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
[Help] Some Weird Bugs I got.

alright so I don't spam the whole forum with my stupid threads Ill post some bugs Im having with my source in this thread...

1. when I Announce(to bc a message in a guild) in like my guild and click OK it doesn't update and Im pretty sure that's very much fixed in the source...in Guilds.cs

2. Im gettin a weird attack and ss/fb delay...like when I ss/fb and I click again it wont ss/fb u gotta click it twice for it to do it again...no its not my host becuz I also have tried this with myself(localhost) and still get that...so it has to be the source...and also for the attack...I gotta click once and then to attack again I gotta click twice to attack which is really gay lol...

I'll post more bugs once I see them...anyways I wuld really appreciate it if sum1 culd help me with any one of these 2 bugs ...
killersub is offline  
Old 08/29/2010, 19:56   #2
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Guild Bulletin, is just a saving problem
_DreadNought_ is offline  
Thanks
1 User
Old 08/29/2010, 20:44   #3
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by Eliminationn View Post
Guild Bulletin, is just a saving problem
it's saved everywhere in guilds.cs lmao...idk if dats it...

Code:
public void SaveThis(BinaryWriter BW)
in there is this:

Code:
BW.Write(Bulletin);
Code:
public Guild(BinaryReader BR)
In there is this:

Code:
Bulletin = BR.ReadString();
and then in Guilds.cs is this Bulletin void:

Code:
public void NewBulletin(COPacket Data, string B)
        {
            Bulletin = B;
            foreach (Hashtable H in Members.Values)
            {
                foreach (MemberInfo M in H.Values)
                {
                    if (World.H_Chars.Contains(M.MembID))
                    {
                        Character C = (Character)World.H_Chars[M.MembID];
                        C.MyClient.AddSend(Data);
                    }
                }
            }
        }
I dont see anythin wrong wit dat lol?
killersub is offline  
Old 08/29/2010, 20:49   #4
 
_DreadNought_'s Avatar
 
elite*gold: 28
Join Date: Jun 2010
Posts: 2,223
Received Thanks: 867
Then it's not saving right?
_DreadNought_ is offline  
Old 08/29/2010, 21:15   #5
 
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
is chat type

Code:
case (ushort)Extra.ChatType.ChatTypes.GuildBulletin:
                                            {
                                                if (GC.MyChar.MyGuild != null && GC.MyChar.GuildRank == Features.GuildRank.GuildLeader)
                                                {
                                                    GC.MyChar.MyGuild.GuildMsg(Packets.ChatMessage(GC.MyChar.MyClient.MessageID, From, To, Message, (ushort)ChatType, 0, System.Drawing.Color.White), GC.MyChar.EntityID);
                                                    GC.MyChar.MyGuild.Bulletin = Message;
                                                    GC.MyChar.MyClient.SendPacket(Packets.ChatMessage(GC.MyChar.MyClient.MessageID, "SYSTEM", GC.MyChar.Name, GC.MyChar.MyGuild.Bulletin, 2111, 0, System.Drawing.Color.White));
                                                    Features.Guilds.SaveGuilds();
                                                }
                                                break;
                                            }
teroareboss1 is offline  
Thanks
2 Users
Old 08/29/2010, 21:24   #6
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by Eliminationn View Post
Then it's not saving right?
where do u suggest I save it as then XD? cant save it anywhere else BUT Guilds.cs lmao...and tbh imo I think its saving pretty right

@teroareboss

haha alwayz here wen I need him ...

where shuld I add that code bro? XD
killersub is offline  
Old 08/29/2010, 23:49   #7
 
elite*gold: 0
Join Date: Oct 2008
Posts: 342
Received Thanks: 66
above whisper
µ~Xero~µ is offline  
Old 08/30/2010, 00:15   #8
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
u~xero~u

I kno ur smart...mind telling me in wat .cs file I might find that ^_^.

anyways,

any 1 got any other ideas about my other problem XD?
killersub is offline  
Old 08/30/2010, 00:25   #9
 
elite*gold: 0
Join Date: Feb 2009
Posts: 259
Received Thanks: 159
in word.cs , at chat
you need some changes
teroareboss1 is offline  
Old 08/30/2010, 12:00   #10


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,125
Received Thanks: 2,518
I thought we went over this in the previous thread, BinaryReader.ReadString() REQUIRES you to write the length of the string first, otherwise it doesnt know how long the string is and wont read it.
Korvacs is offline  
Old 08/30/2010, 22:26   #11
 
killersub's Avatar
 
elite*gold: 0
Join Date: May 2009
Posts: 884
Received Thanks: 211
Quote:
Originally Posted by Korvacs View Post
I thought we went over this in the previous thread, BinaryReader.ReadString() REQUIRES you to write the length of the string first, otherwise it doesnt know how long the string is and wont read it.
OKAY I fixed it lmao...now about my other bug =/...

anyone ?
killersub is offline  
Reply


Similar Threads Similar Threads
[Guide] Fixing base BP bugs (Gift bugs)
02/23/2011 - EO PServer Guides & Releases - 47 Replies
hey all, lets start off by saying sorry i cant really show screen shots of this since i have fixed it in my server :D ok first thing you need to do is to iver delete the unwanted gifts (all the new ones pretty much) or you can just use the one i will upload below .... here are the gifts that you really should keep... the others are optional
[Bugs]I have a few bugs in Jezebelco source![bugs]
05/12/2009 - CO2 Private Server - 5 Replies
hello elitepvpers! When I create an account and login it is in Birthvillage but I can't get out of Birthvillage. Can someone help me whit this?



All times are GMT +2. The time now is 10:14.


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.