Register for your free account! | Forgot your password?

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

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

Advertisement



[Help] Didnt want to make a whole thread for it...

Discussion on [Help] Didnt want to make a whole thread for it... within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
[Help] Didnt want to make a whole thread for it...

Got a couple questions... Mostly about npcs and ****...

Ok how would you make it so an NPC deletes one of your items (if you have) then adds a new item..

How much experience does UnknownMan add in real CO? There must be a set amount because if there wasnt that would be just too much of a hassle...

Anyone know how to make Seperate house maps for players? ( not sure if everyone gets sent to the same house but im assuming Ill check and edit if they dont )

How would I find Furniture NPC ( Looks )


Ill add more as I need it


Thanks if you help


DONT FLAME I DIDNT WANNA MAKE THIS THREAD EITHER JUST NEED HELP
n0mansland is offline  
Thanks
1 User
Old 06/28/2009, 03:54   #2
 
elite*gold: 0
Join Date: Jun 2007
Posts: 323
Received Thanks: 30
Well, I have a question.

Source or binary.
Zanzibar is offline  
Old 06/28/2009, 04:10   #3
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
Sorry forgot CoEmuV2
n0mansland is offline  
Old 06/28/2009, 12:25   #4
 
elite*gold: 0
Join Date: Sep 2007
Posts: 36
Received Thanks: 6
Quote:
Originally Posted by n0mansland View Post
Got a couple questions... Mostly about npcs and crap...

Ok how would you make it so an NPC deletes one of your items (if you have) then adds a new item..

How much experience does UnknownMan add in real CO? There must be a set amount because if there wasnt that would be just too much of a hassle...

Anyone know how to make Seperate house maps for players? ( not sure if everyone gets sent to the same house but im assuming Ill check and edit if they dont )

How would I find Furniture NPC ( Looks )


Ill add more as I need it


Thanks if you help


DONT FLAME I DIDNT WANNA MAKE THIS THREAD EITHER JUST NEED HELP
To add items add this
Code:
        public static void AddItem(int itemid, int bless, int dura, int enchant, int plus, int progress, int position, int soc1, int soc2, int color, ClientSocket CSocket)
        {
            Struct.ItemInfo Item = new Struct.ItemInfo();
            if (dura == 255)
            {
                Item.Dura = Item.MaxDura;
            }
            else
            {
                Item.Dura = dura;
            }
            Item.Bless = bless;
            Item.Enchant = enchant;
            Item.ItemID = itemid;
            Item.Plus = plus;
            Item.Position = position;
            Item.Soc1 = soc1;
            Item.Soc2 = soc2;
            Item.Color = color;
            Item.UID = Nano.Rand.Next(1, 9999999);
            bool created = Database.Database.NewItem(Item, CSocket);
            while (!created)
            {
                Item.UID = Nano.Rand.Next(1, 9999999);
                created = Database.Database.NewItem(Item, CSocket);
            }

            CSocket.Client.Inventory.Add(Item.UID, Item);
            CSocket.Send(ConquerPacket.ItemInfo(Item.UID, Item.ItemID, Item.Plus, Item.Bless, Item.Enchant, Item.Soc1, Item.Soc2, Item.Dura, Item.MaxDura, Item.Position, Item.Color));
        }
Then now all you have to do "AddItem(Blah, 0,0,0,0,0,0,0,0,CSocket);" Or something like that.
duddz is offline  
Old 06/28/2009, 17:08   #5
 
n0mansland's Avatar
 
elite*gold: 0
Join Date: Aug 2008
Posts: 780
Received Thanks: 255
Oh i know how to add items probably worded that wrong but I need to figure out how to check if you have a certain item then delete that item and give you a new one..

Let's see
Code:
case 123: //Equipment NPC
{
if (LinkBack == 0)
{
        (Dont feel like making a whole code bla bla bla) I can give you a super  
        shadow bow for a dragon ball
        Link1 Yes,Please.
        Link No thanks. ,255
}
else if (LinkBack == 1)
{
        (Check if have DB) <--- Can't figure out
        (if so delete DB) <--- can't figure out
        (Add super shadow bow) <---- already know how to do
        BLABLABLABLABLAAAABLAA
Just an example what I mean by that

I've seen them in other codes just dont understand what I need and dont need (Gem guy)
n0mansland is offline  
Thanks
1 User
Reply


Similar Threads Similar Threads
[Release] Talking Pet AI
12/31/2011 - Mabinogi Hacks, Bots, Cheats & Exploits - 18 Replies
Hey, im new here but i found this awesome website where its an online generator for ai's Heres the link: Kept After Class Talking Pets in Mabinogi Sadly it only works with some of the older pets, they havent updated in a while. it works with my orange pixie cat for sure, i made him say I WILL EAT YOUR FACE. everytime i say Come! xD
[Suggestion]Make another thread...
05/23/2010 - Off Topic - 1 Replies
Make a thread called "The longest e*pvp thread I", so that people who can't speak German (like me) could spam their asses off :D That would be nice ^^
New SD hack didnt make this11\24\09
11/24/2009 - Grand Chase Philippines - 6 Replies
Uhh this is darkaze10's SD hack i found it here... Credits:darkaze10 TY:handsdown::handsdown:
I WANT TO MAKE A NEW THREAD
09/06/2009 - Grand Chase Philippines - 39 Replies
I WANT TO MAKE A NEW THREAD FOR Filipino Only If you have a question just post here pwede kang mag tagalog! :handsdown:
Can we make a new sock thread?
03/23/2008 - Conquer Online 2 - 8 Replies
Well it seems the times are changing, im having awesome socket luck at 14:14 server time, so could we start collecting some new data and see if we can find a patern?



All times are GMT +2. The time now is 00:10.


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.