ss13.eu tools on github

(Mainly the wiki)
Post Reply
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

ss13.eu tools on github

Post by LiamLime » #243447

The various stuff that exists on ss13.eu has been available for years to anyone who asked, but I've finally taken the time to clean things up and put it on github. So yeah, if you want to host / update / rewrite the various tools... go ahead. The scripts are all awfully coded and in desperate need of a rewrite... but hey, they may be ugly, but they work... so they may as well remain in use :D

SS13 Tools on Github

Repository includes the following tools:
(Some of these take a while to load)
- Ban overview page
- Connection lookup ("How much time have I wasted")
- Death heatmap image
- Do admins play
- Game stats
- Ingame poll results
- Examine poll
- Book club
- Player migration
- Privacy poll results
- Achievements generator
- Advice assistant
- Character image generator
- Moodlet generator
- Passport generator
- Userbar generator

Remakes! Updates! New tools! \o/

Atlanta-Ned started remaking the tools and building new ones. Their new SS13 tools can be found here:
NEW SS13 Tools on Github

Repository includes the following tools: (More may have been added since this post was last updated!)
- Character image generator
- Deaths list
- Round list
Last edited by LiamLime on Tue Jan 24, 2017 12:03 pm, edited 2 times in total.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
lzimann
Joined: Sun Oct 26, 2014 5:13 am
Byond Username: Lzimann
Github Username: lzimann

Re: ss13.eu tools on github

Post by lzimann » #243448

Damn. That's nice to finally have all of that code.
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: ss13.eu tools on github

Post by PKPenguin321 » #243462

Lots of respect to this, I love these tools and by releasing them they'll practically live forever now

Thanks a ton
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
ShadowDimentio
Joined: Thu May 08, 2014 3:15 am
Byond Username: David273

Re: ss13.eu tools on github

Post by ShadowDimentio » #243466

To christen the new tool I made a passport
Spoiler:
"Clowns are different you can't trust those shifty fucks you never know what they're doing or if they're willing to eat a dayban for some cheap yuks."
-Not-Dorsidarf

"The amount of people is the amount of times the sound is played... on top of itself. And with sybil populations on the shuttle..."
-Remie Richards

"I just spent all fucking day playing fallen london and sunless sea and obsessing over how creepy the fucking dawn machine is and only just clocked now that your avatar is the fucking dawn machine. Nobody vote for this disgusting new sequence blasphemer he wants to kill the gods"
-Stickymayhem

"Drank a cocktail of orange Gatorade and mint mouthwash on accident. Pretty sure I'm going to die, I am on the verge of vomit. It was nice knowing you guys"
-PKPenguin321

"You're too late, you will have to fetch them from the top of my tower, built by zombies, slaves, zombie slaves and garitho's will to live!"
-Armhulen

"This is like being cooked alive in a microwave oven which utilises the autistic end of the light spectrum to cook you."
-DarkFNC

"Penguins are the second race to realise 2D>3D"
-Anonmare

"Paul Blart mall cops if they all had ambitions of joining the Waffen-SS"
-Anonmare

"These logs could kill a dragon much less a man"
-Armhulenn

">7 8 6
WHAT MADNESS IS THIS? POETIC ANARCHY!"
-Wyzack

"We didn't kick one goofball out only to have another one come in like a fucking revolving door"
-Kraseo

"There's a difference between fucking faggots and being a fucking faggot."
-Anonmare

"You guys splitting the 20 bucks cost to hire your ex again?"
-lntigracy

"Wew. Congrats. It's been actual years since anyone tried to make fun of me for being divorced. You caught me, I'm tilted. Here is your trophy."
-Timbrewolf

"I prefer my coffees to run dry too *snorts a line of maxwell house*"
-Super Aggro Crag

"You don't have an evil bone in your body, unless togopal comes for a sleepover"
-Bluespace

">Paying over a $1000 for a lump of silicon and plastic
Lol"
-Anonmare

"Then why did you get that boob job?"
-DrPillzRedux

"You take that back you colonial mongrel"
-Docprofsmith

"I don't care whether or not someone with an IQ 3 standard deviations below my own thinks they enjoy Wizard rounds."
-Malkraz
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #243919

Oh man, this is gonna be fun :D

EDIT: Vomiting uncontrollably. Gimme DB access and I can write better tools.

EDIT EDIT: Or a dump. Even a CSV file. I just need _some_ data to start with!
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: ss13.eu tools on github

Post by Atlanta-Ned » #246144

I rebuilt the bio generator.

Known issues
• Lizards/Golems etc only have human skintones available to them
• There is no facial hair
• No way to save images
• No way to link back to specific images
• Setting up the code out of the box is a pain in the ass
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
Armhulen
Global Moderator
Joined: Thu Apr 28, 2016 4:30 pm
Byond Username: Armhulenn
Github Username: bazelart
Location: The Grand Tournament

Re: ss13.eu tools on github

Post by Armhulen » #246231

that's amazing, too bad i run random names

edit: A Spaceman is a bad example. you should do something like Josh Lastaname or some garbo like that.
User avatar
MrStonedOne
Host
Joined: Mon Apr 14, 2014 10:56 pm
Byond Username: MrStonedOne
Github Username: MrStonedOne

Re: ss13.eu tools on github

Post by MrStonedOne » #246325

Atlanta-Ned wrote:Oh man, this is gonna be fun :D

EDIT: Vomiting uncontrollably. Gimme DB access and I can write better tools.

EDIT EDIT: Or a dump. Even a CSV file. I just need _some_ data to start with!
Sure, come see me on irc.
Forum/Wiki Administrator, Server host, Database King, Master Coder
MrStonedOne on digg(banned), Steam, IRC, Skype Discord. (!vAKvpFcksg)
Image
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

Re: ss13.eu tools on github

Post by LiamLime » #246401

Awesome! Once you have one done, making the others should be easy.

To get images from dmis easily, you could use DMI2PNG, which I made for this purpose. Should make populating the dropdowns super easy.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #246427

MrStonedOne wrote:Sure, come see me on irc.
Will do!
LiamLime wrote:Awesome! Once you have one done, making the others should be easy.

To get images from dmis easily, you could use DMI2PNG, which I made for this purpose. Should make populating the dropdowns super easy.
DMI2PNG is actually the core of the application ^_^ already. I use it to generate the icon files from the game code, so we can stay up to date with the code. Which reminds me, I need to be generating the JSON manifest when I generate the icons.
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
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

Re: ss13.eu tools on github

Post by LiamLime » #246466

Oh no! You made the mistake of calling something 'new' :D
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
User avatar
Remie Richards
Joined: Thu Apr 17, 2014 7:11 pm
Byond Username: CrimsonVision
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Contact:

Re: ss13.eu tools on github

Post by Remie Richards » #246572

Atlanta-Ned wrote:I rebuilt the bio generator.

Known issues
• Lizards/Golems etc only have human skintones available to them
• There is no facial hair
• No way to save images
• No way to link back to specific images
• Setting up the code out of the box is a pain in the ass
should also mention that Hair renders under the clothes, which is immediately obvious for best hair (Long Hair 1, or here, by it's spritename, hair_long)
I understand why it was done, since S/E/W all work with it rendering under, but N needs it to render over.
私は完璧
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #247200

And on the third day, there was a death list similar to what Goon has.
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: ss13.eu tools on github

Post by PKPenguin321 » #247201

Atlanta-Ned wrote:And on the third day, there was a death list similar to what Goon has.
this doesn't show until after the round ends, right? it kinda shows who was antag :?
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
XDTM
Github User
Joined: Fri Mar 04, 2016 8:38 pm
Byond Username: XDTM
Github Username: XDTM
Location: XDTM

Re: ss13.eu tools on github

Post by XDTM » #247229

It tracks brain damage but not toxin damage?
a.k.a. Duke Hayka

Coder of golems, virology, hallucinations, traumas, nanites, and a bunch of miscellaneous stuff.
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #247271

PKPenguin321 wrote: this doesn't show until after the round ends, right? it kinda shows who was antag :?
Correct. I was very careful to design that query so that round-revealing information is not available.
XDTM wrote:It tracks brain damage but not toxin damage?
This is just a raw translation from the DB at the moment. There's a lot that still needs to be massaged.
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: ss13.eu tools on github

Post by Atlanta-Ned » #248079

Round reports are shaping up. Currently only the last 30 rounds are available, I still need to work on making it easier to track down a specific round. BUT, you can also poll public logs for a given round, so that's pretty cool I think :) I also found a few things that need fixing in the codebase.
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: ss13.eu tools on github

Post by Atlanta-Ned » #249736

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: ss13.eu tools on github

Post by PKPenguin321 » #249752

Could use a search bar and have the page number buttons at the bottom of the list
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
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

Re: ss13.eu tools on github

Post by LiamLime » #249885

I don't really know where to post this, but I'll be shutting down the current locations for the image generators and will move them. This means that anyone who used the "Save" function on any of the pages and continues to have it hosted on my site (either ss13.eu or liamlime.com) will need to move them somewhere else, or recreate them once I move them. The reason for the move is that I'm consolidating the things I host - at the moment everything is all over the place in a big mess.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #251359

Check out the preliminary new death image: http://imgur.com/sQKmcCB.png

Couple things:
1. Fuck robotics. The tile with the most deaths is in robotics, because lol borgs. It has something like 500 deaths. The tile with the next most deaths is around 100. This obviously throws off the scaling because numbers are hard.
2. Heatmap code is hard as shit. The previous heatmap was generated by drawing individual pixels on an image of the map with PHP. I tried rebuilding that but gave up. The new one gets all fancy with json and the canvas element. It does seem to be faster though (the only real bottleneck is the database, maybe?). As it is, I need to figure out why the map image itself is so screened back. Just to reiterate: Numbers are hard.
3. This still isn't accounting for different maps (or servers) because of #23656.
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: ss13.eu tools on github

Post by PKPenguin321 » #251559

Atlanta-Ned wrote:Check out the preliminary new death image: http://imgur.com/sQKmcCB.png

Couple things:
1. Fuck robotics. The tile with the most deaths is in robotics, because lol borgs. It has something like 500 deaths. The tile with the next most deaths is around 100. This obviously throws off the scaling because numbers are hard.
2. Heatmap code is hard as shit. The previous heatmap was generated by drawing individual pixels on an image of the map with PHP. I tried rebuilding that but gave up. The new one gets all fancy with json and the canvas element. It does seem to be faster though (the only real bottleneck is the database, maybe?). As it is, I need to figure out why the map image itself is so screened back. Just to reiterate: Numbers are hard.
3. This still isn't accounting for different maps (or servers) because of #23656.
Assuming the final version will have the outline of the station behind it or something to that effect?
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: ss13.eu tools on github

Post by Atlanta-Ned » #252906

Proof of life for month-by-month* stats: Image

* Only the last seven days FOR NOW, until I can be sure that the site can handle a month's worth of data without asplode.
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: ss13.eu tools on github

Post by Atlanta-Ned » #262975

And boom. Monthly stats, just like that.

There are bugs. Find them, report them.

Coders and up can generate stats on a month by month basis. Check under the Tools menu in the navbar. This will time out and throw a 404 error, but it's still going through.
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: ss13.eu tools on github

Post by PKPenguin321 » #262983

Atlanta-Ned wrote:And boom. Monthly stats, just like that.

There are bugs. Find them, report them.

Coders and up can generate stats on a month by month basis. Check under the Tools menu in the navbar. This will time out and throw a 404 error, but it's still going through.
oh fancy~
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
XDTM
Github User
Joined: Fri Mar 04, 2016 8:38 pm
Byond Username: XDTM
Github Username: XDTM
Location: XDTM

Re: ss13.eu tools on github

Post by XDTM » #263015

Small issue on the export section; since mineral exports are based on the materials inside rather than on the bars exported, every different amount is shown as a different export, instead of adding up.
a.k.a. Duke Hayka

Coder of golems, virology, hallucinations, traumas, nanites, and a bunch of miscellaneous stuff.
User avatar
Remie Richards
Joined: Thu Apr 17, 2014 7:11 pm
Byond Username: CrimsonVision
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Contact:

Re: ss13.eu tools on github

Post by Remie Richards » #263063

Atlanta-Ned wrote: Coders and up can generate stats on a month by month basis.
Nope, try again.
私は完璧
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #263087

XDTM wrote:Small issue on the export section; since mineral exports are based on the materials inside rather than on the bars exported, every different amount is shown as a different export, instead of adding up.
Frig. I thought I'd accounted for that.
Remie Richards wrote:
Atlanta-Ned wrote: Coders and up can generate stats on a month by month basis.
Nope, try again.
Ugh. Oh, you need to log in with the game again. Your last rank is showing as Player and someone isn't checking against the admins txt yet.
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
Remie Richards
Joined: Thu Apr 17, 2014 7:11 pm
Byond Username: CrimsonVision
Location: England, UK, Earth, Sol, Milky Way, Local Group, Virgo Supercluster, Known Universe
Contact:

Re: ss13.eu tools on github

Post by Remie Richards » #264596

Atlanta-Ned wrote:
XDTM wrote:Small issue on the export section; since mineral exports are based on the materials inside rather than on the bars exported, every different amount is shown as a different export, instead of adding up.
Frig. I thought I'd accounted for that.
Remie Richards wrote:
Atlanta-Ned wrote: Coders and up can generate stats on a month by month basis.
Nope, try again.
Ugh. Oh, you need to log in with the game again. Your last rank is showing as Player and someone isn't checking against the admins txt yet.
Pfft, ok, so it's like with the DB, gotcha.
私は完璧
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #271084

It's a Paper BB code renderer that no one asked for or knew they needed.

Let me know if you find paper code that breaks it.
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
LiamLime
Joined: Tue Aug 25, 2015 12:59 pm
Byond Username: LiamLime

Re: ss13.eu tools on github

Post by LiamLime » #271409

Nice, but it should probably have the set of available BBCode as buttons or as at least a reference.
The bureaucracy is expanding to meet the needs of the expanding bureaucracy.
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: ss13.eu tools on github

Post by PKPenguin321 » #271704

Can somebody patch up the "do admins play?" tool please it's really handy
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
Armhulen
Global Moderator
Joined: Thu Apr 28, 2016 4:30 pm
Byond Username: Armhulenn
Github Username: bazelart
Location: The Grand Tournament

Re: ss13.eu tools on github

Post by Armhulen » #271707

And the how many hours it always says i've never played
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #271994

PKPenguin321 wrote:Can somebody patch up the "do admins play?" tool please it's really handy
How does this (inconceivably slow) page work for you? https://atlantaned.space/newSS13tools/s ... ctions.php
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: ss13.eu tools on github

Post by PKPenguin321 » #272147

Atlanta-Ned wrote:
PKPenguin321 wrote:Can somebody patch up the "do admins play?" tool please it's really handy
How does this (inconceivably slow) page work for you? https://atlantaned.space/newSS13tools/s ... ctions.php
Should be good enough for now, I just like checking connections on trialmins during their review, thanks
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: ss13.eu tools on github

Post by Atlanta-Ned » #275574

The replication slave I talk to is down. Thusly, atlanta ned dot space cannot access stats.
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: ss13.eu tools on github

Post by oranges » #276266

MSO killed stats
User avatar
Atlanta-Ned
In-Game Game Master
Joined: Fri Apr 18, 2014 2:11 pm
Byond Username: Atlanta-ned

Re: ss13.eu tools on github

Post by Atlanta-Ned » #277048

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: ss13.eu tools on github

Post by Atlanta-Ned » #278082

I rebuilt the monthly stats page so now all stats for a given month get their own page. Should be much faster and more usable. TWIST: I broke all the old monthly stat links. #SorryNotSorry. I'll probably also have to go back and regenerate all the monthly stats. Probably. Not sure yet.

Stats overall are being refactored. Here's a demo.
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
Post Reply

Who is online

Users browsing this forum: No registered users