Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] How do I add custom scripts?

[DiscordArchive] How do I add custom scripts?

[DiscordArchive] How do I add custom scripts?

rektbyfaith
Administrator
0
03-17-2025, 04:53 PM
#1
Archived author: SkyBlueGod44 • Posted: 2025-03-17T16:53:45.118000+00:00
Original source

How do I add custom scripts?
rektbyfaith
03-17-2025, 04:53 PM #1

Archived author: SkyBlueGod44 • Posted: 2025-03-17T16:53:45.118000+00:00
Original source

How do I add custom scripts?

rektbyfaith
Administrator
0
03-17-2025, 06:04 PM
#2
Archived author: Roboto • Posted: 2025-03-17T18:04:11.622000+00:00
Original source

I believe that should fix your remaining 10% cases
```diff
diff --git a/index.js b/index.js
index cfe298e..c01139e 100644
--- a/index.js
+++ b/index.js
@@ -114,6 +114,6 @@ export const computeVerifier = (params, salt, identity, password) => {
const g = params.g
const N = params.N
const verifier = modPow(g, x, N)
- const lEVerifier = verifier.toString(16).match(/.{2}/g).reverse().join(``)
- return Buffer.from(lEVerifier, `hex`)
+ const lEVerifier = bigintBuffer.toBufferLE(verifier, 32)
+ return lEVerifier
}
```
rektbyfaith
03-17-2025, 06:04 PM #2

Archived author: Roboto • Posted: 2025-03-17T18:04:11.622000+00:00
Original source

I believe that should fix your remaining 10% cases
```diff
diff --git a/index.js b/index.js
index cfe298e..c01139e 100644
--- a/index.js
+++ b/index.js
@@ -114,6 +114,6 @@ export const computeVerifier = (params, salt, identity, password) => {
const g = params.g
const N = params.N
const verifier = modPow(g, x, N)
- const lEVerifier = verifier.toString(16).match(/.{2}/g).reverse().join(``)
- return Buffer.from(lEVerifier, `hex`)
+ const lEVerifier = bigintBuffer.toBufferLE(verifier, 32)
+ return lEVerifier
}
```

rektbyfaith
Administrator
0
03-17-2025, 06:09 PM
#3
Archived author: Miörey • Posted: 2025-03-17T18:09:16.978000+00:00
Original source

Maybe you are right I will test it to up the lib.
I think I found a way to solve my problem on the latest version of AC is possible to do:
```
.account set email $account $email $email_confirmation
```
it wasn't available on my prod version.
rektbyfaith
03-17-2025, 06:09 PM #3

Archived author: Miörey • Posted: 2025-03-17T18:09:16.978000+00:00
Original source

Maybe you are right I will test it to up the lib.
I think I found a way to solve my problem on the latest version of AC is possible to do:
```
.account set email $account $email $email_confirmation
```
it wasn't available on my prod version.

rektbyfaith
Administrator
0
03-17-2025, 06:10 PM
#4
Archived author: Roboto • Posted: 2025-03-17T18:10:28.815000+00:00
Original source

Won't you run into the same concurrency issues you had previously? with the delay from account creation
rektbyfaith
03-17-2025, 06:10 PM #4

Archived author: Roboto • Posted: 2025-03-17T18:10:28.815000+00:00
Original source

Won't you run into the same concurrency issues you had previously? with the delay from account creation

rektbyfaith
Administrator
0
03-17-2025, 06:13 PM
#5
Archived author: Miörey • Posted: 2025-03-17T18:13:52.377000+00:00
Original source

I don't know I will test and see.
rektbyfaith
03-17-2025, 06:13 PM #5

Archived author: Miörey • Posted: 2025-03-17T18:13:52.377000+00:00
Original source

I don't know I will test and see.

rektbyfaith
Administrator
0
03-17-2025, 06:17 PM
#6
Archived author: Tecc • Posted: 2025-03-17T18:17:17.393000+00:00
Original source

can anyone tell me how i activate console logs to be displayed about why a player connection was closed? (kick or otherwise) - trying to figure out why multiple players get recurring disconnects :/
rektbyfaith
03-17-2025, 06:17 PM #6

Archived author: Tecc • Posted: 2025-03-17T18:17:17.393000+00:00
Original source

can anyone tell me how i activate console logs to be displayed about why a player connection was closed? (kick or otherwise) - trying to figure out why multiple players get recurring disconnects :/

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)