M@T Posted May 5, 2010 Posted May 5, 2010 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.
Reina Posted May 6, 2010 Posted May 6, 2010 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.
M@T Posted May 6, 2010 Posted May 6, 2010 Are you sure you set your public IP correctly in the DNS server ?
Goldie Posted May 6, 2010 Posted May 6, 2010 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?
M@T Posted May 6, 2010 Posted May 6, 2010 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.
Goldie Posted May 6, 2010 Posted May 6, 2010 Is there a program that can send more than one .pkm file, instead of closing out of sendPKM and putting in a different file?
Goldie Posted May 6, 2010 Posted May 6, 2010 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?
M@T Posted May 6, 2010 Posted May 6, 2010 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.
randomnum2 Posted May 6, 2010 Posted May 6, 2010 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?
M@T Posted May 6, 2010 Posted May 6, 2010 Make sure your firewall allows the program to listen for connections. Do you see some logs on the DNS server ?
randomnum2 Posted May 6, 2010 Posted May 6, 2010 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.
M@T Posted May 6, 2010 Posted May 6, 2010 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.
randomnum2 Posted May 6, 2010 Posted May 6, 2010 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?
M@T Posted May 6, 2010 Posted May 6, 2010 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:
randomnum2 Posted May 6, 2010 Posted May 6, 2010 I did as you said, and got nothing on my python screen after trying to connect twice.
M@T Posted May 6, 2010 Posted May 6, 2010 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. :\
randomnum2 Posted May 6, 2010 Posted May 6, 2010 Ah, that didn't work either. Looks like we have to wait for lordlandon
randomnum2 Posted May 6, 2010 Posted May 6, 2010 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.
M@T Posted May 7, 2010 Posted May 7, 2010 Ah, so I was right, it was a firewall. I hope it works fine now. :smile:
ASuch Posted May 7, 2010 Posted May 7, 2010 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.
M@T Posted May 7, 2010 Posted May 7, 2010 You must close anything that could use port 80, such as Skype or HTTP servers.
ASuch Posted May 7, 2010 Posted May 7, 2010 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?
zowayixx Posted May 7, 2010 Posted May 7, 2010 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: But mine gives this error: 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?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now