mIRC Home    About    Download    Register    News    Help

Print Thread
Page 1 of 3 1 2 3
#53486 11/10/03 12:54 AM
Joined: Dec 2002
Posts: 24
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 24
Maybe an identifier for checking if the user us a registered version of mirc (or if anyone know a way how to check it can he/she please tell me how)

#53487 11/10/03 01:02 AM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
check the registry


http://MTec89Net.com
irc.freenode.net #MTec89Net
#53488 11/10/03 01:03 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
he means if a user other than himself is registered(im presuming), considering he should know if he registered or not :tongue:


new username: tidy_trax
#53489 11/10/03 01:04 AM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
I know what he means.. check the registry...

https://forums.mirc.com/showthreaded.php?...o=&vc=1

Last edited by MTec89; 11/10/03 01:07 AM.

http://MTec89Net.com
irc.freenode.net #MTec89Net
#53490 11/10/03 01:05 AM
Joined: Dec 2002
Posts: 24
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 24
hmm do you know the key where mirc save that information?

(i talk about if the user paid money for mirc)

#53491 11/10/03 01:09 AM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
ya, ill try to set this up for you..:)


http://MTec89Net.com
irc.freenode.net #MTec89Net
#53492 11/10/03 01:10 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
it wont work(unless they agree to have a script that checks their own registry and then gives you an answer).


new username: tidy_trax
#53493 11/10/03 01:13 AM
Joined: Dec 2002
Posts: 24
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 24
well i know how to read/write to registry but i don't know the key where mirc saves that (I don't want to change something there, i just want to block user who use a unregistered copy of mirc)

#53494 11/10/03 01:18 AM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
works... no need to thank me. just type /isreged
Code:
alias isregister {
  var %a = regread $+ $ticks
  .comopen %a WScript.Shell
  if $comerr { return ERROR }
  if !$com(%a,RegRead,3,bstr,$1) {
    .comclose %a
    return ERROR
  }
  var %b = $com(%a).result
  .comclose %a
  return OK %b
}
alias isreged {
  if (*OK* iswm $isregister(HKEY_CURRENT_USER\Software\mIRC\UserName\)) { echo -a registered }
  else { echo -a not registered }
}


http://MTec89Net.com
irc.freenode.net #MTec89Net
#53495 11/10/03 01:23 AM
Joined: May 2003
Posts: 2,265
P
Hoopy frood
Offline
Hoopy frood
P
Joined: May 2003
Posts: 2,265
nm, i thought you wanted something like: on !*:join:#:{ if (!$isregister($nick)) { ban -k $nick } }


new username: tidy_trax
#53496 11/10/03 03:21 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Just a note about using WScript, it's not available on all versions of Windows. So if you use that script for yourself, that's fine, but if this is for a script you'll be distributing, don't expect it to work for everyone.

#53497 11/10/03 03:31 AM
Joined: Dec 2002
Posts: 24
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 24
Well i've never saw a windows version without wscript.exe

#53498 11/10/03 03:36 AM
Joined: Jul 2003
Posts: 742
Hoopy frood
Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
and i'v no idea what wscript.exe is laugh


http://MTec89Net.com
irc.freenode.net #MTec89Net
#53499 11/10/03 03:38 AM
Joined: Dec 2002
Posts: 24
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 24
hmm that's for vbs and i always thought wshell.script is from that file

#53500 11/10/03 03:44 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Windows Script Host does NOT come with Windows95. It only comes with 98 and above and NT4 and above. So anyone who is using win95, that script will fail.

#53501 11/10/03 03:57 AM
Joined: Dec 2002
Posts: 24
M
Ameglian cow
OP Offline
Ameglian cow
M
Joined: Dec 2002
Posts: 24
well i think there must be a day supporting old windows versions should stop or should i even support win3.11?

#53502 11/10/03 04:00 AM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Well supporting win3.11 wouldn't make sense since mIRC doesn't run on win3.11, however, mIRC does run on win95, and many people do use win95. I mean, it's completely up to you, I'm just saying expect some "this doesn't work" emails.

#53503 11/10/03 07:31 AM
Joined: Feb 2003
Posts: 2,812
Hoopy frood
Online
Hoopy frood
Joined: Feb 2003
Posts: 2,812
An $isregister identifier will probably never be added to mIRC, considering the lack of impact one's state of registration has on a script's ability to function.

The only reason I could see $isregistered being requested would be to aid in the stealing of registration codes, or to distribute a script that automatically "registers" a user's client with an illegal key.

- Raccoon


Well. At least I won lunch.
Good philosophy, see good in bad, I like!
#53504 11/10/03 09:24 AM
Joined: Mar 2003
Posts: 1,271
L
Hoopy frood
Offline
Hoopy frood
L
Joined: Mar 2003
Posts: 1,271
Quote:
i just want to block user who use a unregistered copy of mirc


This will never be possible because it is simply against privacy laws to gain information about someone else's system without their express permission. To do what you want, you would have to access someone else's registry (major no no, think of the implications if some dumbass would rework the code so he could write to the registry as well as read).

The only way I see it can be easily done is via the VERSION reply, but then you've still got people who removed that, and again the privacy issues. I for one may have a registered mIRC, but it's no one's business whether I do or not.

Also -- you wanna block people without a regged mIRC. How about those people still in their trial? They are using their non-regged version perfectly legit. So either there would have to be a third response (regged,unregged,trial), or the trial version should just return the regged response.

Lastly, a person who has used a crack has for all purposes a registered copy of mIRC, yet he didn't actually register it. There is no way to tell the difference...


DALnet #Helpdesk
I hear and I forget. I see and I remember. I do and I understand. -Confucius
#53505 11/10/03 03:52 PM
Joined: Dec 2002
Posts: 2,809
C
Hoopy frood
Offline
Hoopy frood
C
Joined: Dec 2002
Posts: 2,809
Quote:
This will never be possible because it is simply against privacy laws to gain information about someone else's system without their express permission.

not in the US. In the US, installing the software on your system grants it access to view any information that is contained on your system. The only privacy law that is in play there is it can't SEND the information out unless you give it permission. And, in any case, whether you registered mIRC or not isn't exactly private information. Private information includes things like address, name, credit card info, I doubt any judge would say mIRC registration status is protected information.

Think about it, if $isregistered is "private" couldn't $time be "private" as well? If someone knows what time my PC says they get a rough idea of where I live. Then of course mIRC sends my IP out to the server (of course it has to, but is there anything in the mIRC license that says I must agree to that?) So if you're going to tell me $isregistered violates privacy laws, then I guess mIRC as a whole would violate them.

Page 1 of 3 1 2 3

Link Copied to Clipboard