Register for your free account! | Forgot your password?

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

  • 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, 10:40   #1291
 
adz06676's Avatar
 
elite*gold: 0
Join Date: Oct 2007
Posts: 450
Received Thanks: 68
Quote:
Originally Posted by mindula View Post
oks thanks.

Love stone work? How to get married
The spouse feature is just a test atm
adz06676 is offline  
Old 07/01/2008, 10:55   #1292
 
elite*gold: 0
Join Date: Nov 2007
Posts: 60
Received Thanks: 0
Quote:
Originally Posted by adz06676 View Post
The spouse feature is just a test atm
Other quest: How to level up with mobs?

I can change the GM dialoge?
mindula is offline  
Old 07/01/2008, 11:01   #1293
 
Danutzhaha's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 42
Received Thanks: 1
Quote:
Originally Posted by lolmaster123 View Post
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 //
nice mobs, but do you know the much for mobs? o you test it to see if they are like in CO?btw i hit ty button
Danutzhaha is offline  
Old 07/01/2008, 11:11   #1294
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Quote:
Originally Posted by bobtin777 View Post
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
Nice about that Warehouse, But ... Were i need to place it?
YukiXian is offline  
Old 07/01/2008, 11:36   #1295
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by Danutzhaha View Post
nice mobs, but do you know the much for mobs? o you test it to see if they are like in CO?btw i hit ty button
The much=mesh i think?
If so i got mesh from nearly all mobs ye!

thx 4 hitting the button :P

Btw i like your server good work go on with it! (maybe lemme join there?lol as pm xD)
~Yuki~ is offline  
Old 07/01/2008, 11:41   #1296
 
elite*gold: 0
Join Date: Jul 2006
Posts: 17
Received Thanks: 6
Quote:
Originally Posted by lolmaster123 View Post
BTW POST REPLAYS //FEEDBACKS// 4 MY MOB.TXT and tell me if i should add a mob
Sorry tried to test it on Rev4-A but the client crashes like before,after tried to hit a mob in tc the client was closed.
Ill try tomorrow after back from work
blastered is offline  
Old 07/01/2008, 11:45   #1297
 
Danutzhaha's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 42
Received Thanks: 1
Quote:
Originally Posted by lolmaster123 View Post
The much=mesh i think?
If so i got mesh from nearly all mobs ye!

thx 4 hitting the button :P

Btw i like your server good work go on with it! (maybe lemme join there?lol as pm xD)
sry i was type fast and i was what to type mesh no much lolz...

about srv, come and join it and will see there okay?
Danutzhaha is offline  
Old 07/01/2008, 11:54   #1298
 
elite*gold: 0
Join Date: Nov 2007
Posts: 60
Received Thanks: 0
Other quest: How to level up with mobs?

I can change the GM dialoge?
mindula is offline  
Old 07/01/2008, 12:00   #1299
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
Quote:
Originally Posted by mindula View Post
Other quest: How to level up with mobs?

I can change the GM dialoge?
How often u wanna post this?
Read the WHOLE forum like every other guy here...
~Yuki~ is offline  
Old 07/01/2008, 12:00   #1300
 
Danutzhaha's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 42
Received Thanks: 1
Quote:
Originally Posted by mindula View Post
Other quest: How to level up with mobs?

I can change the GM dialoge?

what source you use lolz?
Danutzhaha is offline  
Old 07/01/2008, 12:36   #1301
 
elite*gold: 0
Join Date: Nov 2007
Posts: 60
Received Thanks: 0
Quote:
Originally Posted by Danutzhaha View Post
what source you use lolz?
DirtyDozenz Source
mindula is offline  
Old 07/01/2008, 13:01   #1302
 
elite*gold: 20
Join Date: Jan 2008
Posts: 2,338
Received Thanks: 490
THEN IT SHOULD WORK :P
~Yuki~ is offline  
Old 07/01/2008, 13:50   #1303
 
Danutzhaha's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 42
Received Thanks: 1
lolz hes noob, go and chech in bin\debug\npcstuffdialog.ini and try

if isnt work you need to rebuild the source

gl & hf



OFF Topic:
btw how i can dl Rev4 A with SVN?? a link something?
Danutzhaha is offline  
Old 07/01/2008, 13:55   #1304
 
Danutzhaha's Avatar
 
elite*gold: 0
Join Date: Sep 2007
Posts: 42
Received Thanks: 1
okay i found it, sry for double post ^_^
Danutzhaha is offline  
Old 07/01/2008, 14:05   #1305
 
elite*gold: 0
Join Date: Feb 2008
Posts: 668
Received Thanks: 160
Adz, Were i can find the text in ur REV4-A Source that will let the reborn effect stay and show for everyone?
YukiXian 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 12:29.


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.