PtokaX forum

Archive => Archived 5.0 boards => Finished Scripts => Topic started by: blackwings on 04 March, 2005, 04:56:19

Title: BASIC 5.8.1 - a small mainbot
Post by: blackwings on 04 March, 2005, 04:56:19
BASIC  - a small mainbot by blackwings[/b]

BASIC Features this:
? Min,Max & ratio slot(s) check
? Min & Max share check
? Max Allowed hubs check
? Client checker
? Dynamic anti-advertise (including many sign detect, not just ".")
. also detect = t e s t . a t h . c x and adresses on the vertical
. can also detect [dot],(dot),{dot}.(same thing with d0t)
? Safe Advertisment & Web URL detection
? Bad prefix check in username
? Redirection options for disconnected users
? Anti-MLDC
? rmDC++ blocking
? Anti-External Search (aka MoGLO etc)
? BotINFO fucntion
? Remebers kick counts (anti-advertise)

Extra scripts that is in 'Extra' folder in the zip =
1. show/change redirect adress command script
2. right-click script

EDIT: (24/01-06 - the script is updated - version 5.8.1)

Download it here = Click Here For BASIC 5.8.1 (http://lua.uknnet.com/attachment.php?attachmentid=204)
Title:
Post by: Pothead on 05 March, 2005, 00:17:30
I've been making 2 scripts like this. One with hub extension stuff and another for commands.  Some of the extension stuff, you might wanna put in this one, like your AntiMLDC thingy, the RMDC checker, the script for Bot info, and maybe search_in_nick blocker :) --1_Block_and_Bot_info by Pothead
--Contains :
--Simple LUA 5 anti-mldc script by blackwings
--Min. DC++ version script for PtokaX 0.3.3.0 Lua 5.0.2 by PPK
--Anti rmDC++ script for PtokaX 0.3.3.0 Lua 5.0.2 by PPK
--Bot Info, PtokaX Lua 5 version by PPK
--Search Blocker 1.1 LUA 5 by Mutor 6/20/2004

--//Config
adminnick = "!" -- PM Reports Goto This Nick
owneremail = "a@b.com" -- For BotInfo
DCmv = 0.307 -- Min DC++ version aloud in
NMDC = 1 -- Block NMDC, 0 = allow, 1 = block
oDC = 1 -- Block oDC, 0 = allow, 1 = block
DCPro = 1 -- Block DCPro, 0 = allow, 1 = block
StrongDC = 1 -- Block StrongDC, 0 = allow, 1 = block
LDC = 1 -- Block LDC, 0 = allow, 1 = block
NoTag = 1      -- Block No Tag clients, 0 = allow, 1 = block

--//Initilize Variables
bot = frmHub:GetHubBotName()

--//Disconnect MLDC
function MyINFOArrival(curUser,data)
if curUser.bRegistered==nil then
if string.find(data,"mld(%S+)") or string.find(data,"edonk(%S+)") then
curUser:Disconnect()
return 1
end
end
end

--//Min DC Version Check, With Some Clients Checked And No Tags
function NewUserConnected(curUser)
if curUser.bHasTag then
if curUser.sClient == "DC++" and tonumber(curUser.sClientVersion) then
if tonumber(curUser.sClientVersion) < tonumber(DCmv) then
curUser:SendData( bot.."Please upgrade your client, min version for this hub is "..DCmv)
curUser:SendData("$ForceMove "..frmHub:GetRedirectAddress())
curUser:Disconnect()
return 1
end
elseif (curUser.sClient == "NMDC2" and NMDC == 1) or (curUser.sClient == "oDC" and oDC == 1) or (curUser.sClient == "DCPRO" and DCPro == 1)
or (curUser.sClient == "StrongDC++" and StrongDC == 1) or (curUser.sClient == "LDC++" and LDC == 1) then
curUser:SendData(bot.. " " ..curUser.sClient.. " sucks, get DC++ from [URL]www.sourceforge.net[/URL]")
curUser:SendData("$ForceMove "..frmHub:GetRedirectAddress())
curUser:Disconnect()
return 1
end
elseif (NoTag == 1) then
curUser:SendData( bot.."Get a decent client, one with a tag, i.e. DC++ from [URL]www.sourceforge.net[/URL]")
curUser:SendData("$ForceMove "..frmHub:GetRedirectAddress())
curUser:Disconnect()
return 1
end
end

--//Autobans RMDC++ Users
function SupportsArrival(curUser, sData)
if string.sub(sData, 10, 11) == "  " then
curUser:SendData( bot.."Buggy client, go away!")
SendPmToNick(adminnick,bot, " rmDC++ from IP: "..curUser.sIP.." trying to login... he is wasting time")
curUser:Disconnect()
return 1
end
end

--//Helps Pinger Bots
function UnknownArrival(curUser, sData)
--// simple $BotINFO implementation //--
if string.sub(sData, 1, 8) == "$BotINFO" then
local minshare = frmHub:GetMinShare()*1024*1024
curUser:SendData("$HubINFO "..frmHub:GetHubName().."$"..frmHub:GetHubAddress()..":"..frmHub:GetHubPort().."$"..frmHub:GetHubDescr()..
"$"..frmHub:GetMaxUsers().."$"..minshare.."$"..frmHub:GetMinSlots().."$"..frmHub:GetMaxHubs().."$PtokaX$"..owneremail)
SendPmToNick(adminnick,bot, " BotInfo requested from : "..curUser.sName.." with IP: "..curUser.sIP)
return 1
end
end

--//Disconnect Search-In-Nick Users
function ValidateNickArrival(curUser, sData)
if string.sub(sData, 1, 13) == "$ValidateNick" then
nick = string.sub(sData, 14, -2);
       if string.find(string.lower(nick), "search", 1) then
msg="\r\n\r\n\t\t*** Only registered users may search this hub. Go somewhere else! ***\r\n"..
"\t\tThis hub is for registered users only. [ "..nick.." ] , IP ->[ "..curUser.sIP.." ],\r\n"..
"\t\tYour details have been logged\r\n\r\n"
curUser:SendData(bot,msg)
SendPmToNick(adminnick,bot, " Unregistered Searcher -> [ "..nick.." ] from IP -> [ "..curUser.sIP.." ] was denied access.")
curUser:Disconnect()
return 1
end
end
end
Title:
Post by: blackwings on 06 March, 2005, 01:46:54
(the script above has been updated)

BASIC 3.0 by blackwings

--ADDED: client detector disconnect unknown clients.
--ADDED: rmDC++ blocker (made by PPK)
--ADDED: Anti-MLDC
--ADDED: Anti-External Search (aka MoGLO etc) (made by Mutor)
--ADDED: BotINFO fucntion (made by PPK)
--FIXED: a bug in the bad prefix check

For those who doesn't want a main bot with million functions, which you never use, then BASIC 3.0 is your CHOICE !!! :D
Title:
Post by: BeeR on 06 March, 2005, 02:50:11
QuoteOriginally posted by blackwings
(the script above has been updated)

BASIC 3.0 by blackwings

--ADDED: client detector disconnect unknown clients.
--ADDED: rmDC++ blocker (made by PPK)
--ADDED: Anti-MLDC
--ADDED: Anti-External Search (aka MoGLO etc) (made by Mutor)
--ADDED: BotINFO fucntion (made by PPK)
--FIXED: a bug in the bad prefix check

For those who doesn't want a main bot with million functions, which you never use, then BASIC 3.0 is your CHOICE !!! :D

HI Mr B-Wing :]
nice little bot you made there ,,
just a little ide i got ,,
use Potheads ide of configure clents and expand with a third option like this ,,
0=allow 1= disconnect 2= redirect (get hubrdadress)
and ofcouse add some more clients
Title:
Post by: blackwings on 07 March, 2005, 08:22:21
(the script above has been updated)

BASIC 3.5 by blackwings

--FIXED: a bug when disconnecting unknown clients
--ADDED: option to redirect disconnected clients
--FIXED: a bug when advertising in PM
--ADDED: 2 clients to tCl{}
--CHANGED: Optimized the anti-advertisment detection = its faster now
--CHANGED: Optimized the safe advertisment = its faster now

+ instruction how to make allowed clients blocked
!!IF YOU FIND A BUG, PLEASE REPORT IT!!

For those who doesn't want a main bot with million functions, which you never use, then BASIC 3.5 is your CHOICE !!!  :D
Title:
Post by: blackwings on 08 March, 2005, 04:39:43
(the script above has been updated)

BASIC 3.8 by blackwings

--CHANGED: Optimized the anti-advertisment again = its faster now

+ instruction how to make allowed clients blocked
!!IF YOU FIND A BUG, PLEASE REPORT IT!!

For those who doesn't want a main bot with million functions, which you never use, then BASIC 3.8 is your CHOICE !!! :D
Title:
Post by: blackwings on 11 March, 2005, 05:42:18
(the script above has been updated)

BASIC 4.0 by blackwings

--FIXED: a small bug in anti-advertisment
--CHANGED: Optimized the bad client blocking = its faster now.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.0 is your CHOICE !!! :D
Title:
Post by: jiten on 29 April, 2005, 14:25:37
I was having a look at ur script... Nine one ;)
Btw, why don't u remove the ToArrival function and just put ToArrival = ChatArrival, as it's the same code?
Just a thought :D

Cheers
Title:
Post by: blackwings on 30 April, 2005, 10:00:32
QuoteOriginally posted by jiten
I was having a look at ur script... Nine one ;)
Btw, why don't u remove the ToArrival function and just put ToArrival = ChatArrival, as it's the same code?
Just a thought :D

Cheers

Thank you jiten :D

In the beginning I did have like that, but for some reason it didn't work for me :(

BASIC 4.5 by blackwings

--CHANGED: I optimized the Anti-MLDC.
--CHANGED: I optimized the BotINFO function
--ADDED: a on/off for RMDC blocking
--REMOVED: Bad Version function
--FIXED: the advertise function works to 100% :D
--CHANGED: Optimize the safe-advertise check a bit.
--ADDED: web url detection so it won't mistake those for advertisement.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.5 is your CHOICE !!! :D

(the script above has been updated)
Title:
Post by: Jerry on 30 April, 2005, 19:32:51
Hi I use Basic -> it is great script Blackwings!!!

But I have one question.

If some user write some hub address (for example: ptokax.no-ip.com) in PM to second user, script will kick him! :(

It is possible, that in Privat Messages the script doesn't check advertisment?

  thanks in advance for answer
Title:
Post by: jiten on 30 April, 2005, 20:08:57
If it's that what u want, just comment the ToArrival function. The advertiser check in PM will be gone.

Cheers
Title:
Post by: blackwings on 30 April, 2005, 20:17:48
QuoteOriginally posted by Jerry
Hi I use Basic -> it is great script Blackwings!!!

But I have one question.

If some user write some hub address (for example: ptokax.no-ip.com) in PM to second user, script will kick him! :(

It is possible, that in Privat Messages the script doesn't check advertisment?

  thanks in advance for answer
well, with BASIC 4.5.1 I have added a on/off switch for advertisement in PM.
In case you and others want to use it in the future and regret the deletion of the anti-adverting in PM
But maybe thats not necessary or is it? Anyway, if anyone doesn't like the on/off switch, do what jiten says.

BASIC 4.5.1 by blackwings

--ADDED: on/off switch for anti-advertisement in PM.

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.5 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the script above has been updated)
Title:
Post by: Jerry on 30 April, 2005, 21:44:24
QuoteOriginally posted by blackwings
BASIC 4.5.1 by blackwings

--ADDED: on/off switch for anti-advertisement in PM.

Thank you very much, blackwings!!!
Title:
Post by: blackwings on 20 May, 2005, 05:18:54
BASIC 4.7 by blackwings

--CHANGED: I optimized the anti-advertising function
--CHANGED: some of the code for the anti-advertisment is moved to a seperate compiled file for security reason.
--CHANGED: Optimized the bad client blocking a tiny bit
--ADDED: made the bot visible in the userlist

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.7 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: ??????Hawk?????? on 20 May, 2005, 19:41:14
QuoteFor those who doesn't want a main bot with million functions, which you never use, then BASIC 4.7 is your CHOICE !!!

nice work m8 i started in a very similar way ..

my question is  What you going to call it when it Takes over and grows in to a Fek Off HUGE bot ???   lol

 :P  :P  :P

??????Hawk??????
Title:
Post by: blackwings on 21 May, 2005, 00:50:56
QuoteOriginally posted by ??????Hawk??????
QuoteFor those who doesn't want a main bot with million functions, which you never use, then BASIC 4.7 is your CHOICE !!!

nice work m8 i started in a very similar way ..
thank you hawk :D I appreciate it :)
QuoteOriginally posted by ??????Hawk?????? my question is  What you going to call it when it Takes over and grows in to a Fek Off HUGE bot ???   lol

 :P  :P  :P

??????Hawk??????
well, I wont add any more functions to this bot, only optimize code and fix bugs that might appear when doing it.

But ofcourse, I will make a bigger bot in the future, but it won't have the same name.
Title:
Post by: blackwings on 01 June, 2005, 15:33:50
BASIC 4.8 by blackwings

--CHANGED: Again I optimized the anti-advertise

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 02 June, 2005, 05:27:21
BASIC 4.8.1 by blackwings

--FIXED: Wierd bug in anti-adertise function
--CHANGED: I optimized the anti-advertise a tiny bit

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.1 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8 and want to update to 4.8.1 without
downloading everything again can download this zip (contains the 'basic' folder)=

*link removed by blackwings*
Title:
Post by: blackwings on 03 June, 2005, 20:51:55
BASIC 4.8.2 by blackwings

--FIXED: bug when sending pm to ops when someone gets kicked/banned

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.1 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8 or 4.8.1 and want to update to 4.8.2 without
downloading everything again can download this zip (contains the 'basic' folder)=

*link removed by blackwings*
Title:
Post by: blackwings on 05 June, 2005, 20:09:01
BASIC 4.8.3 by blackwings

--FIXED: small bug in advertise detection
--CHANGED: I optimized the anti-advertise a tiny bit

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.3 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8 - 4.8.2 and want to update to 4.8.3 without
downloading everything again can download this zip (contains the 'basic' folder)=

*link removed by blackwings*
Title:
Post by: blackwings on 06 June, 2005, 19:47:00
BASIC 4.8.4 by blackwings

--CHANGED: optimized the safe-advertising function
--CHANGED: made web URL detection more accurate and faster

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.4 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8 - 4.8.3 and want to update to 4.8.4 without
downloading everything again can download this zip (contains the 'basic' folder)=

*link removed by blackwings*
Title:
Post by: blackwings on 08 June, 2005, 04:29:15
BASIC 4.8.6 by blackwings

--CHANGED: rare bug when handeling both advertise and web url

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.6 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

This time you need to download everthing, so check the first post in this thread
Title:
Post by: blackwings on 09 June, 2005, 01:52:56
BASIC 4.8.7 by blackwings

--CHANGED: optimized the anti/safe-advertising and web url

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.7 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8.6 and want to update to 4.8.7 without
downloading everything again can download this zip (contains the 'basic' folder)=

*link removed by blackwings*
Title:
Post by: blackwings on 10 June, 2005, 05:40:42
BASIC 4.8.8 by blackwings

--CHANGED: optimized the bot description function
--ADDED: a txt file with info on how to get the advertZ.lua in your own language (the txt is in both .zip files of the release)


For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.8 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8.6 or 4.8.7 and want to update to 4.8.8 without
downloading everything again can download this zip (contains the 'basic' folder)=

*link removed by blackwings*
Title:
Post by: blackwings on 13 June, 2005, 07:28:12
This is a Czech translated version of the advertZ.lua for BASIC 4.8.8, which was requested by Jerry =
*link removed by blackwings*
Title:
Post by: blackwings on 16 June, 2005, 10:57:39
BASIC 4.8.9 by blackwings

--CHANGED: optimized the anti-advertising a bit :)

For those who doesn't want a main bot with million functions, which you never use, then BASIC 4.8.9 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

[This time you need to download everthing, so check the first post in this thread]

For those that want advertZ.lua in the CZECH language, MUST also download  this zip =
*link removed by blackwings*
Title:
Post by: blackwings on 18 June, 2005, 19:08:48
BASIC 5.0 by blackwings

--CHANGED: rewrote the URL detection - faster
--FIXED: rare bug when handeling both advertise and safe-advertise
--ADDED: detect = t e s t . a t h . c x and adresses on the vertical *see example*

Vertical Adress Example =
t
e
s
t
.
a
t
h
.
c
x

For those who doesn't want a main bot with million functions, which you never use, then BASIC 5.0 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 4.8.9 and want to update to 5.0 without
downloading everything again can download this zip. It contains two zip files =
BASIC-FOLDER50-ENGLISH.zip - advertZ.lua in english
BASIC-FOLDER50-CZECH.zip - advertZ.lua in czech

Download it here =

*link removed by blackwings*
Title:
Post by: blackwings on 21 June, 2005, 15:26:44
BASIC 5.0.1 by blackwings

--CHANGED: optimized the anti-advertising a bit
--FIXED: bug in url detection

If your safe adresses contains lines, change " - " to  " %- ", otherwise they wont be detected.

For those who doesn't want a main bot with million functions, which you never use, then BASIC 5.0.1 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 5.0 and want to update to 5.0.1 without
downloading everything again can download this zip. It contains two zip files =
BASIC-FOLDER501-ENGLISH.zip - advertZ.lua in english
BASIC-FOLDER501-CZECH.zip - advertZ.lua in czech

Download it here =

*link removed by blackwings*
Title:
Post by: blackwings on 27 June, 2005, 15:19:35
BASIC 5.0.2 by blackwings

--CHANGED: optimized the anti-advertising :)

If your safe adresses contains lines, change " - " to  " %- ", otherwise they wont be detected.

Those who just dl the advertZ.lua, should change the old DNS01={} to this = DNS01={
"no%-ip","mine","zapto","ath","homeip","gotdns","kicks%-ass","dyndns","myftp","serveftp",
"dnsalias","dynalias","hopto","staticip","orgdns","myftpsite","homeunix","homelinux","dns2go",
"is%-a%-geek","isa%-geek","bounceme","dynip","d2g","sytes","servehttp","servehalflife","servequake",
"servecounterstrike","xs4all","servebeer","tropico","lysekil","udgnet","servemp3","servegame",
"ipactive","idlegames","flamenap","clanpimp","ip","uni","depecheconnect","unusualperson","ciscofreak",
"deftonzs","point2this","stufftoread","dynu","darkdata","ipme","e%-net","newgnr","bst","bsd","ods",
"x%-host","myvnc","kyed","lir","finx","sheckie","vizvaz","nerdcamp","cicileu","3utilities",
"redirectme","serveirc","servepics","damnserver","ditchyourip","dnsiskinky","geekgalaxy",
"net%-freaks","securityexploits","securitytactics","servehumour","servep2p","servesarcasm",
"workisboring"
}
For those who doesn't want a main bot with million functions, which you never use, then BASIC 5.0.2 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

For those who has BASIC 5.0 or 5.0.1 and want to update to 5.0.2 without
downloading everything again can download this zip. It contains two zip files =
BASIC-FOLDER502-ENGLISH.zip - advertZ.lua in english
BASIC-FOLDER502-CZECH.zip - advertZ.lua in czech

Download it here =

*link removed by blackwings*
Title:
Post by: blackwings on 02 July, 2005, 04:37:07
BASIC 5.0.3 by blackwings

--ADDED: a disable option for maxslot
--ADDED: Max hub and hub ratio

If your safe adresses contains lines, change " - " to  " %- ", otherwise they wont be detected.

For those who doesn't want a main bot with million functions, which you never use, then BASIC 5.0.3 is your CHOICE !!!

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

{This time you need to download everthing, so check the first post in this thread}

For those that want advertZ.lua in the CZECH language, MUST also download this zip =
*link removed by blackwings*
Title:
Post by: blackwings on 02 July, 2005, 21:38:34
BASIC 5.0.4 by blackwings :)

--ADDED/CHANGED: redirect option for all bSetting, client, bad prefix*

* I moved the redirect option to under the bot name setting

If your safe adresses contains lines, change " - " to  " %- ", otherwise they wont be detected.

For those who doesn't want a main bot with million functions, which you never use, then BASIC 5.0.4 is your CHOICE !!! :D

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

{You need to download everthing again, so check the first post in this thread}

NEW LANGUAGE ADDED = SWEDISH :D

For those that want advertZ.lua in the CZECH or SWEDISH language, MUST also download this zip, it contains to zip files, one is in Czech the other one is in Swedish =
*link removed by blackwings*
Title:
Post by: blackwings on 12 July, 2005, 16:10:43
BASIC 5.0.5 by blackwings

--CHANGED: again I optimized the anti-advertising, about 14% faster :D

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.0.5 is your CHOICE !!!


!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

NEW LANGUAGE ADDED = PORTUGUESE

Those who don't wont to download everything again, can download this zip file,
it contains one zip file with the advertZ.lua for each of this languages: CZECH, ENGLISH, PORTUGUESE, SWEDISH.

Download it here =
*link removed by blackwings*
Title:
Post by: blackwings on 13 July, 2005, 21:50:59
BASIC 5.0.7 by blackwings

--FIXED: small bug in Web URL detection
--CHANGED: I optimized the anti-advertise, about 371% faster WOHOO! :D

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.0.7 is your CHOICE !!!


!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

NEW LANGUAGE ADDED = FINNISH

Those who don't wont to download everything again, can just download this zip file,
it contains one zip file with the advertZ.lua for each of this languages: CZECH, ENGLISH, FINNISH, PORTUGUESE, SWEDISH.
Download it here =
*link removed by blackwings*
Title:
Post by: blackwings on 17 July, 2005, 00:41:00
BASIC 5.0.8 by blackwings

--FIXED: a memory leak
--ADDED: time option for memory flush
--FIXED: the anti-advertuse kick counter does now work correctly :)
--CHANGED: in DNS01={}, lines can now be just "-" instead of "%-"
--CHANGED: a couple of small optimizeing in the anti-advertising.

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.0.8 is your CHOICE !!!
:)

This time you need to download the whole updated of  BASIC.

It does also contains another zip file, which in its turn contain 4 zip files,
each with its own language of the advertZ.lua(czech,finnish,portuguese and swedish).
The default advertZ.lua is in english. Check the first post in this thread to download BASIC 5.0.8

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 01 August, 2005, 10:52:45
BASIC 5.1 by blackwings

--ADDED: detects adresses with [dot],(dot),{dot}.(also with d0t)
--ADDED: configuration of signs :)
--ADDED: configuration of urls
--ADDED: configuration of anti-advertise messages
--CHANGED: better list handeling
--CHANGED: some small optimaztion of the anti-advertise

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.1 is your CHOICE !!!


Again you must download the whole updated BASIC.

Now when you can configure the advertZ.lua messages by your-self (in the main lua file),
I don't need to translate things anymore. But for quick translation of the anti-advertise messages,
I have put a .txt called OtherLanguages.txt in the .zip file with languages that was released with
earlier versions of BASIC and instructions of how to do it.

Check the first post in this thread to download BASIC 5.1

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 02 August, 2005, 05:51:49
BASIC 5.1.1 by blackwings

-- FIXED: a typo that had disabled the url detection

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.1.1 is your CHOICE !!!


Now when you can configure the advertZ.lua(5.1 and later) messages by your-self (in the main lua file),
I don't need to translate things anymore.

But for quick translation of the anti-advertise messages,
I have put a .txt called OtherLanguages.txt in the .zip file with languages that was released with
earlier versions of BASIC and instructions of how to do it.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

if you have BASIC 5.1 and want to update to 5.1.1,
then you can just download this zip file =

*link removed by blackwings*
Title:
Post by: blackwings on 30 August, 2005, 06:56:42
BASIC 5.5 by blackwings

-- CHANGED: optimized slot/share/hub check = 19% faster
-- CHANGED: optimized Bad Client check = 231% faster :)
-- CHANGED: optimized Bad Prefix check = 68% faster :)
-- CHANGED: share unit in bSetting, no need to set it manually in msg
-- ADDED: Setting for which profile that should have client check
-- ADDED: immune settings against anti-advertise
-- FIXED: zero division bug caused by a buggy dc clients
-- FIXED: nil comparison bug caused by a buggy dc clients

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.5 is your CHOICE !!!


Because of the many changes in BASIC 5.5,
the BASIC 5.5 zip file also contains a copy of the BASIC 5.1.1 zip file,
in case of if 5.5 a any bugs that causes problems, then you could switch back to 5.1.1.

There is also an another folder in the BASIC 5.5 zip file called "Extra",
it contains a script with show/change redirect adress commands, for those that use ptokax's redirect adress.


You need to download the whole script this time, check the first post in this thread.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 02 September, 2005, 21:17:05
I have updated the redirect bot that came with BASIC 5.5, the new version of the rd bot is 1.1

changelog =
--- FIXED: the message with the ptokax RD adress that is sent to user
--- FIXED: So that the command isn't sent to everyone in main chat

*link removed by blackwings*
Title:
Post by: blackwings on 02 September, 2005, 22:16:50
New version of the redirect bot that comes with BASIC 5.5!

The changlog for version 1.2=
version 1.1:
--- FIXED: the message with the ptokax RD adress that is sent to user
--- FIXED: So that the command isn't sent to everyone in main chat
version 1.2:
--- CHANDED: Bot is now regged in the userlist
--- FIXED: commands now work in pm to the bot

*link removed by blackwings*
Title:
Post by: blackwings on 13 September, 2005, 00:41:29
BASIC 5.5.2 by blackwings

-- FIXED: a copy mistake in anti-advertise
-- FIXED: the nil comparison bug hopefully
-- ADDED: an extra client check function for client tags in description

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.5.2 is your CHOICE !!!


I have added another extra script to the folder "Extra". It's a right-click script, here is the description about it =
Quote-- BASIC right click menu 1.0
---- a very modded version of Mutors Profile Menu 1.0c by blackwings
-------------------------------------------------------------------
--- Sends context (right click) menus per profile
-- the commands is ordered exactly as they appear in this script, not random as Profile Menu 1.0.
-- these prefixes can be used = !+?$#
There is also an another folder in the BASIC 5.5.2 zip file called "Extra",
it contains two scripts =
1. show/change redirect adress command script, for those that use ptokax's redirect adress.
2. right-click script, read its description in the beginning of the script to know more.[/B]

You need to download the whole script this time too, check the first post in this thread.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 14 September, 2005, 00:43:18
BASIC 5.6 by blackwings

-- FIXED: tCl3 client check ignored if tCl DC++ minversion was higher
-- CHANGED: optimized the client check a bit

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.6 is your CHOICE !!!


BASIC right-click menu 1.0.1 - changelog =
-- ADDED: the show/change redirect adress commands from the rd bot

I have added another extra script to the folder "Extra". It's a right-click script, here is the description about it =
Quote-- BASIC right click menu 1.0.1
---- a very modded version of Mutors Profile Menu 1.0c by blackwings
-------------------------------------------------------------------
--- Sends context (right click) menus per profile
-- the commands is ordered exactly as they appear in this script,
-- not random as Profile Menu 1.0.
-- these prefixes can be used = !+?$#
There is also an another folder in the BASIC 5.6 zip file called "Extra",
it contains two scripts =
1. show/change redirect adress command script, for those that use ptokax's redirect adress.
2. right-click script, read its description in the beginning of the script to know more.[/B]

You need to download the whole script this time too, check the first post in this thread.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 16 September, 2005, 17:56:58
BASIC 5.6.1 by blackwings

-- FIXED: client check on/off settings per profile is working again
-- CHANGED: again I optimized the client check a bit
-- ADDED: Profiles: Moderator and Netfounder for those that use more
--............ than the default profiles in ptokax

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.6.1 is your CHOICE !!!


BASIC show/change redirect adress commands  1.2.1  - changelog =
-- ADDED: the profiles: moderator and netfounder for those that want to use it

BASIC right-click menu 1.0.1 - version B - changelog =
--  ADDED: the profiles: moderator and netfounder for those that want to

I have made two version of BASIC right click script =
Version A: rightclicker with only the default profiles
Version B: rightclicker with the default profiles and netfounder + moderator

Both of these are in the folder "Extra"


You need to download the whole script this time too, check the first post in this thread.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)
Title:
Post by: blackwings on 01 October, 2005, 22:17:42
BASIC 5.6.2 by blackwings

-- FIXED: typo in anti-advertise immune check, now it works properly
-- ADDED: german language to otherlanguages.txt - thanx Psycho_Chihuahua

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.6.2 is your CHOICE !!!


!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(the first post has been updated)

If you have BASIC 5.6.1 and want 5.6.2, you can just download this zip file
that contains the BASIC folder with advertZ.lua in it =

click here to download advertZ.lua (http://lua.uknnet.com/attachment.php?attachmentid=176)
Title: Re: BASIC - a small mainbot
Post by: blackwings on 26 February, 2006, 21:14:15
BASIC 5.8 by blackwings

-- FIXED: a bug in the HTTP detection
-- CHANGED: optimized the anti-advertise, it's about 35% faster
-- CHANGED: the safe advertise handeling, creates less garbage memory
-- CHANGED: the HTTP detection handeling, creates less garbage memory

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.8 is your CHOICE !!!


!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(THE FIRST POST HAS BEEN UPDATED)
Title: Re: BASIC - a small mainbot
Post by: blackwings on 26 February, 2006, 21:14:56
BASIC 5.8.1 by blackwings

-- FIXED: BASIC will now create kickcount.lua if it doesn't exist.

For those who doesn't want a main bot with million functions which you never use,
then BASIC 5.8.1 is your CHOICE !!!


The whole script needs to be downloaded again.

!!IF YOU FIND A BUG, PLEASE REPORT IT!!
(THE FIRST POST HAS BEEN UPDATED)