Register for your free account! | Forgot your password?

You last visited: Today at 01:23

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

Advertisement



[Mini-Release] /command

Discussion on [Mini-Release] /command within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Nov 2009
Posts: 14
Received Thanks: 4
Thumbs up [Mini-Release] /command

alright, so this will be my first ever release, so please lay off if your going to be rude or comment about how easy or un-needed this is. This command will allow you to type in "/mk" and teleport you to Market.

Step 1: Open up chat.cs using Microsoft Visual C#

Step 2: Search the following code listed below:

Code:
                    if (Cmd[0] == "/clearinv")
                    {
                        foreach (Game.Item I in GC.MyChar.Inventory)
                            GC.AddSend(Packets.ItemPacket(I.UID, 0, 3));
                        GC.MyChar.Inventory = new ArrayList(40);
                    }
If you do not have this code, then find any code (preferably a teleport code) and paste the following underneath it:

Code:
                    if (Cmd[0] == "/mk")
                    {
                        GC.MyChar.Teleport(1036, 211, 196);
                    }
This simple code will allow you to teleport to Market with the ease of typing "/mk"

Like I said before, this is my first code, so take it easy on me and If it works for you, please reply with confirmation due to the code working, and also press thanks

And also if anyone knows how to check the MapID I would really appreciate you explaining that to me
howardj76 is offline  
Thanks
4 Users
Old 02/14/2010, 20:38   #2
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
Good to see new learners joining the community, will help some out. :]
DontLookDown is offline  
Thanks
1 User
Old 02/14/2010, 20:44   #3
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,765
Received Thanks: 5,291
Hmm your market command needs a closing bracket, glad to see you learning C#!
Arcо is offline  
Thanks
1 User
Old 02/14/2010, 20:50   #4
 
elite*gold: 0
Join Date: Nov 2009
Posts: 14
Received Thanks: 4
Quote:
Originally Posted by .Arco View Post
Hmm your market command needs a closing bracket, glad to see you learning C#!
Thanks, your right, and I corrected it. thanks.
howardj76 is offline  
Old 02/14/2010, 20:55   #5
 
elite*gold: 0
Join Date: Feb 2010
Posts: 480
Received Thanks: 207
Good release, I will use this.
Decker_ is offline  
Thanks
1 User
Old 02/14/2010, 21:26   #6
 
elite*gold: 0
Join Date: Feb 2009
Posts: 700
Received Thanks: 79
good job.
copz1337 is offline  
Reply


Similar Threads Similar Threads
[Release] Famous Star :>
12/12/2011 - Coding Releases - 195 Replies
Tach zusammen, Da ich meinen Bot unter dem alten Namen nicht mehr "machen darf", hab ich hier ein "neues" Programm. :rolleyes: Info : Mit diesem Programm könnt ihr mit Proxys oder per Reconnect auf bestimmte Seiten, Klicks faken. Download : http://download.dadevx.net/Famous%20Star.exe Coming Soon
[Mini-Release] Auto Cps from DragonBalls and Fozen Grotto Command
02/18/2011 - CO2 PServer Guides & Releases - 5 Replies
here is my 2nd nooby release lol it turns a dragonball into 215 CPs so u won't need a stupid CPs Admin put it in character.cs look for public void UseItem(Item I)
[Mini-Release]S4 Parameter
01/18/2010 - S4 League Hacks, Bots, Cheats & Exploits - 11 Replies
Hallo e*pvpers :P ich hab mir mal gedacht ich release die parameter für s4^^ die parameter kann man für selbstgemachte launcher verwenden oder auch dafür um die S4Client.exe ohne patcher zu starten :> GermanEnglishFrenchItalianSpanishRussianKorean mfg Daora :>
[Mini-RELEASE]a lil ItemEquip fix
07/31/2009 - CO2 PServer Guides & Releases - 5 Replies
**This is for CoEMU** a lil fix for Equip items so when you equip bows or 2 handed weapons it will remove the item from your 2nd hand ok here we go fist find if (CSocket.Client.Equipment.ContainsKey(Location)) in Handlers/ItemEquip.cs and after ItemUnequip(Loc2, UID2, CSocket); add if (Item.ItemID >= 500000 && Item.ItemID <= 590000) { if (CSocket.Client.Equipment.ContainsKey(5)) {...



All times are GMT +2. The time now is 01:23.


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.