Register for your free account! | Forgot your password?

You last visited: Today at 01:40

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

Advertisement



[RELEASE] A FEW COMMANDS

Discussion on [RELEASE] A FEW COMMANDS within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
[RELEASE] A FEW COMMANDS

hi im pete,

before flaming me please read all the way at the bottom =]


/restart command , to make this command you have to just do /restart and add
Code:
 General.ServerRestart();


Code:
                                        if (Splitter[0] == "/restart") // restarts the server from ingame (exa. /restart )
                                        {
                                            
                                            World.SendMsgToAll("Server Restarting!", "SYSTEM", 2011);
                                            Console.WriteLine("Server Restarting from In-Game");
                                            General.ServerRestart();
                                        }
/cps command and /silvers , this just makes it add cps/silvers to your current amount instead of replacing it, all you do is change = to +=

Code:
if (Splitter[0] == "/cps") // Adds cps to your current amount of cps (exa. /cps 5000 )
                                        {
                                            uint NewCPs = uint.Parse(Splitter[1]);

                                            MyChar.CPs += NewCPs;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 30, MyChar.CPs));
                                        }
Code:
                                        if (Splitter[0] == "/silvers") // Adds silvers to your current amount of silvers (exa. /silvers 5000 )
                                        {
                                            uint NewSilvers = uint.Parse(Splitter[1]);

                                            MyChar.Silvers += NewSilvers;
                                            SendPacket(General.MyPackets.Vital((long)MyChar.UID, 4, MyChar.Silvers));
                                        }
now this command i didn't even make or change anything, i just got it from a previous source i had and since no one has it out ill release it

Code:
                                        if (Splitter[0] == "/pkp") // changes your current pkps (exa. /pkp 100 ) << black name
                                        {
                                            ushort pkp = ushort.Parse(Splitter[1]);
                                            MyChar.PKPoints = pkp;
                                            SendPacket(General.MyPackets.Vital(MyChar.UID, 6, MyChar.PKPoints));
                                            World.UpdateSpawn(MyChar);
                                            SendPacket(General.MyPackets.CharacterInfo(MyChar));
                                            MyChar.SendEquips(false);
                                            SendPacket(General.MyPackets.Vital(MyChar.UID, 26, MyChar.GetStat()));
                                            World.SpawnMeToOthers(MyChar, true);
                                        }
now these commands i made myself but its very easy just replace it with the item you have, simple as that... didn't take me long , packs your dbs,meteors or stones =]

Code:
                                    if (Message == "/pack met") // Packs 10 Meteors into a Meteor Scroll (exa. /pack met )

                                        if (MyChar.InventoryContains(1088001, 10))
                                        {
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088001));
                                            MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        }
                                    if (Message == "/pack db") // Packs 10 DragonBalls into a DragonBall Scroll (exa. /pack db )

                                        if (MyChar.InventoryContains(1088000, 10))
                                        {
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.RemoveItem(MyChar.ItemNext(1088000));
                                            MyChar.AddItem("720028-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        }
                                    if (Message == "/pack stone") // Packs 5 +1 Stones into a +1StonePack (exa. /pack stone )
                                        if (MyChar.InventoryContains(730001, 5))
                                        {
                                            MyChar.RemoveItem(MyChar.ItemNext(730001));
                                            MyChar.RemoveItem(MyChar.ItemNext(730001));
                                            MyChar.RemoveItem(MyChar.ItemNext(730001));
                                            MyChar.RemoveItem(MyChar.ItemNext(730001));
                                            MyChar.RemoveItem(MyChar.ItemNext(730001));
                                            MyChar.AddItem("723712-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
                                        }
now dont flame because i know these are nooby commands , but im releasing them because no one else did and some are helpful, if you dont like it i dont care, just trying to help... no i dont expect thanks, so idc ifyou give or not ,, anyway good luck with your server!
PeTe Ninja is offline  
Thanks
8 Users
Old 02/11/2009, 15:46   #2
 
Exia13's Avatar
 
elite*gold: 0
Join Date: May 2008
Posts: 256
Received Thanks: 21
For being smart i'll give you thanks lol.
Exia13 is offline  
Old 02/11/2009, 15:58   #3
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
/pack command is a stolen idea that was used in a Private server hosted by myself and rixus
yuko is offline  
Old 02/11/2009, 16:05   #4
 
elite*gold: 0
Join Date: Jun 2008
Posts: 384
Received Thanks: 18
@yuko
prove it......
ph03nixx is offline  
Old 02/11/2009, 16:09   #5
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
this is the code used by us.
and yeah we didn't add the +1 stones becaus that was useless to pack those.
however ask grant we had this command from the start of the server.


if (Splitter[0] == "/pack")
{
if (Splitter[1] == "met")
{
if (MyChar.InventoryContains(1088001, 10))
{
for (int i = 0; i < 10; i++)
{
MyChar.RemoveItem(MyChar.ItemNext(1088001));
}
MyChar.AddItem("720027-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
else
{
SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You are unable tp pack mets", 2000));
}
}
if (Splitter[1] == "db")
{
if (MyChar.InventoryContains(1088000, 10))
{
for (int i = 0; i < 10; i++)
{
MyChar.RemoveItem(MyChar.ItemNext(1088000));
}
MyChar.AddItem("720028-0-0-0-0-0", 0, (uint)General.Rand.Next(36457836));
}
else
{
SendPacket(General.MyPackets.SendMsg(MessageId, "SYSTEM", MyChar.Name, "You are unable tp pack dbs", 2000));
}
}
}
yuko is offline  
Old 02/11/2009, 19:12   #6
 
elite*gold: 20
Join Date: Apr 2008
Posts: 2,281
Received Thanks: 913
Just more copy & pasted **** for a ****** source.

Woot
kinshi88 is offline  
Thanks
3 Users
Old 02/11/2009, 21:05   #7
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
you guys dont read... i never played your server yuko and that command isnt anythihng like it

its seperate , so packing is not from your server its actually from a server i created long ago.. this was not copied from another source. from i made, except the /pkp and like i said above edited two things, so dont freaken flame its annoying. i dont care if you have it in your source , if you dont notice i said its easy to make EVREYONE CAN DO IT.. you dont need to be a genius

@kinshi.. didnt copy lol

@yuko you just made taht command, i can see you copied and pasted because you spelled to wrong... twice
PeTe Ninja is offline  
Old 02/11/2009, 21:28   #8
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
@yuko you just made taht command, i can see you copied and pasted because you spelled to wrong... twice

lol you dipshit it was spelled wrong whole time on the server aswell
and btw grant know that we had that command first time we started the server. anyway you are stealing ideas you get from other privite servers. like grant told rixus you gonna make pets that are acting like real pets "cats and dogs" wich already was on my server. so don't talk ****. you are only copying from other servers and btw you where gonna use the sitting heal aswell
so please get creative and stop copy past. or even copy ideas.
yuko is offline  
Old 02/11/2009, 22:07   #9
 
nTL3fTy's Avatar
 
elite*gold: 0
Join Date: Jun 2005
Posts: 692
Received Thanks: 353
Quote:
Originally Posted by PeTe Ninja View Post
now these commands i made myself but its very easy just replace it with the item you have, simple as that... didn't take me long , packs your dbs,meteors or stones =]
A simple right click on a Meteor or DragonBall would prove much easier than typing out a command each time you wanted to pack them. Same with unpacking, but that's already implemented for you.
nTL3fTy is offline  
Old 02/11/2009, 22:13   #10
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
honestly i did rightpress on db to exchange into cps and the mets gave suply low exp
so
you could make an npc activation on the rightpress to ask what you wanna do but typing the command seems easyer
yuko is offline  
Old 02/11/2009, 22:36   #11
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
Quote:
Originally Posted by yuko View Post
@yuko you just made taht command, i can see you copied and pasted because you spelled to wrong... twice

lol you dipshit it was spelled wrong whole time on the server aswell
and btw grant know that we had that command first time we started the server. anyway you are stealing ideas you get from other privite servers. like grant told rixus you gonna make pets that are acting like real pets "cats and dogs" wich already was on my server. so don't talk ****. you are only copying from other servers and btw you where gonna use the sitting heal aswell
so please get creative and stop copy past. or even copy ideas.
are you serious about this?

hmmm grant doesn't come up with my ideas

pets = mobs for pets i got it from that /pet command, and i was thinking about creating a whole new thing for pets.. didnt come from you dont even know your server

commands ALL FROM ME ALL OF THEM EXCEPT /pkp , so stop being such a n00b , and saying its yours, because you know what, ITS NOT

IDEAS AREN'T OWNED... its what you do with them... and no one even knows about your server, many know about ours( me & grant & and a few others idk them yet )
PeTe Ninja is offline  
Old 02/12/2009, 22:09   #12
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
@pete
we all know that you two have fun with going on other private servers, testing them out and so on so you can improuve yours. anyway i don't care **** about this all anymore.

if you wanna know what the pets are on our server
- they need food
- they need attention
- they lvl and start at the lvl when the master summoned them by catching an egg "the easter eggs "
- we are adding a system that will allow them to use skills and help the master with his fight agains monsters. like stig - heal and so on.

- and you have to catch a monster by using special items - exemple the chicken is the tamming item for a bird.


anyway you do like you want go grab the ideas from other ppl this won't even make you able to use them anyway
yuko is offline  
Old 02/12/2009, 23:28   #13
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
i never played on a different private server except Deadly siege of conquest.. and i go check out other peoples websites and see if i can help them.. you seem to never be even on elitepvpers or help anyone, so dont critizize me , look at yourself first
PeTe Ninja is offline  
Old 02/13/2009, 00:11   #14
 
elite*gold: 0
Join Date: Dec 2007
Posts: 226
Received Thanks: 55
...help anyone

i do help if i have the time and if i think they worth it
and i actually helped more ppl then you . don't take the thanks or posts as refference
yuko is offline  
Old 02/13/2009, 00:24   #15
 
elite*gold: 0
Join Date: Jan 2009
Posts: 1,922
Received Thanks: 491
nevermind ... your right im wrong
PeTe Ninja is offline  
Reply


Similar Threads Similar Threads
[Release] 5165 Commands
03/25/2012 - CO2 PServer Guides & Releases - 25 Replies
I'm releasing my command like i promised they are not finished my im tired of working on them right now ill release the prof and skill commands when i finish them but for now this is what i got (IM NOT A PRO AT CODING) so dont expect something perfect if your find any bugs just post a reply or PM me ill fix it and give you credit when i get to making a list for the commands ill post that too Everyone Good Luck on making your private servers. using System; using...
[Release] My Commands
02/17/2010 - CO2 PServer Guides & Releases - 2 Replies
#request close
[RELEASE]PvP Commands for AndreaCo
11/14/2009 - CO2 PServer Guides & Releases - 9 Replies
#REMOVED
[RELEASE] GM Commands
10/15/2009 - Dekaron Private Server - 17 Replies
this will drop 100 chests and they drop coppers , silver , golds /gm callmonsters 3352 100 gems /gm callmonsters 2343 dill /gm callmonsters 3310 (spawns 100 relics with 130 magic/noble/divine 130 weaps)
[Release] hp/mp commands
06/01/2009 - CO2 PServer Guides & Releases - 1 Replies
I found it useful to have some command that will let you pot 1kk hp in one line :) Btw. Revive only works in Talk or Team (couldnt figure out how to make it work in other chats :() place this code into chat.cs among the cases #region hp/mp related case "hp": //Refill HP { if (CSocket.Client.isPM || CSocket.Client.isGM) { if...



All times are GMT +1. The time now is 01:40.


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.