[DiscordArchive] hey guys, is there an easy way to reduce the 20 second countdown for logging out?
[DiscordArchive] hey guys, is there an easy way to reduce the 20 second countdown for logging out?
Archived author: TemporalUncertainty • Posted: 2023-01-26T08:25:12.067000+00:00
Original source
hey guys, is there an easy way to reduce the 20 second countdown for logging out?
Archived author: Rymercyble • Posted: 2023-01-26T08:33:23.960000+00:00
Original source
it is possible to make it instant but i dont know how exactly....i mean its on in cities or if u are gm account but i dont know whare is it said
Archived author: Nyeriah • Posted: 2023-01-26T08:35:04.783000+00:00
Original source
its either a config or a gm permission, I think gm permission
Archived author: Anchy • Posted: 2023-01-26T09:14:36.261000+00:00
Original source
yeah you can just check the MiscHandler.cpp class on line 418 for the logout request handler
Archived author: Anchy • Posted: 2023-01-26T09:15:14.268000+00:00
Original source
```cpp
bool instantLogout = ((GetSecurity() >= 0 && uint32(GetSecurity()) >= sWorld->getIntConfig(CONFIG_INSTANT_LOGOUT))
|| (GetPlayer()->HasPlayerFlag(PLAYER_FLAGS_RESTING) && !GetPlayer()->IsInCombat())) || GetPlayer()->IsInFlight();```
Archived author: Anchy • Posted: 2023-01-26T09:15:21.128000+00:00
Original source
those are your flags
Archived author: Anchy • Posted: 2023-01-26T09:16:15.133000+00:00
Original source
looks like you just set `InstantLogout` to `0` in the World config
Archived author: Nyeriah • Posted: 2023-01-26T09:17:24.672000+00:00
Original source
interesting
Archived author: Nyeriah • Posted: 2023-01-26T09:17:33.206000+00:00
Original source
in tc its a gm permission
Archived author: Anchy • Posted: 2023-01-26T09:19:37.844000+00:00
Original source
oh okay