Author Topic: New Post Bot  (Read 32437 times)

0 Members and 1 Guest are viewing this topic.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #15 on: June 18, 2013, 03:57:04 am »
Did the admins already put the script online to auto-clear the cache every now and then? They said that it'll prolly speed omni up >.>

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: New Post Bot
« Reply #16 on: June 18, 2013, 02:42:54 pm »
I don't think so. You might want to email their e-mail address to make sure.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: New Post Bot
« Reply #17 on: June 21, 2013, 09:01:08 pm »
And the bot is down again. It might be due to how slow Omni ran an hour ago or so.
it is only omnis fault if it posts in the irc channel once every 3 seconds "I died, hope that sorunome sees the bug and fixes it" or something like that, am restarting it, and this thing is a PITA
EDIT: I can't even look into the log file what the mistake is because I had to disable it as the log file grew too big and the bot crached due to no hdd space >.<
Add log rotating/trimming :)
Did the admins already put the script online to auto-clear the cache every now and then? They said that it'll prolly speed omni up >.>
That was done a while ago. There are speed increases due to it. Any slowdown is either google indexing the site or something else like that.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: New Post Bot
« Reply #18 on: June 21, 2013, 09:19:56 pm »
Last night apparently it was a Chinese search engine that did it. But Geekboy seemed unable to ban it (I think the IP range was just too big)
« Last Edit: June 21, 2013, 09:41:49 pm by DJ Omnimaga »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: New Post Bot
« Reply #19 on: June 21, 2013, 09:21:59 pm »
Last night apparently it was a Chinest search engine that did it. But Geekboy seemed unable to ban it (I think the IP range was just too big)
Again? We've banned it's ip's multiple times before :/
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: New Post Bot
« Reply #20 on: July 27, 2013, 02:43:09 am »
It's down again since the past few hours D:
Last night apparently it was a Chinest search engine that did it. But Geekboy seemed unable to ban it (I think the IP range was just too big)
Again? We've banned it's ip's multiple times before :/
It probably changed IPs or something
« Last Edit: July 27, 2013, 02:43:27 am by DJ Omnimaga »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #21 on: July 27, 2013, 05:51:18 am »
It's down again since the past few hours D:
That's why I made this topic: http://ourl.ca/19286
« Last Edit: July 27, 2013, 06:29:01 am by Sorunome »

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: Re: New Post Bot
« Reply #22 on: July 27, 2013, 11:59:50 am »
It's down again since the past few hours D:
That's why I made this topic: http://ourl.ca/19286
oh I missed the post bot part of that topic and thought you were talking about OmnomIRC yesterday. Probably due to being on my phone. My bad x.x

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #23 on: July 28, 2013, 11:32:44 am »
So yeah, the bot is back up :D

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: New Post Bot
« Reply #24 on: July 28, 2013, 01:58:32 pm »
Good to hear :). Was the problem really what you thought or was another cause found?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #25 on: July 28, 2013, 02:21:08 pm »
(posting for if anypony else finds this and is desperatley searching for the solution)
check here: http://ourl.ca/19286/355767

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: New Post Bot
« Reply #26 on: July 30, 2013, 01:11:31 pm »
So I suggested this :
Quote from: #omnimaga
19:07 < Streetwal> also isn't it possible to make omnom use some kind of push system ?
19:07 <@Sorunome> but that would require programming :P
19:07 < Streetwal> like an smf mod that sends it a notification when somepony posts
19:08 < Streetwal> and then it sends a message to irc
19:08 <@Sorunome> but that would require programming :P
19:09 < Streetwal> that'd reduce the load on omni's server a bit and also fix the skip when two ponies posts in a 5secs interval

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: Re: New Post Bot
« Reply #27 on: August 02, 2013, 12:23:46 pm »
It used to work similarly, so when someone posted, the board sent a notification to the bot. However, it only worked if OmnomIRC was hosted on the same server as Omnimaga, which is no longer possible without upgrading to 32 cores and 512 GB of RAM.

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7920
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #28 on: August 02, 2013, 12:34:54 pm »
Wait, that means it wasn't an IRC bot back then? Because running an IRC bot on the server is still possible :) But i heard that that checking server-side somehow nommed tons of CPU ???

THE GAME
Also, check out my website
If OmnomIRC is screwed up, blame me!
Click here to give me an internet!

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: New Post Bot
« Reply #29 on: August 02, 2013, 01:45:15 pm »
Wait, that means it wasn't an IRC bot back then? Because running an IRC bot on the server is still possible :) But i heard that that checking server-side somehow nommed tons of CPU ???
My suggestion was to send a notification from within whatever PHP script adds a post to the DB. That way it's CPU friendly. ;)