Hublist help
 

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

Hublist help

Started by El_diablo, 20 October, 2004, 08:32:17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

El_diablo

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!!!!!!!





Madman

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....
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

El_diablo

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

bastya_elvtars

must work without restart imho
Everything could have been anything else and it would have just as much meaning.

witch

..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  :))



JollyJoker

?( 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

Dessamator

--// 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
Ignorance is Bliss.

SMF spam blocked by CleanTalk