Search found 26 matches

by FRANKE
2003-04-24 12:27
Forum: Hubs and scripts
Topic: Between2First Function
Replies: 25
Views: 8934

I am not sure but I have read that

Code: Select all

if 1 = 2 then 
  statement1
end if
if 1 <> 2 then
  statement2
end if
is faster then

Code: Select all

if 1 = 2 then 
  statement1
else
  statement2
end if
Is there anybody there can validate that ?
by FRANKE
2003-04-24 08:00
Forum: Hubs and scripts
Topic: Between2First Function
Replies: 25
Views: 8934

TasMan wrote:Besides if you keep your system conditions fairly constant (i.e I run most tests on a comp running nothing Win98 - it's the only that thing running). Assuming you don't run anything like music or games, etc, the tests should remain fairly constant.
This is also the method I normally uses :)
by FRANKE
2003-04-24 07:58
Forum: Hubs and scripts
Topic: Between2First Function
Replies: 25
Views: 8934

What is the right way then? from "Data Structures and Algorithms in Java": Code up the algorithm in some high-level computer language (like java) Compile the program into some low-level executable language (like the bytecode language of the Java Virtuel Machine) Determine, for each instruction i of...
by FRANKE
2003-04-24 06:41
Forum: Hubs and scripts
Topic: Between2First Function
Replies: 25
Views: 8934

I've run a test on the bytes version, in VB. Here are the results for 1 000 000 loops : BigString = BeforeFirst(AfterFirst("chocochocolatpistachevanilleframboise", "chocolat"), "vanille") took 5.4922 seconds to assign BigString = Between2First("chocochocolatpistachevanilleframboise", "chocolat", "v...
by FRANKE
2003-04-18 04:32
Forum: Hubs and scripts
Topic: A little off topic I think
Replies: 4
Views: 2249

Brian wrote:CPU has nothing to do with it its your net speed and ram NMDC sucks the shit outta your ram
It depends on which scripts you run( if any), I have seen scripts using 60 % CPU time (on average) on a 500 MHz, but that’s also with a lot of users
by FRANKE
2003-03-27 14:34
Forum: Off Topic
Topic: Error creating new session
Replies: 6
Views: 3533

Hmm very strange, I only get this error when I use Internet Explorer and Opera, I don't get it when I use Netscape or Mozilla
by FRANKE
2003-02-02 17:15
Forum: Programmer's Help
Topic: DC++ 0.22 - "User command" bugfix
Replies: 7
Views: 4636

In 0.23 it works halfway but my scripts can't handle it :-( When I use the commands the client sends: $To: [reciver] From: [sender] $[command] But my scripts wants it in the same way as usual private message: $To: [reciver] From: [sender] $<[sender]>[command] So I shanged client->privateMessage(uc....
by FRANKE
2003-01-27 13:45
Forum: Hubs and scripts
Topic: command for connections?
Replies: 14
Views: 6701

sorry monkeyspunks it is properly my fault, there is an error in the script (if you are lucky there is more the one :)) replace the lines: curUser.SendChatMessage "damn modem user, get the fuck out of my hub :)" curUser.Disconnect with curUser.SendChatMessage "BotName", "damn modem user, get the fuc...
by FRANKE
2003-01-26 10:30
Forum: Protocol Alley
Topic: DC++ and registered user are becoming a problem
Replies: 14
Views: 6997

because dc++ hubs => because dc++ registers hubs

i need a need brain
by FRANKE
2003-01-26 10:24
Forum: Protocol Alley
Topic: DC++ and registered user are becoming a problem
Replies: 14
Views: 6997

DC++ and registered user are becoming a problem

Might not be the right forum, but, b-but but... More and more hubs offer the "service" to get your nickname registered, so nobody "steals" it. But this is becoming a problem, because dc++ hubs where the user is "a normal user", not hubs where the user is "a registered user" or OP. I'm currently conn...
by FRANKE
2003-01-25 14:03
Forum: Other Direct Connect tools
Topic: Ragnarok - Take Back Your Hub!
Replies: 11
Views: 7333

from dc++ readme file:
* DC++ supports uploading filelists and files <16 kB to other DC++ users
WITHOUT REQUIRING A SLOT. There's a max of 3 connections in addition to
normal slots.
by FRANKE
2003-01-24 16:45
Forum: Hubs and scripts
Topic: command for connections?
Replies: 14
Views: 6701

here is the "complete" script: Sub DataArival (curUser, sCurData) Dim strCon if Left(sCurData, 7) = "$MyINFO" then strCon = AfterFirst(sCurData, "$ALL") strCon = AfterFirst(strCon, "$") strCon = BeforeFirst(strCon, "$") strCon = Left(strCon, len(strCon)-1) 'removes the <mode> character code 'Now str...
by FRANKE
2003-01-24 08:51
Forum: Hubs and scripts
Topic: command for connections?
Replies: 14
Views: 6701

TasMan is right This is a MyINFO string: $MyINFO $ALL <username> <description>$ $<Connection><mode>$<email>$<share size>$ <mode> can be a character code of any value between 1 and ? (255 i think), so what you want to do is something like this: strCon = AfterFirst(strMyInfo, "$ALL") strCon = AfterFir...
by FRANKE
2003-01-24 05:01
Forum: Hubs and scripts
Topic: nmdc client first one
Replies: 1
Views: 1557

You can not decompile vb 6 executables back to vb6 code
by FRANKE
2003-01-23 07:11
Forum: Hubs and scripts
Topic: help me with button
Replies: 4
Views: 2701

form and controls events are not available to the script :(
by FRANKE
2003-01-21 16:07
Forum: Feature Discussion (Archived)
Topic: Find New Sources needs rate control - It causes search spams
Replies: 15
Views: 7145

bed = bid

argh i need to be able to edit my posts :(
by FRANKE
2003-01-21 16:06
Forum: Feature Discussion (Archived)
Topic: Find New Sources needs rate control - It causes search spams
Replies: 15
Views: 7145

3 to 5 seconds is my bed
by FRANKE
2003-01-21 06:17
Forum: Protocol Alley
Topic: Time to write a complete RFC.
Replies: 28
Views: 12821

langue = language :)

You cannot edit your posts in this forum << why ?
by FRANKE
2003-01-21 06:15
Forum: Protocol Alley
Topic: Time to write a complete RFC.
Replies: 28
Views: 12821

Hm, maybe chat doesn't add so much load on hubs. On many hubs, there is very little chat and they experience performance problems. I think search requests are what put load on them. The builtin chat is what gives some feel of community and sharing. (in contrast Napster was, and kazaa is just about ...
by FRANKE
2003-01-19 14:11
Forum: Hubs and scripts
Topic: Hub owners active search script
Replies: 3
Views: 2648

it properly would :)
by FRANKE
2003-01-18 19:13
Forum: Hubs and scripts
Topic: Hub owners active search script
Replies: 3
Views: 2648

Hub owners active search script

'Hub owner active search script by FRANKE aka [DK]FRANKE 'Version 0.00123 Build 12.4 Beta Alfa release 5 'January 19, 2003 01:04:25 'This script enables hubowners to do a active search on lan ! 'For this script to work, you have to make the "right" settings 'in your DC client, all the script does i...
by FRANKE
2003-01-16 10:52
Forum: Hubs and scripts
Topic: Creating winsocks (vbscript)
Replies: 10
Views: 5413

I have been playing with this too, but i dont think it is possible to get the "_DataArrival" event in a script :(
by FRANKE
2003-01-15 06:38
Forum: Protocol Alley
Topic: $Version question
Replies: 3
Views: 2777

Re: $Version question

r4v3 wrote:Anybody know when client should send $Version message ?
Afther $Hello ?
yep thats it :)

you can look at big dave's spec
by FRANKE
2003-01-11 14:16
Forum: Other Direct Connect tools
Topic: Anyone familiar with Starster (*ster)?
Replies: 8
Views: 6358

everyone who tried to sell open source programs failed to do so (thinking about star office, ...)
how did you come to that conclusion ?, redhat makes money
by FRANKE
2003-01-05 10:56
Forum: Feature Discussion (Archived)
Topic: Upload Speed Limiting
Replies: 187
Views: 90509

I think ivulfusbar is right, why do hubs have bots that kick people if they don’t share the right amount ?, because if they didn’t then "nobody" would be sharing. Look at kazaa or similar p2p networks, have these kind of rules does not exist, they have over double the amount of users, ...
by FRANKE
2003-01-05 10:23
Forum: Protocol Alley
Topic: Hub-client protocol extension: $xKick
Replies: 17
Views: 9130

ivulfusbar wrote:minutes _is_ a bad idea.. has to be seconds.

Its up to the gui in a client to change 1:10:20 into seconds. Seconds will always be the way time should be transfared.
Why ?, i dont see any problems with either minutes or seconds.