people playing: 99, servers online: 33, games played: 142,000,000 Top Player: Penguin

  Toribash Community » Toribash » Mods » Third party
Reply
 
Thread Tools Display Modes
Old Jan 7, 2018   #1
Hisoka
NON-EXISTING!
 
Master Belt
Join Date: Nov 2011
Posts: 3,869



[REL] Python-Bot PushNotification for Globals
WORKING

Hey TB community
While I was doing my shady stuff on the forum I've noticed many Events require in-game presence at the right time. (no shit Sherlock)

That means you must join an in-game room when the ES is hosting that event.

What happens when an ES is hosting? Usually, before starting the event those friendly guys send an in-game broadcast also known as globals.

Well ok, but what happens if you're not in-game at that time? You lose the event hehehe that's what happens

Pretty sad huh?

That's why i've made this little Python bot

What does the bot do?

Let's start from what does PushBullet do, which is the "core" of this bot.

PushPullet it's an app you can download in your PC (Mac and Windows), on your phone, or add as extension for your browser.

His job is to send push notifications (no shit sherlock pt.2) like the ones that come from games like clash of clans when a building is ready.
His main role is to send you a notification when a task is completed.

PushBullet pic & download



Well ok, nice app but how can this help me join the events wtf man?

Smart guys already got it.

What does the bot do is sending you one of those push notification when a new global is sent.

Here are some pics of what it looks like when somebody sends a global:

Desktop



Phone



How to get it to work?

Just download PushBullet on your device and then click HERE.

The link will bring you to the pushbullet channel page. All you have to do is hit the FOLLOW button.

That's pretty much it... the thread is marked as WIP beacouse i'm setting up the VPS for the bot to run but it's already tested and it works like a charm

In a day or two (based on my free time) the channel will be up and working.


WORKING

Hope you enjoy it!!! Byeeaaaa

for nerds


Last edited by Hisoka; Jan 8, 2018 at 02:48 AM..
Hisoka is offline   Reply With Quote
Old Jan 7, 2018   #2
snake
 
Metal Gear Yandere Belt
Join Date: Mar 2008
Posts: 6,098
Clan: fl0w



i'm pretty sure you started making it after the golem event announcement ;p

keep it up! we all need it!
tell me about aikido
~referencing Dark Souls in suicidal threads since 13/01/15
snake is offline   Reply With Quote
Old Jan 8, 2018   #3
Hisoka
NON-EXISTING!
 
Master Belt
Join Date: Nov 2011
Posts: 3,869



Released.
Hisoka is offline   Reply With Quote
Old Jan 8, 2018   #4
snake
 
Metal Gear Yandere Belt
Join Date: Mar 2008
Posts: 6,098
Clan: fl0w



is it possible to extend it a bit?

for example: you click the global pop up on the phone and the you join with client on your pc

that would be a killer feature
tell me about aikido
~referencing Dark Souls in suicidal threads since 13/01/15
snake is offline   Reply With Quote
Old Jan 8, 2018   #5
Hisoka
NON-EXISTING!
 
Master Belt
Join Date: Nov 2011
Posts: 3,869



Yeah i think i can parse the words after “jo” in the global. Will update asap ;)
Hisoka is offline   Reply With Quote
Old Jan 8, 2018   #6
Surge
 
4th Dan Black Belt
Join Date: May 2016
Posts: 1,891
Clan: Adventure



Originally Posted by Hisoka View Post
Yeah i think i can parse the words after “jo” in the global. Will update asap ;)

alternatively you could find the room the user who sent the global is in using fish's api
Away for some time.
Surge is offline   Reply With Quote
Old Jan 9, 2018   #7
Hisoka
NON-EXISTING!
 
Master Belt
Join Date: Nov 2011
Posts: 3,869



Originally Posted by Surge View Post
alternatively you could find the room the user who sent the global is in using fish's api

You can send a global without beeing in a room

Last edited by Hisoka; Jan 19, 2018 at 09:27 PM..
Hisoka is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 01:01 AM.




Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
ragdoll fighting game physics fighting game ragdoll fighting physics funmotion joints martial arts karate pc mac free game turn based game