Register for your free account! | Forgot your password?

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

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

Advertisement



can anyone just show me sumthing

Discussion on can anyone just show me sumthing within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2006
Posts: 2
Received Thanks: 0
can anyone just show me sumthing

hey all i was just wondering how do u no where to put codes like this
PHP Code:
 if (Cmd[0] == "/agi")
                            
GC.MyChar.Agi ushort.Parse(Cmd[1]);
                        if (
Cmd[0] == "/spi")
                            
GC.MyChar.Spi ushort.Parse(Cmd[1]);
                        if (
Cmd[0] == "/str")
                            
GC.MyChar.Str ushort.Parse(Cmd[1]);
                        if (
Cmd[0] == "/vit")
                            
GC.MyChar.Vit ushort.Parse(Cmd[1]); 

in the chat.cs file. how do u no where to put it in this ?




PHP Code:
using System;
using System.Collections.Generic;
using System.Collections;
using System.Linq;
using System.Text;
using System.IO;

namespace 
NewestCOServer.PacketHandling
{
    public class 
Chat
    
{
        public static 
void Handle(Main.GameClient GCbyte[] Data)
        {
            
MemoryStream MS = new MemoryStream(Data);
            
BinaryReader BR = new BinaryReader(MS);
            
BR.ReadBytes(8);
            
ushort ChatType = (ushort)BR.ReadUInt32();
            
BR.ReadBytes(13);
            
string From Encoding.ASCII.GetString(BR.ReadBytes(BR.ReadByte()));
            
string To Encoding.ASCII.GetString(BR.ReadBytes(BR.ReadByte()));
            
BR.ReadByte();
            
string Message Encoding.ASCII.GetString(BR.ReadBytes(BR.ReadByte()));
            
BR.Close();
            
MS.Close();
            
#region BadWords
            
Message Message.Replace("damn""****");
            
Message Message.Replace("fuck""****");
            
Message Message.Replace("shit""****");
            
Message Message.Replace("stupid""******");
            
Message Message.Replace("wtf""***");
            
Message Message.Replace("idiot""*****");
            
Message Message.Replace("fucker""******");
            
#endregion
            
if (ChatType == 2104 && GC.MyChar.MyShop != null)
                
GC.MyChar.MyShop.Hawk Message;
            try
            {
                if (
Message[0] == '/')
                {
                    
string[] Cmd Message.Split(' ');
                    if (
Cmd[0] == "/dc")
                    {
                        
GC.Disconnect();
                        return;
                    }
                    if (
Cmd[0] == "/players")
                    {
                        
GC.LocalMessage(2000"Players Online: " Game.World.H_Chars.Count);
                        
string eMsg "";
                        foreach (
Game.Character C in Game.World.H_Chars.Values)
                            
eMsg += C.Name ", ";
                        if (
eMsg.Length 1)
                            
eMsg eMsg.Remove(eMsg.Length 22);
                        
GC.LocalMessage(2000eMsg); 


plzz help i wud love if sumone showed me
tu_bad is offline  
Old 02/28/2010, 08:10   #2
 
elite*gold: 0
Join Date: Feb 2010
Posts: 492
Received Thanks: 222
You put it after a }

so like

}
HIT ENTER AND INSERT YOUR CODE HERE
if (Cmd[0] == "/test"
{
Paralyzer[GM] is offline  
Reply


Similar Threads Similar Threads
asking sumthing
01/31/2010 - RF Online - 0 Replies
can anyone tell where can i download rf offline client and how can does it work. i want to experiment sumthing on offline client. you can encrypt some virus in the file. hope you can defy virus developer. gg
can i ask sumthing??
09/29/2009 - Grand Chase Philippines - 5 Replies
does the 1-hit script.kom hack backfire you in pvp? (ung 1 hit hack b ay nag back fire s pvp at ikaw ung ma- 1 hit?) and 1 more.. is it possible to get banned if u are using cheats in dungeon on ur own??
Need help on sumthing.
01/12/2009 - Dekaron Private Server - 1 Replies
Hey, is there some sort of way to get alot of book of magic without doing alot of crevice runs, I'm GM in friend and my server. So is there a command to it, or will we have to go do crevice runs for life.. Thnx in advance ^^
Alright time to do sumthing with all these account...
12/08/2008 - Archlord Trading - 5 Replies
Ok soo wow i have a whole bunch of accounts that is too much for me so im finally getting rid of them all for 1 dominant account or other offers as well... ok so tha first account is a 55 archer with a 50 hunter on it as well with infinity wings and i have a video and screens of this pretty cool. this archer is hella beastly pwned a 68 sorc in 3 hits in arena and can take pretty much anything up to lvl 71 in arena best gear iv seen on 50+ archer in my archlord career haha...(GIA) ok the...
Real Hack? Or sumthing to hack you?
08/09/2006 - Conquer Online 2 - 31 Replies
http://www.mightyhack.cjb.net/



All times are GMT +2. The time now is 00:50.


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.