Register for your free account! | Forgot your password?

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

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

Advertisement



[Request] Item away from money.

Discussion on [Request] Item away from money. within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
BS Support's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 27
Received Thanks: 10
Cool [Request] Item away from money.

i have problem here
i want take money if or not full items

PHP Code:
i mean i want pick the money if full items or not full
                
case 1101:
                    {
                        
MyChar.Ready false;
                        if (
MyChar.ItemsInInventory 39)
                            return;
                        
uint ItemUID = (uint)((Data[7] << 24) + (Data[6] << 16) + (Data[5] << 8) + Data[4]);
                        
DroppedItem TehItem null;
                        if (
DroppedItems.AllDroppedItems.Contains(ItemUID))
                            
TehItem = (DroppedItem)DroppedItems.AllDroppedItems[ItemUID];

                        if (
TehItem != null)
                        {
                            
                            if (
TehItem.Money == 0)
                                
MyChar.AddItem(TehItem.Item0ItemUID);
                            else
                            {
                                
MyChar.Silvers += TehItem.Money;
                                
SendPacket(General.MyPackets.Vital(MyChar.UID4MyChar.Silvers));
                                
SendPacket(General.MyPackets.SendMsg(MessageId"SYSTEM"MyChar.Name"You have picked up " TehItem.Money " silvers."2005));
                            }

                            
DroppedItems.AllDroppedItems.Remove(ItemUID);
                            
World.ItemDissappears(TehItem);
                        }
                        
MyChar.Ready true;
                        break;
                    } 
And i need drop money from items like itemdrops

thanks
BS Support is offline  
Old 11/24/2008, 15:11   #2
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
Ya... I really don't understand what you're asking, but my guess is that you can't pick up money when your inventory is full? Make it so that money isn't a normal item which can be affected by...

Code:
if (MyChar.ItemsInInventory > 39)
I can't give you the exact fix at this time, I'd have to test it first, but I'm off to bed now, so not doing it now.
Incariuz is offline  
Old 11/24/2008, 15:28   #3
 
BS Support's Avatar
 
elite*gold: 0
Join Date: May 2007
Posts: 27
Received Thanks: 10
Yes i mean
pick up money when your inventory is full

if inventory full can't pick the money.
BS Support is offline  
Old 11/25/2008, 07:45   #4
 
elite*gold: 0
Join Date: Oct 2008
Posts: 430
Received Thanks: 176
Ok, well I may fix that on my source tonight, not sure yet, got a hundred things I need to do, sort of running based on priority/time, so depending how things go, I may do it on my server, then post the answer to it. I just won't know the answer until I actually take the time to do it, sorry.
Incariuz is offline  
Reply


Similar Threads Similar Threads
WTB ITEM IRL MONEY
09/30/2010 - 9Dragons Trading - 6 Replies
any1 has a +200 Defense trinket and GB, EC WD Bracer for sale in Nirvana. I buy it irl money, cause there no way i can get those equip in game money, hehe, pm me here, serious only plzz
[Request]How to Change Item Colour or selected item when use lootalarm
05/14/2010 - 12Sky2 - 0 Replies
ex1. item is rare colour i want to change to elite colour. ex2. item is rare but i don't want it then no alarm.
Money or item??
04/27/2005 - Lineage 2 - 3 Replies
Hey can somebody tell me a good hack for money or if you can let's say roobed stores? :bandit:



All times are GMT +2. The time now is 07:05.


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.