diff --git a/VERSION b/VERSION index 3c80e4f0..e1df5de7 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.4.3 \ No newline at end of file +1.4.4 \ No newline at end of file diff --git a/WORKLOG.md b/WORKLOG.md index 03ff4cbc..298e6f99 100644 --- a/WORKLOG.md +++ b/WORKLOG.md @@ -9,17 +9,19 @@ * treats * constructs jiggle when clicked + * client animation bpm * background colour changes depending on time of day * hit animation wobble * combat text scale + translate * susbcriber gold name in instance * bot game grind -* stress test * msg pane * game invites +* audio + ## SOON *SERVER* * modules diff --git a/acp/package.json b/acp/package.json index f7b4ba07..da7908ae 100644 --- a/acp/package.json +++ b/acp/package.json @@ -1,6 +1,6 @@ { "name": "mnml-client", - "version": "1.4.3", + "version": "1.4.4", "description": "", "main": "index.js", "scripts": { diff --git a/client/package.json b/client/package.json index 081153f9..2897558c 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "mnml-client", - "version": "1.4.3", + "version": "1.4.4", "description": "", "main": "index.js", "scripts": { diff --git a/ops/package.json b/ops/package.json index 098d9a1a..642d45e1 100755 --- a/ops/package.json +++ b/ops/package.json @@ -1,6 +1,6 @@ { "name": "mnml-ops", - "version": "1.4.3", + "version": "1.4.4", "description": "", "main": "index.js", "scripts": { diff --git a/server/Cargo.toml b/server/Cargo.toml index 0a21651d..67096284 100644 --- a/server/Cargo.toml +++ b/server/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "mnml" -version = "1.4.3" +version = "1.4.4" authors = ["ntr "] [dependencies] diff --git a/server/src/img.rs b/server/src/img.rs index 87f2e732..e3584c20 100644 --- a/server/src/img.rs +++ b/server/src/img.rs @@ -62,7 +62,7 @@ pub fn invader_write(id: Uuid) -> Result { ]; let colour_dist = WeightedIndex::new(&weights)?; - write!(&mut svg, "")?; + write!(&mut svg, "")?; for i in 0..50 { let x = (i % 5) * 50; let y = (i / 5) * 50; @@ -103,7 +103,7 @@ pub fn shapes_write(id: Uuid) -> Result { // distribution for lightness // bellcurve around 75% let l_dist = Normal::new(50.0, 10.0); - let s_dist = Normal::new(75.0, 10.0); + let s_dist = Normal::new(50.0, 20.0); // 8 6 or 4 points in shape // 1 head point @@ -124,7 +124,8 @@ pub fn shapes_write(id: Uuid) -> Result { let shape_dist = WeightedIndex::new(shapes.iter().map(|v| v.1))?; let n_shapes_items = [ - (2, 1), + (1, 1), + (2, 2), (3, 5), (4, 10), (5, 10), @@ -132,7 +133,7 @@ pub fn shapes_write(id: Uuid) -> Result { let num_dist = WeightedIndex::new(n_shapes_items.iter().map(|v| v.1))?; let n_shapes = num_dist.sample(&mut rng) as usize; - write!(&mut svg, "")?; + write!(&mut svg, "")?; for i in 0..n_shapes + 1 { let h = rng.gen_range(0, 360); let s = s_dist.sample(&mut rng) as usize; @@ -203,6 +204,7 @@ pub fn shapes_write(id: Uuid) -> Result { write!(&mut svg, "")?; let dest = format!("/var/lib/mnml/public/imgs/{}.svg", id); + println!("/var/lib/mnml/public/imgs/{}.svg", id); let mut file = File::create(dest)?; file.write_all(&svg)?;