Random redirector
 

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

Random redirector

Started by Daywalker?, 05 November, 2006, 21:32:26

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Daywalker?

--[[

	Redirect Array by nErBoS

	LUA 5.0/5.1 version by jiten

	CHANGELOG:
	*********** Daywalker ********************************************************************
	- Added Toggle maininfo on/of also in RC
	- Changed from share to random redirect
	- Added commands for help, show, add and delete
	- Added table for adding arrays
	- Added RC Commands for easy use and lazy op's and send some to ops cause main is quite full^^
	- Added pxwsa_l51.dll from blue_bear for pinging online hubs in table
	
	NOTE: make a textfile called Array.dat in the script folder for table :)
	NOTE2: put the pxwsa_l51.dll in the Ptokax root folder

		  known Commands are !addred !delred !showred and !redhelp
		  
		  !!tnx to Dutchman CrazyGuy Mutor and everyone i forgot for the big help :)!!
	********************************************************************************************************
	- Corrected by NightLitch
	- Added: Endless amount of hubs by plop
	- Changed: For setting user levels to be redirected by bastya_elvtars (nice crew in here)
	- Changed: CheckUserLevel originally by Nathanos
	- Changed: CheckUserLevel eliminated by plop

]]--


download: ??????TriBlade??????

6Marilyn6Manson6


Anna

#2
:) its a nice one.. I edited it slightly to include a manual ping, simply added a command that calls the DoConnect, worked like a charm.. however the output is a bit less like a charm. Would guess its the same when it pings on timer...
Dont wanna advertise so I edited the actual name and addy. As you can see it tells me several times that the hub is offline... online hubs are no problem.
Btw, the number of repetitions is the same as the number of hubs in array :) I think I know where the problem is and I'm gonna try my theory, just wanted to let you know whats goin on
Quote
[22:01:06] <??????TriBlade??????> *** Checking online hubs ...Connecting...
[22:01:06] <??????TriBlade??????> *** Connecting to: hubname Hubadres: hubaddy with port: 411.....
[22:01:06] <??????TriBlade??????> *** Connection failed....
[22:01:06] <??????TriBlade??????> *** Hub is currently offline
[22:01:06] <??????TriBlade??????> *** And Blocked in redirect
[22:01:06] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:06] <??????TriBlade??????> *** Hub is currently offline
[22:01:06] <??????TriBlade??????> *** And Blocked in redirect
[22:01:06] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:06] <??????TriBlade??????> *** Hub is currently offline
[22:01:06] <??????TriBlade??????> *** And Blocked in redirect
[22:01:06] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:06] <??????TriBlade??????> *** Hub is currently offline
[22:01:06] <??????TriBlade??????> *** And Blocked in redirect
[22:01:06] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:06] <??????TriBlade??????> *** Hub is currently offline
[22:01:06] <??????TriBlade??????> *** And Blocked in redirect
[22:01:06] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:06] <??????TriBlade??????> *** Hub is currently offline
[22:01:07] <??????TriBlade??????> *** And Blocked in redirect
[22:01:07] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:07] <??????TriBlade??????> *** Hub is currently offline
[22:01:07] <??????TriBlade??????> *** And Blocked in redirect
[22:01:07] <??????TriBlade??????> *** Deblock will be activated after next Ping

[22:01:07] <??????TriBlade??????> *** Hub is currently offline
[22:01:07] <??????TriBlade??????> *** And Blocked in redirect
[22:01:07] <??????TriBlade??????> *** Deblock will be activated after next Ping

Btw, how is the timer built up, what time will the default give: pingtime = 30*60*1000  is it 30 min as I suspect or something else?

Daywalker?

QuoteBtw, the number of repetitions is the same as the number of hubs in array Smiley I think I know where the problem is and I'm gonna try my theory, just wanted to let you know whats goin on

if you want you can only send the offline hubs to main or remove the AllowRedirect option because it has no use atm and remove the lines
    	SendToOps(Bot, "*** And Blocked in redirect")
			    	SendToOps(Bot, "*** Deblock will be activated after next Ping\n")

so the spam wld be less and more charmed tho :)

QuoteBtw, how is the timer built up, what time will the default give: pingtime = 30*60*1000  is it 30 min as I suspect or something else?

yeps 30*60*1000 means timer is set on 30 minutes  :)

Anna

it was the repeats I wanted to get rid of, not the info itself... and so I did, by removing a for loop.. also I had a problem where some users ended up in the hub and wasnt redirected. I figured this to be because the random hub in that case was marked as offline.. sorted that one with a small while loop.
I'm not at my computer rightnow so I can not paste my changes, and maybe they arent really the best way of doin things, but it did the trick for me :)

Daywalker?

Updated Script with some minor things:
--[[

	Redirect Array by nErBoS

	LUA 5.0/5.1 version by jiten

	CHANGELOG:
	*********** Daywalker ********************************************************************
	- Added Toggle maininfo on/of also in RC
	- Changed from share to random redirect
	- Added commands for help, show, add and delete
	- Added table for adding arrays
	- Added RC Commands for easy use and lazy op's and send some to ops cause main is quite full^^
	- Added pxwsa_l51.dll from blue_bear for pinging online hubs in table
	- fixed some ugly things init so it looks more charmed :))
	- Removed some unused code
	
	NOTE: make a textfile called Array.dat in the script folder for table :)
	NOTE2: put the pxwsa_l51.dll, cc3270.dll and the pxwsa_l51.tds in the Ptokax root folder

		  known Commands are !addred !delred !showred !on !off and !redhelp 
		  
		  !!tnx to Dutchman CrazyGuy Mutor and everyone i forgot for the big help :)!!
	********************************************************************************************************
	- Corrected by NightLitch
	- Added: Endless amount of hubs by plop
	- Changed: For setting user levels to be redirected by bastya_elvtars (nice crew in here)
	- Changed: CheckUserLevel originally by Nathanos
	- Changed: CheckUserLevel eliminated by plop

]]--


changed the online check spam
<??????TriBlade??????> 		?????? Checking online hubs ??????
 
<??????TriBlade??????> *** [OFFLINE] ==>> testhub2 Hubadres: testhub.no-ip.com with port: 411 <<== [OFFLINE]
 
<??????TriBlade??????> *** Online: testhub1 Hubadres: test1.zapto.org with port: 1411.....
 
<??????TriBlade??????> *** Online: testhub3  Hubadres: test3.no-ip.biz with port: 411.....
 
<??????TriBlade??????> *** Online: testhub4 Hubadres: test4.zapto.org with port: 411.....
 
<??????TriBlade??????> *** [OFFLINE] ==>> testhub Hubadres: test.no-ip.com with port: 411 <<== [OFFLINE]
 
<??????TriBlade??????> 		?????? Hubs are Pinged succesfully ??????


New version is TriBlade v A.03

Download ??????TriBlade??????

SMF spam blocked by CleanTalk