I have searcht on most forums on the net, how to get my hub registed to a hublist, most forums the moderator sais that ita already been diskused, but i cant finde any solution,,, so someone help i have no freaking idea how to registring to a hublist,
I have checkt the box i ptokax that sais registrate auto.... but nothing happends so some one please help one this one!!!!!!!
You got a box over the Register Auto... thing..
Paste this in to it....
Quotedreamland.gotdns.org;warez.1stleg.com;dcreg.mine.nu;vandel405.dynip.com;Imperialnet.org;se.hublist.org;us.hublist.org
It will reg you in a couple hublist, but it will take some hours before you can see your hub in the list....
Do i need to restart the hub or does it manages to do that without a restart??? i?m running test drive 4
beh?ver jag starta om hubben lr fixar den det sj?lv?? och jag k?r test drive 4 d?...
Thanks so faar
must work without restart imho
..try this one
_____________________________________________
--// HubINFO-BotINFO support script for PtokaX by Gadget
--// Optional hubowner's email address for editing hub info in //www.hublist.org
OwnerEmail="xxx@xxx"
--// No need to edit other settings
MinSlots=0
MaxHubs=0
function Main()
HubAddress=GetFromIni("HubAddress")..":"..GetFromIni("HubPort")
if GetFromIni("MinSlotsChecker")=="1" then
MinSlots=GetFromIni("MinSlots")
end
if GetFromIni("HubChecker")=="1" then
MaxHubs=GetFromIni("MaxHubs")
end
end
function DataArrival(curUser,data)
if strsub(data,1,9)=="$BotINFO " then
curUser:SendData("$HubINFO "..frmHub:GetHubName().."$"..HubAddress.."$"..frmHub:GetHubDescr().."$"..frmHub:GetMaxUsers().."$"..floor(frmHub:GetMinShare()*1048576).."$"..MinSlots.."$"..MaxHubs.."$PtokaX 0.3 ".._VERSION.." script$"..OwnerEmail)
end
end
function GetFromIni(var)
local result=""
readfrom("../PtokaX.ini")
while 1 do
local line=read()
if line==nil then
break
else
if strsub(line,1,strlen(var)+1)==var.."=" then
result=strsub(line,strlen(var)+2,strlen(line))
break
end
end
end
readfrom()
return result
end
_____________________________________________
works fine :))
?( I want to ask what is the problem if i have something like this... : ?(
Syntax: ......PtokaX\scripts\hubinfo.lua:29: attempt to call global `readfrom' (a nil value)
can you help me?
I'm using PtokaX v. 0.3.3.0 build 17.03 [debug]
thx a lot
JollyJoker :D
--// HubINFO-BotINFO support script for PtokaX by Gadget
--// Optional hubowner's email address for editing hub info in [URL]www.hublist.org[/URL]
OwnerEmail="xxx@xxx"
--// No need to edit other settings
MinSlots=0
MaxHubs=0
function Main()
HubAddress=GetFromIni("HubAddress")..":"..GetFromIni("HubPort")
if GetFromIni("MinSlotsChecker")=="1" then
MinSlots=GetFromIni("MinSlots")
end
if GetFromIni("HubChecker")=="1" then
MaxHubs=GetFromIni("MaxHubs")
end
end
function BotINFOArrival(curUser, Data)
curUser:SendData("$HubINFO "..frmHub:GetHubName().."$"..HubAddress.."$"..frmHub:GetHubDescr().."$"..frmHub:GetMaxUsers().."$"..math.floor(frmHub:GetMinShare()*1048576).."$"..MinSlots.."$"..MaxHubs.."$PtokaX 0.3 ".._VERSION.." script$"..OwnerEmail)
end
function GetFromIni(var)
local result=""
local file = io.open("../PtokaX.ini","r")
while 1 do
local line=io.read()
if line==nil then
break
else
if string.sub(line,1,string.len(var)+1)==var.."=" then
result=string.sub(line,string.len(var)+2,string.len(line))
break
end
end
end
io.read()
io.close()
return result
end
try that