Renderbus

(Mainly the wiki)
Post Reply
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Renderbus

Post by Atlanta-Ned » #424389

Renderbus is Statbus' younger sibling, a one-stop shop for renders of the tg station maps.

This project is still HEAVILY WIP, so proceed with caution. The end goal is to automatically generate renders of the full station maps at least once a day, but this may shift to generating renders every time a map file is edited on github. Maps will be presented similarly to Goon's online map viewer and Affected's map viewer.

For now, here are the full size map renders. This page will update as new renders are created and updated:

https://atlantaned.space/renderbus/renders/index.php

Right now the renders are being executed and uploaded manually
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #424671

There’s a map viewer at https://atlantaned.space/renderbus/ now. Still working on adding more functionality.
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
Jalleo
Joined: Tue Apr 15, 2014 1:27 pm
Byond Username: Jalleo

Re: Renderbus

Post by Jalleo » #424692

Sticked to make this easier for people to notice since when this is closer to fully functional I presume others will take more interest in it.
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #424727

Ok, another update.

The last 18 months have been dominated by an issue where I am apparently incapable of converting from byond's coordinate system to the map viewer coordinate system. Luckily though, I finally cracked it.
Behold: MetaStation with the solar array trackers highlighted: https://atlantaned.space/renderbus/

Now I can do super cool shit, like linking to maps of deaths on individual death pages:
https://atlantaned.space/statbus/death.php?id=2831056

And in the future:
- A map of every death/explosion/anything else that saves coordinates on a round page(!)
- Death heatmaps(!!)
- An interactive log-viewer(!!!)

This issue with coordinates was the last hurdle. Everything after this will be easy to implement and work with :D
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #424901

The explosions section of the round view now shows a map of where the explosions for a given round occurred!
https://atlantaned.space/statbus/round. ... explosions

The radius at the moment is determined by the `heavy` range of the explosion. I'll be updating this to include `light`, `flash`, and `flame` radii :D
Here's what the nuke going off looks like: https://atlantaned.space/statbus/round.php?round=90710

EDIT: WHEW https://atlantaned.space/statbus/round. ... explosions
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #425105

The map views now include deaths, wires, atmos, and PDA messages, mostly as a proof of concept.
https://atlantaned.space/statbus/round. ... =90780&map
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
PKPenguin321
Site Admin
Joined: Tue Jul 01, 2014 7:02 pm
Byond Username: PKPenguin321
Github Username: PKPenguin321
Location: U S A, U S A, U S A

Re: Renderbus

Post by PKPenguin321 » #425229

Brilliant, can't wait for a new and more functional death heatmap. Will it use all the old death stats as well or only recent ones, because I had like thousands of deaths on the old one
i play Lauser McMauligan. clown name is Cold-Ass Honkey
i have three other top secret characters as well.
tell the best admin how good he is
Spoiler:
Image
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #425237

I've started work on the timeline function, which will let you scroll through events as they happened on the map. Right now, this only covers deaths and is very buggy.

The issues here are complex to say the least. There are plugins to do timelines in leaflet (the map viewer we're using), but they're poorly maintained and don't work reliably with data that's loading asynchronously.

Oh did I mention that wires, atmos, and PDA messages are loaded asynchronously? Because they totally are and it's pretty badass if I do say so myself.
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
oranges
Code Maintainer
Joined: Tue Apr 15, 2014 9:16 pm
Byond Username: Optimumtact
Github Username: optimumtact
Location: #CHATSHITGETBANGED

Re: Renderbus

Post by oranges » #425327

the map stuff is really neat
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #425422

An update on where things stand:

I've got a new slider mechanism in place, and am very close to making it 'work'. JavaScript is funnymaddeningly stupid when it comes to comparing different variable types. Compounding this is the fact that I'm juggling several different date/time formats and converting all of them to something else several times.

So after I manage to do this without hiring a hitman to take myself out, I'll be able to focus on the Big Thing™: Game and attack logs.

This will be complicated for several reasons:
1. These logs are only available to me in Giant Text File format. We're talking several bytes' worth of data. In the grand scheme of things, these aren't difficult to handle at all. It's a fairly straightforward RegEx and some massaging.
2. Except that attack.log is stored separately from game.log, hah hah hah. So I have to parse both files, then smush them together.
3. Which brings us back to the fact that these files are several bytes and frequently 10k+ lines.
4. So storage and recalling of these files is challenging. Previously, I've tried:
- Parsing and smushing all at once, then displaying the resulting Blob of Text all at once. This was painfully slow.
- Parsing, smushing, and caching to a locally saved json file, then displaying everything at once. Faster, if you were using the cached file, but still painfully slow.
- Parse, smush, and cached to a database, then displaying the resulting blob. Surprise surprise, this was also slow as fuck. And also slowed down my database
- Parse. Smush. Cache to DB. Display only 1000 lines at a time. Slow, on the first parsing, but much more performant when it came time to actually look at the logs! But I also bungled this because I am a bad programmer
- Parse. Smush. Cache to DB. Except with Python instead of PHP. Super fast, not at all terrible, but means we've invoked python from PHP. What sort of lunatic does that?

5. Which brings us to now. There are a couple of different avenues I can take here:
- Parse and smush the log files with PHP, serve them as json that can be fetched by the map viewer. This can be done asynchronously, but it might be bandwidth/processor intensive. And also crash your browers because lol 10k+ long objects
- Parse and smush the log files in javascript, because it's 2018 and of course JS can fetch a remote gzipped file, decompress it, and run bunch of regex. This has the benefit of offloading all the processing onto the client's browser, but also at the risk of making everything catch on fire.
- Actually, since we're using the map viewer with a timeline scroller, we dont need to smush anything together. I mean, we should, but not for this. Wew.
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #457815

Donut Station is up now, along with the most recent versions of the rest of the maps https://atlantaned.space/renderbus/
I also streamlined my rendering process, so maybe renders will be up sooner now,
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #489383

Just pushed another update: https://atlantaned.space/renderbus/
The render process has been further streamlined and condensed into one line command*.

*It's a very long line
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: Renderbus

Post by Atlanta-Ned » #520315

https://atlantaned.space/renderbus/

Yay more updates!
I'm currently rendering and syncing the most recent version of Kilo Station, it should be live in an hour or so
After MANY MANY months of not knowing wtf I was doing, pipe and powernets are now working
Unfortunately, wires render LikeAss™ thanks to the easy wiring update or whatever the fuck it is. It sounds like adding them to the renderer is going to be more work than it's worth, so don't hold your breath on that
Statbus! | Admin Feedback
OOC: Pizzatiger: God damn Atlanta, how are you so fucking smart and charming. It fucking pisses me off how perfect you are
User avatar
SpaceSmithers
Joined: Fri Apr 09, 2021 5:58 am
Byond Username: SpaceSmithers
Location: runtimestation

Re: Renderbus

Post by SpaceSmithers » #620914

Hello Renderbus fans. As you may have noticed, every link above this post is broken.
Don't fret, Renderbus can now be found here: https://renderbus.s3.amazonaws.com/index.html
Feel free to explore the other services at Ned's hub: https://atlantaned.space/

Sincerely,
Renderbus Fan
cacogen
Forum Soft Banned
Joined: Sat Jun 02, 2018 10:27 am
Byond Username: Cacogen

Re: Renderbus

Post by cacogen » #620920

did amazon buy renderbus
technokek wrote:Cannot prove this so just belive me if when say this
NSFW:
Image

Image
Post Reply

Who is online

Users browsing this forum: No registered users