--[[
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?????? (http://yourlink.eu/daywalker/scripts/TriBlade%20v%20A.03.rar)
Nice Nice Nice Nice :D
:) 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?
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 :)
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 :)
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?????? (http://yourlink.eu/daywalker/scripts/TriBlade%20v%20A.03.rar)