Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] Observe Equipments

Discussion on [Help] Observe Equipments within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
[Help] Observe Equipments

Guys, i have this problem too... But in this topic she get the solution, and closed the topic





I don't understand where i can change the offset... someone can help me to fix it?
zakkwilde_17 is offline  
Old 08/01/2012, 17:31   #2
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
you should send spawn packets of the observed to the observer
shadowman123 is offline  
Old 08/01/2012, 17:56   #3
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Quote:
Originally Posted by shadowman123 View Post
you should send spawn packets of the observed to the observer
ok... but where i can do that ? here ?

Code:
        static void ObserveEquipment(Data generalData, Client.GameState client)
        {
            Client.GameState pclient = null;
            if (ServerBase.Kernel.GamePool.TryGetValue(generalData.dwParam, out pclient))
            {
                //if (generalData.ID != 117)
                //{
                // client.Send(pclient.Entity.WindowSpawn());
                //    client.Send(new GamePackets.ObserveStats(pclient).ToArray());
                //    pclient.Entity.SetVisible();
                //}
                pclient.Send(new Message(client.Entity.Name + " is observing your gear carefully.", System.Drawing.Color.Red, Message.TopLeft));
                if (ServerBase.Kernel.GamePool.TryGetValue(generalData.dwParam, out pclient))
                {
                    client.Send(new GamePackets.ObserveStats(pclient).ToArray());
                    IConquerItem[] Equipment = pclient.Equipment.Objects;
                    foreach (ConquerItem item in Equipment)
                    {
                        if (item != null)
                        {
                            uint UID = item.UID;
                            item.UID = pclient.Entity.UID;
                            item.Mode = Game.Enums.ItemMode.View;
                            item.Send(client);
                            item.UID = UID;
                            //item.Mode = Game.Enums.ItemMode.Default;
                        }
                        if (item != null)
                        {
                            BoothItem Item = new BoothItem(true);
                            Item.Fill(item, pclient.Entity.UID);
                            Item.Send(client);
                            if (item.Purification.Available)
                            {
                                ItemAdding add = new ItemAdding(true);
                                add = new ItemAdding(true);
                                add.Append(item.Purification);
                                add.Send(client);
                            }
                        }
                    }
                    _String packet = new _String(true);
                    packet.Type = 16;
                    packet.UID = client.Entity.UID;
                    packet.TextsCount = 1;
                    packet.Texts = new List<string>() { pclient.Entity.Spouse };
                    client.Send(packet);
                    packet.Type = 10;
                    client.Send(packet);
                }
            }
        }
zakkwilde_17 is offline  
Old 08/01/2012, 18:08   #4
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
WTF All these codes just for Observe gears ... anyways you should add it in this void btw y did u sent string effect of kind spouse to the observer ?
shadowman123 is offline  
Old 08/01/2012, 18:22   #5
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Quote:
Originally Posted by shadowman123 View Post
WTF All these codes just for Observe gears ... anyways you should add it in this void btw y did u sent string effect of kind spouse to the observer ?
I got this code ready... not changed anything... and still not have complete knowledge of this language code
zakkwilde_17 is offline  
Old 08/01/2012, 19:37   #6
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Quote:
Originally Posted by zakkwilde_17 View Post
I got this code ready... not changed anything... and still not have complete knowledge of this language code
so in order to fix your problem u should know how things go in the source ..
shadowman123 is offline  
Old 08/01/2012, 21:09   #7
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
Quote:
Originally Posted by shadowman123 View Post
WTF All these codes just for Observe gears ... anyways you should add it in this void btw y did u sent string effect of kind spouse to the observer ?
Can you use the formal English please? I am Brazilian and not understand some abbreviations...

about my problem, I believe that if I send the information of observed to the observer, will work perfectly... The information of items are working very well
zakkwilde_17 is offline  
Old 08/02/2012, 00:04   #8
 
InfamousNoone's Avatar
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,012
Received Thanks: 2,885
Ah, let me just get my spoon and bib, just a moment...
InfamousNoone is offline  
Thanks
4 Users
Old 08/03/2012, 02:01   #9
 
zakkwilde_17's Avatar
 
elite*gold: 0
Join Date: Jul 2007
Posts: 137
Received Thanks: 4
someone
zakkwilde_17 is offline  
Reply


Similar Threads Similar Threads
[HELP] Seized equipments?
11/04/2011 - EO PServer Hosting - 1 Replies
how to get seized equipment at the inventory http://img708.imageshack.us/img708/9604/16847948. jpg
WTS 148 BS with equipments and pets
10/26/2010 - Rappelz Trading - 5 Replies
As topic, I am planning to sell this account for the same price which I got it for various reasons. It is a battlesummoner (Lv 148) on Fenrir with a r5 deva alt. Please leave me a pm for more details on gears, pets and items in WH. Screens will be provided upon request! My personal details can be obtained from my profile page. Please add me so it would be much easier to negotiate. Thanks!
Lvl equipments to 120
08/09/2007 - Conquer Online 2 - 8 Replies
can i lvl my lvl 115 blade and club to lvl 120 at tc using met?
question on equipments
12/02/2005 - Silkroad Online - 2 Replies
How do we level up the weapon or armor from lvl 10 to the next lvl if we have a very good armor/weapon? That go for all the equipments. Thanks for the help.



All times are GMT +1. The time now is 18:15.


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.