[realse]add katana in the source 5017 and cliente

10/02/2009 03:29 pedro93#1
first go Characters.cs and find

else if (ItemParts[0]

and add this:

else if (ItemParts[0] == "601339")//katana
{
if (ItemsInInventory < 40)
{
if (Equips[4] == null && Equips[5] == null)
{
AddItem(Item, 4, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
else if (Equips[4] != null && Equips[5] == null)
{
AddItem(Item, 5, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
else if (Equips[4] != null && Equips[5] != null)
{
UnEquip(5);
AddItem(Item, 5, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
}
}

and for the client add this folder from real conquer

(C3/Textu/mesh) (Date / MapItemIcon / ItemMinIcon) (C3/Effect/Other/ninja120) (C3/Effect/Weapon) (ini/3DEffect/3dobj/3dtexture/ItemAdd/weapon/WeaponEffect / Action3DEffect/3DEffectInfo/3DEffectObj/3DFlyingObj/3dmotion/3DSimpleObj/3DSimpleObjEx/3DsimpleRole/Action3DEffect/Professionalname) Copy it to your Client 5017


you need add the item in the database(localhost) and add in the source in the folder debug copy from ini of real conquer the itemadd archive and put in tthe debug folder.
10/02/2009 03:44 SaMuRaI D#2
NICE RELEASE ! ! !
10/02/2009 06:37 UnoAmigos#3
Quote:
Originally Posted by pedro93 View Post
first go Characters.cs and find

else if (ItemParts[0]

and add this:

else if (ItemParts[0] == "601339")//katana
{
if (ItemsInInventory < 40)
{
if (Equips[4] == null && Equips[5] == null)
{
AddItem(Item, 4, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
else if (Equips[4] != null && Equips[5] == null)
{
AddItem(Item, 5, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
else if (Equips[4] != null && Equips[5] != null)
{
UnEquip(5);
AddItem(Item, 5, (uint)ItemUID);
World.UpdateSpawn(this);
RemoveItem(ItemUID);
}
}
}

and for the client add this folder from real conquer

(C3/Textu/mesh) (Date / MapItemIcon / ItemMinIcon) (C3/Effect/Other/ninja120) (C3/Effect/Weapon) (ini/3DEffect/3dobj/3dtexture/ItemAdd/weapon/WeaponEffect / Action3DEffect/3DEffectInfo/3DEffectObj/3DFlyingObj/3dmotion/3DSimpleObj/3DSimpleObjEx/3DsimpleRole/Action3DEffect/Professionalname) Copy it to your Client 5017


you need add the item in the database(localhost) and add in the source in the folder debug copy from ini of real conquer the itemadd archive and put in tthe debug folder.

.....speechless
10/02/2009 12:30 Empty Project#4
Yet he explains nothing about itemadd.ini or itemtype.dat or inserting it in your database. Those are the most important spots. You won't be able to spawn it if you don't do that.
10/02/2009 13:04 NukingFuts#5
wow nice i love it thx :D