mIRC Home    About    Download    Register    News    Help

Print Thread
#109284 27/01/05 12:57 PM
Joined: May 2004
Posts: 17
S
Pikka bird
OP Offline
Pikka bird
S
Joined: May 2004
Posts: 17
Hi all, I have a problem. I have written a script for mirc, but I don't want to allow users to see the code. The file is a txt file loaded in the remote. There's a way to hide the souce code or to put it into dll?
Any other solution is good if the code is not accessible


Thanks

#109285 27/01/05 12:59 PM
Joined: Dec 2002
Posts: 15
I
idk Offline
Pikka bird
Offline
Pikka bird
I
Joined: Dec 2002
Posts: 15
I dont think/know of any way to prevent users from seeing the code. Im almost pretty sure there isnt a way, but i could be wrong.

There used to be a dll to lock the remote editor, forgot the name of it, but the users could still open the actual text files and read the code.

Last edited by idk; 27/01/05 01:08 PM.
#109286 27/01/05 01:18 PM
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
There is no point in hiding your script. Scripts will always be open source. Users can simply look in the mIRC directory to find your .txt file. It is not that hard.


- Relinsquish
#109287 27/01/05 01:42 PM
Joined: Oct 2003
Posts: 96
J
Babel fish
Offline
Babel fish
J
Joined: Oct 2003
Posts: 96
Quote:
I don't want to allow users to see the code


Well there is one sure way to do that with the code below.

Code:
if (($me writes mirc script) && ($me !want others to see code)) { keep it to myself }

#109288 27/01/05 01:56 PM
Joined: May 2004
Posts: 132
N
Vogon poet
Offline
Vogon poet
N
Joined: May 2004
Posts: 132
HAHA Nice one wink


if ($me != geek) { $life is $false }
else { $life is $true }
NoPleX
#109289 27/01/05 06:10 PM
Joined: May 2004
Posts: 17
S
Pikka bird
OP Offline
Pikka bird
S
Joined: May 2004
Posts: 17
Instead I am pretty sure that is possible. I have seen a script turned in a binary files then loaded into mirc. I just don't know how to make like that. mad

#109290 27/01/05 07:25 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Surely you can appreciate the irony?

You want us to share with you how to do something, though you don't want to share your script with others, who might want to learn something from you.

mIRC scripts are open source, and I'm very glad it's like that. One of the best ways to learn to script is by looking at good examples. I'm pretty sure you've also looked at some code here and there, as everyone does. Wanting to hide your code from others is extremely selfish, and ungrateful.

Besides, what makes you so sure people are going to want to "rip" your code? Do you really consider yourself as an extraordinary scripter, who uses scripting concepts that are unknown to the scripting community, introducing innovative techniques that would revolutionize the way we script, if they are revealed?

Chances are anything you've made has been done thousands of times before, and will continue to be redone thousands of times in the future.

To conclude, if you don't want people to see your code, then don't release your script. It's as simple as that.


Gone.
#109291 27/01/05 09:29 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I have a script that well do it, But i dont want to share it with you. smile


PS : this was sarcasim, so dont ask for the script.

#109292 27/01/05 11:15 PM
Joined: May 2004
Posts: 17
S
Pikka bird
OP Offline
Pikka bird
S
Joined: May 2004
Posts: 17
Since people already do that with me, why I can't give the same back?

#109293 28/01/05 12:09 AM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
poeple dont do it to u, I have never heard or seen any system where mirc script can be encoded or hidden, in anyway that cant be simply and quickly reveresed. Your placing it in a binary file, sounds like your talking DLL's which are not scripts. And also cause pople to not want them since there essentially EXE's and people dont know what they migth do.

#109294 28/01/05 12:11 AM
Joined: Dec 2003
Posts: 261
M
Fjord artisan
Offline
Fjord artisan
M
Joined: Dec 2003
Posts: 261
Hi. In that script that you saw they didn't use binary, they just changed font to some "non readable" font type, and then you think that it is binary... I am very sure about that grin


velicha dusha moja Gospoda
#109295 28/01/05 07:12 PM
Joined: Apr 2003
Posts: 701
K
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
I've noticed that some people use $decode to scramble their scripts... needless to say, all those scripts were spammed around and did things people who run them do not want to happen. You've probably seen them, hopefully not executed them.

The advice for mIRC (and a lot of other) scripts: if you cannot read and check the script, you most likely shouldn't run it...

#109296 29/01/05 01:09 PM
Joined: Dec 2004
Posts: 40
B
Ameglian cow
Offline
Ameglian cow
B
Joined: Dec 2004
Posts: 40
Well what if this is the case, i made some script and all the users in that room can play together if they have it, but someone from the room edit the script that i made, and he is cheating in the game, is there a way to protect the script from editing it?

#109297 29/01/05 01:25 PM
Joined: Feb 2004
Posts: 2,019
Hoopy frood
Offline
Hoopy frood
Joined: Feb 2004
Posts: 2,019
Well,

have you told him he should stop cheating or there will be repercussions? If he keeps cheating just ban him, and the problem is solved.

When people used to try to cheat in my Rpg bot, I'd just take away their scores. That pretty much stopped them from cheating alltogether :tongue:

Greets


Gone.
#109298 29/01/05 08:24 PM
Joined: Sep 2003
Posts: 4,230
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Sep 2003
Posts: 4,230
I would suggest you rewrite the script, so it relies on a client server basis to run.

How is he cheating?


Link Copied to Clipboard