main
 
          home
          our company
          our staff
          terms of service
           services
          bnc hosting
          shell hosting
          ircd hosting
          web hosting
           network
          status
          vhosts
          domain list
           support
          live chat
          faqs
          connect to efnet
          tutorials



 
 
 
 
 
PSOTNIC TUTORIAL


Written by MoMyAnGel




 

Introduction

Psotnic is an ircnet bot written in C++. This tutorial is designed to help you install a psotnic bot on COSMOS.LUNARSHELLS.COM

 

Editing your config file

Facciamo un psotnic bot ed iniziamo con preparare il cfg file su un notepad:
Let’s make a psotnic bot and start with the cfg file on a notepad:

Hub config file

nick ToSTo
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost 2a01:270:2050:1337::1
(to be choicen on http://www.lunarshells.com/vhosts_cosmos.php)
(da scegliere su http://www.lunarshells.com/vhosts_cosmos.php)

Port here you put the portnumber you like
Qui metti il numero di porta a tua scelta

Ownerpass here the ownerpass
Qui la pass del owner

server atw.irc6.hu 6667

keepnick 1



Slave config file

nick ToSTo
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost 2a01:270:2050:1337::1
(to be choicen on http://www.lunarshells.com/vhosts_cosmos.php)
(da scegliere su http://www.lunarshells.com/vhosts_cosmos.php)

hub ip port pass (of the hub) (del hub)

server atw.irc6.hu 6667

porta here you put the portnumber you like
Qui metti il numero di porta a tua scelta

keepnick 1



Leaf config file

nick ToSTo
nickappend _-^`|
realname -= la prova del ipv6 =-
myipv4 insert servermainIP here
vhost 2a01:270:2050:1337::1
(to be choicen on http://www.lunarshells.com/vhosts_cosmos.php)
(da scegliere su http://www.lunarshells.com/vhosts_cosmos.php)

hub ip port pass (of one of your slaves) (di uno dei tuoi slaves)
alt ip port (of the next slave) (del prossimo slave)
alt you can put as many slaves as you have (puoi mettere tutte le slave che hai)

server atw.irc6.hu 6667

keepnick 1

 

Configuring and Compiling

dopo facciamo login sulla shell ed iniziamo lavorare sulla shell:
Now we login on the shell and start working there:

facciamo la dir dove metteremo il bot:
(we make the dir where the bot has to be)

mkdir bot

entriamo nella dir:
(we enter in the dir)
cd bot

facciamo la dir delle risorse:
(we make the dir of the sources)
mkdir source

entriamo nella dir:
(we enter in the dir)
cd source

prendiamo le risorse:
(we get the source)
wget http://monki.us/~esio/knb.t0tal.in/mirrors/friends.polibuda.info/
~grusin/src/psotnic-current.tar.gz

per unzippare le risorse:
(unzip the source)
tar xvzf psotnic-current.tar.gz

rinominiamo:
(we rename)
mv psotnic-current psotnic

Entriamo:
(we enter the dir)
cd psotnic

il commando per configurare:
(the comand to configure)
./configure

Salvare il salt.h:
(save the salt.h)

andiamo avanti:
(we go on)
make dynamic

entriamo nel bin-dir:
(enter in bin-dir)
cd bin

vediamo il percorso:
(see your location)
pwd

Avrai ora la risposta:
(you will get the answer)
pwd

Avrai ora la risposta:
(you will get the answer)
/home/c/login/bot/source/psotnic

Spostiamo psotnic alla dir bot:
(move psotnic to the botdir)
cp psotnic /home/c/login/bot

ora andiamo noi alla dir bot:
(go to the dir bot)
cd /home/c/login/bot

Spostiamo le risorse:
(remove the source)
rm -rf source

ora siamo pronti per metterci il conf:
(we are now ready to put in the conf)
pico

Ora incollare il cfg che abbiamo fatto al principio sul notepad nel pico e dargli il nome conf.nick
(paste the cfg file we made on the notepad in the beginning into the pico and name it conf.nick)
Ora i comandi per fare partire il tuo psotnic bot:
(the comands to make your psotnic bot start)
./psotnic –c conf.nick

rm conf.nick.dec

./psotnic conf.nick


Divertiti!
Have fun!

 

 


 
   
 

Copyright © 2004-2007 LunarShells Internet Services