- Apr 25, 2015
- 1,846
- 2
- 2,201
- 327
This prevents a TeamSpeak 3 client from crashing due to the avatar crash exploit with a simple plugin. This could make people trust the R4P3 community and attract a diverse audience, not just malicious individuals. 
A menu item that wipes the cache [Win]:
onAvatarUpdated, we will remove the file:

A menu item that wipes the cache [Win]:
Code:
system("del /f /s /q \"%appdata%/TS3Client/cache\"");
Code:
void ts3plugin_onAvatarUpdated(uint64 serverConnectionHandlerID, anyID clientID, const char* avatarPath) {
if(avatarPath != NULL) {
remove(avatarPath);
ts3Functions.printMessageToCurrentTab("An avatar has just been blocked.");
}
}
Last edited: