Forums WoW Modding Support Archives WoWModding Threads [DiscordArchive] I'm encountering a problem while working with L...

[DiscordArchive] I'm encountering a problem while working with L...

[DiscordArchive] I'm encountering a problem while working with L...

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-21-2024, 08:12 AM
#1
Archived author: Needle • Posted: 2024-11-21T08:12:49.776000+00:00
Original source

rektbyfaith
11-21-2024, 08:12 AM #1

Archived author: Needle • Posted: 2024-11-21T08:12:49.776000+00:00
Original source

rektbyfaith
Administrator
0
11-21-2024, 08:12 AM
#2
Archived author: Needle • Posted: 2024-11-21T08:12:50.348000+00:00
Original source

Thread automatically created by Sheinlong0001 in <#415944535718494208>
rektbyfaith
11-21-2024, 08:12 AM #2

Archived author: Needle • Posted: 2024-11-21T08:12:50.348000+00:00
Original source

Thread automatically created by Sheinlong0001 in <#415944535718494208>

rektbyfaith
Administrator
0
11-21-2024, 08:54 AM
#3
Archived author: Kaev • Posted: 2024-11-21T08:54:32.124000+00:00
Original source

Do you return something in ClassSpecInfo? If not, you wouldn't require it directly into a table/object.
How does ClassSpecInfo.lua look?

But the error message sounds more like something has removed require from the global namespace.
Are you using any frameworks or scripts that you didn't write yourself?
rektbyfaith
11-21-2024, 08:54 AM #3

Archived author: Kaev • Posted: 2024-11-21T08:54:32.124000+00:00
Original source

Do you return something in ClassSpecInfo? If not, you wouldn't require it directly into a table/object.
How does ClassSpecInfo.lua look?

But the error message sounds more like something has removed require from the global namespace.
Are you using any frameworks or scripts that you didn't write yourself?

rektbyfaith
Administrator
0
11-21-2024, 09:02 AM
#4
Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:02:41.267000+00:00
Original source


[Image: image.png?ex=690c6431&is=690b12b1&hm=30d...05713b921&]
rektbyfaith
11-21-2024, 09:02 AM #4

Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:02:41.267000+00:00
Original source


[Image: image.png?ex=690c6431&is=690b12b1&hm=30d...05713b921&]

rektbyfaith
Administrator
0
11-21-2024, 09:03 AM
#5
Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:03:40.416000+00:00
Original source


[Image: image.png?ex=690c646c&is=690b12ec&hm=0f7...79c4dde87&]
rektbyfaith
11-21-2024, 09:03 AM #5

Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:03:40.416000+00:00
Original source


[Image: image.png?ex=690c646c&is=690b12ec&hm=0f7...79c4dde87&]

rektbyfaith
Administrator
0
11-21-2024, 09:08 AM
#6
Archived author: Kaev • Posted: 2024-11-21T09:08:04.756000+00:00
Original source

Ah, this is not an Eluna error.
AIO.AddAddon checks if this is on the server so it only runs the code below it if it's clientside. And iirc the WoW client does not support loading other files via require. All required files of an addon that need to be loaded are usually in the .toc file which is why it does not need to know require.
rektbyfaith
11-21-2024, 09:08 AM #6

Archived author: Kaev • Posted: 2024-11-21T09:08:04.756000+00:00
Original source

Ah, this is not an Eluna error.
AIO.AddAddon checks if this is on the server so it only runs the code below it if it's clientside. And iirc the WoW client does not support loading other files via require. All required files of an addon that need to be loaded are usually in the .toc file which is why it does not need to know require.

rektbyfaith
Administrator
0
11-21-2024, 09:16 AM
#7
Archived author: Kaev • Posted: 2024-11-21T09:16:00.720000+00:00
Original source

I guess you can either make the object global so you can access it from everywhere or you put everything into a single file
rektbyfaith
11-21-2024, 09:16 AM #7

Archived author: Kaev • Posted: 2024-11-21T09:16:00.720000+00:00
Original source

I guess you can either make the object global so you can access it from everywhere or you put everything into a single file

rektbyfaith
Administrator
0
11-21-2024, 09:16 AM
#8
Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:16:30.373000+00:00
Original source

A long time ago I saw a code, I think it was from talents, where it had a client code, a server code, and another 'data' file, where it had a lot of information and what that information did was load it, but I don't remember if it was in the client or server code, so that's why I had a doubt
rektbyfaith
11-21-2024, 09:16 AM #8

Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:16:30.373000+00:00
Original source

A long time ago I saw a code, I think it was from talents, where it had a client code, a server code, and another 'data' file, where it had a lot of information and what that information did was load it, but I don't remember if it was in the client or server code, so that's why I had a doubt

rektbyfaith
Administrator
0
11-21-2024, 09:16 AM
#9
Archived author: Kaev • Posted: 2024-11-21T09:16:34.903000+00:00
Original source

Alternative to AIO is Foereaper's CSMH which allows you to also work with a .toc file: https://github.com/Foereaper/CSMH
[Embed: GitHub - Foereaper/CSMH: Client and Server Message Handler framewor...]
Client and Server Message Handler framework for communication between Eluna and WoW - Foereaper/CSMH
https://github.com/Foereaper/CSMH
rektbyfaith
11-21-2024, 09:16 AM #9

Archived author: Kaev • Posted: 2024-11-21T09:16:34.903000+00:00
Original source

Alternative to AIO is Foereaper's CSMH which allows you to also work with a .toc file: https://github.com/Foereaper/CSMH
[Embed: GitHub - Foereaper/CSMH: Client and Server Message Handler framewor...]
Client and Server Message Handler framework for communication between Eluna and WoW - Foereaper/CSMH
https://github.com/Foereaper/CSMH

rektbyfaith
Administrator
0
11-21-2024, 09:17 AM
#10
Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:17:21.577000+00:00
Original source

That's what I'm looking for, not to have such an extensive code, but to divide it into parts to have it more organized
rektbyfaith
11-21-2024, 09:17 AM #10

Archived author: Dame un Grrrrr • Posted: 2024-11-21T09:17:21.577000+00:00
Original source

That's what I'm looking for, not to have such an extensive code, but to divide it into parts to have it more organized

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