Daytona USA Progress
-
- undertow
- Posts: 31
- Dreamcast Games you play Online: 4x4 Evo, PSO, Crazy Taxi 2, Daytona USA, Quake 3 Arena, Samba de Amigo.
Waiting for Propeller Arena! - Location: Brno, Czech Republic
Re: Daytona USA Progress
Excellent news about Daytona. I had actually seen the YouTube video before I saw the updated post. Hopefully we can multiplayer soon. I’m ready for some races.
- Ryo_Hazuki
- Graffiti Grind
- Posts: 312
Re: Daytona USA Progress
Amazing to be able to follow all the progress of this work, all documented in this topic, great job.
-
- Anarki
- Posts: 90
Re: Daytona USA Progress
Yep got into contactkazade wrote:So a few other games have the same issue (if I'm understanding you correctly) where they assume the Dreamcast is directly connected to the outside world and so the DC IP is the external IP.ioncannon wrote:Was able to get a working Flycast copy with debugger and open ports. Hopefully it doesn't start crashing.
The problem is when an incoming UDP packet is received it reads where it came from; which ends up being the REAL IP address of the machine (not the PPP one). So the "getPlayerForSocket" function returns -1 as it can't find the player, and aborts packet parsing.
Shuoma made some utilities that are in the Dreampi image which manipulate the packets on the fly to replace the IP address IIRC.
It should once we fix the PPP IP issue. I've already contacted Shu who made a similar fix for the 2K2 games. Basically a service on the DreamPi looks for the session start packet and rewrites the PPP assigned IP to the real WAN one, so then everything should work properly.mickschen wrote:But its for console too or only emulation?
- Retro-45
- dirty sailor
- Posts: 173
- Dreamcast Games you play Online: PSO and Quake 3
- Contact:
Re: Daytona USA Progress
This is gonna be fun
Great job Ioncannon you deserve a break after this man.
Great job Ioncannon you deserve a break after this man.
-
- Anarki
- Posts: 90
Re: Daytona USA Progress
Been working on making the lobby server more stable.
* Gutted and replaced all the networking stuff with better code from my other projects.
* Added code to handle disconnects and bad (either due to corruption or hackers) packets.
* Logging in with the same handle or IP will kick the currently logged in duplicate. This is due to limitations of Daytona (it uses the Handle as a unique key for packets, and always assumes your WAN IP is unique due to PPP days).
* Rewrote a bunch of the packing processing code to fix weird sync errors (IE: teams not showing up, or the host not appearing as a host).
Still one big bug with team data being screwy but I think it's just a malformed packet. Otherwise it feels a lot more stable now.
* Gutted and replaced all the networking stuff with better code from my other projects.
* Added code to handle disconnects and bad (either due to corruption or hackers) packets.
* Logging in with the same handle or IP will kick the currently logged in duplicate. This is due to limitations of Daytona (it uses the Handle as a unique key for packets, and always assumes your WAN IP is unique due to PPP days).
* Rewrote a bunch of the packing processing code to fix weird sync errors (IE: teams not showing up, or the host not appearing as a host).
Still one big bug with team data being screwy but I think it's just a malformed packet. Otherwise it feels a lot more stable now.
- itsthinkingstill
- Vagabond
- Posts: 790
- Dreamcast Games you play Online: pso, 4x4, max pool, planet ring, afo, chu chu.... all of them
-
- Anarki
- Posts: 90
Re: Daytona USA Progress
Fixed the team data bug and implemented the (very basic) search feature. There is still the stats stuff which I am unsure how it works; but reward cars at least save when you quit. Other than stats we are now feature complete.

Just more testing to catch anything else and in chats with Shu to getting the PPP issue fixed.

Just more testing to catch anything else and in chats with Shu to getting the PPP issue fixed.
-
- Similar Topics
- Replies
- Views
- Last post
-
- 3 Replies
- 6437 Views
-
Last post by sutt22
-
- 6 Replies
- 7855 Views
-
Last post by Sax20
-
- 4 Replies
- 5244 Views
-
Last post by NeoSnk
-
- 2 Replies
- 1624 Views
-
Last post by Woodneeded
-
- 7 Replies
- 7432 Views
-
Last post by Xiden