Gamestudio Links
Zorro Links
Newest Posts
Trading Journey
by howardR. 04/28/24 09:55
basik85278
by basik85278. 04/28/24 08:56
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Help with plotting multiple ZigZag
by M_D. 04/26/24 20:03
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
M1 Oversampling
by jcl. 04/26/24 11:12
Why Zorro supports up to 72 cores?
by jcl. 04/26/24 11:09
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Quad, AndrewAMD), 722 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
wandaluciaia, Mega_Rod, EternallyCurious, howardR, 11honza11
19049 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 3 1 2 3
Re: acknex.exe crashing... [Re: MiToVo] #439610
04/05/14 20:13
04/05/14 20:13
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
The error message clearly suggests a programming error. If you didn't touch the script something is really wrong. In the samples folder there is a file called "infinite_terrain.c". Can you open that file with SED and run it?


Always learn from history, to be sure you make the same mistakes again...
Re: acknex.exe crashing... [Re: Uhrwerk] #439615
04/05/14 21:54
04/05/14 21:54
Joined: Apr 2014
Posts: 13
M
MiToVo Offline OP
Newbie
MiToVo  Offline OP
Newbie
M

Joined: Apr 2014
Posts: 13
Hi there, Uhrwerk.

Thank you for the reply/advice.

I located the infiniteterrain script, loaded it up and ran it, and it runs just fine. Neat demo, by the way.

Re: acknex.exe crashing... [Re: MiToVo] #439616
04/05/14 22:01
04/05/14 22:01
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Originally Posted By: MiToVo
Also.. per Uhrwerk's suggestion, I uninstalled the program, deleted the folder, reinstalled everything from scratch and tried again. This time, I also created a new project (outdoor project via the project wizard). Once the project was finished and it loaded the map for me, again I built the map, clicked on the "run" button and, again, I get the same error, the error in main.sys, only it only happens once with a clean new project build.
I'm still not 100% sure what you did. Sorry. Which program are you using? Where do you get this project wizard thing?


Always learn from history, to be sure you make the same mistakes again...
Re: acknex.exe crashing... [Re: Uhrwerk] #439617
04/05/14 22:12
04/05/14 22:12
Joined: Apr 2014
Posts: 13
M
MiToVo Offline OP
Newbie
MiToVo  Offline OP
Newbie
M

Joined: Apr 2014
Posts: 13
It's the Project Wizard accessed via the File menu in WED.

Check out this screenshot. I'm creating the "outdoor level" project, which generates the scene you see in the viewports behind it.


Copy the image URL and you can see it at full size.

Thing is, I've run the project wizard before, and have created the same starting project, and it's worked fine.

And this is since A8's release, so I don't know/think Conitec has done any more updates to A7 that could possibly have broken it.

Really at a loss here.

I wonder what would happen if I just created a new map, set a few things up myself and tried running it. Maybe I'll try that.

Stinks if there's some issue with it overall, though, considering there's an entire tutorial based on it.

Last edited by MiToVo; 04/05/14 22:13.
Re: acknex.exe crashing... [Re: MiToVo] #439618
04/05/14 22:18
04/05/14 22:18
Joined: Apr 2014
Posts: 13
M
MiToVo Offline OP
Newbie
MiToVo  Offline OP
Newbie
M

Joined: Apr 2014
Posts: 13
Okay, just set up a super simple, small scene (hooray for alliteration!) and everything seems fine.

So, there's something in that particular outdoors scene that's causing 3DGS to have a fit.

Curious what it could be, still, but at least I know I can continue on with what I'm doing anyway.

Re: acknex.exe crashing... [Re: MiToVo] #439619
04/05/14 22:28
04/05/14 22:28
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Ok, in WED in that project that gives you trouble please goto "file" and "map properties". There is a property called script. Please post the content of that file here.


Always learn from history, to be sure you make the same mistakes again...
Re: acknex.exe crashing... [Re: Uhrwerk] #439620
04/05/14 22:52
04/05/14 22:52
Joined: Apr 2014
Posts: 13
M
MiToVo Offline OP
Newbie
MiToVo  Offline OP
Newbie
M

Joined: Apr 2014
Posts: 13
No problem..

It's using the 'myProj.c' script.

Here's the contents of it...

Quote:
// Includes
#include "resources.h" // paths and file binds
#include <acknex.h>
#include <default.c>

#include <t7\t7.h> ///@t7
#include <t7\t7Camera.h> ///@t7 Camera code

#include <t7\t7GE.c> ///@t7 GEs
#include <t7\t7GEBiped.c> ///@t7 Biped
#include <t7\t7GEMovers.c> ///@t7 Doors, Lifts, and Platforms
#include <t7\t7GEPickups.c> ///@t7 Pickup items.

#include "environ.c" // environmental functions for Outdoor level


///////////////////////////////////////////////////////////////

void main()
{
if(project_load("myProj.xml") == 0) // load up game from an xml file
{
sys_exit("Couldn't load myProj.xml");
}

while(project_update() != 0)
{
wait(1);
}
sys_exit("Normal Exit");
}




Thanks laugh

Last edited by MiToVo; 04/05/14 22:52.
Re: acknex.exe crashing... [Re: MiToVo] #439623
04/05/14 23:16
04/05/14 23:16
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
That looks totally fine at a first glance.

Ok, what is environ.c ? Is that a custom script you created? If so can you please show it?


Always learn from history, to be sure you make the same mistakes again...
Re: acknex.exe crashing... [Re: Uhrwerk] #439629
04/06/14 00:02
04/06/14 00:02
Joined: Apr 2014
Posts: 13
M
MiToVo Offline OP
Newbie
MiToVo  Offline OP
Newbie
M

Joined: Apr 2014
Posts: 13
I'm not responsible for any of the files created or otherwise handled in creating this project. This is 100% 3DGS at work. Like I said, the only thing I'm doing is opening the WED file, building it and trying to run it.

So whatever you see in this code is 3DGS's work... I couldn't code my way out of a wet paper bag at this point tongue

That said...

environ.c turns out to be a file in the template folder for the "outdoor" project; basically what the project wizard uses to build the template projects from.

It looks like it wasn't copied over to the generated project folder, however, as I can't find it in there. I'd like to guess that has something to do with it (myproj is referencing a file that isn't there), but I don't know.

I don't want to mess with anything since maybe it's not supposed to be copied over. This is all new to me, so I have no idea.

Anyway... here's the content of the environ.c file...

If you're using A7, or A8, I imagine you should be able to generate the Outdoor project from the File > Project Wizard window and get the same results? Or maybe you don't, and that's the problem? -shrug- lol

Code:
//------------------------------------------------------------------------------
// Environmental Effects
// Based on Czeslaw Gorski's code for "Racer"

//--------------------------------------------
// skycube
ENTITY* sky = { type = "skycube+6.tga"; flags2 = SKY | CUBE | VISIBLE; }

//--------------------------------------
// Objects

// Polygon accurate collision model
action	MakePoly()
{
	wait(1);
	set(my,POLYGON);
}


action init_rauchen()
{

}

action ffp_terr_detail()
{

}

action init_windmill()
{
	while(my)
	{
		my.roll += 10*time_step;
		wait(1);
	}
}

action init_propshadow()
{
	set(my,PASSABLE);
	while(my)
	{
		my.roll += 10*time_step;
		wait(1);
	}
}

action init_river()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	my.alpha = 25;
}

action init_see()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	turb_speed = 0.09;
	turb_range = 0.5; 
	my.ambient = 100;
	my.alpha = 75;
}

action init_wasser()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	my.ambient = 10;
	my.alpha = 65;
}

action init_wasserfall()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	set(my,BRIGHT);
	my.alpha = 65;
}



action init_lava()
{
	set(my,PASSABLE);
	my.ambient = 100;
}

// swamp
action init_swamp()
{
	set(my,PASSABLE);
	set(my,TRANSLUCENT);
	my.ambient = 100;
	my.alpha = 55;
}







/// Tree baum
action  init_baum1()
{
	set(my,PASSABLE);
/*+++	if(my.skill1 < 1) {ent_create( "lp_stamm.wmb",MY.POS,baum_stamm);}
	if(my.skill2 > 0) {ent_create( "lp_birke_kr.mdl",MY.POS,pos_kr);} //birch
	if(my.skill3 > 0) {ent_create( "lp_tree2_kr.MDL",MY.POS,pos_kr);} //tree2
	if(my.skill4 > 0) {ent_create( "lp_spruce_kr.MDL",MY.POS,pos_kr);} //tree2
	if(my.skill5 > 0) {ent_create( "lp_Pine1_kr.MDL",MY.POS,pos_kr);} //pine1
+++*/
}




There ya go...

Last edited by MiToVo; 04/06/14 00:10.
Re: acknex.exe crashing... [Re: MiToVo] #439630
04/06/14 00:11
04/06/14 00:11
Joined: Jan 2002
Posts: 4,225
Germany / Essen
Uhrwerk Offline
Expert
Uhrwerk  Offline
Expert

Joined: Jan 2002
Posts: 4,225
Germany / Essen
Originally Posted By: MiToVo
I'm not responsible for any of the files created or otherwise handled in creating this project. This is 100% 3DGS at work. Like I said, the only thing I'm doing is opening the WED file, building it and trying to run it.

Ok, then I can't give you any further advice. There is no obvious flaw. I suggest sending a step by step description of what you did and your gamestudio version to the support. I guess you're already out of your support period, but normally they are very kind and might be interested in the issue.


Always learn from history, to be sure you make the same mistakes again...
Page 2 of 3 1 2 3

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