Gamestudio Links
Zorro Links
Newest Posts
New FXCM FIX Plugin
by flink. 06/04/24 07:30
AlpacaZorroPlugin v1.3.0 Released
by kzhao. 05/22/24 13:41
Free Live Data for Zorro with Paper Trading?
by AbrahamR. 05/18/24 13:28
Change chart colours
by 7th_zorro. 05/11/24 09:25
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (AndrewAMD), 1,507 guests, and 12 spiders.
Key: Admin, Global Mod, Mod
Newest Members
AemStones, LucasJoshua, Baklazhan, Hanky27, firatv
19058 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
ent_clone crashes every time! #239643
12/06/08 03:01
12/06/08 03:01
Joined: Jul 2008
Posts: 54
Taipei, Taiwan
PlaystationThree Offline OP
Junior Member
PlaystationThree  Offline OP
Junior Member

Joined: Jul 2008
Posts: 54
Taipei, Taiwan
Every time I use ent_clone in any way the engine always crashes. I make a testing script like:

Code:
action cbabeAct(){
     wait(2);
     ent_clone(me);
}

function main(){
	fps_max = 60;
	level_load(NULL);
	wait(2);
	ent_create("cbabe.mdl",vector(150,0,-30),cbabeAct);
}
 


and it crashes. I'm using the standard cbabe.mdl file. Any suggestions?


Bet you don't know where Taiwan is lol.

"The Lord is my light and my salvation..." Psm 27:1
Re: ent_clone crashes every time! [Re: PlaystationThree] #239813
12/07/08 15:59
12/07/08 15:59
Joined: Nov 2007
Posts: 1,032
Croatia
croman Offline
Serious User
croman  Offline
Serious User

Joined: Nov 2007
Posts: 1,032
Croatia
try changing the model, put wait(-3); instead of wait(2), or even try to load some level.

i'm not sure if that will help, but my also i'm not sure why does it crash every time. try playing with those things smile



Ubi bene, ibi Patria.
Re: ent_clone crashes every time! [Re: croman] #239814
12/07/08 16:02
12/07/08 16:02
Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
Tobias Offline

Moderator
Tobias  Offline

Moderator

Joined: Aug 2000
Posts: 1,140
Baunatal, Germany
The wait has no effect in that code, and Ive tried it and it doesnt crash, maybe something else is crashing in your script? Or are you not using the current version?

Re: ent_clone crashes every time! [Re: Tobias] #239887
12/08/08 00:55
12/08/08 00:55
Joined: Jul 2008
Posts: 54
Taipei, Taiwan
PlaystationThree Offline OP
Junior Member
PlaystationThree  Offline OP
Junior Member

Joined: Jul 2008
Posts: 54
Taipei, Taiwan
That is the exact script I use in SED in addition of course to the #includes. I'm using A7 7.06, I think.


Bet you don't know where Taiwan is lol.

"The Lord is my light and my salvation..." Psm 27:1

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