Find Jobs
Hire Freelancers

Write some Software

$30-250 USD

Cancelled
Posted almost 9 years ago

$30-250 USD

Paid on delivery
Chatango Bot ([login to view URL]) Python Script based on [login to view URL] This code might also help: [login to view URL] I believe this project should take 5 billable hours at most if you know your way around Python2 and MySQL. Most of the difficult functions you can import from the links above. This project mainly consists of conditional statements and MySQL inserts/updates, with some minor writing to files. The GitHub script will already get the username and message for you, as well as have the basic outline of the bot. You should not have to scrape the website. There might be a function to get the IP Address as well, check ch.py. Chatango displays an IP Address with each user message. Example Chatango Post: [login to view URL] *Writes chatango usernames and messages to a new log file each day, Eastern Time (ET) *Assigns a Special ID based on their Chatango name *Calculates and inserts user points based on words typed per line per x minutes *Inserts/updates the Chatango username,IP address, special id and points in a MySQL table every x minutes using the sched and time modules. *Reports conflicting Chatango username/ip address combinations to [login to view URL] *Must be able to run on Debian 7.0 64bit Minimal with Python2 Need variables for the following [example numbers]: *Number of letters per word needed to count towards each point. [5] *Number of min. words per line needed to count towards each point. [3] *Number of min. unique words per line needed to count towards each point. [10] *Number of min. messages needed to count towards each point. [20] *Time in between each calculation and update [x=60] For example, if a user sent at least 20 messages that each had at least 3 words that were at least 5 letters OR at least 20 messages that had at least 10 unique words of any length per message, they would get a 1 point for those 60 minutes. Either type of message will receive credit towards the total 20 message. Only 1 point max per x minutes. The image above would not get credit for it's message given the example numbers, and the user would still need 20 good messages to get 1 point for those x minutes. SQL Table: The SQL table will have 7 columns: an Auto Incremented ID, Date (just put 150101), Chatango_Username, Special_ID*, IP_Address, Total_Points, and Votes_Left (Just put 0) Special ID* The Special ID is made by reading 2 random lines from [login to view URL], and 1 random line for [login to view URL] (attached). They must be unique for each Chatango Username. The format is "Adjective Adjective Animal". Every x minutes the SQL Table is updated: *Use the sched and time module to run the update every x minutes. *Every new chatango name that sent any message in chat will be given a Special ID and inserted into the table along with their IP Address *Every chatango name who meets the requirements receives one (1) point. *If a Chatango name is getting a point and does not have the matching IP address listed in the table: write the Chatango name, old IP, and new IP address to a [login to view URL] file. *Update the IP Address in the MySQL table.
Project ID: 7658476

About the project

1 proposal
Remote project
Active 9 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
1 freelancer is bidding on average $100 USD for this job
User Avatar
A proposal has not yet been provided
$100 USD in 3 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of UNITED STATES
Dockweiler, United States
0.0
0
Payment method verified
Member since May 12, 2015

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.