0 registered members (),
1,094
guests, and 1
spider. |
Key:
Admin,
Global Mod,
Mod
|
|
|
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
Expert
|
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: MiToVo]
#439616
04/05/14 22:01
04/05/14 22:01
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
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
MiToVo
OP
Newbie
|
OP
Newbie
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]
#439619
04/05/14 22:28
04/05/14 22:28
|
Joined: Jan 2002
Posts: 4,225 Germany / Essen
Uhrwerk
Expert
|
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
MiToVo
OP
Newbie
|
OP
Newbie
Joined: Apr 2014
Posts: 13
|
No problem.. It's using the 'myProj.c' script. Here's the contents of it... // 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
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
Expert
|
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
MiToVo
OP
Newbie
|
OP
Newbie
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 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
//------------------------------------------------------------------------------
// 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
Expert
|
Expert
Joined: Jan 2002
Posts: 4,225
Germany / Essen
|
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...
|
|
|
Moderated by mk_1, Perro, rayp, Realspawn, Rei_Ayanami, rvL_eXile, Spirit, Superku, Tobias, TSG_Torsten, VeT
|