User Database
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
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

User Database

Started by RDB, 18 April, 2004, 14:00:08

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

RDB

The users database seems to have stopped collecting data  :( . What script controls this feature? and how do i re-activate it.

[NL]trucker

RdB

please provide a bit more info on what scripts you,re using.

if we have to find out wich script this belong to it is gonna be a wild goosehunt
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


RDB

I believe it is an inbuilt feature into ptokax but am not sure as to how to activate it. There is a file called "users.ldb" in the root directory where ptokax.exe is situated.

[NL]trucker

hmmm


i,m not sure of this :

I believe it is an inbuilt feature into ptokax but am not sure as to how to activate it. There is a file called "users.ldb" in the root directory where ptokax.exe is situated.

a: wich version of pkotax are you using?
B: wich scripts are you running?

as to my knowledge there shouldnt be a file users.ldb in the rootdir but than again i could be wrong.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


RDB

#4
I am using Ptokax 0.3.2.6 TestDrive 4. Also using Channel_Bot.v4.3c.

May i ask, what is the clear user statistic option on ptokax under Advanced options and the enable user-statistics check box for?

Also im using User-info script which.

-- user info script by lallo82 
-- functions by plop (great work) 

Bot = "HouseBot"

function Main() 
end 


function DataArrival(user, data) 

if( strsub(data, 1, 1) == "<" ) then 
-- remove end pipe 
data=strsub(data,1,strlen(data)-1) 
-- parse the command 
s,e,cmd = strfind( data, "%b<>%s+(%S+)" ) 



if (user.bOperator) then 
if (cmd=="+userinfo" or cmd=="+whois" ) then 
UserInfo(user, data) 
return 1 

end 


end 

end 
end 

function GetArgML(data) 
s,e,cmd,arg = strfind(data, "%b<>%s+(%S+)%s+(%S+)%s*") 
return arg 
end 

function UserInfo(user, data) 
who=GetArgML(data) 
local usr = GetItemByName(who) 
user:SendPM(Bot, "here is the info from: "..who.." |") 
-- now whe know the user lets extract the info 
-- ip of the user 
user:SendPM(Bot, "ip: "..usr.sIP.." |") 
-- client type and version 
if (strfind(usr.sMyInfoString," 4 then 
limiter = limiter / 1024 
end 
end 
user:SendPM(Bot, "upload limited: "..limiter.." Kb/s |") 
end 
-- bandwidth download limiter 
_,b, dlimiter = strfind(usr.sMyInfoString,"D:(%x+)") 
if dlimiter ~= nil then 
user:SendPM(Bot, "download limited: "..dlimiter.." Kb/s |") 
end 
end

pHaTTy

yes there shud, ok goto advanced tab on ptokax and enable user statistics ;-)

u might want to del the old db
Resistance is futile!

RDB

That is enabled - but i didnt delete the old one - is that the reason its not working? b'cos if not id rather not restart my hub for no reason.


plop

QuoteOriginally posted by RDB
That is enabled - but i didnt delete the old one - is that the reason its not working? b'cos if not id rather not restart my hub for no reason.
did you enable it while the hub was running??
if so you gotta disable it again, close ptokax, start it up, enable the database, and then start serving.
you can't enable it on a running hub.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk