[DiscordArchive] `player->GetSession()->GetSecurity()`?
[DiscordArchive] `player->GetSession()->GetSecurity()`?
Archived author: Trojan • Posted: 2023-09-07T23:18:11.055000+00:00
Original source
or _session->IsConsoleAccount()
Archived author: Anchy • Posted: 2023-09-07T23:18:58.103000+00:00
Original source
```cpp
if(!_session->IsConsoleAccount())
{
return;
}
if(_session->GetSecurity() < 4)
{
return;
}
Do something for security over 3 or console account```
Archived author: Trojan • Posted: 2023-09-07T23:19:17.986000+00:00
Original source
yes thought this also works perfectly its a bit cleaner i think
Archived author: Anchy • Posted: 2023-09-07T23:19:53.551000+00:00
Original source
depends what you want to do ultimately
Archived author: Anchy • Posted: 2023-09-07T23:20:26.719000+00:00
Original source
if you are only going to do x for session then you will need to check the session for a console account like bench said or you will end up with crashing
Archived author: Trojan • Posted: 2023-09-07T23:20:36.335000+00:00
Original source
of course. i wanna exclude the console account from some warden checks as i use a script that fucks up when warden detects one of my checks
Archived author: Trojan • Posted: 2023-09-07T23:21:20.740000+00:00
Original source
so i exclude console accounts from warden action
Archived author: Anchy • Posted: 2023-09-07T23:22:05.670000+00:00
Original source
does Warden not have that built in
Archived author: Anchy • Posted: 2023-09-07T23:22:19.945000+00:00
Original source
nvm it doesn't
Archived author: Trojan • Posted: 2023-09-07T23:22:24.032000+00:00
Original source
i had the problem that my console account just got banned