Here is list of already known bugs...
1 ) Random ??? crash when is enabled autoregister to hublist (very old bug, existing few years ;D )... problem is causing borland component used in this function, this code will be rewritten to use winsock instead of this component, after i learn how to do it ::)
2 ) Crash when lua OnTimer trying to send data to user when this user is not in hub (must be here few years too :P )... i am not sure if this cause timer or script storing user object in global table or something, will be hard to fix it but i will try.
3 ) Crash if script show message box using ShowMessage() and user not click ok, but restart/stop this script (hey this must be old bug too :o )... i don't know if is here another possible fix than removing this function.
4 ) Inbuild webserver is exploitable (another old bug)... inbuild webserver will be removed in future.
i disabled the use Hub-Security alias and it's still using it
21:14:44] <Hub-Security> *** ghost with IP 89.137.1.5 dropped and added to tempban by alex because: No reason specified. ???
Here is no option to disable Hub-Security alias ::)
i think deFlood:SetChatLen function dont work :'( All rest deFlood:SetChatLines,deFlood:SetPMLen and deFlood:SetPMLines works fine :-*
here is my code
["setchatlimit"] = function(user,data)
if Levels["Data"]["setchatlimit"][user.iProfile] == 1 then
local s,e,cmd,action,lenght,lines = string.find( data, "%b<>%s+(%S+)%s+(%S+)%s+(%S+)%s+(%S+)")
if action =="main" then
SendToOps(Settings["Script"]["BotName"],ProfileName(user.iProfile).." "..user.sName.." changed Main chat limits to: "..lenght.." letters or "..lines.." lines")
deFlood:SetChatLen(lenght)
deFlood:SetChatLines(lines)
elseif action =="pm" then
SendToOps(Settings["Script"]["BotName"],ProfileName(user.iProfile).." "..user.sName.." changed PM chat limits to: "..lenght.." letters or "..lines.." lines")
deFlood:SetPMLen(lenght)
deFlood:SetPMLines(lines)
elseif action== nil or lenght==nil or lines==nil then
user:SendData(Settings["Script"]["BotName"], "Right command is !setchatlimits <main/pm> <lenght> <lines> !!!")
else
user:SendData(Settings["Script"]["BotName"],Lines["ForbiddenCmd"])
end
return 1
end
end,
[22:07:33] <?Leviathan?> Master C??o?y?? changed Main chat limits to: 6000 letters or 31 lines
[22:07:43] <?Leviathan?> Master C??o?y?? changed PM chat limits to: 6000 letters or 31 lines
? Deflood Settings:
? Main Chat Limits : 4096 letters or 31 lines
? Private Message limits : 6000 letters or 31 lines
Quote from: PPK on 27 June, 2006, 16:00:58
4 ) Inbuild webserver is exploitable (another old bug)... inbuild webserver will be removed in future.
Cant that be fixed ??? .. Has im using mutors PtokaX Online Users Script would be a-shame to lose that
Quote from: Cy?e??o? on 27 June, 2006, 20:16:44
i think deFlood:SetChatLen function dont work :'(
I tested it with this small script...
SendToAll("Actual Chat Len -> "..deFlood:GetChatLen())
newlen = deFlood:GetChatLen()*2
SendToAll("Changing Chat Len to -> "..newlen)
deFlood:SetChatLen(newlen)
SendToAll("New Chat Len -> "..deFlood:GetChatLen())
2 times and both ok, working without problems here...
Quote[2006-06-27 22:37:19] Actual Chat Len -> 256
[2006-06-27 22:37:19] Changing Chat Len to -> 512
[2006-06-27 22:37:19] New Chat Len -> 512
[2006-06-27 22:37:25] Actual Chat Len -> 512
[2006-06-27 22:37:25] Changing Chat Len to -> 1024
[2006-06-27 22:37:25] New Chat Len -> 1024
Quote from: (uk)jay on 27 June, 2006, 21:26:04
Cant that be fixed ???
No, is another problematic borland component... and i don't want to copy/paste Apache to PtokaX ;D
Quote from: PPK on 27 June, 2006, 19:46:32
Here is no option to disable Hub-Security alias ::)
maybe in a future version ???
and don't forget the unban button in the GUI :P
Quote from: Alexinno on 27 June, 2006, 22:17:52
maybe in a future version ???
I am not sure if send chat/pm without nick is good idea ::)
Problem solved... uploaded new 0.3.5.0 version .. i used that 0.3.5.0 you posted on px admin hub.. mayby it werent ready one yet ;D
with old
[00:24:17] Actual Chat Len -> 4096
[00:24:17] Changing Chat Len to -> 8192
[00:24:17] New Chat Len -> 4096
[00:24:48] Actual Chat Len -> 4096
[00:24:48] Changing Chat Len to -> 8192
[00:24:48] New Chat Len -> 4096
[00:24:55] Actual Chat Len -> 4096
[00:24:55] Changing Chat Len to -> 8192
[00:24:55] New Chat Len -> 4096
new
[00:31:14] Actual Chat Len -> 600
[00:31:14] Changing Chat Len to -> 1200
[00:31:14] New Chat Len -> 1200
Quote from: Cy?e??o? on 27 June, 2006, 22:43:33
Problem solved... uploaded new 0.3.5.0 version .. i used that 0.3.5.0 you posted on px admin hub..
They are same :o
Quote from: PPK on 27 June, 2006, 22:27:47
Quote from: Alexinno on 27 June, 2006, 22:17:52
maybe in a future version ???
I am not sure if send chat/pm without nick is good idea ::)
hmmm , i use the txt file suport and when some1 type !rules the text file is send to him in PM by Hub-Security
and Hub-Security is offline
Just register the bot, and it will appear, or put the name of some other registered bot as hub security.
why i get this error becose that address not works or what?
9/20/2006 6:48:54 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 92, Share: 9073326651904)
9/20/2006 6:48:54 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 6:48:55 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 6:48:55 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 7:03:55 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 90, Share: 8985444857059)
9/20/2006 7:03:55 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 90, Share: 8985444857059)
9/20/2006 7:03:55 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 7:03:56 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 7:03:56 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 7:18:56 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 88, Share: 8481289006337)
9/20/2006 7:18:56 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 88, Share: 8481289006337)
9/20/2006 7:18:56 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 7:18:57 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 7:18:57 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 7:33:57 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 86, Share: 8426613393942)
9/20/2006 7:33:57 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 86, Share: 8426613393942)
9/20/2006 7:33:57 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 7:33:58 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 7:33:58 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 7:48:58 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 85, Share: 8424442207835)
9/20/2006 7:48:58 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 85, Share: 8424442207835)
9/20/2006 7:48:58 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 7:48:59 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 7:48:59 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 8:03:59 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 81, Share: 8298924741366)
9/20/2006 8:03:59 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 81, Share: 8298924741366)
9/20/2006 8:03:59 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 8:04:00 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 8:04:00 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 8:19:00 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 77, Share: 8200059664182)
9/20/2006 8:19:00 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 77, Share: 8200059664182)
9/20/2006 8:19:00 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 8:19:01 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 8:19:01 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 8:34:01 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 74, Share: 7818073372282)
9/20/2006 8:34:01 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 74, Share: 7818073372282)
9/20/2006 8:34:01 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 8:34:02 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 8:34:02 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
9/20/2006 8:49:02 PM - [REG] Hub is registered on dreamland.gotdns.org hublist (Users: 71, Share: 7748496291617)
9/20/2006 8:49:02 PM - [REG] Hub is registered on dcreg.mine.nu hublist (Users: 71, Share: 7748496291617)
9/20/2006 8:49:02 PM - [REG] RegSock Error 10061 Connection refused. (reg.hublist.org)
9/20/2006 8:49:03 PM - [REG] RegSock Error 10061 Connection refused. (bwhubreg.no-ip.info)
9/20/2006 8:49:03 PM - [REG] RegSock Error 10061 Connection refused. (dcinfo.sytes.net)
From Microsoft Developer Network library
Quote10061 WSAECONNREFUSED Connection refused. No connection could be made because the target machine actively refused it. This usually results from trying to connect to a service that is inactive on the foreign host ? that is, one with no server application running.
reg.hublist.org is down very long time, address is here resolved to ip 127.0.0.1 :o
bwhubreg.no-ip.info sometimes working.
dcinfo.sytes.net don't know, few last days not working for me.
ok tnx