ComputerCraft Forums

ComputerCraft => Programs => Portable Programs => Topic started by: osmarks on Aug 13, 2018, 07:30 AM

Title: Switchcraft TPS Overlay
Post by: osmarks on Aug 13, 2018, 07:30 AM
pastebin get VuvEsQaT tps (https://pastebin.com/VuvEsQaT)

This displays a live (updating once per second) TPS indicator on your overlay glasses, but only on SwitchCraft.
switchcraft.tps() makes a HTTP request, so this may in fact negatively affect TPS a bit (if there's a better way, someone please show me it).
Title: Switchcraft TPS Overlay
Post by: Lignum on Aug 15, 2018, 10:25 AM
I don't think you linked the right program.

Quote from: osmarks on Aug 13, 2018, 07:30 AMswitchcraft.tps() makes a HTTP request, so this may in fact negatively affect TPS a bit (if there's a better way, someone please show me it).
It's a local HTTP request, it won't.
Title: Switchcraft TPS Overlay
Post by: osmarks on Aug 15, 2018, 05:06 PM
Quote from: Lignum on Aug 15, 2018, 10:25 AMI don't think you linked the right program.

Quote from: osmarks on Aug 13, 2018, 07:30 AMswitchcraft.tps() makes a HTTP request, so this may in fact negatively affect TPS a bit (if there's a better way, someone please show me it).
It's a local HTTP request, it won't.
Good catch, fixed the link.