Forums WoW Modding Support Archives WoWModding Support Archives [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

[DiscordArchive] Anyone know where these "Conditions" are contained? The maximum level for my server is 60 so it's ca

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-17-2023, 02:56 PM
#1
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&]
rektbyfaith
05-17-2023, 02:56 PM #1

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&]

rektbyfaith
Administrator
0
05-17-2023, 03:10 PM
#2
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
rektbyfaith
05-17-2023, 03:10 PM #2

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

rektbyfaith
Administrator
0
05-17-2023, 03:14 PM
#3
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;`
rektbyfaith
05-17-2023, 03:14 PM #3

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;`

rektbyfaith
Administrator
0
05-17-2023, 03:18 PM
#4
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.
rektbyfaith
05-17-2023, 03:18 PM #4

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.

rektbyfaith
Administrator
0
05-17-2023, 03:19 PM
#5
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;
}
...
}
...
```
rektbyfaith
05-17-2023, 03:19 PM #5

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;
}
...
}
...
```

rektbyfaith
Administrator
0
05-17-2023, 03:20 PM
#6
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)
rektbyfaith
05-17-2023, 03:20 PM #6

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)

rektbyfaith
Administrator
0
05-17-2023, 03:21 PM
#7
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
rektbyfaith
05-17-2023, 03:21 PM #7

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

rektbyfaith
Administrator
0
05-17-2023, 03:21 PM
#8
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
rektbyfaith
05-17-2023, 03:21 PM #8

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

rektbyfaith
Administrator
0
05-17-2023, 03:22 PM
#9
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
rektbyfaith
05-17-2023, 03:22 PM #9

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

rektbyfaith
Administrator
0
05-17-2023, 03:22 PM
#10
Archived author: <o> • Posted: 2023-05-17T15:22:36.996000+00:00
Original source

so instead of ConditionValue1 you use ConditionValue2 instead
rektbyfaith
05-17-2023, 03:22 PM #10

Archived author: <o> • Posted: 2023-05-17T15:22:36.996000+00:00
Original source

so instead of ConditionValue1 you use ConditionValue2 instead

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)