Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (TipmyPip, AndrewAMD), 1,151 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
asset list file #485649
04/09/22 10:37
04/09/22 10:37
Joined: Apr 2019
Posts: 53
Canada
A
aelagha Offline OP
Junior Member
aelagha  Offline OP
Junior Member
A

Joined: Apr 2019
Posts: 53
Canada
Hi there,

Zorro's help states that if assetList() is not called in the script, then the default asset list given in Zorro.ini is used. However, Zorro.ini does not have a field/line to specify an assetList. I tried adding a line with AssetList = "myassetlist.csv" and restarted Zorro but that did not work? I also noticed z.ini in the Strategy folder has AssetList = ... but I believe that applies only to the Z systems.

I know I can set assetList() in the script, and it works, but want to know if it is possible to set it outside a script, i.e. Zorro.ini.

Thanks,
-Alaa

Re: asset list file [Re: aelagha] #485650
04/09/22 10:53
04/09/22 10:53
Joined: Aug 2017
Posts: 295
Netherlands
G
Grant Offline
Member
Grant  Offline
Member
G

Joined: Aug 2017
Posts: 295
Netherlands
zorro.ini has nothing to do with the asset list. You should only include your custom list in your script, like 'assetList("History\\myassetlist.csv");'

Re: asset list file [Re: aelagha] #485652
04/09/22 16:33
04/09/22 16:33
Joined: Jul 2017
Posts: 784
Z
Zheka Offline
User
Zheka  Offline
User
Z

Joined: Jul 2017
Posts: 784
You can set default asset lists in the Accounts file.

Re: asset list file [Re: aelagha] #485653
04/09/22 19:09
04/09/22 19:09
Joined: Apr 2019
Posts: 53
Canada
A
aelagha Offline OP
Junior Member
aelagha  Offline OP
Junior Member
A

Joined: Apr 2019
Posts: 53
Canada
Thanks. That is what I thought too, but see assetList() help.
https://zorro-project.com/manual/toc.php


Moderated by  Petra 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1