[DiscordArchive] Anyone know where these "Conditions" are contained? The maximum level for my server is 60 so it's ca
[DiscordArchive] Anyone know where these "Conditions" are contained? The maximum level for my server is 60 so it's ca
![[Image: 2023-05-18.png?ex=690c0e77&is=690abcf7&h...192501a9b&]](https://cdn.discordapp.com/attachments/415944535718494208/1108407811022540810/2023-05-18.png?ex=690c0e77&is=690abcf7&hm=960c174cb2b201b513404eaba4f43c09e9995e4abf649ed4377e648192501a9b&)
Archived author: GG EZ • Posted: 2023-05-17T14:56:55.423000+00:00
Original source
Anyone know where these "Conditions" are contained? The maximum level for my server is 60 so it's causing these errors and I want to remove them entirely. I looked in the database but I didn't find anything. Is this caused by SkillLineAbility.dbc?
![[Image: 2023-05-18.png?ex=690c0e77&is=690abcf7&h...192501a9b&]](https://cdn.discordapp.com/attachments/415944535718494208/1108407811022540810/2023-05-18.png?ex=690c0e77&is=690abcf7&hm=960c174cb2b201b513404eaba4f43c09e9995e4abf649ed4377e648192501a9b&)
Archived author: <o> • Posted: 2023-05-17T15:10:06.249000+00:00
Original source
it's the ones in the `conditions` world table. those seem to be custom entries because there is no skill 390
Archived author: <o> • Posted: 2023-05-17T15:14:45.406000+00:00
Original source
can find those by `SELECT * FROM conditions WHERE ConditionTypeOrReference = 7 AND ConditionValue1 = 390;`
Archived author: GG EZ • Posted: 2023-05-17T15:18:35.149000+00:00
Original source
Thanks, I checked that table and I don't see any that correspond with those values. I haven't edited those entries. The error only showed up once I edited the maximum player level to 60. I just tried that and there are no entries matching that. It must be coming from somewhere else.
Archived author: <o> • Posted: 2023-05-17T15:19:44.222000+00:00
Original source
only really happens in one place in ac source;
```
...
case CONDITION_SKILL:
{
SkillLineEntry const* pSkill = sSkillLineStore.LookupEntry(cond->ConditionValue1);
if (!pSkill)
{
LOG_ERROR("sql.sql", "Skill condition specifies non-existing skill ({}), skipped", cond->ConditionValue1);
return false;
}
if (cond->ConditionValue2 < 1 || cond->ConditionValue2 > sWorld->GetConfigMaxSkillValue())
{
LOG_ERROR("sql.sql", "Skill condition specifies invalid skill value ({}), skipped", cond->ConditionValue2);
return false;
}
...
}
...
```
Archived author: <o> • Posted: 2023-05-17T15:20:29.404000+00:00
Original source
~~ though i noticed your message is slightly different, but doubt it's functionally different~~ (nevermind just accidentally copied the wrong section)
Archived author: <o> • Posted: 2023-05-17T15:21:40.431000+00:00
Original source
so it's conditionvalue2 that's too high, not the id that's wrong
Archived author: GG EZ • Posted: 2023-05-17T15:21:46.535000+00:00
Original source
I did find this online but idk
```case CONDITION_SKILL:
6441 {
6442 SkillLineEntry const *pSkill = sSkillLineStore.LookupEntry(value1);
6443 if (!pSkill)
6444 {
6445 sLog.outErrorDb("Skill condition specifies non-existing skill (%u), skipped", value1);
6446 return false;
6447 }
6448 if (value2 < 1 || value2 > sWorld.GetConfigMaxSkillValue() )
6449 {
6450 sLog.outErrorDb("Skill condition specifies invalid skill value (%u), skipped", value2);
6451 return false;
6452 }
6453 break;```
That's for TrinityCore but i'm using AC. I'm thinking it might be either a config issue or a dbc issue
Archived author: <o> • Posted: 2023-05-17T15:22:20.892000+00:00
Original source
390 is the skill points value, not the id. i just read the wrong code
Archived author: <o> • Posted: 2023-05-17T15:22:36.996000+00:00
Original source
so instead of ConditionValue1 you use ConditionValue2 instead