Forums WoW Modding Support Archives WoWModding Support Archives [DiscordArchive] are the worldmaparea dbc data incompatible with woltk's?

[DiscordArchive] are the worldmaparea dbc data incompatible with woltk's?

[DiscordArchive] are the worldmaparea dbc data incompatible with woltk's?

rektbyfaith
Administrator
0
09-15-2024, 12:47 AM
#1
Archived author: Krutok • Posted: 2024-09-15T00:47:02.319000+00:00
Original source

are the worldmaparea dbc data incompatible with woltk's?

I ported the original map Baradinhold including WMO.
I then downloaded the worldmap files with wow-export and copied them into my DBC. Then I also copied the Worldmaparea.dbc entries from my Legion client and copied them into my woltk dbc, but in the game I'm at the entrance, but on the map I'm somewhere else.

So the question is, is it somehow incompatible?
[Image: Screenshot_2024-09-15_023330.png?ex=690c...03793f1f2&]

[Image: Screenshot_2024-09-15_023429.png?ex=690c...b27296d5f&]
rektbyfaith
09-15-2024, 12:47 AM #1

Archived author: Krutok • Posted: 2024-09-15T00:47:02.319000+00:00
Original source

are the worldmaparea dbc data incompatible with woltk's?

I ported the original map Baradinhold including WMO.
I then downloaded the worldmap files with wow-export and copied them into my DBC. Then I also copied the Worldmaparea.dbc entries from my Legion client and copied them into my woltk dbc, but in the game I'm at the entrance, but on the map I'm somewhere else.

So the question is, is it somehow incompatible?
[Image: Screenshot_2024-09-15_023330.png?ex=690c...03793f1f2&]

[Image: Screenshot_2024-09-15_023429.png?ex=690c...b27296d5f&]

rektbyfaith
Administrator
0
09-15-2024, 01:10 AM
#2
Archived author: Tok124 (CSS Nerd) • Posted: 2024-09-15T01:10:39.878000+00:00
Original source

<@472753943391502337> I know it's something you have to change in the source code. I am not 100% sure exacly where, But i think you need to do something here if im not mistaken

**src\server\game\Entities\Unit\unit.cpp**
```cpp
float Unit::CalculateSpellpowerCoefficientLevelPenalty(SpellInfo const* spellInfo) const
{
if (!spellInfo->MaxLevel || GetLevel() < spellInfo->MaxLevel)
return 1.0f;

return std::max(0.0f, std::min(1.0f, (22.0f + spellInfo->MaxLevel - GetLevel()) / 20.0f));
}
```
I think you were supposed to comment out this line `return std::max(0.0f, std::min(1.0f, (22.0f + spellInfo->MaxLevel - GetLevel()) / 20.0f));`
But yeah i don't remember exactly. and i dont actually know C++. But it used to be a post about this issue on ac-web but now this forum is down so can't get to this post
rektbyfaith
09-15-2024, 01:10 AM #2

Archived author: Tok124 (CSS Nerd) • Posted: 2024-09-15T01:10:39.878000+00:00
Original source

<@472753943391502337> I know it's something you have to change in the source code. I am not 100% sure exacly where, But i think you need to do something here if im not mistaken

**src\server\game\Entities\Unit\unit.cpp**
```cpp
float Unit::CalculateSpellpowerCoefficientLevelPenalty(SpellInfo const* spellInfo) const
{
if (!spellInfo->MaxLevel || GetLevel() < spellInfo->MaxLevel)
return 1.0f;

return std::max(0.0f, std::min(1.0f, (22.0f + spellInfo->MaxLevel - GetLevel()) / 20.0f));
}
```
I think you were supposed to comment out this line `return std::max(0.0f, std::min(1.0f, (22.0f + spellInfo->MaxLevel - GetLevel()) / 20.0f));`
But yeah i don't remember exactly. and i dont actually know C++. But it used to be a post about this issue on ac-web but now this forum is down so can't get to this post

rektbyfaith
Administrator
0
09-15-2024, 01:12 AM
#3
Archived author: Thulz • Posted: 2024-09-15T01:12:24.300000+00:00
Original source

Just make the function return 1.f which means factor wont be altered according to spell max level
rektbyfaith
09-15-2024, 01:12 AM #3

Archived author: Thulz • Posted: 2024-09-15T01:12:24.300000+00:00
Original source

Just make the function return 1.f which means factor wont be altered according to spell max level

rektbyfaith
Administrator
0
09-15-2024, 01:33 AM
#4
Archived author: Thalin • Posted: 2024-09-15T01:33:15.749000+00:00
Original source

wtf
rektbyfaith
09-15-2024, 01:33 AM #4

Archived author: Thalin • Posted: 2024-09-15T01:33:15.749000+00:00
Original source

wtf

rektbyfaith
Administrator
0
09-15-2024, 01:33 AM
#5
Archived author: Thalin • Posted: 2024-09-15T01:33:19.741000+00:00
Original source

They all support it
rektbyfaith
09-15-2024, 01:33 AM #5

Archived author: Thalin • Posted: 2024-09-15T01:33:19.741000+00:00
Original source

They all support it

rektbyfaith
Administrator
0
09-15-2024, 01:33 AM
#6
Archived author: Thalin • Posted: 2024-09-15T01:33:24.012000+00:00
Original source

Legends of Azeroth, Skyfire
rektbyfaith
09-15-2024, 01:33 AM #6

Archived author: Thalin • Posted: 2024-09-15T01:33:24.012000+00:00
Original source

Legends of Azeroth, Skyfire

rektbyfaith
Administrator
0
09-15-2024, 01:34 AM
#7
Archived author: M'Dic • Posted: 2024-09-15T01:34:06.076000+00:00
Original source

Should of been discontinued last i checked. No clue what legends of azeroth is.
rektbyfaith
09-15-2024, 01:34 AM #7

Archived author: M'Dic • Posted: 2024-09-15T01:34:06.076000+00:00
Original source

Should of been discontinued last i checked. No clue what legends of azeroth is.

Recently Browsing
 
Recently Browsing