Neostats Kurulum
RUMUZ:
Rumuzunuzu yazip Sohbet ‘Baglan’ a tiklayin
Okunma
6
Neostats Kurulumu
Neostats Asil amac olarak istatistik servisi olan fakat onla birlikte uzerine bircok modul kuralabilen bir sistemdir. En meshur 2 ozelligi secureserv ve opsb dir.
Once shell hesabimiza Neostats`i cekiyoruz, Bu yazi yazildiginda son version NeoStats-2.5.16 id.
ston@server1 [~]# wget http://www.neostats.net/NeoStats-2.5.16.tar.gz
Simdi sira zipli dosyayi acmakta.
ston@server1 [~]# tar zxvf NeoStats-2.5.16.tar.gz
Simdide Neostats kurulumuna basliyoruz. Sirasiyla.
ston@server1 [~]# cd NeoStats-2.5.16
ston@server1 [~/NeoStats-2.5.16]# ./Config
Bu secenekle birlikte size bazi sorular sorucak bu sorulardan ilki cok onemli, hangi ircd versionu kullaniyorsaniz ona gore secmeniz gerekicek.
Which IRC server do you use?
1) Unreal 3.1.x IRCD
2) Unreal 3.2.x IRCD
3) Ultimate 2.x.x IRCD
4) Ultimate 3.x.x IRCD
5) Hybrid7 IRCD
6) NeoIRCd IRCD
7) Bahamut IRCD
Mystic IRCD
9) Quantum IRCD
10) Viagra IRCD
11) IRCu (Experimental)
Kullandiginiz ircd numarasini girin.
Bundan sonraki seceneklerin hepsine ENTER lamaniz yeterli olucaktir. Simdi sira kurulumda.
ston@server1 [~/NeoStats-2.5.16]# make
ston@server1 [~/NeoStats-2.5.16]# make install
ston@server1 [~/NeoStats-2.5.16]# cd ../Neostats
Kurulum bitti, simdi sirada conf dosyasini olusturmak var, conf dosyasini tek bir komut kullanarak vede sorulan sorulara cevap vererek olusturabilirsiniz.
ston@server1 [~/NeoStats]# ./makeconf
Yorum Yok »
alias jpart {
if ($isid) {
hinc -m jp $+($1.,$2) 1
if (!$timer($hget(jp,$+($1.,$2)))) { $+(.timer,$+($hget(jp,$+($1.,$2)))) 1 $3 hdel -s jp $+($1.,$2) }
if ($($hget(jp,$+($1.,$2))) >= $4) { hdel -s jp $+($1.,$2) 1 | return $true }
else { return $false }
}
}
Yorum Yok »
on 1:join:#: {
If ($nick == $me) {
inc %joinsay
msg $chan Toplam Giriş4 %joinsay
}
}
Yorum Yok »
on 1:start:{
inc %scriptsay
echo -a mIRC Toplam %scriptsay kez açılmiştir
}
Yorum Yok »
Web Sitesinden istediginiz resimleri mIRC Script’inize indirmeye yarayan bir kod.
alias resimindir {
if * $+ / $+ * !iswm $1 || $2 {
echo -a * Hata! Lütfen düzgün parametreler kullanın. ÖRN: www.mirciz.com/images/logo
}
if $sock(resin) || $sock(resin2) {
echo -a * Başka bir indirme işlemi devam etmekte
}
else {
.unset %resin.*
.set %resin.govde $remove($1,http://)
.set %resin.uzanti $gettok(%resin.govde,2-,47)
.set %resin.ana $gettok(%resin.govde,1,47)
.set %resin.ismi $gettok(%resin.govde,$numtok(%resin.govde,47),47)
sockopen resin %resin.ana 80
echo 3 -a * Web sitesine bağlantı kuruluyor; %resin.ana
echo 1 -a -
}
}
on *:sockopen:resin: {
if $sockerr { echo 3 -a * Web sitesine bağlanırken hata oluştu, lütfen bağlantınızı ve web sitesini kontrol ediniz }
else {
echo 3 -a * Web sitesine bağlantı kuruldu; %resin.ana
echo 1 -a -
sockwrite -n $sockname GET / $+ %resin.uzanti HTTP/1.0
sockwrite -n $sockname Host: %resin.ana $+ $crlf $+ $crlf
echo 3 -a * Veri kontrol edildi; %resin.ismi
echo 1 -a -
}
}
on *:sockread:resin: {
var %ğ
sockread %ğ
if (*404*Not* iswm %ğ) || (*Found* iswm %ğ) {
echo 4 -a * HATA! Verdiğiniz URL adresinde böyle bir resim bulunmamaktadır!
echo 1 -a -
sockclose resin
sockclose resin2
.unset %resin.*
.halt
}
if (*403* iswm %ğ) || (*Forbid* iswm %ğ) {
echo 4 -a * HATA! Verdiğiniz URL adresinden resim çekmek yasak!
echo 1 -a -
sockclose resin
sockclose resin2
.unset %resin.*
.halt
}
if (* !iswm %ğ) {
.sockclose resin2
sockrename resin resin2
write -c $qt(%resin.ismi)
echo 3 -a * Veri oluşturuldu , datalar çekiliyor; %resin.ismi
echo 1 -a -
}
}
on *:sockread:resin2: {
sockread &pdata
bwrite $shortfn(%resin.ismi) -1 -1 &pdata
}
on *:sockclose:resin2: {
if $isfile(%resin.ismi) {
echo 3 -a * Datalar çekildi veri kaydedildi; $mircdir $+ 4 $+ %resin.ismi
.unset %resin.*
}
}
Yorum Yok »