Search found 52 matches

by smitty
2003-05-27 23:19
Forum: Programmer's Help
Topic: How to auto-kick in UserConnection.cpp
Replies: 7
Views: 3876

cool I'll try that tomorrow and let you know how it goes
by smitty
2003-05-27 12:38
Forum: Programmer's Help
Topic: How to auto-kick in UserConnection.cpp
Replies: 7
Views: 3876

The code above I have put In UserConnection.cpp In the $Lock section. I've been able to Identify the user and lock string and also If I'm an OP, Can't figure out what code to use to auto-kick the user for clients not allowed that are detectable from lock string . I have used the MessageBox command a...
by smitty
2003-05-27 08:33
Forum: Programmer's Help
Topic: How to auto-kick in UserConnection.cpp
Replies: 7
Views: 3876

Guess I'll stick to Client detection in Visual Basic since there seems to be no help on this subject here.
by smitty
2003-05-22 11:51
Forum: Feature Discussion (Archived)
Topic: queue priority
Replies: 5
Views: 2709

Well then wouldn't that kinda make allowing no-minimum useless...c'mon...you just contradicted your thoughts..."I want to let them in but not download"...just DON'T let them in if you feel that way.
by smitty
2003-05-22 07:20
Forum: Hubs and scripts
Topic: Script Question
Replies: 11
Views: 5101

you might have ignore bots turned on in the new DC++
by smitty
2003-05-21 21:25
Forum: Hubs and scripts
Topic: ADD HUBS¡¡¡ PLEASE HELP¡¡¡
Replies: 2
Views: 2041

In settings under downloads tab where it says Public Hubs List URL put this address
http://dreamland.gotdns.org/PublicHubList.config
by smitty
2003-05-21 21:18
Forum: Hubs and scripts
Topic: Window pop up on connect
Replies: 4
Views: 2282

Code: Select all

Sub DataArival(curUser, sCurData)
 If instr(1, lcase(sCurData), lcase("$GetINFO "+curUser.sName+" "+curUser.sName))>0 then
  curUser.PrivateMessage Cstr("Hub-Security"), "This Message sent in a PM."
 End If
End Sub
that code will trigger for all new connections reguardless of registered or not.
by smitty
2003-05-21 19:03
Forum: Programmer's Help
Topic: Problem compiling a brother in arms of DC++, Heeeeeeeeeelp
Replies: 7
Views: 3826

I compile oDC 5.11 with no problems...get lots of warnings but that has been the case from the first DC++ I compiled with VC 6...now using VS .Net and it compiles just fine
by smitty
2003-05-21 18:57
Forum: Programmer's Help
Topic: Compilation error under vc6
Replies: 11
Views: 5389

make sure wtl and slt are first in your includes
by smitty
2003-05-21 15:16
Forum: Programmer's Help
Topic: How to auto-kick in UserConnection.cpp
Replies: 7
Views: 3876

How to auto-kick in UserConnection.cpp

In the $Lock section I've been able to Identify the user and lock string and also If I'm an OP, Can't figure out what code to use to auto-kick the user for clients not allowed that are detectable from lock string if (getUser()->isClientOp()) { string usrname = getUser()->getNick(); string usrhub = g...
by smitty
2003-05-21 15:07
Forum: Programmer's Help
Topic: Preventing multiple instances
Replies: 5
Views: 3190

It's in main.cpp
by smitty
2003-05-21 15:06
Forum: Programmer's Help
Topic: Preventing multiple instances
Replies: 5
Views: 3190

I deleted this from code and can run multiple DC++ with new version if(dcapp.IsAnotherInstanceRunning()) { HWND hOther = NULL; EnumWindows(searchOtherInstance, (LPARAM)&hOther); if( hOther != NULL ) { // pop up ::SetForegroundWindow(hOther); if( IsIconic(hOther)) { // restore ::ShowWindow(hOther, SW...
by smitty
2003-04-04 12:41
Forum: Hubs and scripts
Topic: Auto Kicker for MoGLO
Replies: 9
Views: 4727

not in newuserconnected it won't...stops them before they get a search off...try it you'll see
by smitty
2003-03-14 07:15
Forum: Hubs and scripts
Topic: 512 user limit :(
Replies: 5
Views: 3084

actually PtokaX hub will hold a higher max users...and there is quite a few scripts out there for it now
by smitty
2003-03-11 07:16
Forum: Hubs and scripts
Topic: How to create HUB on a webserver?
Replies: 10
Views: 4967

only way is if you are using your computer as the web server which they probably are and that in effect makes it just another hub...
by smitty
2003-03-10 20:08
Forum: Hubs and scripts
Topic: 512 user limit :(
Replies: 5
Views: 3084

Try setting max lower...you gotta remember that if you set max users to 1000 the hub has to allocate that many spaces in memory even if you only have 1 user...your disconnects could be bandwith or resources or both...just play with the settings and find a good trade-off where you don't lose users...
by smitty
2003-03-10 20:02
Forum: Hubs and scripts
Topic: Logging IP Addresses
Replies: 15
Views: 7094

guys lets not forget one thing...to read, write, and append you gotta define the constant above the Sub Main()

Code: Select all

 Const ForReading = 1, ForWriting = 2, ForAppending = 8
by smitty
2003-03-10 15:27
Forum: Hubs and scripts
Topic: Create a Hub..........
Replies: 12
Views: 7864

to answer the original question...since he apparently knows nothing about hubs...goto www.neo-modus.com and get the hub software...make sure you load the neo-modus client first...load hub and play with it...once it's loaded come back here and ask about any problems your having[/url]
by smitty
2003-03-10 15:18
Forum: Hubs and scripts
Topic: Script for file shearing??? (noob question)
Replies: 3
Views: 2243

we talk here all day figuring out how to keep fakers and tag hiders out and you have the gonads to ask a question like that...this thread and the thread asking about making a fake hub should be deleted...or actually leave them so n00bies know how we or at least I feel about them..
by smitty
2003-03-10 15:10
Forum: Hubs and scripts
Topic: Help with NM public list
Replies: 11
Views: 5185

NM list used to communicates directly with hub...my hub registered before with-out ever having anyone come in...But now I'm not sure...I do know the reg string that used to work from an altered hub won't work now so it is very possible Jon went to a bot to block fake hubs...one other fact...if you t...
by smitty
2003-03-10 15:01
Forum: Hubs and scripts
Topic: Fake Hublist ??
Replies: 16
Views: 7433

Don't post faker or cheater questions her you low life piece of shit...
by smitty
2003-03-09 13:04
Forum: Hubs and scripts
Topic: script to display traffic information for NMDC hubserver
Replies: 4
Views: 2563

Gadget do you have a text file together with all the hub controls and their functions spelled out...if so can you put it on your site...if not is there a possibility you could put one together and share it...might help the scripting community tremendously...thanks m8 for all you've done
by smitty
2003-03-09 10:02
Forum: Hubs and scripts
Topic: Kicking with a client side bot
Replies: 7
Views: 3603

also you might want to add
If curUser.bAssHole then
wskHubConnection.SendData "<" + txtUserName.Text + "> !ban " + curUser.IP + "|"
End If
hehehehe
by smitty
2003-03-09 03:18
Forum: Hubs and scripts
Topic: hub list registration
Replies: 6
Views: 4358

try the one I told you then have script read it back to main chat, It all fits, In fact lots more will fit, Physical view of text box is not how big it is, you just can't scroll thru it because its dis-abled
by smitty
2003-03-09 00:20
Forum: Hubs and scripts
Topic: To Moderators
Replies: 2
Views: 1640

Hubs and Scripts topic is misleading I Think Which hub is best? Where can I find script XXX? Discuss it here...(no, this is not for advertising your hub...) The "Which hub is best?" should be changed to "Which hub software is best?" because thats what it means...After looking at the description I ca...
by smitty
2003-03-09 00:11
Forum: Hubs and scripts
Topic: hub list registration
Replies: 6
Views: 4358

I think but not positive you can put this in your Sub Main()

frmHub.txtRegAddress.Text ="dreamland.gotdns.org:2501"
by smitty
2003-03-09 00:06
Forum: Hubs and scripts
Topic: Kicking with a client side bot
Replies: 7
Views: 3603

the DoEvents are required otherwise the useris kicked too quickly without recieving the PM
by smitty
2003-03-09 00:04
Forum: Hubs and scripts
Topic: Kicking with a client side bot
Replies: 7
Views: 3603

try this If chkVerbose.Value = vbChecked Then wskHubConnection.SendData "<" + txtUserName.Text + "> I am " + "kicking " + Usr + " " + Reason + "|" DoEvents DoEvents DoEvents DoEvents wskHubConnection.SendData "$To: " + Usr + " From: " + txtUserName.Text + " $<" + txtUserName.Text + "> You are being ...
by smitty
2003-03-08 23:50
Forum: Hubs and scripts
Topic: To Moderators
Replies: 2
Views: 1640

To Moderators

Please Delete the topics from the LAMERS asking about specific hubs...Looks like ADVERTISING here is getting worse than in the hubs...
by smitty
2003-03-08 23:46
Forum: Hubs and scripts
Topic: Best DivX hubs (etc....)
Replies: 1
Views: 2601

AS STATED IN OTHER THREADS...THIS ISN'T AN ADVERTISING FORUM...QUIT BEING LAZY OR A LAME ADVERTISING EXCUSE AND LOOK AT YOUR PUBLIC LIST...I THINK THAT'S WHAT IT WAS DESIGNED FOR...
by smitty
2003-03-08 23:15
Forum: Hubs and scripts
Topic: any music vdo & OST hub
Replies: 2
Views: 1309

why even ask about specific hubs when the rules plainly state...NO ADVERTISING...If thats the case...Has anyone went to XXXX.no-ip.com or XXXX.no-ip.org.....hehehe...c'mon guys...board says no ads...respect the board
by smitty
2003-03-08 21:40
Forum: Hubs and scripts
Topic: Cant get onto the public hubs list....
Replies: 2
Views: 2306

also make sure tcp and udp ports 2501 are open in your firewall for the hub
by smitty
2003-03-08 21:38
Forum: Hubs and scripts
Topic: New guy question
Replies: 5
Views: 2999

my post was for a private message to only the user in main chat for say "RULES" maybe...I hate pop-ups...and everyone doesn't use DC++...
by smitty
2003-03-08 21:32
Forum: Hubs and scripts
Topic: Prevent spamming and flooding the chat.
Replies: 6
Views: 3156

I donno if this would work but it just might if it responds fast enough


If left(sCurData,1)="<" and curUser.bOperator Then
frmHub.txtMaxChatCPS.Text = "5000"
Else
frmHub.txtMaxChatCPS.Text = "500"
End If
by smitty
2003-03-08 20:56
Forum: Other Direct Connect tools
Topic: Ragnarok Build 6 !!!!
Replies: 29
Views: 19763

Sid DC++ doesn't report hubs your an OP in so if I'm only in one hub and an OP there it shows H:0
by smitty
2003-03-08 20:38
Forum: Hubs and scripts
Topic: Help with NM public list
Replies: 11
Views: 5185

open tcp and udp ports 2501 in your firewall
by smitty
2003-03-08 20:34
Forum: Hubs and scripts
Topic: cool ps2 hub
Replies: 6
Views: 4013

Sorry martin...Forum rules states no advertising and I totally agree with that...
by smitty
2003-03-08 20:29
Forum: Hubs and scripts
Topic: major script problem
Replies: 11
Views: 5071

to compensate for oDC use AfterLast instead of AfterFirst
by smitty
2003-03-08 20:26
Forum: Hubs and scripts
Topic: ironic but help with dc++ check
Replies: 8
Views: 4082

take the and ms out of this

If Int(dpphubs) > Int(DppMaxHubs) And ms = 0 Then

change like this

If Int(dpphubs) > Int(DppMaxHubs) Then

sorry for the mistake...converted it from a VB6 bot I'm writing and the ms is OPorNOT Function
by smitty
2003-03-08 20:22
Forum: Hubs and scripts
Topic: ironic but help with dc++ check
Replies: 8
Views: 4082

Dim DppMaxHubs, DppMinSlots, DppMaxSlots, sBotName Sub Main() DppMaxHubs = "5" DppMinslots = "2" dppmaxslots = "10" sBotName = "Hub-Security" End Sub Sub DataArival(curUser, sCurData) If InStr(1, LCase(sCurData), LCase("$GetINFO "+curUser.sName+" "+curUser.sName))>0 then 'EXTRACT USERS INFO iTheirIn...
by smitty
2003-03-08 19:54
Forum: Hubs and scripts
Topic: Prevent spamming and flooding the chat.
Replies: 6
Views: 3156

ok so I don't know how to use the Quote Function...hehehe
by smitty
2003-03-08 19:53
Forum: Hubs and scripts
Topic: Prevent spamming and flooding the chat.
Replies: 6
Views: 3156

[
The user objects have a few "undocumented" methods... What you're looking for is one of them :

iChatCharactersInLastMinute[/quote]


lemme see an example that will block chat going to main with an unmodified hub...
by smitty
2003-03-08 19:27
Forum: Hubs and scripts
Topic: Making a Hub on XP
Replies: 5
Views: 3176

should install and run fine BUT you have to install the Neo-Modus client FIRST...guess Jon Hess didn't want a hub loaded w/o having the client for it...still don't know why the previous and present hubs don't have a fully functional CLIENT built in...
by smitty
2003-03-08 19:23
Forum: Hubs and scripts
Topic: Visual Basic
Replies: 20
Views: 8636

http://www.devguru.com/Technologies/vbs ... intro.html is a very good site for VBScript reference too
by smitty
2003-03-06 04:57
Forum: Hubs and scripts
Topic: New guy question
Replies: 5
Views: 2999

use this and only the user entering sees it in main chat

Sub NewUserConnected(curUser)
curUser.SendChatMessage "Welcome", "Hello " + curUser.sName + "."
End Sub
by smitty
2003-03-06 04:50
Forum: Hubs and scripts
Topic: Auto Kicker for MoGLO
Replies: 9
Views: 4727

Dim SearchBot Sub Main() SearchBot = array("Google","glo","search","Security","Mass","Message","DCuser","beta") End Sub Sub NewUserConnected(curUser) Dim sb For sb = 0 To UBound(SearchBot) If InStr(1,cstr(curUser.sName), cstr(SearchBot(sb)), VBTextCompare) > 0 Then curUser.Kick() Exit Sub End If Nex...
by smitty
2003-03-06 00:23
Forum: Hubs and scripts
Topic: Where did sweden5.myftp.org go?
Replies: 5
Views: 3169

THIS TOPIC SHOULD BE REMOVED FROM THE BOARD...IT IS A VERY LAME WAY TO ADVERTISE WHEN YOUR NOT SUPPOSED TO ADVERTISE HUBS HERE...
by smitty
2003-03-06 00:19
Forum: Hubs and scripts
Topic: Visual Basic
Replies: 20
Views: 8636

by smitty
2003-03-06 00:05
Forum: Protocol Alley
Topic: grinding my teeth on this lock to key problem
Replies: 2
Views: 2259

read the "key" post
by smitty
2003-03-06 00:03
Forum: Protocol Alley
Topic: key
Replies: 6
Views: 3617

Public Function DC1_Lock2Key(Lck$) As String Dim pos%, K$, i%, T% 'Remade optimized and works with clients pos = InStr(Lck, " ") If pos Then 'If not, assume it was pre-parsed Lck = Left(Lck, pos - 1) End If If Len(Lck) < 3 Then 'Too short! DC1_Lock2Key = "Invalid Lock < 3 chars" Exit Function End If...