468 karma · joined Nov 21, 2011 (15y ago) · 164 submissions
comment 1mo ago · link · parent
Source: https://github.com/davorb/lsl-experiment
The original game logic runs unmodified on a Node server. There is an AGI bytecode interpreter in ts. Every room, puzzle and line of text is therefore the real game, not a re-creation.
The server owns all state. The wire protocol is plain JSON over a WebSocket, validated with zod on both ends. The server sends a full render frame (sprites, status line, text) only when the frame differs from the last one it sent. It sends the picture only when the picture changes. It sends sound events once when the game starts them, so a late joiner or a reload gets the current music.
Browser is a thin renderer. It uses PixiJS and plays the original PCjr music, which I synthesize with WebAudio.
The game has exactly one Larry. The first player to join is Larry. Everyone else walks their own character around the same room. Typing a command takes over Larry (you swap places), so the role gets passed around. When Larry changes rooms, everyone arrives with him. Score, cash and inventory are shared, because it is one game.
It is one global game. It resets every two hours, with a chat warning five minutes before. A game with nobody in it for ten minutes is discarded.
Graphics are the original art with a light HD-2D treatment: depth sorting by the original priority layers, lighting, tilt-shift and a vignette. Click-to-walk uses pathfinding over the original barrier data.
Some known problems are:
- The one-Larry model gets chaotic when several people type commands at once.
- Dialogs block the whole game for everyone until someone dismisses them.
- Nothing persists. The game resets every two hours.
- Players can easily grief other players.
The game data is not in the repo. An extractor reads it from an original install, so self-hosting needs your own copy. It is easy to find if you just google.
2.
Show HN: I made Leisure Suit Larry 1 multiplayer co-op(matrix.davor.se ↗)
1 points · by davorb · 1mo ago · 1 comment
comment 9mo ago · link · parent
It doesn't have any material effect on this article, but it says something about his ethics.
6.
Show HN: I built a flash card app for Swedish(svenska.davor.se ↗)
1 points · by davorb · 2y ago · discuss
comment 5y ago · link · parent
[0] https://www.aaas.org/resources/geospatial-technologies-and-h...
[0] https://www.amnesty.org/download/Documents/12000/asa24010201...
comment 9y ago · link · parent
Let's say that I spent some time brewing your favorite tea and that I did everything right so that the tea was ~perfect~. And then I took a pin and dipped it in feces, and then dipped the tip of that pin into your tea. Would that in any way have any effect on your enjoyment of the tea?
Could programming, and perhaps many other things, work the same way? Maybe we would all be creating better software if we were a little more religious with our code?
comment 10y ago · link · parent
You should read up on Cato the younger, who for generations was held up by stoics as an example of a very virtuous person, and his fight against Caesar and tyranny.
14.
Mark Zuckerberg rejects 'crazy idea' that Facebook swayed voters(theguardian.com ↗)
2 points · by davorb · 10y ago · discuss
comment 10y ago · link · parent
He's also written a whole book about this topic, called "Waking Up: a Guide to Spirituality Without Religion", which I think might be of interest to you.
comment 10y ago · link · parent
I really don't see the problem with people reaching out and trying to share their skills and knowledge with other people. To teach something you don't have to be the world's foremost expert on a subject, you just need to know more than the person you are teaching.
comment 10y ago · link · parent
Europe has had a lot of bad experiences when it comes to how we've treated our minorities, and the census has often been used as a tool for finding "undesirables". And I'm not only talking about countries like Germany here; Sweden had a policy of forced sterilisation for reasons of "racial hygiene", that it didn't discontinue until 1975.
comment 10y ago · link · parent
comment 10y ago · link · parent
comment 10y ago · link · parent
I think the closest thing I can compare them to, would be using musical or mathematical notation vs trying to describe the same things with text. Using notation has a slight learning curve, but is superior in day-to-day usage.
comment 10y ago · link · parent
In case no one with actual experience responds to you, you might want to check out Flash Boys[0], which spends a little time talking about GS's code. From what I've read in that book and in other places, what you heard seems to be the correct.
[0] https://www.amazon.com/Flash-Boys-Wall-Street-Revolt/dp/0393...