Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Private Server > CO2 PServer Guides & Releases
You last visited: Today at 22:42

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

Advertisement



Sending Message / items Simple Methods [Impusle Based]

Discussion on Sending Message / items Simple Methods [Impusle Based] within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.

Reply
 
Old   #1
 
shadowman123's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 1,525
Received Thanks: 230
Sending Message / items Simple Methods [Impusle Based]

Sending Message / Items Easy Method [Impulse Based Sources]
well am working on Impulse Based Sources and have just Made Simple Method to send player message and items Too ( gears & Normal Items)

Message Methods
Code:
public void SendMessageBox(string Message) // sending player MessageBox Message
{
    Send(new NpcReply(6, Message) { OptionID = 87 });
}

public void SendMessage(string Message, byte Type) // this is used to send Message Depending on Message type
{
    Send(new Message(Message, Color.DimGray, Type));
}
Items Sending
Code:
public void SendItem(uint ID, byte Count, byte StackSize) // Sending A player just normal Items As Dbs, Moonbox ..etc
{
    Send(new ConquerItem(true) { ID = ID, StackSize = StackSize });
    Inventory.Add(ID, 0, Count);
}

public void SendGear(uint ID, byte Plus, byte Socketone, byte SocketTwo, byte Bless, byte Enchant) // Sending gears to player
{
    var ItemInformation = Database.ConquerItemInformation.BaseInformations[ID];
     Send(new ConquerItem(true) { ID = ID, Plus = Plus, SocketOne = (Enums.Gem)Socketone, SocketTwo = (Enums.Gem)SocketTwo, Bless = Bless, Enchant = Enchant, MaximDurability = ItemInformation.Durability, Durability = ItemInformation.Durability });
}
you should know where to add these Codes..

regards
Shadowman123
shadowman123 is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
Simple Presearing Lvl Bot GWA˛ based
04/28/2012 - GW Exploits, Hacks, Bots, Tools & Macros - 34 Replies
Presearing Lvl Bot GWA˛ based. The bot solves the Quest "Charr at the Gate" All you need is level 2. In the appendix you find a .rar including the .exe and .au3(Source). If you have any ideas to improve, let me know. If you have any problems, let me know. If you want to give me a Guild Wars Account you don´t need anymore, because I´am building this bot with Trial Accounts, let me know. If you want to see more bots made by me follow step 3.
[Request] Sending SOULBOUND items via Mail
02/13/2012 - Rift - 1 Replies
Sending SOULBOUND items via Mail. Hi. is there any application that will let me send Soulbound item to my other character ? Can any1 make it if there isn't?
[HELP]how to add dg12 items,on vsro files based servers?
10/25/2011 - SRO Private Server - 6 Replies
hi guys,please explain it to me :S
Simple Packet based Shaiyabot Beta
05/19/2010 - Shaiya Hacks, Bots, Cheats & Exploits - 0 Replies
removed
T>aegis duping methods for eAthena methods
03/21/2009 - Ragnarok Online - 0 Replies
pm for details



All times are GMT +2. The time now is 22:42.


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