The gen 4 one is very hard to use correctly. It only ever works if you have a special WPA setting on your WiFi router, (which is an old setting.) Putting in the correct numbers for DNS, Wifi, Gateway, etc, doesn't guarantee that it will work. I attempted this exploit in my copy of Diamond, and it did not work, however it did work in my copy of Black 2. The Gen 5 events are much easier to access then the Gen 4 ones. I have seen online that plugging your Ds into a computer will almost always make it work. This is probably because you can turn your computer into a custom Wifi router.
Hope it helps