CPickup::Tick
void ReloadBans()
{
m_NetBan.UnbanAll();
m_pConsole->ExecuteFile("master.cfg", -1, true);
}
May I ask a few questions about this peace of Code? (src/mastersrv/mastersrv.cpp:315
)
Which bans are reloaded?
This function gets called about every 5 minutes by default and removes every Ban?
Are this Server-Bans from the Master-Server?
I did a bit of research and found this list: https://www.teeworlds.com/master-bans.cfg
What does it mean? Are this the commands banning the servers again?
And what is the master.cfg
File? I could not find it on my local storage anywhere :c
I thought:
The file master.cfg
is somehow linked with the master-bans.cfg
(the link i provided).
Every 5 Minutes this file is called after all servers are unbanned? But why are they immediately banned again? And yeah, if it is a lifetime ban, why is the UnbanAll
function being called?ddnet_textures.png
image to game.png
with just a different texture for weak hook.
That image file could be created forwards compatible so that it could hold more textures that might be added in the future.