Register for your free account! | Forgot your password?

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

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

Advertisement



P Server "NPC base code/shops/drop items" for who asked me 2 do it

Discussion on P Server "NPC base code/shops/drop items" for who asked me 2 do it within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old 07/01/2008, 01:03   #1276
 
zane203's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 418
Received Thanks: 56
Where is his source, cant find it O_o
zane203 is offline  
Old 07/01/2008, 01:27   #1277
 
bobtin777's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 232
Received Thanks: 18
Quote:
Originally Posted by adz06676 View Post
to you
heyyyyyy you guys are useing my Npc dialog i better update it for you LOL
so then could i join you team thing...
Attached Files
File Type: rar Dialog.rar (2.3 KB, 39 views)
bobtin777 is offline  
Thanks
1 User
Old 07/01/2008, 02:00   #1278
 
elite*gold: 0
Join Date: Feb 2008
Posts: 240
Received Thanks: 10
Quote:
Originally Posted by zane203 View Post
Where is his source, cant find it O_o
well lol when he post u will c it its called dirty something lol. Also there working on a SVN project which is better so u can update right when they add something new
Bottingpunk is offline  
Old 07/01/2008, 03:00   #1279
 
gfun1's Avatar
 
elite*gold: 0
Join Date: Oct 2005
Posts: 60
Received Thanks: 37
Quote:
Originally Posted by bobtin777 View Post
heyyyyyy you guys are useing my Npc dialog i better update it for you LOL
so then could i join you team thing...
Thank You for helping us. If you want to join the project, then please PM me

Quote:
Originally Posted by Bottingpunk View Post
well lol when he post u will c it its called dirty something lol. Also there working on a SVN project which is better so u can update right when they add something new
Thats exactly right.

Now this is a note to everyone: Our SVN project is a public "on the fly" development server, we will not release guides on how to do this and that, and how to drop items then pick them up, we will be adding features to the current source code, and removing security issues. The main thing about this source is it will be more powerful for the GM to use, and feature more options then any other source code on the market, if we waste our time on telling someone how to make /reborn work, or keep telling people that /GM has not been coded (Maybe in Samehvan's version, so Revision4A (Not adz mana fix) may contain /GM.

We are currently NOT supporting this open project! Once we have a server with all the features working, we will then support it. Bug reports are welcome, but people asking for help to make guilds work, reborn their character and so on, are not going to be responded to by the team, we have a server to program here, and it will only take longer to make, if we spend all of our time telling people what Tortoise SVN is... Google it guys. We'll have this server more full of features sooner if we have the time.

Thank You.

As for warehouses, does anyone have an example packet that they can show me, of someone depositing money and an item?

Thanks.
gfun1 is offline  
Old 07/01/2008, 04:34   #1280
 
elite*gold: 0
Join Date: May 2005
Posts: 31
Received Thanks: 5
Umm
I have some thing to talk with sam and his team
(first things,i'm not good in English,so ...sry people :-))
I used to play CO very long time be4,about 5 or 6 years ago.
Nowaday,so many game release but i still like this CO game.It's look like a fantasy classic game....
I wish i can creat a QO p-server,but i can't becoz i have a lot thing in life(beside,i don't know coding C# etc,lol...)
I know qonquer 2 year ago,they still working hard for good server like nowaday.
Now i know Sam and his team(gfun,adz....)and some other CO fan like me.
Hope you will keep doing good job like these days.And hope in the future,we will have got other Conquer P-server,with full working and many...many things plus in it.
I like you,who working for CO fan P-server.
Just good luck to you,best wish for you!!
(i think hope that sum1 understand my english and translate it again...lol)
bboynam is offline  
Thanks
1 User
Old 07/01/2008, 04:43   #1281
 
bobtin777's Avatar
 
elite*gold: 0
Join Date: Aug 2007
Posts: 232
Received Thanks: 18
Code:
 if (Message[0] == '/')
            {
                string[] Splitter = Message.Split(' ');
                foreach (string[] NPC3 in BackendDB.CommandsDatabase)
                {
                    //2 = helper
                    //4 = gm
                    //6 = administrator
                    int Flag = 0;
                    string Message3 = Convert.ToString(NPC3[0]);
                    int Flags = Convert.ToInt32(NPC3[1]);
                    if (Splitter[0].ToLower() == ("/" + Message3))
                    {
                        Flag = 0;
                    }
would this be the code for messageing everyone

Code:
    /// <summary>
    /// Summary description for Inventory.
    /// </summary>
    public class Inventory
    {
        private int m_MaxSize = 40;
        public int[][] n_items = new int[40][];
        public System.Collections.ArrayList m_Items;
        public System.Collections.ArrayList m_Items2;
    }
}
and this is for the inventory if you want to have more right

Code:
{
    public class Warehouse : ServerBasePacket
    {
        //Attack
        private int UniqueID;
        private int ItemID;
        private int NpcID;
        private int Amount;
        private int Length;
        private int Value;
        private int Value2;
        private int _Type;
        private COClient Client;
        private int[][] warehouse = null;

        public Warehouse(int _npcid, int _amount, int _value, int _value2, COClient _client)
        {
            NpcID = _npcid;
            Amount = _amount;
            if (Amount != 0)
            {
                Length = Amount * 20;
            }
            else
            {
                Length = 20;
            }
            Value = _value;
            Value2 = _value2;
            Client = _client;
            if (NpcID == 8)//twincity
            {
                warehouse = _client.Char.TwinWare;
            }
            if (NpcID == 10012)//phoenix castle
            {
                warehouse = _client.Char.PhoenixWare;
            }
            if (NpcID == 10028)//ape mountain
            {
                warehouse = _client.Char.ApeWare;
            }
            if (NpcID == 10011)//desert city
            {
                warehouse = _client.Char.DesertWare;
            }
            if (NpcID == 10027)//bird island
            {
                warehouse = _client.Char.BirdWare;
            }
            if (NpcID == 44)//market
            {
                warehouse = _client.Char.MarketWare;
            }
        }

        //soooooo not working yet >.< look into 'value2' values and 'value' values,
        //10 is display, 11 deposit cash, 12 withdraw cash,
        public byte[] writeImpl()
        {
            writeH(20);
            writeH(1009);
            writeD(NpcID);
            writeD(Amount);
            writeD(Value);
            writeD(Value2);
            return getBytes();
        }

        public byte[] writeImp0()
        {
            writeH(16 + Length);
            writeH(1102);
            writeD(NpcID);
            writeD(0);
            writeD(Amount);
            if (Amount >= 1)
            {
                foreach (int[] item in warehouse)
                {
                    if (item[0] != 0)
                    {
                        writeD(Convert.ToInt32(item[9]));//uid
                        writeD(Convert.ToInt32(item[0]));//itemid
                        writeC(0);
                        writeC(Convert.ToInt32(item[10]));//Soc1
                        writeC(Convert.ToInt32(item[11]));//Soc2
                        writeH(0);
                        writeC(Convert.ToInt32(item[3]));//+dmg
                        writeC(Convert.ToInt32(item[4]));//-dmg
                        writeC(0);
                        writeH(Convert.ToInt32(item[5]));//enchant
                        writeH(0);
                    }
                }
            }
            else
            {
                writeD(0);
                writeD(0);
                writeD(0);
                writeD(0);
                writeD(0);
            }
            return getBytes();
        }

        public byte[] writeImp2()
        {
            writeH(32);
            writeH(1102);
            writeD(NpcID);
            writeD(1);
            writeD(Value);
            writeD(Value2);
            writeD(0);
            writeH(0);
            writeC(0);
            writeC(255);
            writeD(0);
            return getBytes();
        }

        public byte[] writeImp3()
        {
            writeH(32);
            writeH(1102);
            writeD(NpcID);
            writeD(2562);
            writeD(Value);
            writeD(0);
            writeD(0);
            writeD(0);
            writeD(0);
            return getBytes();
        }
    }
}
That i think is you Wherehouse code
bobtin777 is offline  
Old 07/01/2008, 05:33   #1282
 
Jim22444's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 87
Received Thanks: 5
Quote:
Originally Posted by netplace View Post
I am posting the Source Rev 4

that has many people with work to download

Samehvan

Ty for source
With that does it include all of the updates until then?

EDIT: Btw, How do i edit the hp of guards :P they are to easy to kill when your char is all maxed out.
Jim22444 is offline  
Old 07/01/2008, 06:03   #1283
 
elite*gold: 0
Join Date: Jun 2008
Posts: 20
Received Thanks: 0
can n e one post all spell ids and all prof ids? plz i know there have been post for this before but look how many pages so plaz have a little pitty on mee and plz dont flame... u flame be awar i flame back 0.0
DemonRenki is offline  
Old 07/01/2008, 06:28   #1284
 
Jim22444's Avatar
 
elite*gold: 0
Join Date: Nov 2006
Posts: 87
Received Thanks: 5
Quote:
Originally Posted by DemonRenki View Post
can n e one post all spell ids and all prof ids? plz i know there have been post for this before but look how many pages so plaz have a little pitty on mee and plz dont flame... u flame be awar i flame back 0.0
LMAO!!!!!! The bolded font amuses me greatly
Jim22444 is offline  
Old 07/01/2008, 06:41   #1285
 
zane203's Avatar
 
elite*gold: 0
Join Date: Jun 2008
Posts: 418
Received Thanks: 56
oi, its hard keeping up now with all the other things i have to do -_-... anyways

for mobs hp, i believe there is a .txt file that has their info, its around the 1st 30pages i believe should have the list where to edit it from sam himself.

for spells and ids and what not, open your chat.cs file in a C# maker/editor or if you dont have one open it in notepad search "/skill" and that whole list of handlers will be your skill and their ids.

jesus help me... C# is a beast of a language xD
zane203 is offline  
Old 07/01/2008, 09:20   #1286
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
As im a member of samhvans team i thought i release a Mob.txt 4 ya all which contains special mobs u have never seen be4 like a Doubble Winged Dragen or a Zombie,Axeman,....KINGS ARE ADDED!
I HOPE U PRESS THE THX BUTTON 4 it lol
ENJOY

//BTW L8TER I RELEASE A NPC DIALOG WITCH ADDING LAB1 2 3 4 DIS CITY AND SO ON //
Attached Files
File Type: txt Mobs.txt (2.0 KB, 42 views)
~Yuki~ is offline  
Thanks
11 Users
Old 07/01/2008, 09:46   #1287
 
elite*gold: 0
Join Date: Nov 2007
Posts: 60
Received Thanks: 0
where's the code for reborn to archer?

reborn1archer ???
mindula is offline  
Old 07/01/2008, 09:51   #1288
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by mindula View Post
where's the code for reborn to archer?

reborn1archer ???
Archer Reborn not added now but i think its done in some time pls be patient
~Yuki~ is offline  
Old 07/01/2008, 10:08   #1289
 
elite*gold: 0
Join Date: Nov 2007
Posts: 60
Received Thanks: 0
Quote:
Originally Posted by lolmaster123 View Post
Archer Reborn not added now but i think its done in some time pls be patient
oks thanks.

Love stone work? How to get married
mindula is offline  
Old 07/01/2008, 10:35   #1290
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by mindula View Post

Love stone work? How to get married
Rofl lovestone dont work now be patient (i feel like an parrot :S)+



BTW POST REPLAYS //FEEDBACKS// 4 MY MOB.TXT and tell me if i should add a mob
~Yuki~ is offline  
Reply


Similar Threads Similar Threads
Verkaufe: Guild Wars "Platin", "Ectos, "Items" mehr...
09/12/2008 - Guild Wars Trading - 0 Replies
Hallo, ich biete gegen Euro viele schöne dinge für das Spiel Guild Wars an. Bitte meldet euch dann bei mir per PM was genau ihr haben möchtet und wieviel von den jeweiligen Virtuellen Gegenständen. Die Übergabe kann wie folgt ab laufen. Ich erstelle extra für euch die Ebay Auktion mit der gewünschten menge der jeweiligen Virtuellen Guild Wars gegenstände. Wenn ihr kein Ebay habt und euch auch kein Account anlegen möchtet kann die Übergabe auch ausserhalb Ebays statt finden hierzu erhaltet...



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


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.