Author Topic: Disconnect DC++ Stealth if Not Responding to various things...  (Read 4170 times)

0 Members and 1 Guest are viewing this topic.

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
Here's my dilema...

Code: [Select]
curUser:SendTo(BotName," You don't met the share Minimum "..USR.MinShare.." Gb")
if USR.MinShareRedirect == "on" then
curUser:SendTo(BotName, " You are being Redirected to "..Redirect.."...")
curUser:SendData("$ForceMove "..Redirect)
--- RIGHT HERE ---
curUser:SendTo(BotName," Disconnecting becouse you use a Fake Client...")
curUser:Disconnect()
end
else
curUser:SendTo(BotName," Disconnecting...")
curUser:Disconnect()
end

What should I put there after $ForeMove Becouse of DC++ Stealth
it can be set not to respond to Redirect... How do I kick it
if it's not responding ??

I don't expect you guys help me new years eve...

But later plz...
//NL

PtokaX forum


Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #1 on: 31 December, 2003, 15:26:32 »
Plop plz help me out quick if you have the time...
//NL

Offline plop

  • Forum God
  • ****
  • Posts: 2 464
  • Karma: +37/-0
(No subject)
« Reply #2 on: 31 December, 2003, 15:53:07 »
quick idea not tested but might work.

stuff all users in a array and remove them if the respond.
do use a long timeout on it as not every1 can respond quickly.
what left of users in the array in the end should be the non responding stealth users.

it's a good idea btw, gone play with it a bit later.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #3 on: 31 December, 2003, 16:33:41 »
Well that sounds like my userlog but If I stuff it in after
The $ForeMove It doesn't seam to do any function...

But gonna try it out...

Otherwise I hope you can come with a solusion...
//NL

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #4 on: 31 December, 2003, 16:40:12 »
Solved it with ease:

This can't fail:

            curUser:SendTo(BotName, " You are being Redirected to "..Redirect.."...")
curUser:SendData("$ForceMove "..Redirect)
curUser:Disconnect()
« Last Edit: 31 December, 2003, 16:40:27 by NightLitch »
//NL

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #5 on: 31 December, 2003, 17:51:41 »
I fixed it a timer as you said Plop... and it works great...

have 1000 = 1sec maybe thats enough or ehat do you think...

Works atleast...
//NL

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #6 on: 31 December, 2003, 18:04:08 »
Other Questions:

Can I Check to Slotblock with some script teqnice...?

Can I Check if Search is blocked to ???
//NL

Offline gizmo

  • Double Ace
  • *
  • Posts: 121
  • Karma: +1/-0
(No subject)
« Reply #7 on: 31 December, 2003, 19:24:54 »
Can you put the script here nighlite

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #8 on: 31 December, 2003, 19:59:28 »
It builtin in my masterbot...

Am gonna share it with all of you when my HubOwner
finds it ok...

It's made for our hub specially...

Maybe I will Put it in my Client-Check bot..

keep your eyes open..
//NL

Offline gizmo

  • Double Ace
  • *
  • Posts: 121
  • Karma: +1/-0
(No subject)
« Reply #9 on: 31 December, 2003, 20:00:28 »
ok i will =)

[NL]Pur

  • Guest
(No subject)
« Reply #10 on: 31 December, 2003, 20:40:39 »
if you send a $Lock to a dcstealth (not at login) but when it's in the hub it's not responding with a $Key.
Normal clients have this behavior.

Hope it helps you.

/Pur

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #11 on: 31 December, 2003, 20:53:53 »
thx gonna test it...

Any other ideas for Search & Lockslots ??+

one question doo,,,

What does $Lock do really...

Does it look the client explain a little more... for me...

so I can understand more...

Otherwise maybe Am a little drunkie... :-p
//NL

Offline pHaTTy

  • Forum Legend
  • ***
  • Posts: 1 916
  • Karma: +5/-1
(No subject)
« Reply #12 on: 01 January, 2004, 04:34:59 »
just to let you know, the ignore kick doesnt work on dc stealth, $Kick im not to sure about but if you are using a scripted kick it will kick dc stealth and as for force move i think if not responds it disconnects it, i will check

l8r
Resistance is futile!

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #13 on: 01 January, 2004, 12:42:40 »
I have One Question Phatty or to all of you, What is the
newest version of Stealth ??? Am running 0.241 sure
it must exist a newer one than that... if PM me plz...

I would need it for my checks...


Cause what you wrote phatty not respond to $Kick
I haven't that option in my client... so...

plz want it... so PM me a link or Mail me on:

nightlitch@swenorth.myftp.org


Thx in adv. / NightLItch
//NL

Offline pHaTTy

  • Forum Legend
  • ***
  • Posts: 1 916
  • Karma: +5/-1
(No subject)
« Reply #14 on: 01 January, 2004, 12:44:36 »
[/done]
Resistance is futile!

Offline NightLitch

  • Emperor
  • **
  • Posts: 1 455
  • Karma: +16/-0
(No subject)
« Reply #15 on: 01 January, 2004, 14:15:16 »
I have found out something really strange...

When Logging in with Stealth 0.52 I Come in but get disconnected, becouse: no Share,
shoud get redirected, but not responding so timecheck triggers and client disconnects with a Fake-Client message...

But...

In Stealth 0.54 I don't even come in becouse of my client-check I posted in Phatty's Thread

Client Gets known as Fake Client And I don't allow that in
my script...

That is strange cause it allows 0.52...

Check it out Phatty or someone with my script from above link...

If it doesn't work with that... PM me and give something else... :-)

Thx
« Last Edit: 01 January, 2004, 14:15:53 by NightLitch »
//NL

PtokaX forum

(No subject)
« Reply #15 on: 01 January, 2004, 14:15:16 »