Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/25/24 10:20
Trading Journey
by howardR. 04/24/24 20:04
M1 Oversampling
by Petra. 04/24/24 10:34
Zorro FIX plugin - Experimental
by flink. 04/21/24 07:12
Scripts not found
by juergen_wue. 04/20/24 18:51
zorro 64bit command line support
by 7th_zorro. 04/20/24 10:06
StartWeek not working as it should
by jcl. 04/20/24 08:38
folder management functions
by VoroneTZ. 04/17/24 06:52
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (AndrewAMD, TipmyPip, VoroneTZ, Quad, 1 invisible), 688 guests, and 11 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Mega_Rod, EternallyCurious, howardR, 11honza11, ccorrea
19048 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Protect Strategy #475307
12/01/18 15:17
12/01/18 15:17
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Hi guys,

how can I make to protect the strategy without open the script in the editor?

Thanks

Re: Protect Strategy [Re: tradingest] #475308
12/01/18 15:23
12/01/18 15:23
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
"Protect the strategy"?

You can make a script file read-only in Windows. Is that what you want?

Re: Protect Strategy [Re: AndrewAMD] #475309
12/01/18 15:25
12/01/18 15:25
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Originally Posted By: AndrewAMD
"Protect the strategy"?

You can make a script file read-only in Windows. Is that what you want?


I want to protect the script how the Z strategies (.x)

Re: Protect Strategy [Re: tradingest] #475311
12/01/18 17:14
12/01/18 17:14
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline
Junior Member
chsmac85  Offline
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
The z strategies are complied which is why they have the .x

Maybe try googling how to compile a c script for your OS. I haven't gotten this far myself so I can't be of more help.

Re: Protect Strategy [Re: tradingest] #475312
12/01/18 18:07
12/01/18 18:07
Joined: Apr 2017
Posts: 106
3
3dgamelight Offline
Member
3dgamelight  Offline
Member
3

Joined: Apr 2017
Posts: 106
Zorro S is needed: set(EXE);

Re: Protect Strategy [Re: chsmac85] #475313
12/01/18 18:09
12/01/18 18:09
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
I hope anyone can help me

Re: Protect Strategy [Re: tradingest] #475329
12/02/18 13:44
12/02/18 13:44
Joined: Oct 2018
Posts: 70
AZ
C
chsmac85 Offline
Junior Member
chsmac85  Offline
Junior Member
C

Joined: Oct 2018
Posts: 70
AZ
3dgamelight is correct. From the manual variable>>mode flags
EXE
Compile the script to an executable in .x file format. Useful for a faster start, and for distributing strategies without revealing the source code. Zorro S required.

Re: Protect Strategy [Re: chsmac85] #475330
12/02/18 15:42
12/02/18 15:42
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Sorry,

3dgamelight have answered 2 second befor my request of help.
I try set(EXE) but the file is always possible open it through notepad while the Z strategies is not possible to open.

Z1 strategy

I'd like obtain the same effect

thanks again

Re: Protect Strategy [Re: tradingest] #475331
12/02/18 15:53
12/02/18 15:53
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
done!!

it was necessary to run it and the .x file is generated automatically.
At this point the question is another.

Is it possible to decrypt the file in some way?

thanks in advance

Re: Protect Strategy [Re: tradingest] #475332
12/02/18 15:53
12/02/18 15:53
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
It would be silly if Zorro deleted your source code.

Once you have compiled your binary (.x), just leave it there. Move your source (.c) to a safe place.

Re: Protect Strategy [Re: AndrewAMD] #475333
12/02/18 15:56
12/02/18 15:56
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Thanks so much AndrewAMD,

I resolve it.
Is it possible to help me about my last question on the possibility decrypt file?

thanks again

Re: Protect Strategy [Re: tradingest] #475334
12/02/18 16:21
12/02/18 16:21
Joined: Feb 2017
Posts: 1,725
Chicago
AndrewAMD Online
Serious User
AndrewAMD  Online
Serious User

Joined: Feb 2017
Posts: 1,725
Chicago
The short answer is no.

The long answer is yes, but it's not easy to decompile a binary without being an uber computer nerd. wink

Re: Protect Strategy [Re: AndrewAMD] #475335
12/02/18 16:44
12/02/18 16:44
Joined: Feb 2018
Posts: 236
Italy
tradingest Offline OP
Member
tradingest  Offline OP
Member

Joined: Feb 2018
Posts: 236
Italy
Originally Posted By: AndrewAMD
The short answer is no.

The long answer is yes, but it's not easy to decompile a binary without being an uber computer nerd. wink


Top!!

For a true nerd impossible is nothing! laugh

thanks so much AndrewAMD

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1