Gamestudio Links
Zorro Links
Newest Posts
zorro 64bit command line support
by jcl. 04/20/24 08:52
StartWeek not working as it should
by jcl. 04/20/24 08:38
Data from CSV not parsed correctly
by jcl. 04/20/24 08:32
Zorro FIX plugin - Experimental
by jcl. 04/20/24 08:30
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
5 registered members (7th_zorro, Aku_Aku, henrybane, flink, 1 invisible), 712 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 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 Offline
Serious User
AndrewAMD  Offline
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 Offline
Serious User
AndrewAMD  Offline
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.

Page 1 of 2 1 2

Moderated by  Petra 

Powered by UBB.threads™ PHP Forum Software 7.7.1