PtokaX forum

Development Section => Your Developing Problems => Topic started by: NightLitch on 31 December, 2003, 15:19:42

Title: Disconnect DC++ Stealth if Not Responding to various things...
Post by: NightLitch on 31 December, 2003, 15:19:42
Here's my dilema...

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...
Title:
Post by: NightLitch on 31 December, 2003, 15:26:32
Plop plz help me out quick if you have the time...
Title:
Post by: plop 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
Title:
Post by: NightLitch 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...
Title:
Post by: NightLitch 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()
Title:
Post by: NightLitch 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...
Title:
Post by: NightLitch 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 ???
Title:
Post by: gizmo on 31 December, 2003, 19:24:54
Can you put the script here nighlite
Title:
Post by: NightLitch 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..
Title:
Post by: gizmo on 31 December, 2003, 20:00:28
ok i will =)
Title:
Post by: [NL]Pur 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
Title:
Post by: NightLitch 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
Title:
Post by: pHaTTy 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
Title:
Post by: NightLitch 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
Title:
Post by: pHaTTy on 01 January, 2004, 12:44:36
[/done]
Title:
Post by: NightLitch 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  (http://board.univ-angers.fr/thread.php?threadid=768&boardid=17&sid=413fa99c964f42a6bf9c1b3f58371c3f&page=1)

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