• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Pokemon Computer Improvements

Status
Not open for further replies.

BraviaryKnight

Fisherman
This could be possible once most stuff in the game works.

The computer in your Room and the Pokemon Center could be improved on.

Maybe it could house the friends list, watch other people's battles, etc.

If you think this is possible, consult this guy ---->:cool:
If it's impossible, talk to the guy right here ------>:cool:
 

DracoHouston

Kolben Developer
Contributor
oh for sure, but you need things to add to the computer before you can add them and no ones working on something like that right now.

friends list should probably go in pokegear anyway, because you can access that anywhere
 

DracoHouston

Kolben Developer
Contributor
not saying i'd do one, but if i found myself with a bunch of time to spare figuring out a master server for these kind of services would be fun. good excuse to learn python or something. cool project for any bored coders here too. at minimum we need a way to make game accounts (free of course) and have the master server register if the player is online and send messages between the players for cross game chat, and the ip of the host of any coop game they're in for quick joining from friends list. ideally it'd just use forum accounts and live on pokemon3d.net's server but i guess daniel would have to be involved for the integration.

its a pretty reasonable job but it would still take a ton of time to actually get out. and is frankly beyond my level of expertise (i mod games mostly *shuffles feet*)
 

DracoHouston

Kolben Developer
Contributor
oh something i remembered about having a master server, its actually part of a NAT (network address translation, most people are connected to the internet via lan through a router) traversal technique. if nilllzz wants to make the connection process fool-proof later on a server for managing friends and communicating with them can also be used for hole punching. the wikipedia summary of hole punching

Hole punching is a computer networking technique for establishing communications between two parties in separate organizations who are both behind restrictive firewalls. Used for applications such as online gaming, P2P and VoIP, both clients establish a connection with an unrestricted third-party server that uncovers external and internal address information for them. Since each client initiated the request to the server, the server knows their IP addresses and port numbers assigned for that session, which it shares one to the other. Having valid port numbers causes the firewalls to accept the incoming packets from each side. ICMP hole punching, UDP hole punching and TCP hole punching respectively use Internet Control Message, User Datagram and Transmission Control Protocols. Using TCP nefarious hole punching, it's possible to send compressed SYN packets through into a common ACK path. Numerous software does this.

basically what its doing is both players connect to the server, the server then has an open port, and it tells the clients eachothers addresses and ports, client sends data through that instead of just their external ip and the packets make it through the NAT, no hamachi no port forwards. its actually how hamachi works. their word for the technique is 'direct tunnel' but its the same thing
 

DracoHouston

Kolben Developer
Contributor
iirc battle.net and steamworks use it. steamworks games can use 'steam sockets' which handles it all for them. all the blizz games since sc2 have just worked without any port forwards because you're connected to b.net2 so it has all the stuff it needs to do that when people connect to eachother. we don't have to go that fancy but something like that would pretty much mean no 'how do i connect?' threads ever lol
 

DracoHouston

Kolben Developer
Contributor
i googled hole punching and after a bunch of ads for officeworks there was a stackoverflow thread where someone asked for tips on it, this library was linked http://code.google.com/p/lidgren-network-gen3/

its written in c# for .net framework so should link with the vb code. at least theres implementations ready to go out there. anyway, this is a problem to look at when there's less to do. we can't even trade and battle eachother yet so no worries about some connection issues right now lol
 

snypr1337

Dragon Tamer
not saying i'd do one, but if i found myself with a bunch of time to spare figuring out a master server for these kind of services would be fun. good excuse to learn python or something. cool project for any bored coders here too. at minimum we need a way to make game accounts (free of course) and have the master server register if the player is online and send messages between the players for cross game chat, and the ip of the host of any coop game they're in for quick joining from friends list. ideally it'd just use forum accounts and live on pokemon3d.net's server but i guess daniel would have to be involved for the integration.

its a pretty reasonable job but it would still take a ton of time to actually get out. and is frankly beyond my level of expertise (i mod games mostly *shuffles feet*)
If you'd like, I can support you guys with a Debian VPS as a master server for Pokemon 3D.
 
Status
Not open for further replies.
Top