Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] in SpellHandler.cpp

[DiscordArchive] in SpellHandler.cpp

[DiscordArchive] in SpellHandler.cpp

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
10-18-2024, 05:42 AM
#1
Archived author: Minadude • Posted: 2024-10-18T05:42:38.450000+00:00
Original source

in SpellHandler.cpp

how do I get a player's current map if it's a dungeon or raid, etc.

I had this:

_player->GetMap()->IsRaid()

but it's giving me an error:

error: member access into incomplete type 'Map'

any ideas?
rektbyfaith
10-18-2024, 05:42 AM #1

Archived author: Minadude • Posted: 2024-10-18T05:42:38.450000+00:00
Original source

in SpellHandler.cpp

how do I get a player's current map if it's a dungeon or raid, etc.

I had this:

_player->GetMap()->IsRaid()

but it's giving me an error:

error: member access into incomplete type 'Map'

any ideas?

rektbyfaith
Administrator
0
10-18-2024, 06:30 AM
#2
Archived author: ModoX • Posted: 2024-10-18T06:30:49.831000+00:00
Original source

You gotta `#include "Map.h"`
rektbyfaith
10-18-2024, 06:30 AM #2

Archived author: ModoX • Posted: 2024-10-18T06:30:49.831000+00:00
Original source

You gotta `#include "Map.h"`

rektbyfaith
Administrator
0
10-18-2024, 06:31 AM
#3
Archived author: ModoX • Posted: 2024-10-18T06:31:01.949000+00:00
Original source

At the top of the file
rektbyfaith
10-18-2024, 06:31 AM #3

Archived author: ModoX • Posted: 2024-10-18T06:31:01.949000+00:00
Original source

At the top of the file

rektbyfaith
Administrator
0
10-18-2024, 06:31 AM
#4
Archived author: Minadude • Posted: 2024-10-18T06:31:10.808000+00:00
Original source

Do'h!
rektbyfaith
10-18-2024, 06:31 AM #4

Archived author: Minadude • Posted: 2024-10-18T06:31:10.808000+00:00
Original source

Do'h!

rektbyfaith
Administrator
0
10-18-2024, 06:31 AM
#5
Archived author: Minadude • Posted: 2024-10-18T06:31:13.440000+00:00
Original source

thank you
rektbyfaith
10-18-2024, 06:31 AM #5

Archived author: Minadude • Posted: 2024-10-18T06:31:13.440000+00:00
Original source

thank you

rektbyfaith
Administrator
0
10-18-2024, 08:37 PM
#6
Archived author: Shayan • Posted: 2024-10-18T20:37:24.945000+00:00
Original source

The modules are free and have no problems. You can analyze each code. If there is a problem, I will take responsibility for it
It is surprising to me
rektbyfaith
10-18-2024, 08:37 PM #6

Archived author: Shayan • Posted: 2024-10-18T20:37:24.945000+00:00
Original source

The modules are free and have no problems. You can analyze each code. If there is a problem, I will take responsibility for it
It is surprising to me

rektbyfaith
Administrator
0
10-18-2024, 08:38 PM
#7
Archived author: Shayan • Posted: 2024-10-18T20:38:54.700000+00:00
Original source

Is there any problem to put it there?
The module is free, what bothers you!!
rektbyfaith
10-18-2024, 08:38 PM #7

Archived author: Shayan • Posted: 2024-10-18T20:38:54.700000+00:00
Original source

Is there any problem to put it there?
The module is free, what bothers you!!

rektbyfaith
Administrator
0
10-18-2024, 08:39 PM
#8
Archived author: Ryan Turner • Posted: 2024-10-18T20:39:43.163000+00:00
Original source

Commenting on something doesnt mean it bothers me.
rektbyfaith
10-18-2024, 08:39 PM #8

Archived author: Ryan Turner • Posted: 2024-10-18T20:39:43.163000+00:00
Original source

Commenting on something doesnt mean it bothers me.

rektbyfaith
Administrator
0
10-18-2024, 08:41 PM
#9
Archived author: M'Dic • Posted: 2024-10-18T20:41:47.656000+00:00
Original source

Either way. Im not a php guy like i stated to begin with. Several people advise me not to mess with anything fusion in general recently. This isnt really much of a cms share discord. So its whatever.
rektbyfaith
10-18-2024, 08:41 PM #9

Archived author: M'Dic • Posted: 2024-10-18T20:41:47.656000+00:00
Original source

Either way. Im not a php guy like i stated to begin with. Several people advise me not to mess with anything fusion in general recently. This isnt really much of a cms share discord. So its whatever.

rektbyfaith
Administrator
0
10-18-2024, 08:42 PM
#10
Archived author: Shayan • Posted: 2024-10-18T20:42:04.576000+00:00
Original source

I don't know what's wrong with these people, I ban or delete the paid module, I send it for free, I'm humiliated, I really don't know what to do with people!!
rektbyfaith
10-18-2024, 08:42 PM #10

Archived author: Shayan • Posted: 2024-10-18T20:42:04.576000+00:00
Original source

I don't know what's wrong with these people, I ban or delete the paid module, I send it for free, I'm humiliated, I really don't know what to do with people!!

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