* ] * ] Gemini - ClientChecker [ * [ *
 

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

* ] * ] Gemini - ClientChecker [ * [ *

Started by NightLitch, 26 December, 2004, 23:39:54

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

NightLitch

A little something from me to you all after Christmas.

A new created ClientChecker.

GeminiClientChecker.rar

Happy New Year // NightLitch

*Edited*

Check futher down for information.
//NL

n1ck

Another great bot cheers, Although i do feel you are being rather cruel teasing us with the pictures of THor4  :D
dcuk.direct-connect.co.uk

**compiled bots are like what microsoft is to open source!**

Madman

It says
[02:21:16] Your client have a bad Tag or is not Allowed here...
When i login, i'm using StrongDC++
And I havent changed anything
My tag looks like this
We suffer in silence, we lurk in the shadows, we kill in the night
Site currently down, ETA of returning online is 2099 ;p

Flux

NightLitch this is a nice little script, is there any chance to have the "Your Client Information" sent to the users PM instead of main chat, or have a switch so that us members in this forum can have the choice to have in main chat or in a PM...

But this is a nice little script.. Thanx
? Official HoD Website - http://www.houseofdance.net
? Official HoD Hub Community -  hodhub.dyndns.org:2007

blackwings

QuoteOriginally posted by Flux
NightLitch this is a nice little script, is there any chance to have the "Your Client Information" sent to the users PM instead of main chat, or have a switch so that us members in this forum can have the choice to have in main chat or in a PM...

But this is a nice little script.. Thanx
at line 156, change this line =
sUser:SendData(BotName, line)
To this =
sUser:SendPM(BotName, line)
That should make so the user gets it in PM instead of in main.


NightLitch

The StrongDC++ I have not tested... I guess it is the version check that is screwing up... going to fix it later...

//NightLitch
//NL

Flux

thanx blackwings I lerned something there even tho i made a mistake as ur advise did not work due to my sleepless night of heavy eyelids hehehe i got it to work as i deleted a space after sendPM bit hehehe
? Official HoD Website - http://www.houseofdance.net
? Official HoD Hub Community -  hodhub.dyndns.org:2007

NightLitch

Script is updated:

-------------------------------------------------------------------
* StrongDC++ works
* Added Send MAIN / PM for Client Info
-------------------------------------------------------------------


GeminiClientChecker.rar

//NightLitch
//NL

NightLitch

Script is updated:

-------------------------------------------------------------------
* Fixed StrongDC++ RC(v) - version
* Fixed parsing of the Tag Check
-------------------------------------------------------------------

GeminiClientChecker.rar

//NightLitch
//NL

NightLitch

#9
Script have taken a BIG turn.

Version: 0.5 build 12 for TD4
------------------------------------------------------------------------------
* Added Profile Loader
* Added Following check table for each Profile:
Profiles[Idx] = {
	["ProfileName"] = ProfileName,
	["Share"] = {["Min"] = {["Share"] = 0,	["Unit"] = "GB"},["Max"] = {["Share"] = 0,["Unit"] = "GB"}},
	["MinSlots"] = 3,
	["MaxSlots"] = 30,
	["MaxHubs"] = 5,
	["SlotPerHub"] = 1,
	["Bandwidth"] = 30,
	["Mode"] = {	["Active"] = 1,["Passive"] = 1,["Socket5"] = 1},
	["Connection"] = {["28.8Kbps"] = 0,["33.6Kbps"] = 0,["56Kbps"] = 0,["ISDN"] = 1,["Satelite"] = 1,["Cable"] = 1,["DSL"] = 1,["LAN(T1)"] = 1,["LAN(T3)"] = 1},
	["Block_Blimiter"] = 1,
	["Check_Client"] = 1,
}
* File created for settings ( GeminiProfiles.lst )
* Setting values to 0 will set checks DISABLED.
------------------------------------------------------------------------------
Download: GeminiClientChecker.rar
------------------------------------------------

// NightLitch
//NL

QuikThinker

Is there any difference between this and the client checker in Robocop?

NightLitch

I don't know, I don't use RC. I don't now what Optimus is using...

/NL
//NL

[_XStaTiC_]

#12
NightLitch... This scripts looks realy nice, Thanks for it

Keep it up.

plop

#13
<--- taps NightLitch gently on the shoulder and says "great job, looks awsome.".

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

NightLitch

QuoteOriginally posted by plop
<--- taps NightLitch gently on the shoulder and says "great job, looks awsome.".

plop

Thx mate, I now it can be a little overdone but I like it, it gave me some more knowledge about gsub and pattern matching.

Cheers and Happy New Year // NightLitch
//NL

Optimus

Looks great but however it's possible the pattern  match it completly whitout any loops. It even can be done in a shorter way.

But everybody has it's own style. lol i didn't say this lol hehe

NightLitch

QuoteOriginally posted by Optimus
Looks great but however it's possible the pattern  match it completly whitout any loops. It even can be done in a shorter way.

But everybody has it's own style. lol i didn't say this lol hehe

Well in that case I will make it even shorter.

I love critic....  :D
//NL

NightLitch

Update:

---------------------------------------------------------------------
* Max.Share bug fixed thx to Typhoon for notice it
* Dir: Gemini created with the ClientTags/DescrTags in
---------------------------------------------------------------------
Upcoming:
--------------
*Makin it all even smaller...
---------------------------------------------------------------------

//NL
//NL

[_XStaTiC_]

hi NightLitch..

i have this error sometimes.. :(

Syntax error: attempt to compare nil with string
stack traceback:
   1:  function `DataArrival' at line 69 [file `D:\PtokaX\scripts\GeminiClientChecker.lua']

NightLitch

Ok, going to check it up then. Thx for reporting.

//NL
//NL

NightLitch

Script is updated:

-------------------------------------------------------------------
* Fixed possible error found by [_XStaTiC_]
* Added error msg sent to ops when tag is corrupt on Slots or Hubs ( Copy Tag And Give It To Me )
* Fixed loading of Profile file
-------------------------------------------------------------------

GeminiClientChecker.rar

//NightLitch
//NL

[_XStaTiC_]

Thx NightLitch...

No Error's

only when i use DCDM :R  (download/upload ratio) then i get this message:


Your client have a bad Tag or is not Allowed here...

And i wish you and all other people on this forum happy new year!!!

Typhoon

QuoteOriginally posted by [_XStaTiC_]
Thx NightLitch...

No Error's

only when i use DCDM :R  (download/upload ratio) then i get this message:


Your client have a bad Tag or is not Allowed here...

And i wish you and all other people on this forum happy new year!!!


Probably because DCDM uses  a "  R:  "   instead of B: or L:  ...

could be the R: part but maybe we need NightLitch to check it out


Typhoon?



Typhoon

#23
QuoteOriginally posted by [_XStaTiC_]
Thx NightLitch...

No Error's

only when i use DCDM :R  (download/upload ratio) then i get this message:


Your client have a bad Tag or is not Allowed here...

And i wish you and all other people on this forum happy new year!!!


okay here goes :o)

 exchange your given objects to the one i post that fixes the problem with DCDM and the R: .. i have testet with no errors and it lets the client pass the check ..

-- First this

calcTag = {
["V"] = ":([%.%d]*)",
["M"] = ":([AP5])",
["H"] = ":([%d%/]*)",
["S"] = ":(%**%d*)",
["B"] = ":(%d+)",
["L"] = ":(%d+)",
["R"] = ":(%d+)",
["F"] = ":%d+%/(%d+)",
["RC"] = "(%d+)",
}

-- Second this located in the Parse function

Tag["B"] = Tag["R"] or Tag["B"] or Tag["L"] or Tag["F"]  or "unlimited"

-- Third add this in your getClient table 

["VMHSR"] = {
			["ClientName"] = "DCDM++",
			["MinVersion"] = "0.030",
			["AllowClient"] = 1,
			["Site"] = "http://www.ukdnb.dsl.pipex.com/dcppkcdm/index.html"
		},

worked for me hope it does the same for you :o)

HAPPY NEW YEAR


Typhoon?

*EDIT* spelling errors due too much alcohol :o)



[_XStaTiC_]

Ok that works good.. but now i have this:

You have limit your bandwidh to 4 kB/s, minimum is 20 kB/s.

download/upload ratio set to 4


Thanks for your help Typhoon? and happy new year!!!

SMF spam blocked by CleanTalk