Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --width = 532 on 1600 x 900 display
- messages = {[1]="640K ought to be enough for anybody",
- [2]="the architects are still drafting",
- [3]="the bits are breeding",
- [4]="it's still faster than you could draw it",
- [5]="would you prefer chicken, steak, or tofu?",
- [6]="pay no attention to the man behind the curtain",
- [7]="and enjoy the elevator music",
- [8]="the bits are flowing slowly today",
- [9]="a few bits tried to escape, but we caught them",
- [10]="and dream of faster computers",
- [11]="would you like fries with that?",
- [12]="checking the gravitational constant in your locale",
- [13]="go ahead -- hold your breath",
- [14]="at least you're not on hold",
- [15]="hum something loud while others stare",
- [16]="you're not in Kansas any more",
- [17]="the server is powered by a lemon and two electrodes",
- [18]="we love you just the way you are",
- [19]="while a larger software vendor in Seattle takes over the world",
- [20]="we're testing your patience",
- [21]="as if you had any other choice",
- [22]="why don't you order a sandwich?",
- [23]="don't think of purple hippos",
- [24]="loading useless information ",
- [25]="loading velious textures ",
- [26]="does anyone read this ",
- [27]="oiling clockworks ",
- [28]="looking For Graphics",
- [29]="creating randomly generated feature",
- [30]="randomly misspelled text ",
- [31]="loading, don't wait if you don't want to ",
- [32]="don't think of purple hippos",
- [33]="discombobulating the server",
- [34]="deleting system32"
- }
- bridge = peripheral.wrap("left")
- local function loadbar()
- liquid = bridge.addLiquid(4,12,1,6,"cryotheum")
- for i = 1, 262 do
- liquid.setWidth(i * 2)
- sleep(0.05)
- if i == 200 then
- if fs.exists(".itemdb") then
- fs.delete(".itemdb")
- end
- stored = {}
- response = http.post("http://www.ccpost.esy.es/ae/getdb.php", "HELLL NAH")
- resp = response.readAll()
- for item in resp:gmatch('[^%|]+') do
- for id in item:gmatch('[^%:]+') do
- if id:find("~") then
- for article in id:gmatch('[^%~]+') do
- dmg = name
- name = article
- end
- else
- itemid = id
- end
- end
- print(itemid.." : "..dmg.." : "..name)
- table.insert(stored, {id=itemid,dmg=dmg,name=name})
- local handle = assert(fs.open(".itemdb", "w"), "Couldn't save vars")
- handle.write(textutils.serialize(stored))
- handle.close()
- end
- end
- end
- end
- local function message()
- while true do
- message = messages[math.random(1,#messages)]
- messagetext.setText("Please wait ... "..message)
- sleep(3)
- end
- end
- bridge.clear()
- loadingtop = bridge.addBox(2,10,528,2,0x00CCFF,0.5)
- loadingbot = bridge.addBox(2,18,528,2,0x00CCFF,0.5)
- loadingleft = bridge.addBox(2,12,2,6,0x00CCFF,0.5)
- loadingright = bridge.addBox(528,12,2,6,0x00CCFF,0.5)
- messagetext = bridge.addText(10,25,"Please wait...",0xFF0000)
- glasses = bridge.addIcon(0,-150,5311,0)
- glasses.setScale(33.4)
- parallel.waitForAny(message, loadbar)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement