Author Topic: New Post Bot  (Read 15765 times)

0 Members and 1 Guest are viewing this topic.

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: New Post Bot
« Reply #45 on: August 04, 2013, 12:53:14 am »
I guess you're right. ;) Also for it to be true push the bot should not actively fetch the post info on the forum's call, that should be included in the message.
« Last Edit: August 04, 2013, 12:55:15 am by Streetwalker »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7918
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #46 on: September 30, 2013, 10:11:08 am »
So, the new bot with push notification is 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

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: New Post Bot
« Reply #47 on: September 30, 2013, 12:27:31 pm »
Glad to hear. It's tied to the database like the original OmnomIRC v2 bot, right? (it had to be replaced by someone's bot because OmnomIRC had to be moved to a different server)
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7918
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #48 on: September 30, 2013, 12:31:46 pm »
no, this one is even different.

I modified the smf software, when you post a new post it executes now in addition a shell script with the post information. To prevent long loading times i added &> /dev/null & which basically disables output and executes the shell script in the background, so php doesn't care about it anymore.

In the shell script i do a internal call over a port to the irc bot which listens to that port and then posts that information.


No worries, if efnet dies you can still post ;)

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 #49 on: September 30, 2013, 12:49:42 pm »
Sounds pretty cool ! :D Since when is it up ?

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7918
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #50 on: September 30, 2013, 12:50:54 pm »
since like 3 houres :)

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

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: New Post Bot
« Reply #51 on: November 01, 2013, 10:14:40 pm »
Ok so yeah, just to confirm, the new post bot doesn't work anymore when we post using Tapatalk. D:
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Streetwalrus

  • LV12 Extreme Poster (Next: 5000)
  • ************
  • Posts: 3821
  • Rating: +80/-8
    • View Profile
Re: New Post Bot
« Reply #52 on: November 02, 2013, 03:52:47 am »
Yeah, I'm helping Soru to debug it. ;)

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7918
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #53 on: November 02, 2013, 04:18:47 am »
The hard part is that i can't test it myself because i don't have tapatalk <_<

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:
« Reply #54 on: November 02, 2013, 04:31:03 am »
OK so THE TEST
Edit : This was a Tapatalk post to test. It looks like it's working now. :D
« Last Edit: November 02, 2013, 04:32:48 am by Streetwalker »

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7918
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #55 on: November 02, 2013, 04:33:33 am »
* Sorunome lost

So yeah, basically the problem was that tapatalk uses its own function to add posts to the database and I only modified the SMF one to push notifications :)

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 #56 on: November 02, 2013, 04:34:13 am »

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: New Post Bot
« Reply #57 on: November 05, 2013, 03:08:49 am »
Bug with new post parsing:

[03:05:47]   *   Omnom post by say in Mockups please http://ourl.ca/12844/311972

When I tried posting in http://ourl.ca/15441 , this is what happened.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify

Offline Sorunome

  • Fox Fox Fox Fox Fox Fox Fox!
  • Support Staff
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 7918
  • Rating: +374/-13
  • Derpy Hooves
    • View Profile
    • My website! (You might lose the game)
Re: New Post Bot
« Reply #58 on: November 05, 2013, 05:26:53 am »
Bug with new post parsing:

[03:05:47]   *   Omnom post by say in Mockups please http://ourl.ca/12844/311972

When I tried posting in http://ourl.ca/15441 , this is what happened.
did you use tapatalk or the real website?

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

Offline DJ Omnimaga

  • Former TI programmer
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55847
  • Rating: +3151/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • DJ Omnimaga Music
Re: Re: New Post Bot
« Reply #59 on: November 05, 2013, 10:25:43 am »
The site is real?? O.O

Just kidding, I used the website.
In case you are wondering where I went, I left Omni back in 2015 to form CodeWalrus due to various reasons explained back then, but I stopped calc dev in 2016 and am now mostly active on the CW Discord server at https://discord.gg/cuZcfcF



Official Website |T-Shirt store | Reverbnation | Facebook | Youtube | Twitter | Spotify