Register for your free account! | Forgot your password?

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

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

Advertisement



[Help]Item command up to +9

Discussion on [Help]Item command up to +9 within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
~*NewDuuDe*~'s Avatar
 
elite*gold: 111
Join Date: Feb 2008
Posts: 2,161
Received Thanks: 646
[Help]Item command up to +9

Well this is kinda the secound thread I'm making about this, which I am sorry for.
I'm trying to get the player item command to go only up to +9 even when they try getting +12 items.
This is what I've tried:
Code:
Item.Plus = byte.Parse(Cmd[3]); 
          if (Item.Plus >= 9)
          {
                  Item.Plus = 9;
           }
--------------------------
Item.Plus = byte.Parse(Cmd[3]);
 if (Item.Plus = 9)
   {
              Item.Plus = 9;
    }
-------------------------


Item.Plus = (byte)(Math.Min((byte)8, byte.Parse(Cmd[3])));
The result of all of them was that they made 2 items one +9 and one +12 when trying to do /item *** xx 12 x *** xx xx.
The only one which somewhat succeeded was the first one which only gave 1 item when typing in /item *** xx 9 x *** xx xx.
But then again the same happened when trying to get a +12.
I also tried editing the rest of the command/re-writing it but that just threw me a bunch of errors.
I know that I can change my packets to the LOTF version of them, which might work, but I don't really know how.
Help Plox.
~*NewDuuDe*~ is offline  
Old 07/08/2009, 17:36   #2
 
elite*gold: 0
Join Date: Jun 2009
Posts: 787
Received Thanks: 314
Item.Plus = Client.Flags >= AdminFlags.GM ? Math.Min((byte)12, byte.Parse(cmds[3])) : Math.Min((byte)9, byte.Parse(cmds[3]));
_tao4229_ is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[HELP] item Free Command
11/11/2009 - CO2 Private Server - 3 Replies
Alright so i implemented Free items into coemu just cant figure out the Command when i try the normal command its saying the item does not exist Here is my item command case "item": { if(CSocket.Client.isPM || CSocket.Client.isGM) {
Item Command [Help]
10/06/2009 - CO2 Private Server - 0 Replies
Ok so this is going to be my item command i just wanna no if it looks correct cause it doesnt to me yet it works but cant find how to make the item super And how to make the item Free Any Help WILL BE GREATLY Appreciated case "item": { if(CSocket.Client.isPM || CSocket.Client.isGM) { if (CSocket.Client.Inventory.Count >= 40)
[SEARCH]GM Command for item dropping
08/16/2009 - Dekaron Private Server - 11 Replies
I have an own Dekaron private Server(Only4Fun) and a few questions What is the GM Command to drop an item i chosed? If i type /GM callmonster 101 (Spider larva) the there is no monster spawning. Why? Pls help me Greets Ghosthunter PS: I have a List with the commands but the most one are not working. I type them and then nothing happens
GM command, creat item don't work
08/11/2008 - RF Online - 6 Replies
Hello all, I got a gm account on gamehaze server, but when i try %* it tell me error authority. I show alot of gm naked, and after a log off full stuffed anyone know how to ? Another question :) Absolute reaver anyone know who to get it?



All times are GMT +1. The time now is 07:06.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.