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.
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
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
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?
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)
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();
}
}
}
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
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
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.
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 //
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...