my project is to create a bot for chatango
and i nee help with python and coding
i need help starting off/
i tried using ultimate-bot_for_nimbuzz
but couldnt connect to the server
at all i really need some help.
Results 1 to 7 of 7
Thread: i need help with a project
- 25 Mar. 2011 12:12am #1
i need help with a project
- 25 Mar. 2011 10:13pm #2
From what I understand, you are trying to create your own bot? You will need to learn the language first. Is Chatango a flash game or PHP/HTTP Game such as Neopets and such.
- 26 Mar. 2011 01:25am #3
i know i need help programing it though i
need to do this for a school grade
- 26 Mar. 2011 03:20am #4
As I do not know Python I might suggest asking Riddle. He seems to be our Python Expert here. However, he is at college from what I know and he may take a while getting back to you. I suggest private messaging him.
- 27 Mar. 2011 06:08am #5
Apparently, it's a chat client made in Adobe Flash. What you wan't to do is decompile the flash client, read around the source code and find how the client communicates with the server. You might have to do a little of packet sniffing or find config files to figure out some parameters if the source code is not clearly labeled. You might want to look into the socket and threading modules if it doesn't connect through an HTTP gateway. If it does, you can probably get away by just using urllib2.
Good luck with your project!
- 27 Mar. 2011 07:16pm #6
ok here is the work around i have but my configs arent great either
this is the config
#it is recommended to put the bot files in C:\ultimate-bot\
# UltimateBot configuration
{
# Jabber account where UltimateBot will login
'CONNECT_SERVER': 'openfire.chatango.com', #aka host. fe, xmpp.ya.ru and jid node@ya.ru
'PORT': 5222,
'JID': 'XXX@XXX.XXX',
'PASSWORD': 'XXXX',
'RESOURCE': 'XXXX',
# Chatroom nick
'DEFAULT_NICK': 'Rygaku',
# Jabber accounts that will administrate UltimateBot
'ADMINS': ['the id that will control the bot@nimbuzz.com'],
'ADMIN_PASSWORD': 'password',
# UltimateBot will try to reconnect on disconnections
'AUTO_RESTART': 1,
# Where to store HTML files from chatrooms logs
# To disable logging, set to empty string: '',
'PUBLIC_LOG_DIR': 'C;\logs',
# Where to store logs of private chats
# To disable logging, set to empty string: '',
'PRIVATE_LOG_DIR': '.C\ogs',
}
this is my error
the error occured while looking up _xmpp-client._tcp.openfire.chatango.comLast edited by rygaku; 27 Mar. 2011 at 11:21pm.
- 27 Mar. 2011 11:10pm #7
The private log dir location is wrong. It's C\ogs, might want to fix that to C:\logs.
Run as administrator because you are logging things into the C: drive.
Also the public log dir is wrong as well. Has a ; instead of a :.