NDSLink / dream-server

Server for Pokemon Dream World
MIT License
42 stars 2 forks source link

Posibilities of adding an API for the dream world? #10

Open D0-0K opened 1 year ago

D0-0K commented 1 year ago

Hi zurgeg!

Apologies for starting this discussion in issues. I've been following your work on this for a while now, and it's really impressive! The fact that game sync allows us to interact with the pokemon game itself has got me thinking a lot about what could possibly be done with this feature.

I was thinking specifically about some kind of API in the server, that could let users connect their game sync to custom applications and games, and then send their progress back.

I make applications for old pebble smartwatches from time to time, and I thought about how perfect a pokewalker application would suit these kinds of devices. Users could send their pokemon to their wrist, walk about to earn points, catch pokemon etc, and then later send the pokemon back.

Obviously there would be some problems to iron out with a concept like this, for example preventing apps from declaring pokemon and items that would be impossible to catch in the original dream world. But what are your thoughts on the possibility of this working? Do you think it's something that could be added to the dream server specifically?

zurgeg commented 10 months ago

Hi zurgeg!

Apologies for starting this discussion in issues. I've been following your work on this for a while now, and it's really impressive! The fact that game sync allows us to interact with the pokemon game itself has got me thinking a lot about what could possibly be done with this feature.

I was thinking specifically about some kind of API in the server, that could let users connect their game sync to custom applications and games, and then send their progress back.

I make applications for old pebble smartwatches from time to time, and I thought about how perfect a pokewalker application would suit these kinds of devices. Users could send their pokemon to their wrist, walk about to earn points, catch pokemon etc, and then later send the pokemon back.

Obviously there would be some problems to iron out with a concept like this, for example preventing apps from declaring pokemon and items that would be impossible to catch in the original dream world. But what are your thoughts on the possibility of this working? Do you think it's something that could be added to the dream server specifically?

Actually, I haven't thought about that! I know the Dream World flash games use some kind of API, but I don't know what. I'll take a look and see what I can do. The Poke Radar implementation would be a good start since that's actually based off of the Pokewalker (I love that thing lol). Maybe I could add an endpoint to request a user's patches, then you display it on the watch, and then bounce the picked patch back to the server.

D0-0K commented 10 months ago

Sweet! I'm a big fan of the pokewalker myself, so I've always wanted to do something with the idea once I learned about the Gamesync revival work. That solution could work really nicely, it would require a constant connection but I don't think that's too much of an issue these days.