Jump to content

Vlad

Member
  • Posts

    123
  • Joined

  • Last visited

Everything posted by Vlad

  1. <p><p><p><p><p><p>PokéStation is running my script on their servers at <a href="<a href="<a href="<a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a>" rel="external nofollow"><a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a></a>" rel="external nofollow"><a href="<a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a>" rel="external nofollow"><a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a></a></a>" rel="external nofollow"><a href="<a href="<a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a>" rel="external nofollow"><a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a></a>" rel="external nofollow"><a href="<a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a>" rel="external nofollow"><a href="<a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a>" rel="external nofollow"><a href="<a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a>" rel="external nofollow"><a href="http://gts.pokestation.net" rel="external nofollow">http://gts.pokestation.net</a></a></a></a></a></a> if you needed to use it. <img src="<fileStore.core_Emoticons>/emoticons/smile.png" alt=":)" srcset="<fileStore.core_Emoticons>/emoticons/smile@2x.png 2x" width="20" height="20" /></p></p></p></p></p></p>

  2. Hey guys, I'm curious if someone could post some examples that I could try and play with. I wanna make a PHP script to take a .pkm file and generate a proper version that can be read by the GTS. I know of http://projectpokemon.org/wiki/GTS_protocol but I need some way to test if my script does it right. Could someone post a zip with a .pkm file and a encoded .pkm for usage with G4 and G5 (I read there are differences)? This way I can try out my code on the original .pkm and check if the result matches the encoded files and it will help me figure out my errors in my code. Thanks a lot for reading, and keep up the work on the GTS -at some point I shall return with a full PHP script that works with G4 and G5 for us PHP fanatics.
  3. Vlad sure did make a PHP site that used Python to do the encryption, because Vlad never managed to really implement it in PHP (it can but I lack the skill) and Vlad has not had time to make a B/W edition yet, maybe in the summer I'll play more with the encryption part and see if I can make PHP do it.
  4. Figured I could post a updated GTS server tool, I haven't really gotten to test it out but in case someone else would like to I see no problem with that. http://filebeam.com/63a3b2420920f2e2fdda5f52b4cd156d You may wish to check the inside of the .jar archive for the python script to encode pkm files. The "README" contains some information -I guess better than none, right? Anyway I've looked into Black and White and I thank Grovyle91 for posting his findings on the thread, helps a lot bro! On the other hand it seems to kick you if you just use the same old way of fooling the game, perhaps they added a header field containing something the game checks for, so far it does not BSOD or do anything but just disconnect you when calling info.asp (not the first call but the 2nd, with it's hash and everything). I guess the response changed or something, we'll have to look into that eventually.
  5. May be a DNS issue, or something changed on your router or computer like firewall rules or port forwarding. In general if you can't connect it's most likely firewall or port forwarding that is not setup right. I guess your pc perhaps got a new local ip from the router while the port forward remained assigned to the old local ip. This ain't the only possibility but that's what I guess at first. It's hard to keep up helping out people in these threads, they are huge and lots of questions.
  6. Granted, but now the gyms are even easier -way to go, R.A.S.N.! I wish Black & White was like HG/SS where you could play both the old and the new worlds, only now let's also add the new world and add a old one like Platinum or what not, more stuff to do is always more fun!
  7. ctrl+alt+"\`´" key (left of backspace) then "e" to make "é" shift+alt+"\`´" key then "e" creates an "è" Anyone who took french knows how to type accents, at least if you use a Norwegian (Scandinavian?) keyboard layout. :3
  8. zowayixx: it's because you must configure config.php and properly point it to your mysql server location. You must edit the IP, username, password, e.g. in the mysql array. That's why you see that error, once it can connect to the mysql it will work, at least that error won't be there.
  9. Mine ain't threaded, was my first Python script. GTS Nuker is the only community release that is threaded. When we use the DNS to redirect requests, at least in my script what I did was only redirect request going to "gamestats2.gs.nintendowifi.net" to a specific IP (that was the custom webserver IP). Everything else should be left alone. Now the new host must handle two things, the GTS and the Battletower as they oddly are implemented on that server. They also share one file I believe, the setProfile.asp in the /common/ dir so it's a little messy but you could manage and redirect those requests (battletower) to the official Nintendo GTS server and only intercept the GTS communication, but that's done within the webserver, the DNS is supposed only to redirect all the traffic from the mentioned CNAME.
  10. doeiqts: Problem is that the file (after being encoded) is 293bytes and not 292bytes -that means there is a overflow on the NDS and you get a blue-screen. I believe it was a issue with LordLangdons encoding script, I believe he did post some updated code but in all this mess I can't find it, hehe. I am no encoding/decoding guy so atm just waiting to see if someone else publishes some work on that, so I can borrow their code to update the encoding script of the pkm files. *Edit* Read your edit, was the encoded file 292 or 293 bytes? Curious because if was 293 then I can update my GTS site to also accept 293 byte files.
  11. To end the face-palming. What he meant flyingpker is if you are connected to the internet trough a router. If you are then it means you need to configure the ports on the routers administration page so that the traffic on ports 80 and 53 are directed to your machine -if you want a public service, so others can connect to your server when connecting from the outside of your house/i.e. their connection does not go into your router box directly, but from the outside of your house.
  12. Weird :< but I feel such pain in my chest that I contribute and keep the support alive in this thread when we have a separate one for "help me..." questions.
  13. Rukia-san I recommend using the simple way: python for both DNS and HTTP server -much easier than that crappy site I made that I only used for debugging. You could try either LordLangdons script #43 or mine #129.
  14. It's mixed Leon, in short "we" can create a GTS server but most of the replies are about support and port forwarding issues, perhaps some few bugs with the apps we've shared.
  15. Smart, I already put a link in my sig as it's the latest Pokemon related project I work on.
  16. If you try connecting to "0.0.0.0" then it won't work, find your local IP of that machine and input that into the NDS. Make sure both run on the same network. Good thing about intranet is you don't got port issues, only firewall settings on the machine you run the server on (can temporarily disable it if you encounter problems and don't wanna configure it). Finding your IP is simple, just open the network settings in the Control panel and check the current connection "Properties", the IP is listed on the dialog that pops up (alternative next to the icons on the taskbar, near the clock. the network status there opens up the connection details or the control panel dialog).
  17. Haven't finished it yet, don't want to post something that is not properly working. So far it's just the bare minimum, need to implement encoding in PHP and not rely on the Python script. But if you are a good "google-er" you can already find it on my SVN, if you are that desperate, hehe. ;P
  18. I guess I now need "support", have my GTS running here: http://vlacula.no-ip.com/pokemon/gts/ so if it does not show 404 (means my PC is online) you could if you want try and connect to it. It's a vote system, vote for the pokemon you like and if it wins it is distributed for 15 minutes until the next round starts. There are 22 events but need to fix the encoding because most of the files are not 292 bytes so they create blue screens, hehe. Gonna implement the proper encoding function in PHP, until then I use LordLangdons Python script to encode, anyway I just wanna see if it works for others than me, it should but unsure until someone tries it out too.
  19. About router configuration problems (port being used by already existing configurations), you simply need to find where by checking the different router admin pages and trying to find where the port in question is mentioned (on a list of preferences or what ever). Most routers do allow redirection of any ports, so it's not about having a old router kind of, the function is there but the procedure vary from one router to the other. I guess Google is your friend on the error there, Hazz. Port 53 is used for applications to query DNS servers for domain information (what the IP is for a domain, ex "google.com" the DNS server will reply with "74.125.79.99" because the domain is a "alias" for the IP -would be a hell to remember IP's instead of domains, wouldn't it? ) You only need to forward ports when you want incoming connections (i.e. people outside your router to get access to servers you may run behind the router). By default everyone behind the router can access all ports when going out, but not when connections are trying to be established from outside. If you manage to setup port forwarding properly (and make an exception in the Windows firewall settings for that port, so traffic is not blocked) then it will work. About ports 80/53 being blocked by ISP, can't do much about it because the game itself is made to query DNS and HTTP over ports 53 and 80, you need to hack the game in order to change this. If you could redirect traffic from port 80 to another port you would need a link in the middle, between the NDS and your server machine, so that NDS--port80-->MiddleServer--port81-->YourServer (this way you can change the Python script and such to work on other ports, but I doubt anyone has a second machine they can use as a link in between, hehe. For those that run their webserver on their machine, they can use a .htaccess file (apache servers) to redirect specific requests from a port to another, for example "RewriteRule ^pokemondpds/(.*) http://%{SERVER_NAME}:81/pokemondpds/$1", then you can run your own webserver and run the GTS nuker or what ever on another port (in this case 81). I made a small sketch and tried to explain a little, http://www.ziuo.net/portforward/ -perhaps it will help understand why things don't go as they should for some, perhaps it will just confuse you more. I am no expert but at least I hope I got something right. No one is doing anything wrong, it's about trial and error and then working your way up until it works. If questions I am glad to try and answer them, like always. Good luck trying to make your GTS servers work!
  20. Perhaps Projectpokemon could run a GTS server, something like what I am trying to make at http://vlacula.no-ip.com/pokemon/gts/ (if my pc is on the link will work). I guess once events are up it would be neat to have the possibility to get the Pokemon trough PP's custom GTS and with a site interface vote for what event the community want's to download. Going to release the sources soon, when I manage to get it stable. No it's not easy to use but it's at least pretty easy to configure if you know the basics of web-hosting. This ain't really research but more like the result of it, hehe. Super Veekun, that you managed to make your own server too -it's cool. Easy "trade evolution" for those unable to edit their saves with Pokesav.
  21. We must emulate how the official GTS works, first by making the NDS use our own DNS server (it is by default ran on port 53, thus unless you can hack your NDS to access DNS over another port be my guest). Same goes for HTTP server, by default it goes over port 80 thus only way to change it is to hack the game and make it communicate over another port -in other words really hard and tedious work. How the internal ports and such are is up to everyone one of us, as long the public can access the services using ports TCP80/UDP53 then there won't be problems. Use local IP if you dont wanna fix ports on the router (only for local intranet GTS) but if you wanna open up a server then in your case UDP53 is probably taken by your router if it has a pubpic DNS service, or perhaps a predefined example setting that takes that port in some other configuration site on the router?
  22. Yes it should work as long ports are fine (ports are no problem if you use internal LAN IP addresses, and disable firewall on the operation system for port TCP80 and UDP53).
  23. It means the machine will accept any connection via any IP, if you can figure out your local or public IP of that machine (local IP can be found in network properties btw) then you just use that IP instead of "0.0.0.0" as it's not a valid IP.
×
×
  • Create New...