Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] It says here that with this you can achieve - "Access to protected lua functions"

[DiscordArchive] It says here that with this you can achieve - "Access to protected lua functions"

[DiscordArchive] It says here that with this you can achieve - "Access to protected lua functions"

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
05-03-2025, 02:23 AM
#1
Archived author: Andre • Posted: 2025-05-03T02:23:15.123000+00:00
Original source

It says here that with this you can achieve - "Access to protected lua functions"

https://www.azerothcore.org/wiki/how-to-...ayload-mgr

If this allows me to use
PROTECTED CastSpell(spellID, "bookType") - Cast the specified spell by ID.
From the client side, this would solve my problem

So is there a way to remove this ban "restricted to Blizzard signed UI mods" ?
[Embed: How to use the Warden Payload Manager]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/how-to-...ayload-mgr
rektbyfaith
05-03-2025, 02:23 AM #1

Archived author: Andre • Posted: 2025-05-03T02:23:15.123000+00:00
Original source

It says here that with this you can achieve - "Access to protected lua functions"

https://www.azerothcore.org/wiki/how-to-...ayload-mgr

If this allows me to use
PROTECTED CastSpell(spellID, "bookType") - Cast the specified spell by ID.
From the client side, this would solve my problem

So is there a way to remove this ban "restricted to Blizzard signed UI mods" ?
[Embed: How to use the Warden Payload Manager]
Wiki and Documentation of the AzerothCore project
https://www.azerothcore.org/wiki/how-to-...ayload-mgr

rektbyfaith
Administrator
0
05-03-2025, 02:53 AM
#2
Archived author: Barais • Posted: 2025-05-03T02:53:08.893000+00:00
Original source

Protected are basically off limits from outside their class/functions
rektbyfaith
05-03-2025, 02:53 AM #2

Archived author: Barais • Posted: 2025-05-03T02:53:08.893000+00:00
Original source

Protected are basically off limits from outside their class/functions

rektbyfaith
Administrator
0
05-03-2025, 02:53 AM
#3
Archived author: Barais • Posted: 2025-05-03T02:53:54.375000+00:00
Original source

You could inherit from the class to get access
rektbyfaith
05-03-2025, 02:53 AM #3

Archived author: Barais • Posted: 2025-05-03T02:53:54.375000+00:00
Original source

You could inherit from the class to get access

rektbyfaith
Administrator
0
05-03-2025, 02:53 AM
#4
Archived author: Barais • Posted: 2025-05-03T02:53:57.189000+00:00
Original source

But that’s about it
rektbyfaith
05-03-2025, 02:53 AM #4

Archived author: Barais • Posted: 2025-05-03T02:53:57.189000+00:00
Original source

But that’s about it

rektbyfaith
Administrator
0
05-03-2025, 05:25 AM
#5
Archived author: Diro • Posted: 2025-05-03T05:25:24.589000+00:00
Original source

Folks do your servers actually do proper shutdown when you run "server shutdown [delay]", or does it end up rebooting? Mine used to reboot, until I edited these lines few months ago in apps/startup-scripts/simple-restarter
```echo "exit code: $_exit_code"
# stop restarter on SIGKILL (disabled for now)
# 128 + 9 (SIGKILL)
#if [ $_exit_code -eq 137 ]; then
# echo "$bin_file has been killed"
# exit 0
#fi```
TO
```# Exit cleanly if shutdown was requested (exit code 0)
if [ $_exit_code -eq 0 ]; then
echo "$bin_file shutdown safely"
exit 0
fi```
I ask because unless my case is an anomaly, then should I make a PR for that file? Also credit to Rev back then who helped me trace down which file needed amendment
rektbyfaith
05-03-2025, 05:25 AM #5

Archived author: Diro • Posted: 2025-05-03T05:25:24.589000+00:00
Original source

Folks do your servers actually do proper shutdown when you run "server shutdown [delay]", or does it end up rebooting? Mine used to reboot, until I edited these lines few months ago in apps/startup-scripts/simple-restarter
```echo "exit code: $_exit_code"
# stop restarter on SIGKILL (disabled for now)
# 128 + 9 (SIGKILL)
#if [ $_exit_code -eq 137 ]; then
# echo "$bin_file has been killed"
# exit 0
#fi```
TO
```# Exit cleanly if shutdown was requested (exit code 0)
if [ $_exit_code -eq 0 ]; then
echo "$bin_file shutdown safely"
exit 0
fi```
I ask because unless my case is an anomaly, then should I make a PR for that file? Also credit to Rev back then who helped me trace down which file needed amendment

rektbyfaith
Administrator
0
05-03-2025, 05:49 AM
#6
Archived author: sudlud • Posted: 2025-05-03T05:49:56.045000+00:00
Original source

That is the purpose of the script which is why it is named simple-restarter imo
rektbyfaith
05-03-2025, 05:49 AM #6

Archived author: sudlud • Posted: 2025-05-03T05:49:56.045000+00:00
Original source

That is the purpose of the script which is why it is named simple-restarter imo

rektbyfaith
Administrator
0
05-03-2025, 05:50 AM
#7
Archived author: sudlud • Posted: 2025-05-03T05:50:13.648000+00:00
Original source

You can always manually start the server without the script then it will not restart
rektbyfaith
05-03-2025, 05:50 AM #7

Archived author: sudlud • Posted: 2025-05-03T05:50:13.648000+00:00
Original source

You can always manually start the server without the script then it will not restart

rektbyfaith
Administrator
0
05-03-2025, 05:50 AM
#8
Archived author: sudlud • Posted: 2025-05-03T05:50:35.033000+00:00
Original source

Or use the examples for the service setup
rektbyfaith
05-03-2025, 05:50 AM #8

Archived author: sudlud • Posted: 2025-05-03T05:50:35.033000+00:00
Original source

Or use the examples for the service setup

rektbyfaith
Administrator
0
05-03-2025, 06:24 AM
#9
Archived author: Diro • Posted: 2025-05-03T06:24:47.995000+00:00
Original source

Well before I edited the file, both "server restart [delay]" and "server shutdown [delay]" essentially did the exact thing. Now the restart command still restarts, and the shutdown command actually does a proper shutdown.
That's why I am trying to figure out if that behavior is common, or if it is because how I start my server to being with. And for that latter point, the way I have set starting up is in tmux sessions running
```authserver="$HOME/azerothcore-wotlk/acore.sh run-authserver"
worldserver="$HOME/azerothcore-wotlk/acore.sh run-worldserver"```
rektbyfaith
05-03-2025, 06:24 AM #9

Archived author: Diro • Posted: 2025-05-03T06:24:47.995000+00:00
Original source

Well before I edited the file, both "server restart [delay]" and "server shutdown [delay]" essentially did the exact thing. Now the restart command still restarts, and the shutdown command actually does a proper shutdown.
That's why I am trying to figure out if that behavior is common, or if it is because how I start my server to being with. And for that latter point, the way I have set starting up is in tmux sessions running
```authserver="$HOME/azerothcore-wotlk/acore.sh run-authserver"
worldserver="$HOME/azerothcore-wotlk/acore.sh run-worldserver"```

rektbyfaith
Administrator
0
05-03-2025, 10:47 AM
#10
Archived author: Anchy • Posted: 2025-05-03T10:47:16.869000+00:00
Original source

yes you can access that protected function, but the warden payload manager has some quirks that make it kind of awkward to use, because of the way the warden lua checks are timed you would have to wait for them to execute for the payload to get sent to the client, you can get around this by forcing the payload to get sent but it has some issues that result in false positives in warden which means the player gets kicked / banned
rektbyfaith
05-03-2025, 10:47 AM #10

Archived author: Anchy • Posted: 2025-05-03T10:47:16.869000+00:00
Original source

yes you can access that protected function, but the warden payload manager has some quirks that make it kind of awkward to use, because of the way the warden lua checks are timed you would have to wait for them to execute for the payload to get sent to the client, you can get around this by forcing the payload to get sent but it has some issues that result in false positives in warden which means the player gets kicked / banned

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