Most active commenters
  • Rendello(4)

←back to thread

442 points apitman | 21 comments | | HN request time: 1.091s | source | bottom
1. Rendello ◴[] No.43563472[source]
Classic AoE-playing Hacker News-types might also enjoy 0 A.D.

It's free and fun, but definitely humbling if you consider yourself a master strategist:

https://play0ad.com/

replies(3): >>43563857 #>>43566663 #>>43568810 #
2. bryancrisso ◴[] No.43563857[source]
i love 0ad so much but it runs AWFULLY as soon as you get a fun number of units on the map.
replies(3): >>43564058 #>>43565606 #>>43566505 #
3. Rendello ◴[] No.43564058[source]
I haven't had an issue with that personally (played on and off for almost 10 years), though I imagine it could be an issue on some older hardware. Massed units will cause lag in big team games where there's 4 armies clashing, though that might be more of a network thing.
replies(1): >>43564705 #
4. yohannesk ◴[] No.43564705{3}[source]
I am curious as a non game developer, are these types of games deterministic? If so if I send to the server that I moved huge units to attack another huge units, can the server determine what the end will be? Why do we face a network issue?
replies(3): >>43564767 #>>43565309 #>>43565498 #
5. HideousKojima ◴[] No.43564767{4}[source]
Many (not all) RTS games use a networking method called lockstep synchronization that requires the gameplay to be deterministic, but has its own downsides. One of those being that if one player lags, everyone lags. I know AOE 1 and 2 use it, and I assume 3 as well
replies(2): >>43565278 #>>43570852 #
6. littlestymaar ◴[] No.43565278{5}[source]
The good thing being that you get replay for free.
replies(2): >>43566530 #>>43568819 #
7. matsemann ◴[] No.43565309{4}[source]
This article is a classic, 1500 Archers on a 28.8: Network Programming in Age of Empires and Beyond

https://www.gamedeveloper.com/programming/1500-archers-on-a-...

Edit: original where the pictures work https://web.archive.org/web/20180719170411/https://www.gamas...

> Rather than passing the status of each unit in the game, the expectation was to run the exact same simulation on each machine, passing each an identical set of commands that were issued by the users at the same time. The PCs would basically synchronize their game watches in best war-movie tradition, allow players to issue commands, and then execute in exactly the same way at the same time and have identical games.

replies(1): >>43565706 #
8. arlort ◴[] No.43565498{4}[source]
They can be deterministic but I think you might be confused about the kind of game

In RTS games like 0AD or AoE you don't just send a single huge unit to attack and wait for the result, you send many tens of individual units near enemy units, then the "battle" goes on in real time and you can micromanage units to influence the outcome. You can't just simulate it on the server because the server can't simulate the thought process of the players

replies(1): >>43565656 #
9. nophunphil ◴[] No.43565606[source]
Same here. I use a modern Windows 10 PC (Ryzen 5600x, RTX 3070Ti) when playing games. I wonder if the performance is better on Linux for some reason.
10. vasco ◴[] No.43565656{5}[source]
AoE2 battles are all about the micromanagement. Last minute splitting the onslaught of trash units against your opponents treb micro shot can change everything.

Kind of old but lots of micro tactics per unit here: https://youtu.be/hjUgisPD_C4?si=F-UvzDOTsWRZhZSq

11. IshKebab ◴[] No.43565706{5}[source]
Which was great until there's a bug and it just says "sync error" and your 3 hour game is gone.
replies(2): >>43566928 #>>43567567 #
12. Dunedan ◴[] No.43566505[source]
Alpha 27 of 0 A.D. has a notable performance regression for a subset of users, compared to earlier versions. Users not affected by this regression should see improved performance, thanks to improvements like the added Vulkan support.

The regression in performance seems to be caused by a change in Spidermonkey. For details check out https://gitea.wildfiregames.com/0ad/0ad/issues/7714

That said, even without this performance regression, 0 A.D. is prone to run slow in late game when lots of units are on the map. There are several reasons for that, but maybe the most intuitive one is that 0 A.D. is still largely single-threaded and therefore doesn't make use of the multi-core capabilities of modern CPUs. As you can imagine changing that is no easy feat and takes a lot of effort. As the number of volunteers to 0 A.D. is limited, nobody has picked up that topic yet.

If you enjoy 0 A.D. and want to improve it: it's Open Source and contributions are always welcome!

13. Panzer04 ◴[] No.43566530{6}[source]
It's got downsides. There's often no way to recover game state without actually running the simulation, and often no way to go backwards either. If you miss a moment in the replay you gotta watch the whole damn thing all over gain.
14. RUnconcerned ◴[] No.43566663[source]
Wow, this is still being developed? I still recall the Heavengames forum thread that spawned it...
replies(1): >>43571141 #
15. immibis ◴[] No.43566928{6}[source]
When this happens in Factorio, the game pauses, one player (the server?) saves the game and sends it to all other players who load the savefile and the game resumes when that's done. It's not a nice experience, but it's a lot better than "you can't play today, goodbye!"
16. doublerabbit ◴[] No.43567567{6}[source]
Same with RA2/YR.

All it took was for some salty player to activate a trainer or prez IFS and kill the game.

I like that the lobbies were ran over IRCd.

Dreamforge IRCd with the server password being "supersecret".

17. gsich ◴[] No.43568810[source]
8 player multiplayer is unplayable.
replies(1): >>43571179 #
18. gsich ◴[] No.43568819{6}[source]
You get that with any type of networking.
19. NortySpock ◴[] No.43570852{5}[source]
For Beyond All Reason, it seems the Spring/Recoil engine will eventually decide to "close the action window", so that if one player is lagging hard, they simply submitted no actions for that "round" and the rest of the players keep going.

I know because I've gotten to the point in the late game where my computer can't simulate at realtime, and I can no longer control my units, but everyone else keeps playing.

Conveniently you can even still sort of chat in this state, and ask a teammate to assume control of your army on your behalf.

20. Rendello ◴[] No.43571141[source]
It just had a big release in January even!
21. Rendello ◴[] No.43571179[source]
The lagging frames just give extra time to strategize ;)