[DiscordArchive] wait u mean from server print ?
[DiscordArchive] wait u mean from server print ?
Archived author: Rymercyble • Posted: 2024-01-17T13:13:20.918000+00:00
Original source
wait u mean from server print ?
Archived author: Kaev • Posted: 2024-01-17T13:13:35.568000+00:00
Original source
print in the addon code that you send to the client
Archived author: Rymercyble • Posted: 2024-01-17T13:13:54.213000+00:00
Original source
im lost
Archived author: Kaev • Posted: 2024-01-17T13:15:18.705000+00:00
Original source
The lua code that you send to the client should have this at the top
if AIO.AddAddon() then
return
end
Archived author: Kaev • Posted: 2024-01-17T13:15:23.379000+00:00
Original source
this stops it from executing on server
Archived author: Kaev • Posted: 2024-01-17T13:15:41.065000+00:00
Original source
Which basically means this is the code that is sent to the client and executed only there
Archived author: Kaev • Posted: 2024-01-17T13:16:20.989000+00:00
Original source
Do a print below that and if that is printed in your WoW client you're executing it after AIO is loaded and the addon code was sent from the server to the client
Archived author: Kaev • Posted: 2024-01-17T13:19:36.030000+00:00
Original source
https://github.com/Rochet2/AIO/blob/mast...ng.lua#L33 It's also done in this example (they're using a single file though)
[Embed: AIO/Examples/PingPong.lua at master · Rochet2/AIO]
AIO is a pure lua server-client communication system for Eluna and WoW. - Rochet2/AIO
https://github.com/Rochet2/AIO/blob/mast...ngPong.lua
Archived author: Rymercyble • Posted: 2024-01-17T13:19:45.745000+00:00
Original source
i dont know if c++ works like that....i definitely didnt write anything like that what i can tell u is this
```lua
function handlers.Presets(player, list, active)
print("response") -- does not print
end
AIO.Handle("TalentAIOScript", "LoadPresets") -- nothing received on server
print("request") -- prints
```
Archived author: Kaev • Posted: 2024-01-17T13:20:48.133000+00:00
Original source
It's called LoadPresets on client but Presets on server