Page 2 of 2
Re: Dark Forest CGoL MMO
Posted: April 16th, 2026, 5:43 am
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";
Re: Dark Forest CGoL MMO
Posted: April 16th, 2026, 11:30 pm
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
Re: Dark Forest CGoL MMO
Posted: April 17th, 2026, 6:19 pm
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?
Re: Dark Forest CGoL MMO
Posted: April 17th, 2026, 8:10 pm
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.
Re: Dark Forest CGoL MMO
Posted: April 18th, 2026, 12:41 am
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).
Re: Dark Forest CGoL MMO
Posted: April 18th, 2026, 12:45 pm
by Teacuptime
Yes, they said it was vibe coded in the lifecompetes chat.
Re: Dark Forest CGoL MMO
Posted: April 19th, 2026, 8:00 am
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.
Re: Dark Forest CGoL MMO
Posted: April 19th, 2026, 3:31 pm
by otismo
in-game progress

- notice the four-color collaboration
- ss1.png (71.5 KiB) Viewed 1826 times
i wud advise not to enter - i will provide screen shots
Cheers !
Re: Dark Forest CGoL MMO
Posted: April 19th, 2026, 5:25 pm
by otismo
ss2

- hopefully p46 will join our community
- ss2.png (58.41 KiB) Viewed 1811 times
<3
Re: Dark Forest CGoL MMO
Posted: April 19th, 2026, 6:48 pm
by otismo
here is an interesting little neighborhood

- that snark loop actually worked - oops
- ss3.png (97.23 KiB) Viewed 1803 times
well that's it for now - BCNU
EDIT
my 30 day railway trial ended after 3 days
Re: Dark Forest CGoL MMO
Posted: April 23rd, 2026, 2:14 pm
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 . . ..
************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************
Re: Dark Forest CGoL MMO
Posted: April 26th, 2026, 8:21 pm
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.