First question:
What flashcart are you using, not all flashcarts are compatible to use Wi-Fi features.
Second Question:
Why are you trying to use the Anti-Piracy cheats via NitroHax, that isn't necessary at all. Most likely not necessary for your flashcart either since I am sure it already works without the cheat.
Comments:
The AP cheats are NOT to be used unless you are using a a very old flashcart or a modern flashcart using a bad compatibility kernel. If you are using YSmenu then you won't need the AP cheats as that kernel already works with that game. As for the WFCReplay cheat, it is using the latest version available, I had a friend test it for me and it works just fine, so it is more than likely your flashcart. With Nitrohax you can't use WFCReplay cheats, it simply isn't compatible, the only reason it exists in the NitroHax file is because I replicated all the cheats from the main file and put them into the xml cheats file (I am not gonna sit and remove those codes, that will take ages lol).