Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] I've placed it in a world script. Would that make it break?

[DiscordArchive] I've placed it in a world script. Would that make it break?

[DiscordArchive] I've placed it in a world script. Would that make it break?

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-05-2023, 08:10 PM
#1
Archived author: Honey • Posted: 2023-01-05T20:10:54.962000+00:00
Original source

I've placed it in a world script. Would that make it break?
rektbyfaith
01-05-2023, 08:10 PM #1

Archived author: Honey • Posted: 2023-01-05T20:10:54.962000+00:00
Original source

I've placed it in a world script. Would that make it break?

rektbyfaith
Administrator
0
01-05-2023, 08:10 PM
#2
Archived author: Revision • Posted: 2023-01-05T20:10:56.544000+00:00
Original source

If it says it has nothing to override with override defined, it would do nothing without it either then (if what you said is true).
rektbyfaith
01-05-2023, 08:10 PM #2

Archived author: Revision • Posted: 2023-01-05T20:10:56.544000+00:00
Original source

If it says it has nothing to override with override defined, it would do nothing without it either then (if what you said is true).

rektbyfaith
Administrator
0
01-05-2023, 08:11 PM
#3
Archived author: Revision • Posted: 2023-01-05T20:11:12.622000+00:00
Original source

I'm not sure WorldScript inherits from GlobalScript.
rektbyfaith
01-05-2023, 08:11 PM #3

Archived author: Revision • Posted: 2023-01-05T20:11:12.622000+00:00
Original source

I'm not sure WorldScript inherits from GlobalScript.

rektbyfaith
Administrator
0
01-05-2023, 08:11 PM
#4
Archived author: Rymercyble • Posted: 2023-01-05T20:11:28.109000+00:00
Original source

if there is nothing to override it will be just new method....if there is something to override it will override even without override keyword
rektbyfaith
01-05-2023, 08:11 PM #4

Archived author: Rymercyble • Posted: 2023-01-05T20:11:28.109000+00:00
Original source

if there is nothing to override it will be just new method....if there is something to override it will override even without override keyword

rektbyfaith
Administrator
0
01-05-2023, 08:11 PM
#5
Archived author: Rymercyble • Posted: 2023-01-05T20:11:47.871000+00:00
Original source

override keyword is there so u explicitly see that its overriding something and to help debug when error happens
rektbyfaith
01-05-2023, 08:11 PM #5

Archived author: Rymercyble • Posted: 2023-01-05T20:11:47.871000+00:00
Original source

override keyword is there so u explicitly see that its overriding something and to help debug when error happens

rektbyfaith
Administrator
0
01-05-2023, 08:11 PM
#6
Archived author: Revision • Posted: 2023-01-05T20:11:58.522000+00:00
Original source

So in other words, use override at all times.
rektbyfaith
01-05-2023, 08:11 PM #6

Archived author: Revision • Posted: 2023-01-05T20:11:58.522000+00:00
Original source

So in other words, use override at all times.

rektbyfaith
Administrator
0
01-05-2023, 08:12 PM
#7
Archived author: Rymercyble • Posted: 2023-01-05T20:12:02.214000+00:00
Original source

yes
rektbyfaith
01-05-2023, 08:12 PM #7

Archived author: Rymercyble • Posted: 2023-01-05T20:12:02.214000+00:00
Original source

yes

rektbyfaith
Administrator
0
01-05-2023, 08:12 PM
#8
Archived author: Revision • Posted: 2023-01-05T20:12:25.746000+00:00
Original source

But I think the hook in question needs to be in a GlobalScript or if you can somehow inherit the hooks from that one which I have absolutely no idea if you can do.
rektbyfaith
01-05-2023, 08:12 PM #8

Archived author: Revision • Posted: 2023-01-05T20:12:25.746000+00:00
Original source

But I think the hook in question needs to be in a GlobalScript or if you can somehow inherit the hooks from that one which I have absolutely no idea if you can do.

rektbyfaith
Administrator
0
01-05-2023, 08:13 PM
#9
Archived author: Revision • Posted: 2023-01-05T20:13:05.641000+00:00
Original source

An example of a GlobalScript: https://github.com/azerothcore/mod-progr...ts.cpp#L22
rektbyfaith
01-05-2023, 08:13 PM #9

Archived author: Revision • Posted: 2023-01-05T20:13:05.641000+00:00
Original source

An example of a GlobalScript: https://github.com/azerothcore/mod-progr...ts.cpp#L22

rektbyfaith
Administrator
0
01-05-2023, 08:13 PM
#10
Archived author: Honey • Posted: 2023-01-05T20:13:21.458000+00:00
Original source

i'm compiling. Thanks for the pointers, guys
rektbyfaith
01-05-2023, 08:13 PM #10

Archived author: Honey • Posted: 2023-01-05T20:13:21.458000+00:00
Original source

i'm compiling. Thanks for the pointers, guys

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