Register for your free account! | Forgot your password?

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

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

Advertisement



Realy Need To know About this

Discussion on Realy Need To know About this within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
Realy Need To know About this

The Code below is for the whisper thing... I just want to know what should I add in order to view the equipment when I click the Details button in the whisper dialog... And also when I type I cant see my text in the whisper diealog only the other......Pls I know there are lot of pro in c# over here... just need little help.........Thanks...




case (ushort)Extra.ChatType.ChatTypes.Whisper:
{
Character C2 = Game.World.CharacterFromName(To);
if (C2 != null)
{

GC.MyChar.MyClient.SendPacket(Packets.ChatMessage( C2.MyClient.MessageID, From, To, Message, (ushort)ChatType, GC.MyChar.Mesh, System.Drawing.Color.White));
C2.MyClient.SendPacket(Packets.ChatMessage(C2.MyCl ient.MessageID, From, To, Message, (ushort)ChatType, GC.MyChar.Mesh, System.Drawing.Color.White));
if (C2 != null)
GC.MyChar.MyClient.SendPacket(Packets.SpawnViewed( C2, 2));

GC.MyChar.MyClient.SendPacket2(Data);
string path = (@"OldCODB\GM\Message\Whisper.txt"); //TripLe.H
StreamWriter H;
if (File.Exists(path))
{
H = File.AppendText(path);
H.WriteLine(DateTime.Now + ": " + From + " To " + To + " : " + Message + " ", FileMode.OpenOrCreate);
H.WriteLine("_____________________________________ _____________________", FileMode.OpenOrCreate);
H.Close();
}

}
else
{
GC.MyChar.MyClient.LocalMessage(2000, System.Drawing.Color.Yellow, "Character " + To + " is not online or doesn't exist ( check your spelling ).");
}
break;
}

--------------------------------------------------
Edite: About this code this code :

case 117:
{
Game.Character C = (Game.Character)Game.World.H_Chars[BitConverter.ToUInt32(Data, 8)];
if (Game.World.H_Chars.ContainsKey(BitConverter.ToUIn t32(Data, 8)) == false)
return;
C.Equips.SendView(C.EntityID, GC);
GC.SendPacket(Packets.String(GC.MyChar.EntityID, 16, C.Spouse));
GC.SendPacket(Packets.ViewEquip(C));
C.MyClient.LocalMessage(2005, System.Drawing.Color.Red, GC.MyChar.Name + " is respectfully observing your gears.");
break;
}

can I use this one to view when I click the Details button in the whisper dialog box....

but the case number i dont know it..... and where to put this one.....
marlyandedsel is offline  
Old 01/20/2011, 17:34   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
When you click the view gear in the whisper box it should be the exact same as if you did the normal view gears on a character thing...

The only thing you need to double check is that you are sending the correct uids in the packet... which at a glance it looks like you are.

Note

[ code ] text [ / code ] is your friend.
pro4never is offline  
Thanks
1 User
Old 01/20/2011, 18:18   #3
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
Quote:
Originally Posted by pro4never View Post
When you click the view gear in the whisper box it should be the exact same as if you did the normal view gears on a character thing...

The only thing you need to double check is that you are sending the correct uids in the packet... which at a glance it looks like you are.

Note

[ code ] text [ / code ] is your friend.
I'm sorry I really dont get it please.... just....
marlyandedsel is offline  
Old 01/20/2011, 23:21   #4
 
Lateralus's Avatar
 
elite*gold: 0
Join Date: May 2005
Posts: 1,892
Received Thanks: 920
Quote:
Originally Posted by marlyandedsel View Post
I'm sorry I really dont get it please.... just....
Just do it all for you?
Lateralus is offline  
Old 01/21/2011, 08:05   #5
 
marlyandedsel's Avatar
 
elite*gold: 0
Join Date: Aug 2010
Posts: 343
Received Thanks: 21
well..

I just dont know what to do

is it like this?

case [clicking the Details button in whisper box] <----- i really dont know this portion or is it wrong?
{
viewing gears of my chat
same in normal viewing things...
breal;
}
marlyandedsel is offline  
Reply


Similar Threads Similar Threads
Realy need help
08/04/2010 - SRO Private Server - 0 Replies
Ty for watching my forum. Everytime when i start Silkroad I log in. When im logged on .. i press start. Than he closes SRO
It realy?
06/02/2009 - CO2 Private Server - 21 Replies
ADMIN([email protected]) posted: From now 27/05/2009, all Private Servers will be banned from the Network. Please note that TQ WebDragon inc is the only Owner of Conquer Online. Sue notes will be sent to all Private Servers Owners. We do NOT accept any excusess! Please make sure your server is OFF by the end of this month. We will sue servers using Binaries, LOTF, PoP, zF and all others sources! Your own made source Server will be banned as well! We dont NOT accept any Servers using our...
Would realy like to have....
06/12/2008 - Silkroad Online - 1 Replies
could some one please make me a loop for the scorpians outside donwhang. ive tryed so many times but it NEVER works!! if ya could make it so it uses a horse that would be gr8! but no storage involved please. if it works ill pay 500k on Venus server and if it works very well ill pay 1mil thanks a lot if ya could help!!!
~going realy realy fast~ waters only
06/02/2007 - CO2 Guides & Templates - 2 Replies
ok wel all know that if a char go divine hare u can jump faster and dont dc now put this with speedhack and use jumper jumper u wil go so fast u can even see the map details anymore :) itz handy 4 tansport from pc to pc cave



All times are GMT +1. The time now is 16:55.


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.