Author Topic: Trivia Bot by Joe[e2]  (Read 13789 times)

0 Members and 1 Guest are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Trivia Bot by Joe[e2]
« on: December 22, 2005, 11:49:20 pm »
Applying finishing touches.

Notes
There is no chat interface. Its simply six labelboxes and a bunch of menus.
It's based heavily off of JBBE (mostly copy and paste).

Features
External commands to start and stop trivia
You're able to specify what question file to use, so you can have more than one
Questions are all stored in RAM, so there will be no hard-drive interaction, unless the questions get paged for some reason
Colorful user interface! Woo!
« Last Edit: December 22, 2005, 11:50:51 pm by Joe[e2] »
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #1 on: December 23, 2005, 12:09:13 am »
Warrior flooded him off. =(
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Trivia Bot by Joe[e2]
« Reply #2 on: December 23, 2005, 12:55:15 am »
unless the questions get paged for some reason

...
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline FrOzeN

  • Newbie
  • *
  • Posts: 17
  • ?
    • View Profile
    • Clan AnThRaX
Re: Trivia Bot by Joe[e2]
« Reply #3 on: December 23, 2005, 07:03:32 am »
It has a colourful interface, though, you can't chat with it? Ok, then. ???

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #4 on: December 23, 2005, 02:17:32 pm »
Its six label boxes, three to describe the other three, which show you your connection status, current channel, and trivia status.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Trivia Bot by Joe[e2]
« Reply #5 on: December 23, 2005, 02:28:25 pm »
Make it run as a windows service, and take away the form!
And like a fool I believed myself, and thought I was somebody else...

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #6 on: December 23, 2005, 05:28:08 pm »
Port svchost.h
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Trivia Bot by Joe[e2]
« Reply #7 on: December 23, 2005, 05:58:23 pm »
Port svchost.h

I don't think it'd be possible to port (VB files don't compile the same way and don't export functions), but you could write an ActiveX DLL and then use Skywing's service host to call your VB program from COM.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #8 on: December 23, 2005, 06:09:10 pm »
Changes
In place of adding a queue, I've decided to bump the timer delay up a second, to 6000ms.
Commands have been renamed to tbstart and tbstop.
Commands tbkill and tbver have been added, and are hardcoded to only allow Joe[e2] and InsaneJoey[e2] to access them.

Enjoy!
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Blaze

  • x86
  • Hero Member
  • *****
  • Posts: 7136
  • Canadian
    • View Profile
    • Maide
Re: Trivia Bot by Joe[e2]
« Reply #9 on: December 23, 2005, 07:07:54 pm »
Commands tbkill and tbver have been added, and are hardcoded to only allow Joe[e2] and InsaneJoey[e2] to access them.
That seems pretty useless, other then to know that you have power over everything...
And like a fool I believed myself, and thought I was somebody else...

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #10 on: December 24, 2005, 01:38:34 am »
Yeah, but of course, it could be used maliciously or something (I don't know how though =p).

Thanks to whoever removed those last posts.

Changes
Added score system.
Handling 0x00.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline wires

  • Pwnage
  • x86
  • Hero Member
  • *****
  • Posts: 1103
  • cocaine is fun!
    • View Profile
    • Weapon Of Mass Destruction
Re: Trivia Bot by Joe[e2]
« Reply #11 on: December 24, 2005, 09:14:45 am »
Commands tbkill and tbver have been added, and are hardcoded to only allow Joe[e2] and InsaneJoey[e2] to access them.
That seems pretty useless, other then to know that you have power over everything...
Joe IS a power freak. :/

Offline Mythix

  • The Dude
  • x86
  • Hero Member
  • *****
  • Posts: 1569
  • Victory
    • View Profile
    • Dark-Wire
Re: Trivia Bot by Joe[e2]
« Reply #12 on: December 24, 2005, 09:27:19 am »
I'd rather use ryans version then. I dont need no hodge trying to haxor my leet trivia program.
Philosophy, n. A route of many roads leading from nowhere to nothing.

- Ambrose Bierce


Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #13 on: December 24, 2005, 05:47:16 pm »
I implemented those commands because Stealth has those in StealthBot. Why don't you all go bitch at him?
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Trivia Bot by Joe[e2]
« Reply #14 on: December 24, 2005, 06:19:18 pm »
Then you should love me too! =)

Changes
Changed the form backcolor to grey, because the current backcolor doesn't look very good with green text on it.
Added a chatting interface. Its not pretty, but it works.
I'd personally do as Joe suggests

You might be right about that, Joe.