Dark Forest CGoL MMO

For general discussion about Conway's Game of Life.
User avatar
Vort
Posts: 203
Joined: May 14th, 2024, 6:35 am

Re: Dark Forest CGoL MMO

Post by Vort »

aivo wrote: April 16th, 2026, 2:52 am...I'm not a programmer so if someone else helps fix it that'd be great.
I don't know if that's a good news or not, but such hack is the easiest thing which can come into hacker's mind. It is easy to fix as well.
Since I don't want to break running instance of this game, I did not made tests, but I think this problem can be fixed by insertion of such line after line with "color = msg.color" in server.js:

Code: Select all

if(/[^0-9a-f#]/.test(color)) color="#000";
User avatar
otismo
Posts: 1513
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Dark Forest CGoL MMO

Post by otismo »

☕not much you can do - yet . . .🕯️📜🪶

if you are not quiet a i bots will hunt you . . .

sezme.st works o k tho . . .

fla.onl and tru.cam will also get you in . . .

a i looked at the code, and it's good code - robust

[ don't think we need to worry about being "hacked" ]

used the hotcrystal0 github code [ see link above ]

Cheers !

<3
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
User avatar
hotcrystal0
Posts: 4337
Joined: July 3rd, 2020, 5:32 pm
Location: wherever you think I am

Re: Dark Forest CGoL MMO

Post by hotcrystal0 »

aivo wrote: April 16th, 2026, 2:52 am Here's what AI says about the hack:
Someone's injecting JavaScript through the chat. The XSS vulnerability is in how color and name get inserted into innerHTML without escaping the style attribute. Quick fix:Identified parameter vulnerability and prescribed dual-layer mitigation strategyIdentified parameter vulnerability and prescribed dual-layer mitigation strategyThe bug: color goes straight into innerHTML without escaping. Someone sets their color to "><img src=x onerror=alert(1)> and it breaks out of the style attribute.

I'm not a programmer so if someone else helps fix it that'd be great.
Have you seen the GitHub repo that I uploaded it to yet?
wherever I go on the internet I bring with myself nothing but problems.

Code: Select all

x = 192, y = 53, rule = B3/S23
33$42b4o$41b6o$40b2ob4o$41b2o3$41b2o$39bo6bo$38bo8bo$38bo8bo$38b9o3$42b
4o$41b6o$40b2ob4o$41b2o!
User avatar
wwei47
Posts: 2273
Joined: February 18th, 2021, 11:18 am

Re: Dark Forest CGoL MMO

Post by wwei47 »

aivo wrote: April 16th, 2026, 2:52 am I'm not a programmer so if someone else helps fix it that'd be great.
Out of curiosity, what do you mean when you say you're not a programmer? You seem to be pretty good at it.
Currently trying to reduce the big P6 double sparker.
Replicator thread: viewtopic.php?f=11&t=6769
Fractal thread: viewtopic.php?f=12&t=6675

:3c
User avatar
b-engine
Posts: 3746
Joined: October 26th, 2023, 4:11 am
Location: Somewhere on where Earth At
Contact:

Re: Dark Forest CGoL MMO

Post by b-engine »

wwei47 wrote: April 17th, 2026, 8:10 pm Out of curiosity, what do you mean when you say you're not a programmer? You seem to be pretty good at it.
Maybe (s)he used AI to create the entire thing (i.e. vibe coding).
Teacuptime
Posts: 1
Joined: April 18th, 2026, 12:41 pm

Re: Dark Forest CGoL MMO

Post by Teacuptime »

Yes, they said it was vibe coded in the lifecompetes chat.
User avatar
qqd
Posts: 605
Joined: September 10th, 2022, 4:24 pm
Location: In a superposition of multiple different locations.

Re: Dark Forest CGoL MMO

Post by qqd »

hotcrystal0 wrote: April 15th, 2026, 5:38 pm
aivo wrote: April 15th, 2026, 3:23 pm The game got hacked and I don't really have the time right now so I've pulled it down, if anyone wants the files let me know then you can host it and put it on github and work on it as a community or something?
Are you still going to work on it though? Also, how did it get hacked?

Edit: I have uploaded the files to GitHub here.
Replacing line 100 of index.html with this:

Code: Select all

const BUILTIN={Glider:[[0,0],[1,0],[2,0],[2,-1],[1,-2]],Block:[[0,0],[1,0],[0,1],[1,1]],Blinker:[[0,0],[1,0],[2,0]],LWSS:[[0,0],[1,0],[2,0],[3,0],[4,1],[4,3],[0,1],[0,2],[1,3]],RPentomino:[[1,0],[2,0],[0,1],[1,1],[1,2]]};
Should fix the corrupt built-in LWSS pattern.
Also, has anyone tried to optimize the rendering engine yet? (Currently it renders a circle of 'fog' for every single live cell, which is very inefficient when living cells are usually clustered together). Using an algorithm that parses every 'cluster' of live cells instead of going through every live cell might be more efficient.
Currently writing a utility in Lua that may be helpful for faster manual pattern manipulation.
User avatar
otismo
Posts: 1513
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Dark Forest CGoL MMO

Post by otismo »

in-game progress
notice the four-color collaboration
notice the four-color collaboration
ss1.png (71.5 KiB) Viewed 1823 times
i wud advise not to enter - i will provide screen shots

Cheers !
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
User avatar
otismo
Posts: 1513
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Dark Forest CGoL MMO

Post by otismo »

ss2
hopefully p46 will join our community
hopefully p46 will join our community
ss2.png (58.41 KiB) Viewed 1808 times
<3
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
User avatar
otismo
Posts: 1513
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Dark Forest CGoL MMO

Post by otismo »

here is an interesting little neighborhood
that snark loop actually worked - oops
that snark loop actually worked - oops
ss3.png (97.23 KiB) Viewed 1800 times
well that's it for now - BCNU

EDIT

my 30 day railway trial ended after 3 days
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
User avatar
otismo
Posts: 1513
Joined: August 18th, 2010, 1:41 pm
Location: Florida
Contact:

Re: Dark Forest CGoL MMO

Post by otismo »

Gamelogic

The game should be expandable.

The players should be incentiveized.

The goal should be 1000 registered players.

Registering will reserve a gameplay name, which should be identical to your ForumUsername. One registers with their real first and last names.

Login with your GamePlayName; select color as usual - colors taken should be so indicated. There should be a link to download the PDF with all the rules, lore, etc.

The game has four quadrants : HOME (the initial grid) - NORTH - EAST - and NORTHEAST.
When there are three active players (1000cells) we get an identical grid - NORTH. When we have six we get EAST - nine we get NORTHEAST. The expanded grid becomes HOME; three grid expansions will acomodate 192 players (more than we will need for a while).

Four contiguous outposts (a block) will get you a sub base (satellite) which will have limited generative capabilities and will always be unlocked.


************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************

[otismo sez] ===> well - i checked out lifecompetes - and it sucks . . ..

************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Last edited by otismo on April 26th, 2026, 8:45 pm, edited 1 time in total.
"One picture is worth 1000 words; but one thousand words, carefully crafted, can paint an infinite number of pictures."
- autonomic writing
forFUN : http://gol.jct.onl
ArtGallery : http://cgolart.onfav.net
VideoWS : http://conway.life
User avatar
wirehead
Posts: 296
Joined: June 18th, 2022, 2:37 pm
Location: /dev/full
Contact:

Re: Dark Forest CGoL MMO

Post by wirehead »

it might be advantageous to rewrite this to use speedydelete's lifeweb library, since it's very fast and also supports custom rules. Plus speedydelete is serious about making it work since it's used for the discord's Caterer bot to !sim patterns.
Langton's ant: Can't play the drums, can be taught.
Post Reply