Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I saw recently that you can make commands via lua with the . But now i made a simple script but when

[DiscordArchive] I saw recently that you can make commands via lua with the . But now i made a simple script but when

[DiscordArchive] I saw recently that you can make commands via lua with the . But now i made a simple script but when

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
02-22-2022, 04:00 PM
#1
Archived author: Acidy • Posted: 2022-02-22T16:00:21.027000+00:00
Original source

I saw recently that you can make commands via lua with the . But now i made a simple script but when i typ the command it gives me an error aswell but i added to the db. Do i need to fix this also in the core?
[Image: unknown-79.png?ex=690c1d54&is=690acbd4&h...7494e99eb&]

[Image: unknown-127.png?ex=690c1d54&is=690acbd4&...6a7707f57&]

[Image: unknown-57.png?ex=690c1d54&is=690acbd4&h...27a3fa1bf&]
rektbyfaith
02-22-2022, 04:00 PM #1

Archived author: Acidy • Posted: 2022-02-22T16:00:21.027000+00:00
Original source

I saw recently that you can make commands via lua with the . But now i made a simple script but when i typ the command it gives me an error aswell but i added to the db. Do i need to fix this also in the core?
[Image: unknown-79.png?ex=690c1d54&is=690acbd4&h...7494e99eb&]

[Image: unknown-127.png?ex=690c1d54&is=690acbd4&...6a7707f57&]

[Image: unknown-57.png?ex=690c1d54&is=690acbd4&h...27a3fa1bf&]

rektbyfaith
Administrator
0
02-22-2022, 04:44 PM
#2
Archived author: Honey • Posted: 2022-02-22T16:44:29.902000+00:00
Original source

add `return false` at the very end of your command function.
rektbyfaith
02-22-2022, 04:44 PM #2

Archived author: Honey • Posted: 2022-02-22T16:44:29.902000+00:00
Original source

add `return false` at the very end of your command function.

rektbyfaith
Administrator
0
02-22-2022, 04:45 PM
#3
Archived author: Honey • Posted: 2022-02-22T16:45:04.973000+00:00
Original source

adding it to the command table has no effect that i am aware off aside documentation
rektbyfaith
02-22-2022, 04:45 PM #3

Archived author: Honey • Posted: 2022-02-22T16:45:04.973000+00:00
Original source

adding it to the command table has no effect that i am aware off aside documentation

rektbyfaith
Administrator
0
02-22-2022, 04:45 PM
#4
Archived author: Honey • Posted: 2022-02-22T16:45:24.221000+00:00
Original source

that goes for security levels, too
rektbyfaith
02-22-2022, 04:45 PM #4

Archived author: Honey • Posted: 2022-02-22T16:45:24.221000+00:00
Original source

that goes for security levels, too

rektbyfaith
Administrator
0
02-22-2022, 05:24 PM
#5
Archived author: Acidy • Posted: 2022-02-22T17:24:51.749000+00:00
Original source

Allright ty
rektbyfaith
02-22-2022, 05:24 PM #5

Archived author: Acidy • Posted: 2022-02-22T17:24:51.749000+00:00
Original source

Allright ty

rektbyfaith
Administrator
0
02-22-2022, 05:51 PM
#6
Archived author: Foe • Posted: 2022-02-22T17:51:25.160000+00:00
Original source

Correct
rektbyfaith
02-22-2022, 05:51 PM #6

Archived author: Foe • Posted: 2022-02-22T17:51:25.160000+00:00
Original source

Correct

rektbyfaith
Administrator
0
02-22-2022, 05:51 PM
#7
Archived author: Foe • Posted: 2022-02-22T17:51:53.048000+00:00
Original source

Adding return false to the end of your script terminates the command before it reaches the emulator command handler
rektbyfaith
02-22-2022, 05:51 PM #7

Archived author: Foe • Posted: 2022-02-22T17:51:53.048000+00:00
Original source

Adding return false to the end of your script terminates the command before it reaches the emulator command handler

rektbyfaith
Administrator
0
02-22-2022, 05:52 PM
#8
Archived author: Foe • Posted: 2022-02-22T17:52:00.096000+00:00
Original source

hence no message that the command doesn't exist
rektbyfaith
02-22-2022, 05:52 PM #8

Archived author: Foe • Posted: 2022-02-22T17:52:00.096000+00:00
Original source

hence no message that the command doesn't exist

rektbyfaith
Administrator
0
02-22-2022, 06:01 PM
#9
Archived author: Winfidonarleyan • Posted: 2022-02-22T18:01:46.916000+00:00
Original source

Delete char `.`
rektbyfaith
02-22-2022, 06:01 PM #9

Archived author: Winfidonarleyan • Posted: 2022-02-22T18:01:46.916000+00:00
Original source

Delete char `.`

rektbyfaith
Administrator
0
02-22-2022, 06:01 PM
#10
Archived author: Winfidonarleyan • Posted: 2022-02-22T18:01:51.500000+00:00
Original source

For fix
rektbyfaith
02-22-2022, 06:01 PM #10

Archived author: Winfidonarleyan • Posted: 2022-02-22T18:01:51.500000+00:00
Original source

For fix

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