PrisonNET: A website for sharing prisons

(previously 'DEVELOPER') Private forum for registered community members. To register, please visit www.prison-architect.com/register.

Moderator: NBJeff

lukegb
level1
level1
Posts: 30
Joined: Tue Nov 22, 2011 11:26 pm

PrisonNET: A website for sharing prisons

Postby lukegb » Sat Oct 06, 2012 4:13 am

HEAD OVER TO OUR NEW THREAD HERE: PRISON EXCHANGE!


Greetings!

I bring news of my new website named PrisonNET!

http://prisonnet.lukegb.com

PrisonNET allows you to upload your .prison files and share them with other users. It provides thumbnails of what the map looks like (ish - thumbnail generation is improving), as well as displaying basic information about the map itself.

If you have any feedback (suggestions for a better name and offers to do some translation are very welcome), please post it in this thread, tweet it to me (@lukegb) or email me at prisonnet@lukegb.com

Thanks (and enjoy!),
lukegb
Last edited by lukegb on Thu Nov 01, 2012 5:27 pm, edited 1 time in total.
Guvnor
level2
level2
Posts: 80
Joined: Wed Oct 03, 2012 5:26 pm
Location: Wisconsin

Postby Guvnor » Sat Oct 06, 2012 6:26 am

Hi Luke,

Your website looks cool. I uploaded a large prison. It seems to be taking a while to generate the map.

Guvnor
lukegb
level1
level1
Posts: 30
Joined: Tue Nov 22, 2011 11:26 pm

Postby lukegb » Sat Oct 06, 2012 10:22 am

Yay, a large prison. I forgot I'd only tested with small/medium ones. The image generator is, predictably, trying to allocate too much memory and crashing.

Fix coming soon :oops:
Luzal
level1
level1
Posts: 12
Joined: Wed Sep 26, 2012 5:30 pm

Postby Luzal » Sat Oct 06, 2012 10:35 am

Great idea !

Don't worry about the bugs, I think we're all used to alpha software :D
iisjreg
level0
Posts: 3
Joined: Sat Sep 29, 2012 7:08 pm

Postby iisjreg » Sat Oct 06, 2012 10:43 am

I like it. Well done.
amdavies
level1
level1
Posts: 10
Joined: Wed Sep 26, 2012 4:02 pm
Location: United Kingdom

Postby amdavies » Sat Oct 06, 2012 10:55 am

lukegb wrote:Yay, a large prison. I forgot I'd only tested with small/medium ones. The image generator is, predictably, trying to allocate too much memory and crashing.

Fix coming soon :oops:
Just uploaded a large one to test your parser, as I'm having a similar issue with mine where it just explodes on large prisons. can process a small one in ~2secs but a large one is well over a minute and crashes :(
lukegb
level1
level1
Posts: 30
Joined: Tue Nov 22, 2011 11:26 pm

Postby lukegb » Sat Oct 06, 2012 10:59 am

Image generation is disabled temporarily while I fix some issues with it. It'll catch up again when it's reenabled.

EDIT: reenabled.
User avatar
0235
level1
level1
Posts: 13
Joined: Sun Nov 22, 2009 2:55 pm

Postby 0235 » Sat Oct 06, 2012 9:25 pm

wow! amazing! the autogenerated (i hope) screenshot really helps! fantastic work :)
User avatar
frasercarter
level1
level1
Posts: 68
Joined: Mon Oct 01, 2012 1:04 pm
Location: Sydney, OZTRALIA MOITE

Postby frasercarter » Thu Oct 11, 2012 4:47 am

Server 505 error today, have not been able to upload.
User avatar
gsuberland
level2
level2
Posts: 161
Joined: Wed Sep 26, 2012 7:29 pm
Location: United Kingdom
Contact:

Postby gsuberland » Thu Oct 11, 2012 8:25 am

Just a quick note: the in-game time field is in minutes. It's quite easy to convert to a human readable timestamp:

Code: Select all

<?php

function getRealMapTime($raw)
{
    // seconds are derived from the decimal part, so $raw - floor($raw) gives us that
    $seconds = floor(($raw - floor($raw)) * 60);
    $raw = (int)floor($raw); // need an integer for the rest of the calculations
    $minutes = $raw % 60;
    $raw -= $minutes;
    $raw /= 60;
    $hours = $raw % 24;
    $raw -= $hours;
    $raw /= 24;
    $day = floor($raw);

    return "Day {$day}, " . sprintf("%02d:%02d:%02d", $hours, $minutes, $seconds);
}
?>


So, for map time = 3721.44, we get "Day 12, 02:01:26". For map time = 177024.66, we get "Day 122, 22:24:39".
rsdworker
level3
level3
Posts: 262
Joined: Sun Sep 30, 2012 2:36 pm

Postby rsdworker » Fri Oct 12, 2012 10:08 pm

i having issues with prison net upload so someone needs look at it
i getting error 500 when i try upload
lukegb
level1
level1
Posts: 30
Joined: Tue Nov 22, 2011 11:26 pm

Postby lukegb » Sat Oct 13, 2012 12:36 am

Currently working on adding new features and making it more reliable, so it'll be down for the moment while jelco and I work on something.
Lifes
level1
level1
Posts: 11
Joined: Thu Oct 11, 2012 10:11 am
Location: Above you.

Postby Lifes » Sun Oct 14, 2012 12:24 pm

I like the idea. Thumbnails aren't working.

More people need to know about it
rsdworker
level3
level3
Posts: 262
Joined: Sun Sep 30, 2012 2:36 pm

Postby rsdworker » Sun Oct 14, 2012 12:53 pm

lukegb wrote:Currently working on adding new features and making it more reliable, so it'll be down for the moment while jelco and I work on something.


oh cool so let me know
rsdworker
level3
level3
Posts: 262
Joined: Sun Sep 30, 2012 2:36 pm

Postby rsdworker » Wed Oct 31, 2012 7:03 pm

just checking if its has sorted because i have no where to post my creations

Return to “Community Members”

Who is online

Users browsing this forum: No registered users and 8 guests