krycha511
New Member
- Joined
- Dec 24, 2015
- Messages
- 19
- Reaction score
- 0
I have problem in this server -
When I change IP in DBV client I have error after log in, but in normal tibia client with changed .spr and .dat works good.
I want to use it becouse on this server was normal tibia client with changed .spr.
As you know I have problem now, I have sword fighting, axe fighting etc.
I have no idea, where I can edit it, additionally I don't know why attack speed doesn't work. Maybe I have no eyes. Look at this:
And all time character is advancing in fist fighting. When I add with command /addskill eg. axe fighting, first, sword etc. is advancing in fist fighting, and I still see no diffrence in Attack Speed.
That is so weird for me.
What is better? Editing client? What to do first?
And this attack speed...
Srry for bad english.
@edit, IDK which skill is what... Eg. When I attack with Gloves I advancing in First Fighting (My attack deals more dmg now) and attack speed doesnt change. Look at this:
And I want to use DBViolent client, I have no link to this.
When I change IP in DBV client I have error after log in, but in normal tibia client with changed .spr and .dat works good.
I want to use it becouse on this server was normal tibia client with changed .spr.
As you know I have problem now, I have sword fighting, axe fighting etc.
I have no idea, where I can edit it, additionally I don't know why attack speed doesn't work. Maybe I have no eyes. Look at this:
Code:
uint32_t Player::getAttackSpeed()
{
Item* weapon = getWeapon();
int32_t attackSpeedzik;
if(weapon && weapon->getAttackSpeed() != 0)
attackSpeedzik = vocation->getAttackSpeed() - (getSkill(SKILL_FIST, SKILL_LEVEL) * 4) - weapon->getAttackSpeed();
else
attackSpeedzik = vocation->getAttackSpeed() - (getSkill(SKILL_FIST, SKILL_LEVEL) * 4);
if(attackSpeedzik > 0)
return (uint32_t) attackSpeedzik;
else
return 1;
}
Code:
void Player::addSkillAdvance(skills_t skill, uint32_t count, bool useMultiplier/* = true*/)
if(skill == SKILL_FIST && this->getSkill(SKILL_FIST) == 10)
if(skill == SKILL_AXE && this->getSkill(SKILL_AXE) == 10)
if(skill == SKILL_CLUB && this->getSkill(SKILL_CLUB) == 10)
if(skill == SKILL_SWORD && this->getSkill(SKILL_SWORD) == 10)
if(skill == SKILL_SHIELD && this->getSkill(SKILL_SHIELDT) == 10)
return;
What is better? Editing client? What to do first?
And this attack speed...
Srry for bad english.
@edit, IDK which skill is what... Eg. When I attack with Gloves I advancing in First Fighting (My attack deals more dmg now) and attack speed doesnt change. Look at this:
Code:
switch(skillId)
{
case SKILL_FIST:
{
std::string tmp = "attack";
if(suffix)
tmp += "speed";
return tmp;
}
case SKILL_CLUB:
{
std::string tmp = "strenght";
if(suffix)
tmp += "";
return tmp;
}
case SKILL_SWORD:
{
std::string tmp = "sword";
if(suffix)
tmp += "fighting";
return tmp;
}
case SKILL_AXE:
{
std::string tmp = "respect";
if(suffix)
tmp += "";
return tmp;
}
case SKILL_DIST:
{
std::string tmp = "ki";
if(suffix)
tmp += "blasting";
return tmp;
}
case SKILL_SHIELD:
return "defense";
case SKILL_FISH:
{
std::string tmp = "energy";
if(suffix)
tmp += "";
return tmp;
}
case SKILL__MAGLEVEL:
return "ki level";
case SKILL__LEVEL:
return "level";
default:
break;
}
return "unknown";
}
Last edited: