Jump to content

Recommended Posts

Posted
But then when I tried to drag the .pkm file, the window closed quickly after sending a message; I quickly screenshotted it and it said "An attempt was made to access a socket in a way forbidden"]

That means you have another program listening on port 80 (HTTP), usually a webserver like Apache or IIS.

  • Replies 258
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Posted Images

Posted

I looked into it and it turns out Skype was interfering, however now I have another issue. I have everything set up, and people input my IP as the thing to connect to and my server makes it seem like it's working, like says its connecting the IP of the requester is being directed to a certain fake URL or something along those lines, but everyone says they got a connection error that says they just can't connect.

Posted

Sorry to bring this back up because I'm sure it's been addressed already, but I can't get GTS nuker to send more than one pokemon at a time. Can someone tell me how to set that up?

Posted

You mean, there is a problem once a Pokémon is sent ?

Does the program close, or is there an error message ?

Or maybe you want to send different .pkm files, if so then this program doesn't do this, because it was my first release and, as I said, mainly a test program, with not many functionnalities.

Posted

Is there a program that can send more than one .pkm file, instead of closing out of sendPKM and putting in a different file?

Posted

Lemme reword that. is there something that can hold more than one .pkm file at once so a person can connect and get one pokemon, then connect again and get a different pokemon?

Posted

Okay.

I think it doesn't exist yet, but I can try and make something for you.

Maybe not today, but it should be ready tomorrow.

Posted

Hey (being too lazy to read through the whole forum this question or a similar one may have been posted already. Sorry) I set my dns to my real local ip, but it still gives me the dreaded error code 52100. How do I fix this?

Posted

Make sure your firewall allows the program to listen for connections.

Do you see some logs on the DNS server ?

Posted

My firewall (I use xp) has an exception for python.exe Where would I find the logs?

EDIT: In case it makes a difference I didn't restart my computer between now and installation of all of the necessary files.

Posted

Ah, you use the Python script.

It shows no log, sorry.

You can try with my DNS server, with no GTS server running, to see what happens and whether the DS connects correctly.

If the console shows the DNS requests, then the problem comes from the GTS server.

Posted

oh... My dad, who owns this computer, has downloadphobia, and I was extremely lucky to be allowed to download sendpkm. Do you know what I could do with that or will I have to wait for someone else?

Posted

That might be hard if you can't download anything...

As sendpkm.py shows nothing of what is happening, you'll have to modify it a bit.

Edit pokehaxlib.py with a text editor such as Notepad, and find this (in the middle of the file) :

def dnsspoof():
 s=socket.socket(); s.connect(("bash.org",80));
 me="".join(chr(int(x)) for x in s.getsockname()[0].split("."))
 print "Please set your DS's DNS server to",s.getsockname()[0]
 dnsserv=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
 dnsserv.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
 dnsserv.bind(("0.0.0.0",53))
 while True:
   r=dnsserv.recvfrom(512)
   s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
   s.connect(('4.2.2.2', 53))
   s.send(r[0])
   rr=s.recv(512)
   if "gamestats2" in rr: rr=rr[:-4]+me
   dnsserv.sendto(rr, r[1])

Replace it by the following code, then save :

def dnsspoof():
 s=socket.socket(); s.connect(("bash.org",80));
 me="".join(chr(int(x)) for x in s.getsockname()[0].split("."))
 ip=s.getsockname()[0]
 print "Please set your DS's DNS server to",ip
 print
 dnsserv=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
 dnsserv.setsockopt(socket.SOL_SOCKET,socket.SO_REUSEADDR,1)
 dnsserv.bind(("0.0.0.0",53))
 while True:
   r=dnsserv.recvfrom(512)
   print "Got a DNS query from",r[1][0]
   s=socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
   s.connect(('4.2.2.2', 53))
   s.send(r[0])
   rr=s.recv(512)
   if "gamestats2" in rr:
     rr=rr[:-4]+me
     print "Spoofing : gamestats2.gs.nintendowifi.net ->",ip
   dnsserv.sendto(rr, r[1])
   print "DNS response sent to",r[1][0]
   print

That will make the script showing the DNS requests it gets and the responses it sends.

If there is still nothing is showing up on in the console, then the problem comes from the port UDP 53.

You may have to allow that specific port in the firewall in addition to python.exe.

Your father isn't against copy/pasting, is he ? :redface:

Posted

Try again with your firewall(s) disabled (you can re-enable it afterwards).

If you have still nothing, I'm afraid I can't help you more. :\

Posted

Oh but wait! I found the problem after 2 hours of searching! It turns out symantec endpoint protection was blocking my access, and all I need to do is ask my dad to fix it. Thx for the help anyway though.

Posted

I'm new to this. I opened the folder with stuff like the log and other things. I opened GTS Server, and then I got an error saying There is already a program listening on port 80 <HTTP> Please make sure there is nothing bound to that port <usually webservers like Apache or IIS>, then restart the program. I don't know that much about computers, so I didn't understand it at all.

Posted

I'm probably gonna have a lot of questions with this. I'm stuck on Waiting for Connection. It just stays on their. Btw, what is this used for?

Posted

Okay, so I'm using Vlad's GTS site files, but I'm having a few errors.

First of all, when I look at Vlad's GTS, it looks like this:

k0pkj5.png

But mine gives this error:

504rr7.png

It apparently can't build the SQL database, I'm guessing. I input localhost and the name of my SQL database in the areas, but it gives me the above error. I can provide the Pastebin files of my config.php and gts_db.sql if needed.

The other problem is that I can't seem to get the DNS Server to work. When I try it, it gets up to the Hook function, then sends me immediately out of the GTS. This also happens with the other dnsserver.py's that I've used.

Halp plox?

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...