Gamestudio Links
Zorro Links
Newest Posts
Zorro 3.01 recoded MMI function issue
by 11honza11. 06/13/26 11:40
How to select between IB accounts by script?
by Jack_Zodiac. 06/12/26 23:17
Zorro tutorial ideas?
by pr0logic. 06/12/26 13:36
Max Number of Strategies in /Strategy folder
by Martin_HH. 06/12/26 08:50
Stooq now requires an API key
by AndrewAMD. 06/11/26 17:55
Z9 getting Error 058
by k_ivan. 06/10/26 14:38
ZorroGPT
by TipmyPip. 06/10/26 13:07
Z12 live performance
by alx. 06/09/26 20:42
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
3 registered members (Quad, TipmyPip, 1 invisible), 2,064 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Student_64151, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
E1515 Error on Ent_Purge #466860
07/04/17 22:17
07/04/17 22:17
Joined: May 2005
Posts: 871
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 871
Chicago, IL
I have found that I am able to eliminate my memory leak issue by using ent_purge on a few entities before a level_load.

Using this causes an E1515 error to pop on some occasions. However, in the published version of the game these errors do not pop up.

Is this safe to use, or will it introduce other problems down the line?

Re: E1515 Error on Ent_Purge [Re: Dooley] #466865
07/05/17 04:02
07/05/17 04:02
Joined: Apr 2002
Posts: 1,246
ny
jumpman Offline
Serious User
jumpman  Offline
Serious User

Joined: Apr 2002
Posts: 1,246
ny
Hey dooley, what were these entities that you've purged?

Re: E1515 Error on Ent_Purge [Re: jumpman] #466879
07/05/17 16:12
07/05/17 16:12
Joined: May 2005
Posts: 871
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 871
Chicago, IL
For instance, I have a bunch of stars and planets with while loops that keep them orbiting and rotating. When the player lands on a planet, those objects do not need to be there. When he leaves the planet, the outer space level is re-created and those entities get re-created and assigned anyway.


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

Gamestudio download | 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