Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] There any tools for coding with Eluna?

[DiscordArchive] There any tools for coding with Eluna?

[DiscordArchive] There any tools for coding with Eluna?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-04-2025, 09:21 AM
#1
Archived author: Deleted User • Posted: 2025-02-04T09:21:16.042000+00:00
Original source

There any tools for coding with Eluna?
rektbyfaith
02-04-2025, 09:21 AM #1

Archived author: Deleted User • Posted: 2025-02-04T09:21:16.042000+00:00
Original source

There any tools for coding with Eluna?

rektbyfaith
Administrator
0
02-04-2025, 09:21 AM
#2
Archived author: iThorgrim • Posted: 2025-02-04T09:21:23.421000+00:00
Original source

vscode
rektbyfaith
02-04-2025, 09:21 AM #2

Archived author: iThorgrim • Posted: 2025-02-04T09:21:23.421000+00:00
Original source

vscode

rektbyfaith
Administrator
0
02-04-2025, 09:21 AM
#3
Archived author: iThorgrim • Posted: 2025-02-04T09:21:36.105000+00:00
Original source

At the moment I have no clues, I can't figure out where the problem might be coming from and it's quite frustrating x)
rektbyfaith
02-04-2025, 09:21 AM #3

Archived author: iThorgrim • Posted: 2025-02-04T09:21:36.105000+00:00
Original source

At the moment I have no clues, I can't figure out where the problem might be coming from and it's quite frustrating x)

rektbyfaith
Administrator
0
02-04-2025, 09:21 AM
#4
Archived author: metallinos • Posted: 2025-02-04T09:21:59.262000+00:00
Original source

I'll look closer into how the top is constructed and passed this evening. What I've noticed is, almost every no. of top args mismatch is 4 less than the number of args passed (in essence 5 since the top is +1)
rektbyfaith
02-04-2025, 09:21 AM #4

Archived author: metallinos • Posted: 2025-02-04T09:21:59.262000+00:00
Original source

I'll look closer into how the top is constructed and passed this evening. What I've noticed is, almost every no. of top args mismatch is 4 less than the number of args passed (in essence 5 since the top is +1)

rektbyfaith
Administrator
0
02-04-2025, 09:23 AM
#5
Archived author: metallinos • Posted: 2025-02-04T09:23:17.256000+00:00
Original source

So something is causing the parameters to go poof top side (((maybe))). I am looking forward to getting intimately familiar with the source code
rektbyfaith
02-04-2025, 09:23 AM #5

Archived author: metallinos • Posted: 2025-02-04T09:23:17.256000+00:00
Original source

So something is causing the parameters to go poof top side (((maybe))). I am looking forward to getting intimately familiar with the source code

rektbyfaith
Administrator
0
02-04-2025, 09:27 AM
#6
Archived author: metallinos • Posted: 2025-02-04T09:27:47.279000+00:00
Original source

I also get random flurries of events pushed to the stack with mismatches when nothing should be triggering anything. In this case this is registerserverevent type 31 (creature delete). I removed the asserts in SetupStack to instead log to the Eluna error log and return false, this is my output on logging in and entering map ID 571 with a player:RegisterEvent successfully triggering on map change for example
[Image: image.png?ex=690c6a13&is=690b1893&hm=db8...7e208c23c&]
rektbyfaith
02-04-2025, 09:27 AM #6

Archived author: metallinos • Posted: 2025-02-04T09:27:47.279000+00:00
Original source

I also get random flurries of events pushed to the stack with mismatches when nothing should be triggering anything. In this case this is registerserverevent type 31 (creature delete). I removed the asserts in SetupStack to instead log to the Eluna error log and return false, this is my output on logging in and entering map ID 571 with a player:RegisterEvent successfully triggering on map change for example
[Image: image.png?ex=690c6a13&is=690b1893&hm=db8...7e208c23c&]

rektbyfaith
Administrator
0
02-04-2025, 09:33 AM
#7
Archived author: metallinos • Posted: 2025-02-04T09:33:29.729000+00:00
Original source

Also... Could be an unrelated issue, but... Here I'm running a 1-sec RegisterEvent on map change to 571. However, it fires after 500 ms?? Now, to be clear, I've seen this for many months, so I don't think it's related to multistate but it sure is odd...
```
local function mapChange571(event, player)
print("Map change 571 triggered")
player:RegisterEvent(function(e, d, c, p)
p:SendUnitSay("Hi, this is a RegisterEvent talking on map 571", 0)
print("RegisterEvent with 1 sec delay for map 571 executed")
end, 1000, 1)
end

if (GetStateMapId() == 571) then
RegisterPlayerEvent(28, mapChange571)
end
```
[Image: image.png?ex=690c6b69&is=690b19e9&hm=a97...4aa6a400c&]
rektbyfaith
02-04-2025, 09:33 AM #7

Archived author: metallinos • Posted: 2025-02-04T09:33:29.729000+00:00
Original source

Also... Could be an unrelated issue, but... Here I'm running a 1-sec RegisterEvent on map change to 571. However, it fires after 500 ms?? Now, to be clear, I've seen this for many months, so I don't think it's related to multistate but it sure is odd...
```
local function mapChange571(event, player)
print("Map change 571 triggered")
player:RegisterEvent(function(e, d, c, p)
p:SendUnitSay("Hi, this is a RegisterEvent talking on map 571", 0)
print("RegisterEvent with 1 sec delay for map 571 executed")
end, 1000, 1)
end

if (GetStateMapId() == 571) then
RegisterPlayerEvent(28, mapChange571)
end
```
[Image: image.png?ex=690c6b69&is=690b19e9&hm=a97...4aa6a400c&]

rektbyfaith
Administrator
0
02-04-2025, 09:35 AM
#8
Archived author: iThorgrim • Posted: 2025-02-04T09:35:07.970000+00:00
Original source

Yes this is a problem I've noticed on mod-eluna even without multistate, the timers are no good at all, I noticed this while streaming code on Twitch
rektbyfaith
02-04-2025, 09:35 AM #8

Archived author: iThorgrim • Posted: 2025-02-04T09:35:07.970000+00:00
Original source

Yes this is a problem I've noticed on mod-eluna even without multistate, the timers are no good at all, I noticed this while streaming code on Twitch

rektbyfaith
Administrator
0
02-04-2025, 09:35 AM
#9
Archived author: metallinos • Posted: 2025-02-04T09:35:36.221000+00:00
Original source

Might as well do timer = timer x 2 hah
rektbyfaith
02-04-2025, 09:35 AM #9

Archived author: metallinos • Posted: 2025-02-04T09:35:36.221000+00:00
Original source

Might as well do timer = timer x 2 hah

rektbyfaith
Administrator
0
02-04-2025, 09:35 AM
#10
Archived author: iThorgrim • Posted: 2025-02-04T09:35:54.780000+00:00
Original source

Even with the “classic” version of mod-eluna there is the problem ^^
rektbyfaith
02-04-2025, 09:35 AM #10

Archived author: iThorgrim • Posted: 2025-02-04T09:35:54.780000+00:00
Original source

Even with the “classic” version of mod-eluna there is the problem ^^

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