This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
1lann's profile picture

2012 London Olympic Games Scoreboard [HTTP] - Now for computers!

Started by 1lann, 04 August 2012 - 12:49 PM
1lann #1
Posted 04 August 2012 - 02:49 PM
For Computers:
As you probs know, my olympic scoreboard for monitors was featured on reddit thanks to dan200! ;)/>/>. This gave me motivation to make one that fits on a computer screen. It also has scrolling!

For monitors:
Hello there! I was bored one night so I decided to make an Olympic games scoreboard. It displays the top number of countries you specify (In the header of the program as noObjects. By default it's set to 25, perfect for a 5 tall monitor). Yes, this is the IRL Olympic games I'm talking about. It downloads the information from: http://www.london201...ls/medal-count/
and it updates every 5 mins. Feel free to use and modify my program, however please give me credit for it :P/>/>



Also, here's a picture of it working and can be found on this server right out of spawn
ccnet.ddns.me:25564

Spoiler




IMPORTANT INFO:
THE MONITOR VERSION CAN ONLY BE USED ON A 8 WIDE MONITOR. BOTH REQUIRES THE HTTP API.
The side of the monitor can ofc be configured at the header of the program
The number of top countries shown can be modified in the header of the program (noObjects) <– Monitors only

COMPUTER DOWNLOAD LINK: http://pastebin.com/T2tmQaHP
MONITOR DOWNLOAD LINK: http://pastebin.com/09iETYDP


Constructive criticism and feedback are highly appreciated. Also please post any flaws/bugs/problems you find.

Enjoy!
Edited on 10 August 2012 - 04:22 AM
Xhisor #2
Posted 04 August 2012 - 03:06 PM
Looks awesome, great way to keep track while you're by the computer! :P/>/>
Israphel1297 #3
Posted 05 August 2012 - 01:03 AM
hello I did everything exactly the same and when i went to use the program it said this
olympics.txt:136: attempt to index ? (a nil value)
how do I fix this?
MysticT #4
Posted 05 August 2012 - 01:18 AM
hello I did everything exactly the same and when i went to use the program it said this
olympics.txt:136: attempt to index ? (a nil value)
how do I fix this?
You need to enable the http api in the config. If it's a server, the owner needs to enable it.
Israphel1297 #5
Posted 08 August 2012 - 01:18 PM
how do I do that?
Cloudy #6
Posted 08 August 2012 - 06:53 PM
Just so you know - you're currently on the top of /r/minecraft :-)

http://www.reddit.com/r/Minecraft/comments/xvnv1/who_needs_the_tv_coverage/
justync7 #7
Posted 09 August 2012 - 12:07 AM
OMG 1lann!! You made it to the top of r/minecraft!! Congratulations you just won a game called life ;)/>/>
FuzzyPurp #8
Posted 10 August 2012 - 03:43 AM
This is hot
Mendax #9
Posted 10 August 2012 - 07:31 AM
Ew. Olympics