OK, for some mysterious reason, the script is working now. Here is what it says:
"Encoding!
Please set your DS's DNS server to 172.16.0.4"
And here is what ipconfig says:
"Microsoft Windows XP [Version 5.1.2600]
© Copyright 1985-2001 Microsoft Corp.
C:\Documents and Settings\XP>ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Media State . . . . . . . . . . . : Media disconnected
Ethernet adapter Wireless Network Connection:
Connection-specific DNS Suffix . :
IP Address. . . . . . . . . . . . : 172.16.0.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 172.16.0.1
C:\Documents and Settings\XP>"
Here is what I know about my network:
My DSL modem is wired to my Netgear wireless router.
No other devices are wired directly to the router.
My XP laptop is connected to the router via Wi-Fi.
The ONLY Wi-Fi connection saved on my DS is the Wi-Fi connection to the router.
My DS can connect to the router for internet access and trade on the GTS.
My XP laptop can connect to the router for internet access and, for example, use "google".
When I change the Primary DNS server to 172.16.0.4 in the connection settings on my DS, nothing happens when I enter the GTS (I can still deposit Pokemon and search for Pokemon, but no Pokeball is falling out of the sky).
I hypothesize that the problem is this:
The script is running on my laptop, but my DS is trying to connect to my router to receive the PKM. Is it even possible to have my laptop send the PKM to the router, and then have the router send it to the DS?
If that is the problem, then is it possible to connect the DS directly to the laptop via adhoc or something, without even using the router whatsoever?
That was a mouthful, hope this helps you understand.