UserBekcisi
 

News:

11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

UserBekcisi

Started by GeceBekcisi, 20 April, 2006, 19:08:56

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

GeceBekcisi

UserBekcisi is the third generation IPdbBOT in practice.

Nearly all the script is rewritten for couple of times, tons of bugs fixed and lots of features added;
so changing project name was needed since it's completely different than old one.

It has user info (nick, IP, share size, tag, description, mail and connection type) logging in addition to
IP logging and lots of new features when compared to latest released IPdbBOT.

No readme nor changelog files available yet so use with attention, but you can check help command
(!ubhelp or !ubh as default) and settings file for some information about bot.

Ask your questions, report bugs and request features here please.


Download from here
? Current version: 1.00.RC2.b009
? Updated at: 09.05.2006 16:25 GMT+3
? Major Change since last build: User Checking



NOTES:
1. 2.51 was the latest release version of IPdbBOT
2. You can NOT use any of your old IPdbBOT files; so please download and run the script as is.

Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

Markitos

Hi GeceBeckcisi...
I like your script but i isn't this function wrong???
--// ----------------------------------------------------------
--// General CIDR Correction (like 127.000.0.01/0021 to 127.0.0.1/21)
tFunctions.CIDR_Correction = function(sCIDR)
	local _,_,a,b,c,d,CIDRPrefix = string.find(sCIDR, "^(%d+)%.(%d+)%.(%d+)%.(%d+)/(%d+)$")
	if a and b and c and d and CIDRPrefix then
		if a ~= tonumber(a) or b ~= tonumber(b) or c ~= tonumber(c) or d ~= tonumber(d) or CIDRPrefix ~= tonumber(CIDRPrefix) then
			sIP = tonumber(a).."."..tonumber(b).."."..tonumber(c).."."..tonumber(d)
		end
		return sCIDR
	else
		OnError("\'"..sCIDR.."\' can not be corrected to form a CIDR!")
	end
end
--// ----------------------------------------------------------

Because you created sIP but didnt return it...u returned sCIDR and correcting sIP wouldn't be something like this?
sIP = tonumber(a).."."..tonumber(b).."."..tonumber(c).."."..tonumber(d).."/"..tonumber(CIDRPrefix)
  ???


Cheers

QuikThinker

I keep gettin this error
[12:08:01] <?MESSIAH?> Scanning registered users database and updating the database if nessesery!
[12:08:01] The px WSA files could not be found, copy them from the PxWSA folder inclued in this script
The files should in the folder specified in the WSAPath option in config
even tho i've done what it says. Plus there's a typo "necessary" not "nessesery"? :P

6Marilyn6Manson6

Quote from: QuikThinker on 21 April, 2006, 12:11:49
I keep gettin this error
[12:08:01] <?MESSIAH?> Scanning registered users database and updating the database if nessesery!
[12:08:01] The px WSA files could not be found, copy them from the PxWSA folder inclued in this script
The files should in the folder specified in the WSAPath option in config
even tho i've done what it says. Plus there's a typo "necessary" not "nessesery"? :P

Reinstall script and PxWSA library with PtokaX close :D

Psycho_Chihuahua

[22:19] No syntax errors in script file UserBekcisi v1.00.lua

[13:21:25] <-SanitariuM-> 

	================================================================================
	*Current Configuration* ( for *UserBekcisi v.1.00.RC1.b005* )
	----------------------------------------------------------------------------------------------------------------------------------------------------------------
	? Bot Name			: -SanitariuM-
	? Menu Title			: -SanitariuM-
	? Hub Owner Name			: Psycho_Chihuahua
	? Bot Reply Environment		: PM
	? Default Last X Times		: 10
	? Database Clean Interval (in weeks)	: 4
	? Exact Time Format		: %d.%m.%Y - %X
	? Date Format			: %d.%m.%Y
	? Command Spy			: Enabled
	? Performance Debugging		: Disabled
	? Setting Commands		: Enabled
	? PxWSA Library Usage		: Enabled
	? Device Usage (for database access)	: CPU (more than RAM)
	? ISP Queries			: Enabled
	? DNS Queries			: Enabled
	? High Amount of IP Queries		: Enabled
	? Range Access Control		: Disabled
	? Range Control Role		: Block
	? Range Control Applies To		: Marked ISPs
	----------------------------------------------------------------------------------------------------------------------------------------------------------------
	*Current Statistics*
	----------------------------------------------------------------------------------------------------------------------------------------------------------------
	? PtokaX Version			: 0.3.4.0
	? Online Users			: 5
	? Stats Exec Time			: 0.0160 seconds
	? Database Size			: 1620 bytes
	? Total Entries			: 16
	? Memory Usage			: 291 / 488 KiB
	================================================================================


working fine so far - haven't tested all functions yet
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

Markitos

Quote from: QuikThinker on 21 April, 2006, 12:11:49
Plus there's a typo "necessary" not "nessesery"  :P
Indeed QuikThinker but that msg is from robocop not from UB...

GeceBekcisi

Quote from: Markitos on 21 April, 2006, 08:36:04
Hi GeceBeckcisi...
I like your script but i isn't this function wrong???
--// ----------------------------------------------------------
--// General CIDR Correction (like 127.000.0.01/0021 to 127.0.0.1/21)
tFunctions.CIDR_Correction = function(sCIDR)
	local _,_,a,b,c,d,CIDRPrefix = string.find(sCIDR, "^(%d+)%.(%d+)%.(%d+)%.(%d+)/(%d+)$")
	if a and b and c and d and CIDRPrefix then
		if a ~= tonumber(a) or b ~= tonumber(b) or c ~= tonumber(c) or d ~= tonumber(d) or CIDRPrefix ~= tonumber(CIDRPrefix) then
			sIP = tonumber(a).."."..tonumber(b).."."..tonumber(c).."."..tonumber(d)
		end
		return sCIDR
	else
		OnError("\'"..sCIDR.."\' can not be corrected to form a CIDR!")
	end
end
--// ----------------------------------------------------------

Because you created sIP but didnt return it...u returned sCIDR and correcting sIP wouldn't be something like this?
sIP = tonumber(a).."."..tonumber(b).."."..tonumber(c).."."..tonumber(d).."/"..tonumber(CIDRPrefix)
? ???

Cheers


It seems that I forgot to finish this function? ;D Thanks for your report; this will be corrected in next build

Quote from: QuikThinker on 21 April, 2006, 12:11:49
I keep gettin this error
[12:08:01] <•MESSIAH•> Scanning registered users database and updating the database if nessesery!
[12:08:01] The px WSA files could not be found, copy them from the PxWSA folder inclued in this script
The files should in the folder specified in the WSAPath option in config
even tho i've done what it says. Plus there's a typo "necessary" not "nessesery"? :P

This error is not from UserBekcisi? ::)

You can never get such an error from UserBekcisi since it has its own PxWSA lib (so anyone shouldn't touch anything because there's nothing to be corrected :) )
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

QuikThinker

My apologies, thanx 4 the help :)

Also I have this question which is probably simple too. I wanna change the right-clicker menu name. I checked the script and replaced
-- User Commands Menu
	sMenu = frmHub:GetHubName(),
with
-- User Commands Menu
? ? ? ? ? ? ? ?? ? ? sMenu = "[?] UserBekcisi",
but it's still using the hub bot name :(

Markitos

Quote from: QuikThinker on 21 April, 2006, 15:35:18
My apologies, thanx 4 the help :)

Also I have this question which is probably simple too. I wanna change the right-clicker menu name. I checked the script and replaced
-- User Commands Menu
	sMenu = frmHub:GetHubName(),
with
-- User Commands Menu
                     sMenu = "[?] UserBekcisi",
but it's still using the hub bot name :(
Did u restarted the script?

GeceBekcisi

#9
Quote from: QuikThinker on 21 April, 2006, 15:35:18
My apologies, thanx 4 the help :)

Also I have this question which is probably simple too. I wanna change the right-clicker menu name. I checked the script and replaced
-- User Commands Menu
	sMenu = frmHub:GetHubName(),
with
-- User Commands Menu
? ? ? ? ? ? ? ?? ? ? sMenu = "[?] UserBekcisi",
but it's still using the hub bot name :(

Erm.. If you enabled setting commands or if iAllowSettingCommands equals to 1 in your settings file; UserBekcisi will ignore Settings.lua file and use Settings.tbl

Why UserBekcisi does so? Because I don't want to overwrite Settings.lua file since when saving in overwrite mode; the comments, the only information you have at the moment are lost ?>:(

Possible Solutions:
1. Change the bot name by rightclick menu or by manually entering the command !ubmenur <NewName>
2. Disable usage of setting commands

Best regards.
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

GeceBekcisi

I am thinking of adding user info checking to UserBekcisi which will check user's info against forbidden words and sharesizes etc.

Does anyone want such a functionality?
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

Psycho_Chihuahua

#11
Today it started and not even a clean install helps against it :(

UserBekcisi/Functions.lua:1677: attempt to perform arithmetic on global `iEntries' (a nil value)


** Edit: Working again after reboot of my pc ;)  - i guess this error was not script related **

**Edit 2: It's related to the "Performance Debug Setting" as soon as it's active i get the error - if i turn it off the error goes away **
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

GeceBekcisi

Thanks for the report. Will be corrected in b007 as well as some more.
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

Psycho_Chihuahua

Quote from: GeceBekcisi on 24 April, 2006, 12:25:37
Thanks for the report. Will be corrected in b007 as well as some more.

your'e welcome - took me a while to realise where the error came from  ::)
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

GeceBekcisi

#14
1.00.RC2.b008 is out now with GeoIP support. Grab from here
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

GeceBekcisi

I am thinking of removing Range Access Control module, the IP checker based on ISP database, since PtokaX can handle range bans very well. Is there anyone using it and who wants it to stay?
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

Psycho_Chihuahua

remove it you want to  ;)
i don't use it
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

GeceBekcisi

And what about user info checking (check user's info against forbidden words and sharesizes etc) ? Shall I add it?
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

6Marilyn6Manson6

Quote from: GeceBekcisi on 26 April, 2006, 13:34:43
And what about user info checking (check user's info against forbidden words and sharesizes etc) ? Shall I add it?

Yes added it thanks ^^

Psycho_Chihuahua

that would be cool yeah  ;D
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

QuikThinker

I agree, would be a nice addition  ;)

GeceBekcisi

While working on UserBekcisi to add user info checking, I noticed that with some small improvements check module can be used to check main chat messages; private messages and even searches & search replies... But here comes an important question: Should UserBekcisi check only user's info or more than info?

I am too confused to answer; because if I add this, UserBekcisi will start to feel like an All-In-One bot, which I don't want UserBekcisi to be* That's why I am asking you, the users of this script; because I write this script for you...

Should UserBekcisi check only user's info or more than info?


* NOTE: Why I don't want? Because the bigger a script gets, the harder it gets to maintain it.
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

QuikThinker

I know it's gonna be harder to maintain but you've done an excellent job so far so I don't see why you don't progress it further. If you've got the time that is.

Keep it up  ;)

GeceBekcisi

#23
1.00.RC2.b009 is out now with user info check + user share check functionality. Grab from here

NOTE: User share check functionality is working as any hubside bad file script, and you really should read the settings file before you start using the whole script.
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

GeceBekcisi

1.00.RC2.b010 is ready and CrazyGuy is preparing a GUI (a configuration application) for UserBekcisi; but we have a great problem? >:(


Currently, UserBekcisi has some commands which can change script configuration on-the-fly, and because of this; if these commands are enabled, UserBekcisi has to rewrite settings file each time it exits to be able to use new settings next time it starts.

A GUI will overwrite the settings file too if anything is changed, but if you use the GUI while script is working and configuration commands are enabled, the changes made with GUI will be lost sadly on next exit of UserBekcisi

We have 2 solutions for that.
First solution is to warn user each time user starts GUI about these, which may bore some users
Second solution is totally removing configuration commands and disable the script to overwrite the settings file when it exits.


We'll move forwards due to your replies and I'll release 1.00.RC2.b010 after that problem is solved; so which one do you prefer guyz?
Do you need an advanced user handling script? Download UserBekcisi today (Latest Edit)
Features: User + ISP + GeoIP database, user info + share checking and many more...

SMF spam blocked by CleanTalk