ZMedia Purwodadi

Running Nimbuzz Bot On Server

Table of Contents
Many people ask me how to run bot on shell account or vps. Actually this tutorial is already posted here, but they are confused how to translate haha. You might use online translate but sometimes it could be totally wrong :D

Okay, here we go.
What do you need?
  • At least 2 Nimbuzz id, 1 id for bot and the other for bot admin.
  • Shell (freeBSD) or VPS (Linux) account. There's a many free shell account. But keep in mind that VPS is more stable than Shell to run this bot.
  • SSH Client. For PC users can use PuTTy, midpssh.org for java mobile users and ConnectBot for Android users.
Nimbuzz Bot

What to do?
  • Login to your server using ssh client.
  • Type wget [download_url] command to download bot zip file. Example: wget http://asdot.googlecode.com/files/bot.zip 
  • Type unzip bot.zip to extract
  • Type cd bot to go to bot directory
  • Edit config.txt using nano config.txt command (see how to config)
  • Back to home directory
  • Run your bot using command daemon python bot/bot.py for freeBSD users, type screen [enter] python bot/bot.py [enter] for VPS Linux users.
Note:
  • My bot above include greeting plugin (salam_plugins.py) with Indonesian language, you are allowed to modify or delete the plugin then add greeting text manually.
  • List some of SSH client commands are here
  • Commands for stOrm are here 
  • Enjoy your bot :D
#Update 9-9-2012 Natalie Bot v4.3.4

Change log:
- modified aff_plugin.py (make owner/admin/member/participant/banned room users)
- midified salam_plugin.py (en)
- added autosend_plugin.py (repeatly send a message with specified interval)
- added profile_plugin.py (Showing status and nickname of the JID)
- removed autokick_plugin.py (doesnt works for shell server)
- etc

#Update 9-9-2012 Natalie Bot v4.3.6

Download  page bots are here 

I create one shell account for you guys, Just for experiment. Here you go

#Update 3-26-2013 

Check this out Running Nimbuzz Bot On Server [Part II]

44 komentar

Comment Author Avatar
Anonim
21 Juni 2012 pukul 20.59 Delete
pliz give details about puty setting plz plz help
Comment Author Avatar
Anonim
22 Juni 2012 pukul 02.11 Delete
bro what is the command for ban flood idz? & how to set kick on abuse wordz
Comment Author Avatar
22 Juni 2012 pukul 11.21 Delete
#1 host = username@shell.cjb.net, port = 22, SSH for example

#2 Some people succeed modified ban features, try to get info at punjabi room.
or you can decrease flood using "iq on/off" commands.
Comment Author Avatar
22 Juni 2012 pukul 14.21 Delete
ban plugins from atiquerazvi, here you go
Comment Author Avatar
Anonim
22 Juni 2012 pukul 18.10 Delete
m login in ban bot. . . . Now how can i stop floodz within this bot, what commands use?
Comment Author Avatar
24 Juni 2012 pukul 14.23 Delete
autoban
JID that has a specific word were located in dynamic/bl.txt file.
ysee plugins to learn more.
Comment Author Avatar
Anonim
26 Juni 2012 pukul 20.43 Delete
thank you
Comment Author Avatar
27 Juni 2012 pukul 14.09 Delete
you're welcome :)
Comment Author Avatar
Anonim
28 Juni 2012 pukul 17.14 Delete
www.rkdbuzz.xtgem.com/files/Pako%208.8.36.zip .. . . . . . . . . can i run this bot with shell account?
Comment Author Avatar
29 Juni 2012 pukul 17.43 Delete
pako doesn't run under python base
Comment Author Avatar
1 Oktober 2012 pukul 16.33 Delete
gan mav ni kalo regiter ptty dimana mav ga paham ,,,mohon pencerahanya
Comment Author Avatar
2 Oktober 2012 pukul 10.24 Delete
Putty sekedar aplikasi utk mengontrol bot dari pc ke server bro. kl dari hp java bs pake midpssh.
utk registernya ya ke server mana yg mau digunakan semisal cjb.net (free) atau beli vps linux.
Comment Author Avatar
4 Oktober 2012 pukul 20.28 Delete
kalau untuk di vps gmn gan

mohon detailnya

thx
Comment Author Avatar
5 Oktober 2012 pukul 00.33 Delete
sprti uraian diatas gan. utk vps linux relatif sama gan, cuma command utk semacam running backgroud yg berbeda dgn shell acc (freebsd)
ane pernah coba memang lebih mantab n lebih tahan dc ketimbang di shell.
yaah namanya juga fasilitas berbayar :D
Comment Author Avatar
5 Oktober 2012 pukul 15.51 Delete
klw upload pk ftp file bot ke vps upload kdalam mn boz
Comment Author Avatar
6 Oktober 2012 pukul 12.00 Delete
@chovy, ga jauh beda gan. upload via putty gampang kok (wget url)
kalo edit file memang lebih mudah pake ftp. tp toh nanti kan ketauan diforder mana setelah upload via putty.
Comment Author Avatar
9 Januari 2013 pukul 23.09 Delete
Hi, bro, I don't know to use Putty:(.. pls help...
Comment Author Avatar
10 Januari 2013 pukul 16.46 Delete
@chiesaraha, see image of putty at here


you only need to change with your account and server names then click Open :)
Comment Author Avatar
11 Januari 2013 pukul 01.49 Delete
Thank Asdot bro. I am done. :D but How to start quiz? do I need to download quiz? and how to edit quiz,greeting... bot says"does quiz exist"?
Comment Author Avatar
11 Januari 2013 pukul 17.04 Delete
Check with !quiz command, we'll see the bot include quiz or not.
if not, add quiz plugin and question
Tutorial how to make a quiz are here
Comment Author Avatar
13 Januari 2013 pukul 09.42 Delete
bro..why bot is stop giving question automatic? it's always stopped after 5questions..and it gone offline...
Comment Author Avatar
13 Januari 2013 pukul 16.15 Delete
@chiesaraha, it's due to server speed or quality I guess. try to run bot from pc then see what different.
Comment Author Avatar
29 Januari 2013 pukul 14.42 Delete
hye asdot would you please tell me how can i run this bot on Centos5 vps.. i have downloded and edited but unable to run as im aware of centos5 vps command

Comment Author Avatar
29 Januari 2013 pukul 21.11 Delete
@shadab, your centos built-in python? if yes, try to run your bot without daemon.
ex: python bot/bot.py
is it works?
Comment Author Avatar
30 Januari 2013 pukul 10.49 Delete
Dear Asdot : Thanks for your concern. I tried this but do not work..
Comment Author Avatar
30 Januari 2013 pukul 20.11 Delete
@shadab, May be it doesn't installed python or have an older python version. I am not sure about that but may be you can try to install it manually

btw, if python already installed, check python version using this command
- python -V
if doesn't works, use this
- python -c 'import sys; print sys.version[:3]'
Comment Author Avatar
31 Januari 2013 pukul 18.54 Delete
thanks Asdot this error i get



[root@shad ~]# python -c 'import sys; print sys.version[:3]'
2.4
[root@shad ~]# python bot/bot.py
File "bot/bot.py", line 135
with wsmph:
^
SyntaxError: invalid syntax
[root@shad ~]#
Comment Author Avatar
31 Januari 2013 pukul 20.48 Delete
you have 2.4, the bots need 2.5.x - 2.7.x
Comment Author Avatar
6 Februari 2013 pukul 04.02 Delete
Its very difficult to install python on centos5 vps :D
Comment Author Avatar
11 Februari 2013 pukul 15.41 Delete
@Shadab Ahmad, Sorry I'm late to respond. Yeah You were right, little bit difficult to do it.
Comment Author Avatar
13 Februari 2013 pukul 15.11 Delete
pls add my Id sh0bi@nimbuzz.com
Comment Author Avatar
13 Februari 2013 pukul 15.24 Delete
Doesn't mean to reject your add :) but my id offline since 1 year ago ;)
Comment Author Avatar
18 Februari 2013 pukul 08.25 Delete
I have new problem now . Bot is running. but when i close putty on my computer bot also goes offline.. is there any other trick i need to know ??


Thaks Asdot
Comment Author Avatar
18 Februari 2013 pukul 09.21 Delete
@shadab, Does your OS support "screen" command?
if yes try this
- screen [enter]
- python bot/bot.py [enter]
(bot/bot.py just an example, the name of directory and bot.py file maybe different with yours) then close your putty
Comment Author Avatar
25 September 2013 pukul 01.31 Delete
hi bro.. i have getting this error message when i am typing screen command ...
" Cannot access '/dev/pts/29': No such file or directory "
i am using windows 7 64bit os and putty , pls help me

Comment Author Avatar
25 September 2013 pukul 09.38 Delete
@Unni Kuttan, Probably the folders you mentioned didn't exist or you don't have root access privilege.
Comment Author Avatar
25 September 2013 pukul 13.29 Delete
im using shell.cjb.net . i followd the steps as u mentioned in tutorial . aftr the all steps it shows bot is ready to work and it came online . but when i close the putty bot going offline . Then i noted your reply for shahad ahamad and i type 'screen' command in putty but it says me to install screen package in homedirectory . i installed screen using ' installhome screen ' command . after that again i tried for screen command . then it shows " Cannot access '/dev/pts/29': No such file or directory " . what is the solution for this error bro.. ? is that possible to get root access privilege ?
Comment Author Avatar
25 September 2013 pukul 14.44 Delete
@Unni Kuttan, bot going offline because the daemon command doesn't support anymore.

Shahab Ahmad doesn't use cjb, he use another server host, looks like linux server. cbj running on FreeBSD and cjb doesn't offer "crontab" or "screen" access, that's why you can't add or use "screen" command
Comment Author Avatar
25 September 2013 pukul 16.25 Delete
ok.... now im understood the problem... thanks bro :) and is there any free server available or any other way to make bot online always ? :)
Comment Author Avatar
25 September 2013 pukul 16.49 Delete
Try this linux server from this post it was working but a lil bit difficult to register.
Comment Author Avatar
25 September 2013 pukul 22.13 Delete
thanks bro.. for registering what i want to type in the place of vps host name ..
Comment Author Avatar
25 September 2013 pukul 22.33 Delete
your name or whatever you want :)
Comment Author Avatar
26 September 2013 pukul 00.22 Delete
thanks bro .. :)
Comment Author Avatar
26 September 2013 pukul 08.48 Delete
my pleasure :-)