Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,789 guests, and 8 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Re: SED crashes for unknown reason [Re: testDummy] #212672
06/23/08 17:45
06/23/08 17:45
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
@testDummy

Thank you
the problem was at the Item number 3... problem is that the max local array is [3].
So I defined it as Global and put [6] and worked fine!
The only thing im affraid is that 'simultaneously' other entities will call this function, and the global value of Temp_tipo[6] give wrong values to wrong entities.

anyway thanks!

Re: SED crashes for unknown reason [Re: DestroyTheRunner] #212735
06/23/08 23:37
06/23/08 23:37
Joined: Oct 2004
Posts: 1,655
T
testDummy Offline
Serious User
testDummy  Offline
Serious User
T

Joined: Oct 2004
Posts: 1,655
Temp_tipo[6];
global reuse issue

Imagine:
*Entities are in a list.
*For those caught in a while, when wait(1) is encountered for each such entity, that entity is put aside and the next entity in the list gets its turn.
*Thus, globals can be somewhat safe from undesirable modification by other entities when a certain policy is applied.

nextEntity:
n++;
me = entity[n]; etc.
entity[n] invokes SEARCH_DESTINO and uses path skills array
entity[n] is done with path skills array
wait(1); = goto(nextEntity);

Re: SED crashes for unknown reason [Re: testDummy] #212880
06/24/08 20:46
06/24/08 20:46
Joined: Aug 2007
Posts: 286
DestroyTheRunner Offline OP
Member
DestroyTheRunner  Offline OP
Member

Joined: Aug 2007
Posts: 286
ok i see
I ALMOST understood all. lol

Until now is working fine, ill see when more entities are in the level and then ill see.

thanks testdummy smile

Page 2 of 2 1 2

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