update 14 link dowload please please , thanks
este fórum não sabia xD, amanhã eu publicou o código para carregar os itens completos.
EDIT:
Item.cpp
void Item::LoadModels()
{
pInitModelData();
g_ItemModel.SetModel();
char * Items = "Data\\Custom\\Item\\Sets\\";
char * Armas = "Data\\Custom\\Item\\Arma\\";
for (int i = 5; i < 512; i++)
{
if(i > 77)//helms
{
sprintf(Sets, "HelmMale%d",i);
pLoadModel(ITEM2(7, i), Items, Sets, -1);
}
if(i > 77)//armors
{
sprintf(Sets, "ArmorMale%d",i);
pLoadModel(ITEM2(8, i), Items, Sets, -1);
}
if(i > 77)//pants (fix Phoenix soul pants)
{
sprintf(Sets, "PantMale%d",i);
pLoadModel(ITEM2(9, i), Items, Sets, -1);
}
if(i > 77)//gloves
{
sprintf(Sets, "GloveMale%d",i);
pLoadModel(ITEM2(10, i), Items, Sets, -1);
}
if(i > 77)//boots
{
sprintf(Sets, "BootMale%d",i);
pLoadModel(ITEM2(11, i), Items, Sets, -1);
}
if(i > 28 && i < 31 || i > 40 && i < 256)//swords
{
sprintf(Arma, "Sword%d",i);
pLoadModel(ITEM2(0, i), Armas, Arma, -1);
}
if(i > 8 && i < 256)//axes
{
sprintf(Arma, "Axe%d",i);
pLoadModel(ITEM2(1, i), Armas, Arma, -1);
}
if(i > 18 && i < 256)//maces
{
sprintf(Arma, "Mace%d",i);
pLoadModel(ITEM2(2, i), Armas, Arma, -1);
}
if(i > 11 && i < 256)//spears
{
sprintf(Arma, "Spear%d",i);
pLoadModel(ITEM2(3, i), Armas, Arma, -1);
}
if(i > 23 && i < 210)//bow
{
sprintf(Arma, "Bow%d",i);
pLoadModel(ITEM2(4, i), Armas, Arma,-1);
}
if(i > 209 && i < 511)//crossbow
{
sprintf(Arma, "Crossbow%d",i);
pLoadModel(ITEM2(4, i), Armas, Arma, -1);
}
if(i > 36 && i < 256)//staff
{
sprintf(Arma, "Staff%d",i);
pLoadModel(ITEM2(5, i), Armas, Arma, -1);
}
if(i > 21 && i < 256)//shield
{
sprintf(Arma, "Shield%d",i);
pLoadModel(ITEM2(6, i), Armas, Arma, -1);
}
}void Item::LoadTextures()
{
pInitTextureData();
g_ItemModel.SetTexture();
char * Armas = "Custom\\Item\\Arma\\";
char * Items = "Custom\\Item\\Sets\\";
for (int i = 5; i < 512; i++)
{
if(i > 77)//helms
{
pLoadTexture(ITEM2(7, i), Items, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 77)//armors
{
pLoadTexture(ITEM2(8, i), Items, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 77)//pants (fix Phoenix soul pants)
{
pLoadTexture(ITEM2(9, i), Items, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 77)//gloves
{
pLoadTexture(ITEM2(10, i), Items, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 77)//boots
{
pLoadTexture(ITEM2(11, i), Items, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if (i > 28 && i < 31 || i > 40 && i < 256)//swords
{
pLoadTexture(ITEM2(0, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 8 && i < 256)//axes
{
pLoadTexture(ITEM2(1, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 18 && i < 256)//maces
{
pLoadTexture(ITEM2(2, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 11 && i < 256)//spears
{
pLoadTexture(ITEM2(3, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 24 && i < 210)//bow
{
pLoadTexture(ITEM2(4, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 209 && i < 511)//crossbow
{
pLoadTexture(ITEM2(4, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 36 && i < 256)//staff
{
pLoadTexture(ITEM2(5, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
if(i > 21 && i < 256)//shield
{
pLoadTexture(ITEM2(6, i), Armas, GL_REPEAT, GL_NEAREST, GL_TRUE);
}
}
}
Last edited by Javitronx; 24/08/2015 at 10:18 PM.
In zGameServer\Data\ServerInfo.... checks that is configured so:
[GameServerInfo]
ServerName = GS
ServerCode = 0
ConnectMemberLoad = 0
ConnectMemberUpdate = 0
IsVipUpdate = 0
ConnectMemberFileLocation = "..\\VipSystem\\ConnectMember.txt"
ChangeCharacterName = 0
NonPk = 0
PkLimitFree = 1
NewServer = 1
EventOff = 0
FreeServer = 1
MinUserReset = 0
MaxUserReset = 500