protection standalone script..
add your gamer tags you don't like ... compile it and add it to a modslot and run it.. it will check the room for the tags and if your the host it will auto kick or if not it will change you into a new free mode game
I tested it with my gamer tag and it worked but thats as far as the testing went.
Code:#include <natives.h>
#include <common.h>
#include <strings.h>
#include <types.h>
#include <consts.h>
//locals
bool checkNow;
uint room_total=0;
#define nuber_of_tags 5 // change this to the LAST NUMBER of troll_list[NUMBER] then add 1 eg: 4(total) + 1 = 5
char *troll_list[nuber_of_tags]; // Leave this here.
void trollList(void){
// Add names to list in " " ... eg: "GamerTag1" to "toll_face200"
troll_list[0] = "GamerTag1";
troll_list[1] = "GamerTag2";
troll_list[2] = "GamerTag3";
troll_list[3] = "GamerTag4";
troll_list[4] = "GamerTag5";
}
void print(char *string1){
PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", string1, 5000, 1);
}
void doSearch(void){
trollList();
room_total = GET_NUMBER_OF_PLAYERS(); //this is just to update for checking later
int Tags , i , playerCount=16 ;
for(Tags = 0; Tags < nuber_of_tags; Tags++){
for (i=0; i <= playerCount; i++) {
if (IS_NETWORK_PLAYER_ACTIVE(i)){
if(COMPARE_STRING(GET_PLAYER_NAME(CONVERT_INT_TO_PLAYERINDEX(i)), troll_list[Tags])){
if(GET_PLAYER_ID() == GET_HOST_ID()){
NETWORK_KICK_PLAYER(CONVERT_INT_TO_PLAYERINDEX(i) , true);
print(troll_list[Tags]);
WAIT(1000);
print("was kicked");
WAIT(1000);
}
else {
print(troll_list[Tags]);
WAIT(1000);
print("....is in the room , starting new free mode game");
WAIT(1000);
SHUTDOWN_AND_LAUNCH_NETWORK_GAME(2); // free mode
}
}
}
}
if( i = playerCount){
checkNow = false;
}
}
}
void main(void){
THIS_SCRIPT_IS_SAFE_FOR_NETWORK_GAME();
checkNow = true;
while(true){
WAIT(0);
if(IS_NETWORK_SESSION()){
if(checkNow) doSearch();
else{
if(room_total != GET_NUMBER_OF_PLAYERS()){
checkNow = true;
PRINT_STRING_WITH_LITERAL_STRING_NOW("STRING", "New player or someone left , doing search", 2500, 1);
}
}
}
else TERMINATE_THIS_SCRIPT();
}
}

