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
3 registered members (AndrewAMD, TipmyPip, OptimusPrime), 15,229 guests, and 7 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 3 1 2 3
Re: Crash in main? What? [Re: Redeemer] #320532
04/22/10 14:21
04/22/10 14:21
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
@Petra: Try it, load a level and use ent_create after it without a wait(3). You will get an error...

Re: Crash in main? What? [Re: Redeemer] #320533
04/22/10 14:23
04/22/10 14:23
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Originally Posted By: Redeemer
Quote:
wait(3) after level loading makes no sense. If a code really works after adding a wait(), there is likely something else wrong with the project. The only situation where you really need a wait is when you want to wait until some other function or an event is finished.


It makes perfect sense. After calling level_load, you must wait a few frames before you create any objects, because it takes a few cycles to finish loading the level.


Read my post; that's what I said, but aparently in A7 this is no longer an issue, even the manual doesnt say anything about it anymore...

Here's the proof; http://manual.3dgamestudio.net/beta.htm
"The level_load function is now executed directly and undelayed, thus a wait() after level loading is not required anymore."

Last edited by Helghast; 04/22/10 14:25.

Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Re: Crash in main? What? [Re: Helghast] #320536
04/22/10 14:33
04/22/10 14:33
Joined: Apr 2008
Posts: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
Austria
Yep. Widi, just look into the tutorial, already the very first lesson shows how to load a level. Level loading does not "take a few cycles", it is just one command.

http://www.conitec.net/litec/work01.htm

So lets all agree not to suggest that wait to newcomers as a solution anymore, ok? wink

Re: Crash in main? What? [Re: Petra] #320537
04/22/10 14:51
04/22/10 14:51
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Whoops, my bad. I missed the transition from A6 to A7 back in the day, so I didn't catch that fix.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Crash in main? What? [Re: Petra] #320540
04/22/10 14:55
04/22/10 14:55
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
But this is only a *hmp, don`t need more than one frame. If you use a bigger *.wmb, then you have to wait.

You test it yourself? I already do it and it is how i say... Trust me.

EDIT: And i use the newest version.

Last edited by Widi; 04/22/10 15:00.
Re: Crash in main? What? [Re: Widi] #320541
04/22/10 14:57
04/22/10 14:57
Joined: Dec 2008
Posts: 1,660
North America
Redeemer Offline
Serious User
Redeemer  Offline
Serious User

Joined: Dec 2008
Posts: 1,660
North America
Well, it wouldn't hurt to try it.


Eats commas for breakfast.

Play Barony: Cursed Edition!
Re: Crash in main? What? [Re: Redeemer] #320544
04/22/10 15:13
04/22/10 15:13
Joined: Apr 2008
Posts: 594
Austria
Petra Offline
Support
Petra  Offline
Support

Joined: Apr 2008
Posts: 594
Austria
Originally Posted By: Widi
But this is only a *hmp, don`t need more than one frame. If you use a bigger *.wmb, then you have to wait.

I also use WMBs and never need any wait. Look in the tutorial, there are also many WMB levels.

Besides, when you say you need a wait and the manual said you don't, then obviously either you or the manual is wrong. Maybe you should contact Conitec to fight that out.

Re: Crash in main? What? [Re: Petra] #320546
04/22/10 15:21
04/22/10 15:21
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
I'm sorry Petra but wait(x); is very important under some circumstances (e.g. multiplayer/online, invalid pointers), you may have not encountered such situations yet.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Crash in main? What? [Re: Petra] #320547
04/22/10 15:21
04/22/10 15:21
Joined: Aug 2007
Posts: 1,922
Schweiz
Widi Offline
Serious User
Widi  Offline
Serious User

Joined: Aug 2007
Posts: 1,922
Schweiz
OK, you don`t will go to test it...

-- end --

Last edited by Widi; 04/22/10 15:23.
Re: Crash in main? What? [Re: Petra] #320548
04/22/10 15:22
04/22/10 15:22
Joined: Jan 2004
Posts: 3,023
The Netherlands
Helghast Offline
Expert
Helghast  Offline
Expert

Joined: Jan 2004
Posts: 3,023
The Netherlands
Let's stop the discussion here...
I think Petra and me made a valid point showing multiple reference's from conitec that a wait after a level_load is no longer needed.
The original post has been solved as well, if anyone feels like they need to have another discussion about it, i'd say do it over PM's

this has gone way off-topic.

regards,


Formerly known as dennis_fantasy
Portfolio - http://www.designorhea.com/
Project - http://randomchance.cherrygames.org/
Page 2 of 3 1 2 3

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