Jump to content




[Relaunched] [1.12.2] SwitchCraft [Survival] [Krist] [CC:Tweaked1.80pr4] [GriefPrevention]


166 replies to this topic

#141 HydroNitrogen

  • Members
  • 55 posts

Posted 19 April 2018 - 06:51 PM

View PostCrazedProgrammer, on 13 April 2018 - 10:21 PM, said:

Stunning timelapse of the spawn city :D/>
Posted Image

Nice!

#142 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 23 April 2018 - 09:07 PM

So whilst this isn't technically anything to do with gameplay, I thought I'd show off some screenshots of some work work we've been doing on ComputerCraft monitoring tools for the server:

Posted Image

I've recently extended the information gathered by CC:Tweaked's profiler, which is then extracted by a separate mod, exported to Prometheus and then plotted. Whilst all this information is available within the game, it's awfully nice to see it see it in this sort of form.

If you're interested, you can see the full dashboard. The source is currently available if people want to peruse it, but there's still some work I want to do before making an "official" release.

#143 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 24 April 2018 - 03:13 AM

That's pretty cool! By the way, is there any system (be it in that dashboard, CC itself, or CC Tweaked) that tracks yield failures per system? It strikes me that really the ID and location of a system could really stand to go into the server logs every time it happens.

#144 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 24 April 2018 - 09:37 AM

View PostBomb Bloke, on 24 April 2018 - 03:13 AM, said:

That's pretty cool! By the way, is there any system (be it in that dashboard, CC itself, or CC Tweaked) that tracks yield failures per system? It strikes me that really the ID and location of a system could really stand to go into the server logs every time it happens.
I've added support for logging when a computer is forcibly terminated (rather than just erroring with "Too long without yielding"), as this means there's a larger problem then a mis-behaving computer.

I'm less sure about reporting "Too long without yielding" errors, as that could get a little spammy. That being said, the in-game commands will report the maximum time a computer has run for without yielding, which means you can easily find computers which are doing an inordinate amount of work. It's possibly worth noting that CC:T does allow running computers across multiple threads, which does mean that one problematic computer is less likely to mess with other people's computers.

Edited by SquidDev, 24 April 2018 - 09:38 AM.


#145 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 25 April 2018 - 01:01 AM

The scenario I've got in mind is where a user configures a system to automatically trip yield protection over and over - I assume that's still possible without having the whole computer shutting down.

I was a little confused by the task times - the read out states they're "totals", but reading the actual values in the list, surely they're way too low for that? Is it supposed to read "maximums"? What exactly are "tasks"?

#146 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 25 April 2018 - 08:41 AM

View PostBomb Bloke, on 25 April 2018 - 01:01 AM, said:

The scenario I've got in mind is where a user configures a system to automatically trip yield protection over and over - I assume that's still possible without having the whole computer shutting down.
Hrrm, that would definitely be possible - one would just report every time a task takes more than a threshold (7 seconds). I'd have to think about how to report it, but I can definitely add it to the todo list.

View PostBomb Bloke, on 25 April 2018 - 01:01 AM, said:

I was a little confused by the task times - the read out states they're "totals", but reading the actual values in the list, surely they're way too low for that? Is it supposed to read "maximums"? What exactly are "tasks"?
A "task" is basically any operation performed on a computer. Namely turning it on or off, or handling an event. I'm not entirely sure how Yemmel is deriving that data from the reported info, so I'd have to get back to you on why the numbers are so small. Even if a computer is doing nothing, you'd still expect an event to take about 0.5ms. For reference, these are the sort of numbers I get in-game for active usage of a computer:

Posted Image

#147 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 26 April 2018 - 02:46 AM

Ah, I see the site display is supposed to be a "one minute average" - I guess the low figures make a bit more sense now.

#148 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 04 July 2018 - 07:53 PM

Posted Image

I can see this ageing well. In all seriousness, I'm incredibly impressed by Computronics here. We're using its speakers (which you can see at the bottom) and it's able to blast out an awful lot of music with very little lag.

Edited by SquidDev, 04 July 2018 - 07:54 PM.


#149 Quartz101

  • Members
  • 141 posts
  • Location/dev/nvme0n1

Posted 06 July 2018 - 03:23 AM

View PostSquidDev, on 04 July 2018 - 07:53 PM, said:

Posted Image

I can see this ageing well. In all seriousness, I'm incredibly impressed by Computronics here. We're using its speakers (which you can see at the bottom) and it's able to blast out an awful lot of music with very little lag.

Yeah but oof owie my ears

#150 CrazedProgrammer

  • Members
  • 495 posts
  • LocationWageningen, The Netherlands

Posted 12 July 2018 - 04:21 PM

Posted Image
Switch City has become huge! Taking a tour around the map is amazing. Especially the post-medieval themed buildings and paths on the right.

#151 CLNinja

  • Members
  • 191 posts

Posted 13 July 2018 - 01:20 AM

View PostCrazedProgrammer, on 12 July 2018 - 04:21 PM, said:

Posted Image
Switch City has become huge! Taking a tour around the map is amazing. Especially the post-medieval themed buildings and paths on the right.

While it's grown a ton, I think someone's trying to clone Reich Tower!

Posted Image

Posted Image

#152 HydroNitrogen

  • Members
  • 55 posts

Posted 14 July 2018 - 10:36 PM

Commerce, services, trading, selling, buying, earning, creating... Everything is always about getting bigger and expanding.

Not today!

We're going small this time, I'm replicating my WOLF MALL in opencomputers' 3D prints! How cute!


Posted Image

Up: the 3D print W.I.P.
Below: The actual WOLF MALL and the WOLF COMPLEX.


Posted Image


Don't forget to stop by /warp wolfmall for all your needs!
Free ender pearls, free cake, free enchanting, free nether portals, free shop spots, free office space, free server rooms and free apartments!
Or buy the goods you need in one of the 19 competing shops! Low prices, high quality, all at Wolf Mall!

For free office spacing, server rooms and apartments, contact HydroNitrogen (by /mail or on the SC Discord)


#153 CLNinja

  • Members
  • 191 posts

Posted 15 July 2018 - 06:57 AM

View PostHydroNitrogen, on 14 July 2018 - 10:36 PM, said:


I'm replicating my WOLF MALL in opencomputers' 3D prints! How cute!

Posted Image

Up: the 3D print W.I.P.


Are we able to order those for commission from someone? I might want one made soon.

#154 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 15 July 2018 - 08:52 AM

One of these days I'll have to check out how OpenComputers stores those things. If it happens to be done within NBT tags, then I suppose that WorldPorter or WorldEdit could be rigged to construct them out of building scans.

#155 HydroNitrogen

  • Members
  • 55 posts

Posted 15 July 2018 - 11:53 PM

View PostBomb Bloke, on 15 July 2018 - 08:52 AM, said:

One of these days I'll have to check out how OpenComputers stores those things. If it happens to be done within NBT tags, then I suppose that WorldPorter or WorldEdit could be rigged to construct them out of building scans.

Actually, that could happen entirely INGAME! Using Plethora's block scanner you get a table of the blocks arround you when scanning with it, and the data to send to the 3D Printer is literally a table of cubes with texture strings, colours and some other properties!

#156 CLNinja

  • Members
  • 191 posts

Posted 15 July 2018 - 11:53 PM

View PostBomb Bloke, on 15 July 2018 - 08:52 AM, said:

One of these days I'll have to check out how OpenComputers stores those things. If it happens to be done within NBT tags, then I suppose that WorldPorter or WorldEdit could be rigged to construct them out of building scans.
I know that OpenComputers uses a print3d specific format to print them. It'd probably be relatively easy to parse a schematic file from Worldedit or MCEdit to do it.
Edit: the format is called 3dm

Edited by CLNinja, 16 July 2018 - 12:00 AM.


#157 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 16 July 2018 - 01:54 AM

View PostHydroNitrogen, on 15 July 2018 - 11:53 PM, said:

Actually, that could happen entirely INGAME!

Well yeah, that'd be why I linked to two ComputerCraft scripts. Those aren't external tools. ;)

Obviously they could be rigged to create schematics for OC to process, but I was thinking along the lines of bypassing the printer altogether - literally allowing a Command Computer script to construct 3D objects directly. (Edit: Well, smaller 3D objects. They already do full-sized ones just fine.)

This may not be possible if the 3D data isn't in NBT, though. For example, regular maps store their image data inside gzips buried within your world save - which is why mapArt has to place a ton of blocks in order to "draw" on them, and is also why I'm not using them as flat-screen terminal objects (I was rather disappointed when I discovered I couldn't).

Edited by Bomb Bloke, 16 July 2018 - 02:02 AM.


#158 HydroNitrogen

  • Members
  • 55 posts

Posted 19 July 2018 - 08:47 AM

Hey guys,
I'm selling my island!
It's up for auction, place your bids!
https://market.switc...peaceful-island
Posted Image
Posted Image
Posted Image
Posted Image

Edited by HydroNitrogen, 19 July 2018 - 08:49 AM.


#159 CLNinja

  • Members
  • 191 posts

Posted 20 July 2018 - 09:33 PM

View PostHydroNitrogen, on 19 July 2018 - 08:47 AM, said:

Hey guys,
I'm selling my island!
It's up for auction, place your bids!
https://market.switc...peaceful-island
%20https://media.energetic.pw/2ByOBDYB.jpg
Posted Image
Posted Image
Posted Image
I may just take that. It'd be a perfect getaway house from my massive land plot.

#160 Joseph Stalin

  • Members
  • 5 posts
  • LocationSoviet Russia

Posted 26 July 2018 - 11:32 AM

I be of enacting communism in this wretched hive of capitalist swine!





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users