Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
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
4 registered members (7th_zorro, Quad, VoroneTZ, 1 invisible), 623 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, 11honza11, ccorrea, sakolin, rajesh7827
19046 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Limit of objects? #279692
07/18/09 18:53
07/18/09 18:53
Joined: Jul 2009
Posts: 19
Poland
V
Varen Offline OP
Newbie
Varen  Offline OP
Newbie
V

Joined: Jul 2009
Posts: 19
Poland
Does Lite-C have any limit of loading objects? When i compile the script with 204 objects, everythings ok, but when i make another object - no matter what - i get the startup failure error. It sees the errors even in completely right lines (and it didnt have any problem with compiling them before). Whats going on?

Re: Limit of objects? [Re: Varen] #279700
07/18/09 19:53
07/18/09 19:53
Joined: Dec 2008
Posts: 1,218
Germany
Rackscha Offline
Serious User
Rackscha  Offline
Serious User

Joined: Dec 2008
Posts: 1,218
Germany
Never heard about it. Can you tell us a bit more about your project?


Greets
Rackscha


MY Website with news of my projects:
(for example my current
Muliplayer Bomberman,
GenesisPrecompiler for LiteC
and TileMaster, an easy to use Tile editor)
Sparetime-Development

Re: Limit of objects? [Re: Rackscha] #279729
07/18/09 22:14
07/18/09 22:14
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
No, there is no limit.

Re: Limit of objects? [Re: Widi] #279736
07/18/09 22:23
07/18/09 22:23
Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Cowabanga Offline
Expert
Cowabanga  Offline
Expert

Joined: Aug 2008
Posts: 2,838
take me down to the paradise c...
Maybe you're mistaken somehow?? The default limit is on terrains, but when using the chunked terrains, the limit will go flying up XD

Re: Limit of objects? [Re: Cowabanga] #279759
07/19/09 02:21
07/19/09 02:21
Joined: Aug 2005
Posts: 1,230
M
MichaelGale Offline
Serious User
MichaelGale  Offline
Serious User
M

Joined: Aug 2005
Posts: 1,230
Yes, there is limit. The number of objects you can create is limited by your available memory and the memory that is allocated by the engine (i.e. the nexus). Try increasing the nexus and see if it works. If it should work, you shouldn't leave it like that though. 205 objects should normally not require an increase of your nexus unless the objects you create consume way too much memory (e.g. entities with way too many polygons, etc.)


Your friendly mod is at your service.
Re: Limit of objects? [Re: MichaelGale] #279788
07/19/09 09:40
07/19/09 09:40
Joined: Jul 2009
Posts: 19
Poland
V
Varen Offline OP
Newbie
Varen  Offline OP
Newbie
V

Joined: Jul 2009
Posts: 19
Poland
Its 2d game and most of the objects r images, so i dont think they r too big or something. The code cant be wrong as well, coz it works when i dont add anything. Example:
1) 196 objects (eg image_12, b_new etc) => compile => works
2) i add new objects
3) compile => STARTUP FAILURE! CANT LOAD b_new!
4) i delete b_new => compile => STARTUP FAILURE! CANT LOAD image_12!
5) i delete those new objects => compile => works!

WTH?

Re: Limit of objects? [Re: Varen] #279791
07/19/09 09:53
07/19/09 09:53
Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
Rei_Ayanami Offline
Expert
Rei_Ayanami  Offline
Expert

Joined: Feb 2009
Posts: 3,207
Germany, Magdeburg
? I have made a 2D game, too. And I have no Problem, an I even have many, many Pictures. (PS: You can see it at: 2D Contest )

Re: Limit of objects? [Re: Rei_Ayanami] #279825
07/19/09 14:10
07/19/09 14:10
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
From the manual

max_entities
The maximum amount of entities in a level; must be set before loading of the level. The default value is nexus times 10.
Range:
0 .. unlimited (default: Nexus * 10)
Type:
var
Remarks:
Is to be set before level_load.
For every entity, around 1.5..2.5 KB memory is reserved from the nexus, dependent on its bones size.
Example:
max_entities = 1000; // allows up to 1000 Entities.
level_load("test.wmb");
wait(2);





Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus
Re: Limit of objects? [Re: Nidhogg] #280025
07/20/09 15:03
07/20/09 15:03
Joined: Jul 2009
Posts: 19
Poland
V
Varen Offline OP
Newbie
Varen  Offline OP
Newbie
V

Joined: Jul 2009
Posts: 19
Poland
i havent any levels here, its 2d game. And i dont think its problem with nexus or size of files

Re: Limit of objects? [Re: Varen] #280045
07/20/09 18:24
07/20/09 18:24
Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Nidhogg Offline
Serious User
Nidhogg  Offline
Serious User

Joined: Dec 2006
Posts: 1,086
Queensland - Australia
Well maybe it's a texture problem then.


Windows XP SP3
Intel Dual Core CPU: E5200 @ 2.5GHz
4.00GB DDR3 Ram
ASUS P5G41T-M LX
PCIE x16 GeForce GTS 450 1Gb
SB Audigy 4
Spyware Doctor with AntiVirus

Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

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