Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
3 registered members (ozgur, degenerate_762, 7th_zorro), 1,075 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
A8 Problem with effect #351975
12/30/10 12:57
12/30/10 12:57
Joined: Sep 2009
Posts: 496
P
Progger Offline OP
Senior Member
Progger  Offline OP
Senior Member
P

Joined: Sep 2009
Posts: 496
Hi Community i have a problem with effect
WHen i start my script with my A7.86 COm Edition everthing works fine.But when i use A8 Com there are some crashes.I issolated them and found out that effect is the command that makes it crash
what can i do now?
Here is a part of my code
Code:
action waterfall()
{
waterf=my;
while(waterf!=NULL) {wait(1);}
while(1)
	{
		my.v = -50*total_ticks;
		

	vec_for_vertex(temp3,my,15);
	effect(water_par,10,temp3,normal);
		
		
		wait(1);
	}
}


Thanks for ur help laugh

Last edited by Progger; 12/30/10 12:58.

asking is the best Way to get help laugh laugh laugh
Re: A8 Problem with effect [Re: Progger] #352232
01/02/11 11:43
01/02/11 11:43
Joined: May 2009
Posts: 439
T
TerraSame Offline
Senior Member
TerraSame  Offline
Senior Member
T

Joined: May 2009
Posts: 439
Hi...
I wonder if you now have your crash errors solved?
As I recall, I had similar crashes and I believe that the reason was because the game somehow was finding the improper effect code file/definition.
You will want to track down the proper file/definition and make sure that your project can find it during run time...
In other words.. Where is the water_par defined? And, can the game find the definition or file where it is located?
Also, you might try scripting out the effect line and run to verify if that truly is the problem...
Hope that helps...

Re: A8 Problem with effect [Re: TerraSame] #352270
01/02/11 15:55
01/02/11 15:55
Joined: Sep 2009
Posts: 496
P
Progger Offline OP
Senior Member
Progger  Offline OP
Senior Member
P

Joined: Sep 2009
Posts: 496
It is away after i updated to A8.10 Com Im so happy now laugh
Because it was so annoying but now everything is ok laugh
But thanks for trying to help laugh
EDIT:Shaders dont work now
I use an old shader from the templates
mtlFx and the shader is gone with it the terrain
After i press 0 i can see it
and i included default.c to do that
WFG PRogger laugh

Last edited by Progger; 01/02/11 16:18.

asking is the best Way to get help laugh laugh laugh

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