Draelor Posted April 28, 2010 Posted April 28, 2010 Hey guys, I've been trying to host my GTS server but its not working. When I get into the connect to Nintendo Wifi connection, it just stays like that and eventually gives me an error in which I have to restart the DS. However when I look at my DNS server it says its Spoofing to my IP Address, though nothings happening on my DNS. I've turned off my firewall, skype etc and anything else that may get in the way. Any Help?
madaruwode Posted April 28, 2010 Posted April 28, 2010 @イーブイ Does that mean that with the Code you posted it will be possible to write a program/script that allows me to upload a PKMN from the game to the PC and download it as often as I want? Are you working on something like this or just the online-GTS?
イーブ&# Posted April 28, 2010 Posted April 28, 2010 Yes, you could do that. Actually, just remove the line that deletes the Pokémon from the beta table, and it will do exactly that.
madaruwode Posted April 28, 2010 Posted April 28, 2010 Thank you for your reply, but the thing I haven't understood is how I have to start it... I thought I would need to have a Webserver running? And where does it store the PKMN data?
イーブ&# Posted April 29, 2010 Posted April 29, 2010 Uh, it's part of my entire site. Not really meant for people to run for themselves, especially if you're not a developer.
madaruwode Posted April 29, 2010 Posted April 29, 2010 Uh' date=' it's part of my entire site. Not really meant for people to run for themselves, especially if you're not a developer.[/quote']ok, I thought that before, but then I misunderstood your 2nd post and thought that I can run it on my computer. I am a developer but I never learned Python... but I think I understand most of it I will have a look at your code and try to make a script that can be run locally on a computer... but if anybody already tries to do this please tell me so I don't have to
M@T Posted April 29, 2010 Posted April 29, 2010 I am currently making a VB.NET program that acts as a GTS server, allowing users to deposit/retrive a Pokémon and saving a .pkm of every Pokémon it receives (but no "search" function yet, so no real trading). It is based on my SendPKM.exe program and on イーブイ's fake_gts.py. It works fine, I just have to modify some things and I post it.
Scarface Posted April 29, 2010 Posted April 29, 2010 I am currently making a VB.NET program that acts as a GTS server, allowing users to deposit/retrive a Pokémon and saving a .pkm of every Pokémon it receives (but no "search" function yet, so no real trading).It works fine, I just have to modify some things and I post it. Sounds good, I cant wait.
madaruwode Posted April 29, 2010 Posted April 29, 2010 Sounds very nice! I would also appreciate to have a look at the code because VB.net is a language I understand much better than Python
M@T Posted April 29, 2010 Posted April 29, 2010 The program is nearly finished, I am making some tests now, to see if it handles properly every kind of requests (except searching a Pokémon). @ madaruwode : I always release the source code with my programs, don't worry. :wink: PS : Before starting to deal with fake GTS & DNS servers, I didn't know Python at all, but it made me discover this language and it is quite easy actually. :redface: EDIT : I'm going to eat, I will probably release the program in 1 hour or less.
kickhopper Posted April 29, 2010 Posted April 29, 2010 I am currently making a VB.NET program that acts as a GTS server, allowing users to deposit/retrive a Pokémon and saving a .pkm of every Pokémon it receives (but no "search" function yet, so no real trading).It is based on my SendPKM.exe program and on イーブイ's fake_gts.py. It works fine, I just have to modify some things and I post it. So basically you're working on a way to transfer Pokemon from the DS to the computer? Man that would be really great to find out secret IDs for people that don't own flash carts.
Scarface Posted April 29, 2010 Posted April 29, 2010 So basically you're working on a way to transfer Pokemon from the DS to the computer? Man that would be really great to find out secret IDs for people that don't own flash carts. Well actually you can obtain your SID's from HGSS Easily all you need is to know 3 lotto numbers in a row and your Trainer id just translate this website http://oupo.xrea.jp/sid-search/
イーブ&# Posted April 29, 2010 Posted April 29, 2010 So basically you're working on a way to transfer Pokemon from the DS to the computer? Man that would be really great to find out secret IDs for people that don't own flash carts. There are several third-party GTSes that can already do this. I think.
madaruwode Posted April 29, 2010 Posted April 29, 2010 There are several third-party GTSes that can already do this. I think. But none where posted on this thread 8)
M@T Posted April 29, 2010 Posted April 29, 2010 (edited) Finally, here it is. :tongue: I took my old SendPKM.exe program as a base, on which I added some functions present in fake_gts.py. I also used some parts of codemonkey85' awesome PokemonDSLib for the Pokémon data-manipulating functions (encryption/decryption). It is threaded, just like my other program. You just have to run 'GTS Server.exe' with a DNS server redirecting to your IP (local or public, depending on where you connect your DS from). [bTW, I improved my DNS server a long time ago but there are some bugs now, I'll see if I can release a new version soon.] When the program is launched for the first time, it creates 2 folders, named 'PKMs' and 'Current'. Every Pokémon sent by the game is converted to a .pkm and put in the 'PKMs' folder, under the name '[current timestamp]_[Pokémon specie]_[game PID].pkm' (without the brackets). 'Current' contains the current Pokémon data, one for each game PID, under the name 'current_[game PID].dat' (without the brackets). The data files are 292 bytes long, beginning with the 236 encrypted party-Pokémon bytes and followed by 56 GTS-specific bytes, as described here. When a game deposits a Pokémon, a .dat file is created in that folder. It remains present until the game calls 'return.asp', typically when the Pokémon is taken back. However, the .pkm stays in the 'PKMs' folder. --- I started to add a 'verbose' functionnality, you can use it by passing '-verbose' (or '-v') as argument. It simply shows more description of the requests made by the DS. The program is still a console application, but can easily be included in a window app. I was planning to make a kind of Pokémon management system, to change which Pokémon are currently stored for example, but I don't have much time at the moment. PS : .NET Framework version 3.5 is requied to run this program, if you don't have it or if you are unsure of the version you have, download it from here. GTS_Server_v0.2+src.zip Edited April 30, 2010 by M@T Added .NET Framework 3.5 requirements.
doeiqts Posted April 30, 2010 Posted April 30, 2010 Nice. As soon as I get some of the more basic sending server stuff worked out I'll try this and give you feedback.
Scarface Posted April 30, 2010 Posted April 30, 2010 Finally, here it is. :tongue:I took my old SendPKM.exe program as a base, on which I added some functions present in fake_gts.py. I also used some parts of codemonkey85' awesome PokemonDSLib for the Pokémon data-manipulating functions (encryption/decryption). It is threaded, just like my other program. You just have to run 'GTS Server.exe' with a DNS server redirecting to your IP (local or public, depending on where you connect your DS from). [bTW, I improved my DNS server a long time ago but there are some bugs now, I'll see if I can release a new version soon.] When the program is launched for the first time, it creates 2 folders, named 'PKMs' and 'Current'. Every Pokémon sent by the game is converted to a .pkm and put in the 'PKMs' folder, under the name '[current timestamp]_[Pokémon specie]_[game PID].pkm' (without the brackets). 'Current' contains the current Pokémon data, one for each game PID, under the name 'current_[game PID].dat' (without the brackets). The data files are 292 bytes long, beginning with the 236 encrypted party-Pokémon bytes and followed by 56 GTS-specific bytes, as described here. When a game deposits a Pokémon, a .dat file is created in that folder. It remains present until the game calls 'return.asp', typically when the Pokémon is taken back. However, the .pkm stays in the 'PKMs' folder. --- I started to add a 'verbose' functionnality, you can use it by passing '-verbose' (or '-v') as argument. It simply shows more description of the requests made by the DS. The program is still a console application, but can easily be included in a window app. I was planning to make a kind of Pokémon management system, to change which Pokémon are currently stored for example, but I don't have much time at the moment. When i launch the program it crashes and i get the following message: GTS Server has encountered a problem and needs to close. We are sorry for the inconvenience. and gives me an option to send error report or don't send.
M@T Posted April 30, 2010 Posted April 30, 2010 Wierd, is there some text written in the console before the crash ?
Scarface Posted April 30, 2010 Posted April 30, 2010 yes it does but it does it the second i click dont send error report it goes so fast i cant read it i'll try and screen shot it if i can
M@T Posted April 30, 2010 Posted April 30, 2010 Could you launch it from a command prompt ? (Start->Run->"cmd" [without quotes], then cd to the directory where it is located and run "GTS Server.exe" [with the quotes])
Scarface Posted April 30, 2010 Posted April 30, 2010 yeah i get the same error but i got the screenshot Here it is: http://i39.tinypic.com/zmh3m.jpg
M@T Posted April 30, 2010 Posted April 30, 2010 It looks like it's a problem with the .NET Framework, are you sure you have the version 3.5 ? If you are unsure, download it from here : http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=333325fd-ae52-4e35-b531-508d977d32a6
Scarface Posted April 30, 2010 Posted April 30, 2010 It looks like it's a problem with the .NET Framework, are you sure you have the version 3.5 ?If you are unsure, download it from here : http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=333325fd-ae52-4e35-b531-508d977d32a6 Well i didnt know it required .Net framework 3.5 im downloading it now, Thanks
M@T Posted April 30, 2010 Posted April 30, 2010 Yeah, I didn't specify that it was required, my mistake.
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