ULX

Author Topic: [SVN] ULX Fortune  (Read 6651 times)

0 Members and 1 Guest are viewing this topic.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
[SVN] ULX Fortune
« on: January 16, 2010, 01:00:30 PM »
ULX Fortune
by Nicholas "Lavacano" O'Connor

Echo amusing little fortunes into your server's chat.

Download:


Requirements
- Half a brain
- SVN ULX
- A *NIX based web server (WINDOWS BASED WILL *NOT* WORK) with Python installed
- - You will also need to have CGI capability, if you don't know, contact your host

You May Also Need
- Shell access to your web server

Instructions are enclosed in the README.txt file.

FAQ (or, "I know you're about to ask this!")

What is this?!
This is a fun little script, for the lulz. Y'know?

Why do I have to upload something to a website?
Because GMod doesn't have a way to execute things and return the output into Lua. Also, since 95% of GMod servers are on Windows, they also lack fortune anyway.

Why can't I use YOUR webserver, huh?
Because my webserver doesn't have the firepower to cater to a half-ton of servers, even for something as minor as this. And if one of the major communities are using my site, say hello to everyone's end bombing out!

What free webhosts can I upload this to and have it work on?
Far as I'm aware, none. Feel free to correct me if you've got one.

Can I host the CGI script for the public?
Sure, be my guest.
Circle reasoning works because circle reasoning works because...

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: [SVN] ULX Fortune
« Reply #1 on: January 16, 2010, 01:32:39 PM »
Wow. Just... wow. Being a PC geek and all around code scripting generalist, I understand everything this does; but there's one drawback. 99% of ULX users won't know how to use it.
Great work for the laughs, I'd love to see a way to get 5% more of the ULX "I clicked this and now it's installed" crowd to be able to have fun quotes.

* JamminR stands back and waits for the users who don't know how to edit settings/users.txt to start asking how to use it.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: [SVN] ULX Fortune
« Reply #2 on: January 16, 2010, 06:56:29 PM »
I'd be more than happy to host the script. I converted it to php, but you can find it here -- http://ulyssesmod.net/fortune.php

If it uses more than 8 TB of bandwidth a month, there might be a problem... but until then I think the server can handle it. :)
Experiencing God's grace one day at a time.

Offline lavacano201014

  • Jr. Member
  • **
  • Posts: 83
  • Karma: 9
  • Archbishop of Cristina Scabbia worship
Re: [SVN] ULX Fortune
« Reply #3 on: January 17, 2010, 04:20:07 PM »
I'd be more than happy to host the script. I converted it to php, but you can find it here -- http://ulyssesmod.net/fortune.php

If it uses more than 8 TB of bandwidth a month, there might be a problem... but until then I think the server can handle it. :)

Ooh! Coolio! I'll update the download soon as I can figure out where my working copy went. I also doubt you'll hit 8 TB of bandwidth a month unless some minges figure out how to spam it 10 times a minute on, I don't know, 1,000 servers?
Circle reasoning works because circle reasoning works because...