Sponsored Content
Top Forums Programming Programming a Telegram Bot Using Node-RED, PHP, and MySQL Post 303045138 by RavinderSingh13 on Thursday 12th of March 2020 01:16:23 PM
Old 03-12-2020
Hello Neo/All,

Very glad to tell you that after getting inspired from Neo I have build my own very first Bot in Telegram + NR + shell + python(a bit) + JS suit as of now.

Following is its screen shot(my screen is not big as Neo's so couldn't capture all of it Smilie )

Programming a Telegram Bot Using Node-RED, PHP, and MySQL-user302148617_pic1289_1584033169jpg


I will post a detailed thread on weekend in a new post, Thanks again Neo for letting know about this technology; O hope I could learn more from it.

Thanks,
R. Singh
These 2 Users Gave Thanks to RavinderSingh13 For This Post:
 

7 More Discussions You Might Find Interesting

1. Red Hat

Can't uninstall MYSQL from RED HAT ES

Hi Everyone Could you kindly advise on how I should do a chkconfig and uninstalling mysql rpm on Red hat ES.Please check the errors that I'm getting below. :eek: I need to uninstall MySQL completely from my linux system ver 2.4.21-37 and use the chkconfig command to switch it on... (15 Replies)
Discussion started by: CollenM
15 Replies

2. What is on Your Mind?

Telegram Bots - Bot Code Examples

I'm currently looking into ways to integrate the Telegram API into the forums: Telegram Bots - Bot Code Examples I'm thinking, first off, to use the Telegram API to get forum alerts and notifications (to Bot or Not?). Second, I thinking of ways to more deeply integrate Telegram into the... (5 Replies)
Discussion started by: Neo
5 Replies

3. Web Development

Node.js and mysql - ER_ACCESS_DENIED_ERROR

This problem has been killing me all day, and I cannot solve it. Basically, I am using node.js with the mysql module and it will not connect to the database. Here is the JS code snippet in node.js: app.get("/test", function(req, res) { var mysql = require("mysql"); var con =... (4 Replies)
Discussion started by: Neo
4 Replies

4. Infrastructure Monitoring

Using Node-RED and MQTT to Monitor Server and Application Stats

After setting up MQTT and testing some ESP8266 and ESP32 modules, where I noted that testing in Programming ESP32 (ESP-WROOM-32) as an MQTT Client Subscribed to Linux Server Load Average Messages, I was so impressed with MQTT that I installed MQTT on three different computers, instantly and... (2 Replies)
Discussion started by: Neo
2 Replies

5. Programming

Publish and Subscribe to AES-256 Encrypted MQTT Messages to Node-RED from PHP Scripts

Various Node-Red crypto modules do not work with PHP, so to send an encrypted message from a PHP script (in this case from a Ubuntu server) to Node-RED we need our own code. After a few hours of searching, testing various libs, more testing and debugging, I got this PHP to Node-RED code... (0 Replies)
Discussion started by: Neo
0 Replies

6. Programming

Node-RED: Writing MQTT Messages to MySQL DB with UNIX timestamp

First, I want to thank Neo (LOL) for this post from 2018, Node.js and mysql - ER_ACCESS_DENIED_ERROR I could not get the Node-RED mysql module to work and searched Google until all my links were purple! I kept getting ER_ACCESS_DENIED_ERROR with the right credentials. Nothing on the web was... (0 Replies)
Discussion started by: Neo
0 Replies

7. What is on Your Mind?

MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, Arduino

I have just completed the first phase of integrating all these devices and technologies: MQTT, Node-RED, Linux, Apache2, MySQL, PHP, Telegram, ESP32, ESP8266, and the Arduino Uno The glue that binds all this together is MQTT. In fact, MQTT makes this kind of integration nearly trivial to... (1 Reply)
Discussion started by: Neo
1 Replies
Titanion(6)															       Titanion(6)

NAME
titanion - strike down super high-velocity swooping insects DESCRIPTION
Strike down super high-velocity swooping insects. Fixed shooter in the good old days, 'Titanion'. Titanion is an abstract shooter game. While we fire with one button, the other one acts as a tractor ray to attract the enemies and take them to the combat line. The game in itself is quite simple, but with such graphics and playability that it's a great experience to play. OPTIONS
These command-line options are available: -brightness n Set the brightness of the screen. (n = 0 - 100, default = 100) -res x y Set the screen resolution to (x, y). (default = 640, 480) -nosound Stop the sound. -bgmvol n Set the volume of the background music. (n = 0 - 128, default = 100) -sevol n Set the volume of the sound effects. (n = 0 - 128, default = 100) -window Run in windowed mode. -fullscreen Run in full-screen mode. -exchange Exchange the shot button and the beam button. -trail Add a trail effect to enemies. -noslowdown Stop an intentional slowdown. -randomized Attack patterns of enemies randomly change with each play. USAGE
* How to start At the title screen, you can select a game mode (CLASSIC, BASIC, MODERN) with the up/down key. Push a shot button to start a game. CLASSIC mode - Sporadic firing. - Use a capture beam to make a friend of an enemy. - When your ship collides against an enemy, your ship is destroyed. BASIC mode - Middle course. - You can use the capture beam anytime. - When your ship collides against an enemy, your ship is knocked away. MODERN mode - Bullet hell. - Use a provocation beam to force an enemy to fire more bullets and earn a bullet multiplier bonus. - When your ship collides against an enemy, nothing happens. Your ship and an enemy go through each other. * How to play Avoid incoming bullets and strike down all enemies. Controls: Move Arrow / Num / [WASD] / [IJKL] / Stick Shot [Z][L-Ctrl][R-Ctrl][.] / Button 1, 3, 5, 7, 9, 11 Hold down a button to fire automatically. + MODERN mode - Hold a provocation beam button at the same time to slow down speed of your ship and fire intensively. Capture beam / Provocation beam [X][L-Alt][R-Alt][L-Shift][R-Shift][/][Return] / Button 2, 4, 6, 8, 10, 12 + CLASSIC mode - Capture beam You can capture enemies with the capture beam. To fire the capture beam, a capture beam energy (displayed in the left panel) should be full. The capture beam energy increased when you destroy an enemy. Captured enemies are lined up beside the player and counterattack to other enemies. Your ship is invincible when you are firing the capture beam. + BASIC mode - Capture beam You can use the capture beam anytime, but your ship isn't invincible while firing. + MODERN mode - Provocation beam The provocation beam forces an enemy to fire more bullets and you can earn more bullet multiplier bonus. You have to release the shot button to fire the provocation beam. Pause [P] Exit / Return to the title [ESC] Multiplier: A score multiplier is displayed in the upper right. It increases when you destroy a enemy and decreases slowly when the enemy is on the screen. Proximity multiplier: BASIC mode When you destroy an enemy at close range, you can get a proximity multiplier (Max x16). Bullet multiplier: MODERN mode When you destroy a pink midsize enemy, bullets flying side-by-side are changed into a bullet multiplier in a chain reaction. Use the provocation beam to the midsize enemy to get higher bonus. Extra ship: CLASSIC mode You earn an extra ship every 100,000 points. BASIC mode You earn an extra ship every 1,000,000 points. MODERN mode A score to earn the next extra ship is displayed in the upper left. SEE ALSO
You can find more about the game on its homepage: http://www.asahi-net.or.jp/~cs8k-cyu/windows/ttn_e.html AUTHOR
This game has been written by Kenta Cho <cs8k-cyu@asahi-net.or.jp> Titanion(6)
All times are GMT -4. The time now is 02:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy