[DiscordArchive] Okay, how do I start the worldserver from VS?
[DiscordArchive] Okay, how do I start the worldserver from VS?
Archived author: Snowcraft • Posted: 2023-03-25T16:17:12.055000+00:00
Original source
Okay, how do I start the worldserver from VS?
Archived author: jackpoz • Posted: 2023-03-25T16:23:04.650000+00:00
Original source
I usually change the worldserver build output folder in VS to the bin folder
Archived author: Greenhorn • Posted: 2023-03-25T16:36:36.538000+00:00
Original source
Replace rbac::RBAC_PERM_COMMAND_HELP with SEC_PLAYER
Archived author: Tea • Posted: 2023-03-25T16:39:45.050000+00:00
Original source
huh? what are you even talking about, tc isnt using any of the SEC_ values for command definitions for many years
Archived author: Tea • Posted: 2023-03-25T16:40:01.071000+00:00
Original source
DO use rbac::
![[Image: image.png?ex=690c2747&is=690ad5c7&hm=f2c...351935799&]](https://cdn.discordapp.com/attachments/870722120458600528/1089227898231214223/image.png?ex=690c2747&is=690ad5c7&hm=f2c5fb4209453461e33ead08784806da3bdaf3caa04fe3fab7574c3351935799&)
Archived author: Gholamiporya • Posted: 2023-03-25T16:42:47.859000+00:00
Original source
![[Image: image.png?ex=690c2747&is=690ad5c7&hm=f2c...351935799&]](https://cdn.discordapp.com/attachments/870722120458600528/1089227898231214223/image.png?ex=690c2747&is=690ad5c7&hm=f2c5fb4209453461e33ead08784806da3bdaf3caa04fe3fab7574c3351935799&)
![[Image: image.png?ex=690c2787&is=690ad607&hm=dda...1b51fe463&]](https://cdn.discordapp.com/attachments/870722120458600528/1089228163655159928/image.png?ex=690c2787&is=690ad607&hm=ddad73091cf4eee6ff1e51ffe43f5c7b87e4cf71651904de3fbcf2c1b51fe463&)
Archived author: jackpoz • Posted: 2023-03-25T16:43:51.148000+00:00
Original source
![[Image: image.png?ex=690c2787&is=690ad607&hm=dda...1b51fe463&]](https://cdn.discordapp.com/attachments/870722120458600528/1089228163655159928/image.png?ex=690c2787&is=690ad607&hm=ddad73091cf4eee6ff1e51ffe43f5c7b87e4cf71651904de3fbcf2c1b51fe463&)
Archived author: jackpoz • Posted: 2023-03-25T16:44:09.070000+00:00
Original source
that code is getting a session, then the player of that session, then the session of that player
Archived author: Gholamiporya • Posted: 2023-03-25T16:46:37.300000+00:00
Original source
``` Player* player = handler->GetSession()->GetPlayer();
if (player->IsInCombat() || player->GetMap()->IsDungeon() || player->GetMap()->IsRaid() || player->IsTaxi() || player->IsInFlight() || player->IsFlying() || player->InBattleground() || player->InArena() || player->IsInFlight() || !player->IsAlive())
{
player->GetSession()->SendNotification("Dar Hale Hazer Nemitavanid Az In Dastor Estefade Konid");
return false;
}```
Archived author: Gholamiporya • Posted: 2023-03-25T16:47:10.379000+00:00
Original source
Please edit