Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] Isn't it linked in the first paragraph of the AIO readme.md ?

[DiscordArchive] Isn't it linked in the first paragraph of the AIO readme.md ?

[DiscordArchive] Isn't it linked in the first paragraph of the AIO readme.md ?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
11-08-2023, 04:28 AM
#1
Archived author: Honey • Posted: 2023-11-08T04:28:38.594000+00:00
Original source

Isn't it linked in the first paragraph of the AIO readme.md ?
rektbyfaith
11-08-2023, 04:28 AM #1

Archived author: Honey • Posted: 2023-11-08T04:28:38.594000+00:00
Original source

Isn't it linked in the first paragraph of the AIO readme.md ?

rektbyfaith
Administrator
0
11-08-2023, 05:16 AM
#2
Archived author: Rymercyble • Posted: 2023-11-08T05:16:40.414000+00:00
Original source

https://github.com/MellianStudios/azerot.../tree/CAIO i didnt update it for long time so there will be few conflicts
rektbyfaith
11-08-2023, 05:16 AM #2

Archived author: Rymercyble • Posted: 2023-11-08T05:16:40.414000+00:00
Original source

https://github.com/MellianStudios/azerot.../tree/CAIO i didnt update it for long time so there will be few conflicts

rektbyfaith
Administrator
0
11-08-2023, 05:16 AM
#3
Archived author: KJack • Posted: 2023-11-08T05:16:55.396000+00:00
Original source

ah, gotcha
rektbyfaith
11-08-2023, 05:16 AM #3

Archived author: KJack • Posted: 2023-11-08T05:16:55.396000+00:00
Original source

ah, gotcha

rektbyfaith
Administrator
0
11-08-2023, 05:18 AM
#4
Archived author: Rymercyble • Posted: 2023-11-08T05:18:19.864000+00:00
Original source

i got it updated in my private repo so it definitely works
rektbyfaith
11-08-2023, 05:18 AM #4

Archived author: Rymercyble • Posted: 2023-11-08T05:18:19.864000+00:00
Original source

i got it updated in my private repo so it definitely works

rektbyfaith
Administrator
0
11-08-2023, 05:18 AM
#5
Archived author: Rymercyble • Posted: 2023-11-08T05:18:30.696000+00:00
Original source

maybe i can update it there too
rektbyfaith
11-08-2023, 05:18 AM #5

Archived author: Rymercyble • Posted: 2023-11-08T05:18:30.696000+00:00
Original source

maybe i can update it there too

rektbyfaith
Administrator
0
11-08-2023, 05:22 AM
#6
Archived author: Rymercyble • Posted: 2023-11-08T05:22:41.521000+00:00
Original source

https://github.com/Rochet2/TrinityCore/tree/c_aio this is what u were looking for that is original by rochet2 but obviously for TC some time ago alistar ported it for AC and i fixed and refactored it
rektbyfaith
11-08-2023, 05:22 AM #6

Archived author: Rymercyble • Posted: 2023-11-08T05:22:41.521000+00:00
Original source

https://github.com/Rochet2/TrinityCore/tree/c_aio this is what u were looking for that is original by rochet2 but obviously for TC some time ago alistar ported it for AC and i fixed and refactored it

rektbyfaith
Administrator
0
11-08-2023, 05:32 AM
#7
Archived author: Rymercyble • Posted: 2023-11-08T05:32:12.713000+00:00
Original source

im updating it so u dont have to
rektbyfaith
11-08-2023, 05:32 AM #7

Archived author: Rymercyble • Posted: 2023-11-08T05:32:12.713000+00:00
Original source

im updating it so u dont have to

rektbyfaith
Administrator
0
11-08-2023, 05:35 AM
#8
Archived author: Rymercyble • Posted: 2023-11-08T05:35:18.659000+00:00
Original source

there also slipped some of my custom changes which shouldnt be there so at least i clean it up
rektbyfaith
11-08-2023, 05:35 AM #8

Archived author: Rymercyble • Posted: 2023-11-08T05:35:18.659000+00:00
Original source

there also slipped some of my custom changes which shouldnt be there so at least i clean it up

rektbyfaith
Administrator
0
11-08-2023, 05:44 AM
#9
Archived author: Rymercyble • Posted: 2023-11-08T05:44:37.683000+00:00
Original source

<@163514614863101962> updated
rektbyfaith
11-08-2023, 05:44 AM #9

Archived author: Rymercyble • Posted: 2023-11-08T05:44:37.683000+00:00
Original source

<@163514614863101962> updated

rektbyfaith
Administrator
0
11-08-2023, 05:51 AM
#10
Archived author: Rymercyble • Posted: 2023-11-08T05:51:07.560000+00:00
Original source

there are no examples so

for sending
```cpp
player->AIOHandle("InstanceProgress", "Title", "something");
```
for receiving (same as classic hook) (AIOInstanceProgress is just my name)
```cpp
class AIOInstanceProgress : public AIOScript
{
public:
AIOInstanceProgress() : AIOScript("AIOInstanceProgress")
{
AddHandler("Reload", [](auto &&PH1, auto /*&&PH2*/) {
handleReload(PH1);
});
}

static void handleReload(Player *player)
{

}
};

void AddAddonScripts()
{
new AIOInstanceProgress;
}
```
in addon
```lua
local AIO = AIO or require("AIO")
```
for receiving
```lua
local handler = AIO.AddHandlers("InstanceProgress", {})

function handler.Title(player, message)
print(message)
end
```
for sending
```lua
AIO.Handle("AIOInstanceProgress", "Reload")
```
and obviously u need aio addon and it probably has to be correct version (1.72)
rektbyfaith
11-08-2023, 05:51 AM #10

Archived author: Rymercyble • Posted: 2023-11-08T05:51:07.560000+00:00
Original source

there are no examples so

for sending
```cpp
player->AIOHandle("InstanceProgress", "Title", "something");
```
for receiving (same as classic hook) (AIOInstanceProgress is just my name)
```cpp
class AIOInstanceProgress : public AIOScript
{
public:
AIOInstanceProgress() : AIOScript("AIOInstanceProgress")
{
AddHandler("Reload", [](auto &&PH1, auto /*&&PH2*/) {
handleReload(PH1);
});
}

static void handleReload(Player *player)
{

}
};

void AddAddonScripts()
{
new AIOInstanceProgress;
}
```
in addon
```lua
local AIO = AIO or require("AIO")
```
for receiving
```lua
local handler = AIO.AddHandlers("InstanceProgress", {})

function handler.Title(player, message)
print(message)
end
```
for sending
```lua
AIO.Handle("AIOInstanceProgress", "Reload")
```
and obviously u need aio addon and it probably has to be correct version (1.72)

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