t7rc4 problem

Posted By: dwalther2

t7rc4 problem - 02/26/08 16:29

I am using A7.07 Commercial and wanted to test the t7 templates. I downloaded the t7rc4 from the wiki and noticed a problem and wonder if anyone else has run into the same thing. When I go to project wizard and do the outdoor level and run, all works fine. Then when I go to select the model (woman) in the level to alter the behavior I get a blank behavior screen that says "No behavior panel defined use properties to change value. (Remember, I did absolutely nothing to this point other than to select the model and open behavior and t7 biped action was indicated). Then when I go back to run the level I can't move the player model or move around the screen whatsoever. There were no error messages. Just a note, I ran into the same exact thing from the blank level when I added a model (guard) and tried the behavior panel. Hopefully, I posted this in the right place, (wasn't sure if it should go into bug report). Thanks for considering this situation and for any responses to help clear up what might be happening.
P.S. I have 3 month old duo core computer with up-to-date graphics drivers.
Posted By: Doug

Re: t7rc4 problem - 02/28/08 04:26

Thank you for the error report! I've been trying to track down this bug for a while now but couldn't reproduce it on my PCs.

So the level runs *before* you try to edit the player entity?

Can you cut-and-paste the text from your myProj.xml here? The debugout.xml might help as well, but I really want to see your myProj.xml.

Thanks again. This bug is my number one priority.
Posted By: Wampach_JM

Re: t7rc4 problem - 02/28/08 10:02

Hi Doug, dwalther2,
I have installed yesterday the T7 templates and tried the outdoor level. I could not fetch the behavior panel, there was no animations at all, the ennemies didnt move and where flying in the air. I saved the level (you never kmow). Today, I reopened it without making any modifications. The animation is working, the ennemies killed me, I had animations and the behavior panel wa there.... Why I dont know .

I will retry it from zero.
jm
Posted By: Wampach_JM

Re: t7rc4 problem - 02/28/08 10:23

Hello,
I found another version of the outdoor level that I did. It does not work.
Here is the the project xml

<?xml version="1.0" encoding="utf-8" ?>
- <Project name="My Outdoor Project." date="1204125342" vers="8.0201">
<Paths proj_file="C:\Programme\GStudio7\test_t7\" t7_file="C:\Programme\GStudio7\templates\xml\" />
<Camera proj_file="Cameras.xml" />
<UI proj_file="UI.xml" />
<AnimationPool t7_file="Animations.xml" />
<WeaponDefPool t7_file="Weapons.xml" />
<Display t7_file="Display.xml" />
<UserInput t7_file="UserInput.xml" />
- <Level name="Outside" mapfile="outside.wmb">
<Doc>Lots of room to run and hide.</Doc>
- <Entity name="sf_alien_mdl_2229" parent="t7_biped_dumb">
- <Component name="health">
<Edit name="blood" value="true" />
</Component>
</Entity>
- <Entity name="sf_alien_mdl_2231" parent="t7_biped_fps1">
- <Component name="objType">
<Edit name="value" value="1" />
</Component>
- <Component name="weapon">
<Edit name="startWeapon" value="1" />
<Edit name="startAmmo" value="-1" />
</Component>
- <Component name="fader">
<Edit name="delay" value="40" />
</Component>
</Entity>
</Level>
</Project>

Here is the Debugout xml....

<?xml version="1.0" encoding="utf-8" ?>
<!-- Debug output -->
<DebugLog>
<Note func="t7Info" frame="2" tick="0.0078125" >Version (1.4)</Note>
<Note func="t7Info" frame="2" tick="0.0078125" >Date (80123)</Note>
<Note func="EngineInfo" frame="2" tick="0.0078125" >Version (7.0752)</Note>
<Note func="EngineInfo" frame="2" tick="0.0078125" >Edition (4)</Note>
<Note func="EngineInfo" frame="2" tick="0.0078125" >Compat (5)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.0078125" >File found in local path (myProj.xml)</Note>
<Note func="CGame::init" frame="2" tick="0.0078125" >Game object init.</Note>
<Note func="CGame::instance()" frame="2" tick="0.0078125" >Game object created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >CDisplay file loaded (C:\Programme\GStudio7\templates\xml\Display.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >CUserInput file loaded (C:\Programme\GStudio7\templates\xml\UserInput.xml)</Note>
<Note func="CSoundPool::instance()" frame="2" tick="0.0078125" >New CSoundPool instance created.</Note>
<Note func="CSoundPool::clear()" frame="2" tick="0.0078125" >All sounds in pool removed.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >CWeaponDefPool file loaded (C:\Programme\GStudio7\templates\xml\Weapons.xml)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.0078125" >File found in local path (Cameras.xml)</Note>
<Note func="CCameraFirst::CCameraFirst(CXMLNode)" frame="2" tick="0.0078125" >First-person camera created.</Note>
<Note func="CCameraThird::CCameraThird(CXMLNode&)" frame="2" tick="0.0078125" >Third-person camera created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >CCameraManager file loaded (Cameras.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >Number of cameras (2)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >CAnimationPool file loaded (C:\Programme\GStudio7\templates\xml\Animations.xml)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.0078125" >File found in local path (UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >CUi file loaded (UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0078125" >Level Added</Note>
<OutputClosed frame="1088" tick="1.37109" />
</DebugLog>
Posted By: Wampach_JM

Re: t7rc4 problem - 02/28/08 10:36

Hi Doug,

I have compared the 2 xml projects files. In the project which is not working, a lot of data is missing. Could it be that the project wizard (WED) does not generates each time the same Xml data. I have copied the working XML project in the project which is not working and now it runs fine also.
jm
Posted By: Nidhogg

Re: t7rc4 problem - 02/28/08 12:00

Maybe it has something to do with the path being more than the allowed
250 characters long I think it is. Try putting your project in a different
folder of the root directory of your drive?

just a thought..
Posted By: Wampach_JM

Re: t7rc4 problem - 02/28/08 13:22

Niddhogg: Putting the folder in the root directory does not solve the problem.

Doug: Each time the behavior panel is not dsplayed correctly (behavior panel not defined), the corresponding section is deleted from the xml project file.

I have recreated the T7 project outdoor again, and can't get the befhavior panel to work. At creation the xml file is correct. At the first unsuccessful call to thew behavior panel the xml file is changed.

I will continue to work on the project....
Posted By: dwalther2

Re: t7rc4 problem - 02/28/08 13:38

Doug: I'm not home right now to post the needed xml files (will later this evening) but, yes, I can say that the level runs fine before I try to edit the the player entity. As soon as I select it (without attempting to open the behavior panel) and then again try to run the level it won't run. It did before I selected the entity.
Posted By: dwalther2

Re: t7rc4 problem - 02/29/08 00:42

Doug here are my xml files as requested:

myProj.xml:

<?xml version="1.0" encoding="utf-8"?>
<Project name="My Outdoor Project." date="1204041451" vers="8.0201">
<Paths proj_file="F:\Program Files\GStudio7\deanoutdoor\" t7_file="F:\Program Files\GStudio7\templates\xml\"/>
<Camera proj_file="Cameras.xml"/>
<UI proj_file="UI.xml"/>
<AnimationPool t7_file="Animations.xml"/>
<WeaponDefPool t7_file="Weapons.xml"/>
<Display t7_file="Display.xml"/>
<UserInput t7_file="UserInput.xml"/>
<Level name="Outside" mapfile="outside.wmb">
<Doc>
Lots of room to run and hide.
</Doc>
<Entity name="sf_alien_mdl_2229" parent="t7_biped_dumb">
<Component name="health">
<Edit name="blood" value="true"/>
</Component>
</Entity>
<Entity name="sf_alien_mdl_2230" parent="t7_biped_fps1">
<Component name="weapon">
<Edit name="startWeapon" value="1"/>
<Edit name="startAmmo" value="-1"/>
</Component>
<Component name="objType">
<Edit name="value" value="1"/>
</Component>
</Entity>
<Entity name="sf_alien_mdl_2231" parent="t7_biped_fps1">
<Component name="objType">
<Edit name="value" value="1"/>
</Component>
<Component name="weapon">
<Edit name="startWeapon" value="1"/>
<Edit name="startAmmo" value="-1"/>
</Component>
<Component name="fader">
<Edit name="delay" value="40"/>
</Component>
</Entity>
</Level>
</Project>

debugout.xml:

<?xml version="1.0" encoding="utf-8" ?>
<!-- Debug output -->
<DebugLog>
<Note func="t7Info" frame="2" tick="0.0371094" >Version (1.4)</Note>
<Note func="t7Info" frame="2" tick="0.0371094" >Date (80123)</Note>
<Note func="EngineInfo" frame="2" tick="0.0371094" >Version (7.0752)</Note>
<Note func="EngineInfo" frame="2" tick="0.0371094" >Edition (3)</Note>
<Note func="EngineInfo" frame="2" tick="0.0371094" >Compat (5)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.0371094" >File found in local path (myProj.xml)</Note>
<Note func="CGame::init" frame="2" tick="0.0371094" >Game object init.</Note>
<Note func="CGame::instance()" frame="2" tick="0.0371094" >Game object created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >CDisplay file loaded (F:\Program Files\GStudio7\templates\xml\Display.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >CUserInput file loaded (F:\Program Files\GStudio7\templates\xml\UserInput.xml)</Note>
<Note func="CSoundPool::instance()" frame="2" tick="0.0371094" >New CSoundPool instance created.</Note>
<Note func="CSoundPool::clear()" frame="2" tick="0.0371094" >All sounds in pool removed.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >CWeaponDefPool file loaded (F:\Program Files\GStudio7\templates\xml\Weapons.xml)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.0371094" >File found in local path (Cameras.xml)</Note>
<Note func="CCameraFirst::CCameraFirst(CXMLNode)" frame="2" tick="0.0371094" >First-person camera created.</Note>
<Note func="CCameraThird::CCameraThird(CXMLNode&)" frame="2" tick="0.0371094" >Third-person camera created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >CCameraManager file loaded (Cameras.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >Number of cameras (2)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >CAnimationPool file loaded (F:\Program Files\GStudio7\templates\xml\Animations.xml)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.0371094" >File found in local path (UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >CUi file loaded (UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.0371094" >Level Added</Note>
<OutputClosed frame="237" tick="1.95898" />
</DebugLog>

Both are from "after" selecting the player entity. If you need the "before", just let me know. Thanks again for your taking a look at this.
Posted By: Doug

Re: t7rc4 problem - 02/29/08 04:38

Yes, that is the error alright.

Thanks for the reports. You are doing everything right, I just need to figure out why ProjectManager isn't writing everything all the time.

I have some ideas and, hopefully, will have an update out this weekend that will fix this problem (or give better debug output).
Posted By: dwalther2

Re: t7rc4 problem - 02/29/08 14:18

Great, glad I could help
Posted By: Doug

Re: t7rc4 problem - 03/01/08 04:25

I've uploaded a test version of the WDLV.dll.

*Warning! This is not release code. Beta-testing rules apply.*

Make sure to backup your old WDLV.dll before copying this one into your GStudio7 folder. Then run WED and create a new t7 project using the Project Wizard.

This *may* fix the error. If it doesn't, it should produce 2-3 output files that will give me better insight into what went wrong (T7ProjectManagerDebug.xml, wizardDebug.xml, and defaultDebugOut.xml).

Note: Even if the error goes away, if you get a file called "defaultDebugOut.xml" please send that to me.
Posted By: Wampach_JM

Re: t7rc4 problem - 03/01/08 13:19

Doug,
I have tried the new dll. It does not work: the menu option Project wizard is not listed anymore.
Thanks
Posted By: rojart

Re: t7rc4 problem - 03/01/08 17:43

BEHAVIOR works with small changes of parameters, under t7rc4 files:

1 - Copy myProj.wdl file to your project folder.

// BLANK Wizard
// local files
PATH "images";
PATH "includes";
PATH "maps";
PATH "models";
PATH "sounds";
PATH "textures";

// shared template files
PATH "%EXE_DIR%\\templates\\t7w_blank";
PATH "%EXE_DIR%\\templates\\images";
PATH "%EXE_DIR%\\templates\\includes";
PATH "%EXE_DIR%\\templates\\maps";
PATH "%EXE_DIR%\\templates\\models";
PATH "%EXE_DIR%\\templates\\sounds";
PATH "%EXE_DIR%\\templates\\textures";
PATH "%EXE_DIR%\\templates";

2 - Copy myProj.xml file to your project folder and change the paths:



--------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
- <Project name="Blank Project." date="1204378615" vers="8.0201">
<Paths proj_file="D:\Programme\GStudio708\blank_level\" t7_file="D:\Programme\GStudio708\templates\xml\" />
<Behavior t7_file="Behaviors.xml" />
<Camera t7_file="Cameras.xml" />
<UI t7_file="UI.xml" />
<AnimationPool t7_file="Animations.xml" />
<WeaponDefPool t7_file="Weapons.xml" />
<Display t7_file="Display.xml" />
<UserInput t7_file="UserInput.xml" />
- <Level name="Start" mapfile="start.wmb">
<Doc>Blank</Doc>
- <Entity name="guard_mdl_001" parent="t7_biped_player">
- <Component name="head">
<Edit name="offset" value="-100,0,36" />
<Edit name="angOffset" value="0,0,0" />
<Edit name="angLimit" value="30,30,30" />
</Component>
- <Component name="physBiped">
<Edit name="forceScale" value="8,7,0" />
<Edit name="aForceScale" value="8,0,0" />
<Edit name="jumpHeight" value="10" />
</Component>
</Entity>
<Entity name="guard_mdl_002" parent="t7_biped_dumb" />
- <Entity name="cam_mdl_003" parent="t7_biped_player">
- <Component name="head">
<Edit name="offset" value="0,0,256" />
<Edit name="angOffset" value="0,0,0" />
<Edit name="angLimit" value="10,90,0" />
</Component>
- <Component name="health">
<Edit name="blood" value="false" />
</Component>
- <Component name="physBiped">
<Edit name="forceScale" value="80,50,0" />
</Component>
</Entity>
- <Entity name="guard_mdl_003" parent="t7_biped_player">
- <Component name="collision">
<Edit name="type" value="4" />
</Component>
- <Component name="head">
<Edit name="offset" value="0,0,45" />
</Component>
- <Component name="physBiped">
<Edit name="forceScale" value="80,50,0" />
</Component>
</Entity>
- <Entity name="cam_mdl_005" parent="t7_biped_player">
- <Component name="collision">
<Edit name="type" value="0" />
</Component>
- <Component name="head">
<Edit name="offset" value="0,0,100" />
<Edit name="angOffset" value="0,0,0" />
</Component>
- <Component name="physBiped">
<Edit name="forceScale" value="20,20,0" />
<Edit name="aForceScale" value="10,10,0" />
<Edit name="jumpHeight" value="30" />
</Component>
</Entity>
</Level>
</Project>

-----------------------------------------------------------

Example - www.public.gamefactor.eu/blank_level.rar

*(maybe "myProj" should be overwrite to your project name, but only when you changed it.)

Have fun
Posted By: Doug

Re: t7rc4 problem - 03/01/08 23:59

rojart: What were your path files *before* you changed them?

Can I see your T7ProjectManagerDebug.xml, wizardDebug.xml, and defaultDebugOut.xml files?
Posted By: rojart

Re: t7rc4 problem - 03/02/08 03:45

Doug: The paths was the same, but the problem is:
1 - Project Wizard created a blank_level folder without myProj.wdl file.
2 - In myProj.xml file lacks this text line: <Behavior t7_file="Behaviors.xml" />

<?xml version="1.0" encoding="utf-8" ?>
<!-- Debug output -->
<DebugLog>
<Note func="t7Info" frame="2" tick="0.00195313" >Version (1.4)</Note>
<Note func="t7Info" frame="2" tick="0.00195313" >Date (80123)</Note>
<Note func="EngineInfo" frame="2" tick="0.00195313" >Version (7.0752)</Note>
<Note func="EngineInfo" frame="2" tick="0.00195313" >Edition (3)</Note>
<Note func="EngineInfo" frame="2" tick="0.00195313" >Compat (5)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.00195313" >File found in local path (myProj.xml)</Note>
<Note func="CGame::init" frame="2" tick="0.00195313" >Game object init.</Note>
<Note func="CGame::instance()" frame="2" tick="0.00195313" >Game object created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >CDisplay file loaded (D:\Programme\GStudio708\templates\xml\Display.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >CUserInput file loaded (D:\Programme\GStudio708\templates\xml\UserInput.xml)</Note>
<Note func="CSoundPool::instance()" frame="2" tick="0.00195313" >New CSoundPool instance created.</Note>
<Note func="CSoundPool::clear()" frame="2" tick="0.00195313" >All sounds in pool removed.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >CWeaponDefPool file loaded (D:\Programme\GStudio708\templates\xml\Weapons.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >EntityData file loaded (D:\Programme\GStudio708\templates\xml\Behaviors.xml)</Note>
<Note func="CCameraFirst::CCameraFirst(CXMLNode)" frame="2" tick="0.00195313" >First-person camera created.</Note>
<Note func="CCameraThird::CCameraThird(CXMLNode&)" frame="2" tick="0.00195313" >Third-person camera created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >CCameraManager file loaded (D:\Programme\GStudio708\templates\xml\Cameras.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >Number of cameras (2)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >CAnimationPool file loaded (D:\Programme\GStudio708\templates\xml\Animations.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >CUi file loaded (D:\Programme\GStudio708\templates\xml\UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00195313" >Level Added</Note>
<OutputClosed frame="222" tick="1.33691" />
</DebugLog>
Posted By: Doug

Re: t7rc4 problem - 03/02/08 05:36

1) The myProj.wdl shouldn't be copied over (that's "old-school"), it should use the resources.h file. In fact, there shouldn't be a myProj.wdl file to copy over (are you using the latest update?).

2) The missing <Behavior> tag in myProj.xml is the meat of the problem. It's easy enough to add this file by hand, but I need to find out why it isn't automatically being added.

Can I see your T7ProjectManagerDebug.xml, wizardDebug.xml, and defaultDebugOut.xml files? These should have the debug info I need.
Posted By: rojart

Re: t7rc4 problem - 03/02/08 10:40

Unfortunately the new WDLV.dll doesn't work at me and I use this version V7.08.0b.
that is why I can't receive these information :/
Posted By: Doug

Re: t7rc4 problem - 03/02/08 19:23

Okay. I need to build a release version that runs.

Thank you for all this input, btw. I think we are getting closer to fixing this issue. I hope to have a release version done tonight (most likely around 11pm PST), if you log on after then I would love to get your input on it.
Posted By: Doug

Re: t7rc4 problem - 03/03/08 05:32

I've the test WDLV.dll file. Even if the last WDLV didn't work for you, this one *should*.

As with any beta file, make sure to backup your old WDLV.dll before unzipping and copying this one into your GStudio7 folder. Then run WED and create a new t7 project using the Project Wizard.

This *may* fix the error. If it doesn't, it should produce 2-3 output files that will give me better insight into what went wrong (T7ProjectManagerDebug.xml, wizardDebug.xml, and debugLogOut.xml).

Note: Even if the error goes away, if you get a file called "debugLogOut.xml" please send that to me.
Posted By: rojart

Re: t7rc4 problem - 03/03/08 11:43

Doug: The new DLL was succesfully loaded, but the BEHAVIOR panel doesn't work yet.
I received two files, the wizardDebug.xml and debugLogOut.xml.

wed.log
-----------------------------------------------------------------------------
load dll: WDLV.DLL
full name: <D:\Programme\GStudio708\WDLV.DLL>
{wed: reset id (1->11)} {wed: reset id (2->12)} {wed: reset id (3->13)} {wed: reset id (750->14)}
add action: "WDL Customize" {virtual action (132)->"Wdl Edit Panel", #10000001} [h=1(1) fl=0 typ=2 vid=132,exec=018773a0]
add action: "Add Script" {virtual action (133)->"Project Manager", #10000002} [h=2(2) fl=0 typ=1 vid=133,exec=01877570]
add action: "Entity Behavior" {virtual action (139)->"Entity Behavior", #10000003} [h=3(3) fl=0 typ=2 vid=139,exec=018798a0]
add action: "Project Wizard" [h=750(750) fl=524288 typ=5 vid=0,exec=018792c0]
------------------------------------------------------------------------------

wizardDebug.xml

<?xml version="1.0" encoding="utf-8"?>
<WizardDebug action="Run" ver="8.0301" err="none">
<FilePath line="410">
./templates/wizards/blank.xml
</FilePath>
<CreateDir line="448">
D:\Programme\GStudio708\new_blank_level
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\
</CopyFiles>
<CreateDir line="494">
D:\Programme\GStudio708\new_blank_level\code
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\code\
</CopyFiles>
<CreateDir line="494">
D:\Programme\GStudio708\new_blank_level\images
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\images\
</CopyFiles>
<CreateDir line="494">
D:\Programme\GStudio708\new_blank_level\maps
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\maps\
</CopyFiles>
<CreateDir line="494">
D:\Programme\GStudio708\new_blank_level\models
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\models\
</CopyFiles>
<CreateDir line="494">
D:\Programme\GStudio708\new_blank_level\sounds
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\sounds\
</CopyFiles>
<CreateDir line="494">
D:\Programme\GStudio708\new_blank_level\textures
</CreateDir>
<CopyFiles line="512">
D:\Programme\GStudio708\new_blank_level\textures\
</CopyFiles>
<CopyWMP line="532">
D:\Programme\GStudio708\new_blank_level\start
</CopyWMP>
<CopyWMB line="544">
D:\Programme\GStudio708\new_blank_level\start
</CopyWMB>
<CopyC line="575">
D:\Programme\GStudio708\new_blank_level\myProj
</CopyC>
<CopyWDL line="587">
D:\Programme\GStudio708\new_blank_level\myProj
</CopyWDL>
<CopyXml line="600">
D:\Programme\GStudio708\new_blank_level\myProj
</CopyXml>
<ProjectPath line="634">
D:\Programme\GStudio708\new_blank_level\
</ProjectPath>
<DataPath line="636">
D:\Programme\GStudio708\templates\xml\
</DataPath>
<SaveProjectXml>
<AddBehaviorXmls line="1590">
0
</AddBehaviorXmls>
<AddLevel line="1691">
Start
</AddLevel>
</SaveProjectXml>
</WizardDebug>
-------------------------------------------------------------------------------

debugLogOut.xml

<?xml version="1.0" encoding="utf-8" ?>
<!-- Debug output -->
<DebugLog>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1130" func="CT7ProjectManager::LoadFromXML(const std::string&)No Vers." >D:\Programme\GStudio708\new_blank_level\myProj.xml</Warning>
<Error file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="634" func="CT7ProjectManager::LoadBehaviorXML(const std::string&)" >LoadBehaviorXML: XML MISSING (C:\Program Files\GStudio7\templates\xml\Behaviors.xml)</Error>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1239" func="CT7ProjectManager::LoadFromXML(const std::string&)" >LoadBehaviorXML(csPath) returned false. (C:\Program Files\GStudio7\templates\xml\Behaviors.xml)</Warning>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1269" func="CT7ProjectManager::LoadFromXML(const std::string&)" >Camera File: Invalid Path!</Warning>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1302" func="CT7ProjectManager::LoadFromXML(const std::string&)" >UI File: Invalid Path!</Warning>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1337" func="CT7ProjectManager::LoadFromXML(const std::string&)" >Animation File: Invalid Path!</Warning>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1371" func="CT7ProjectManager::LoadFromXML(const std::string&)" >Weapon Def File: Invalid Path!</Warning>
Posted By: Doug

Re: t7rc4 problem - 03/04/08 01:08

Excellent data! Thank you for running it.

I should have more to say later tonight (now I have to turn coffee into code).

Thank you.
Posted By: Doug

Re: t7rc4 problem - 03/04/08 07:20

I think this version of WDLV.dll will work.

As with any beta file, make sure to backup your old WDLV.dll before unzipping and copying this one into your GStudio7 folder. Then run WED and create a new t7 project using the Project Wizard.

If this doesn't fix the problem, send me the debug files generated (T7ProjectManagerDebug.xml, wizardDebug.xml, and debugLogOut.xml).
Posted By: rojart

Re: t7rc4 problem - 03/04/08 13:00

Yes, now the brand-new WDLV.DLL work with the Behavior panel, but I can´t move it my player and I recived three log files:

T7ProjectManagerDebug.xml

<?xml version="1.0" encoding="utf-8"?>
<T7ProjectManagerDebug action="SaveProjectXML" ver="8.0303" err="none">
<AddBehaviorXmls line="1612">
1
</AddBehaviorXmls>
<AddBehavior line="1623">
Behaviors.xml
</AddBehavior>
<AddLevel line="1713">
Start
</AddLevel>
<AddLevelEntity line="1739">
guard_mdl_001
</AddLevelEntity>
</T7ProjectManagerDebug>
---------------------------------------------------------------

wizardDebug.xml

<?xml version="1.0" encoding="utf-8"?>
<WizardDebug action="Run" ver="8.0303" err="none">
<FilePath line="439">
./templates/wizards/blank.xml
</FilePath>
<CreateDir line="477">
D:\Programme\GStudio708\new2_blank_level
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\
</CopyFiles>
<CreateDir line="523">
D:\Programme\GStudio708\new2_blank_level\code
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\code\
</CopyFiles>
<CreateDir line="523">
D:\Programme\GStudio708\new2_blank_level\images
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\images\
</CopyFiles>
<CreateDir line="523">
D:\Programme\GStudio708\new2_blank_level\maps
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\maps\
</CopyFiles>
<CreateDir line="523">
D:\Programme\GStudio708\new2_blank_level\models
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\models\
</CopyFiles>
<CreateDir line="523">
D:\Programme\GStudio708\new2_blank_level\sounds
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\sounds\
</CopyFiles>
<CreateDir line="523">
D:\Programme\GStudio708\new2_blank_level\textures
</CreateDir>
<CopyFiles line="541">
D:\Programme\GStudio708\new2_blank_level\textures\
</CopyFiles>
<CopyWMP line="561">
D:\Programme\GStudio708\new2_blank_level\start
</CopyWMP>
<CopyWMB line="573">
D:\Programme\GStudio708\new2_blank_level\start
</CopyWMB>
<CopyWED line="585">
D:\Programme\GStudio708\new2_blank_level\start
</CopyWED>
<CopyC line="616">
D:\Programme\GStudio708\new2_blank_level\myProj
</CopyC>
<CopyWDL line="628">
D:\Programme\GStudio708\new2_blank_level\myProj
</CopyWDL>
<CopyXml line="641">
D:\Programme\GStudio708\new2_blank_level\myProj
</CopyXml>
<ProjectPath line="670">
D:\Programme\GStudio708\new2_blank_level\
</ProjectPath>
<DataPath line="672">
D:\Programme\GStudio708\templates\xml\
</DataPath>
<SaveProjectXml>
<AddBehaviorXmls line="1612">
1
</AddBehaviorXmls>
<AddBehavior line="1623">
Behaviors.xml
</AddBehavior>
<AddLevel line="1713">
Start
</AddLevel>
</SaveProjectXml>
</WizardDebug>
--------------------------------------------------------------------

debugLogOut.xml

<?xml version="1.0" encoding="utf-8" ?>
<!-- Debug output -->
<DebugLog>
<Warning file="\Documents and Settings\Doug\My Documents\Visual Studio Projects\CONITEC\WDLV7\T7ProjectManager\T7ProjectManager.cpp" line="1138" func="CT7ProjectManager::LoadFromXML(const std::string&)No Vers." >D:\Programme\GStudio708\new2_blank_level\myProj.xml</Warning>

Thank you.
Posted By: Doug

Re: t7rc4 problem - 03/04/08 21:01

Hmmmm. I think this problem is unrelated to the WDLV code (which, other than the missing version number on the Blank project wizard, appears to be working great), but it gives us an opportunity to really make the tool shine.

You're running the Blank wizard, so I assume you're adding your own map and entities and given them the right behaviors. Assuming that, and that you haven't overlooked something simple like marking sure the player is not stuck in the ground, the next place to look is the debugout.xml that is created in your project folder after you run the level.
Posted By: rojart

Re: t7rc4 problem - 03/04/08 22:13

Ok works now, I forgot to add this project paths to resources.h header file.

Created with T7 Project Wizard

resources.h

// OUTDOOR Project
// local paths
#define PRAGMA_PATH "code";
#define PRAGMA_PATH "images";
#define PRAGMA_PATH "includes";
#define PRAGMA_PATH "maps";
#define PRAGMA_PATH "models";
#define PRAGMA_PATH "sounds";
#define PRAGMA_PATH "textures";
// project path
#define PRAGMA_PATH "%EXE_DIR%\templates\t7w_blank";

Manually changed

resources.h

// OUTDOOR Project
// local paths
#define PRAGMA_PATH "code";
#define PRAGMA_PATH "images";
#define PRAGMA_PATH "includes";
#define PRAGMA_PATH "maps";
#define PRAGMA_PATH "models";
#define PRAGMA_PATH "sounds";
#define PRAGMA_PATH "textures";
// project path
#define PRAGMA_PATH "%EXE_DIR%\templates\t7w_blank";
#define PRAGMA_PATH "%EXE_DIR%\templates\images";
#define PRAGMA_PATH "%EXE_DIR%\templates\includes";
#define PRAGMA_PATH "%EXE_DIR%\templates\maps";
#define PRAGMA_PATH "%EXE_DIR%\templates\models";
#define PRAGMA_PATH "%EXE_DIR%\templates\sounds";
#define PRAGMA_PATH "%EXE_DIR%\templates\textures";
#define PRAGMA_PATH "%EXE_DIR%\templates";
Posted By: Doug

Re: t7rc4 problem - 03/06/08 01:22

I need to upload new template wizard files. Thanks for the catch.
Posted By: Nidhogg

Re: t7rc4 problem - 03/07/08 12:12

Hey Doug, Does rc5b only run under GS version 7.08b?

I am running version 7.07.. I can change behaviour panel options etc and build
the outdoor level. But when I go to run it acknex crashes with the t7.dll
with critical error.
Posted By: Doug

Re: t7rc4 problem - 03/07/08 21:08

That shouldn't be happening.

Can you post your debugout.xml log? I may have an answer.
Posted By: Nidhogg

Re: t7rc4 problem - 03/07/08 23:22

Quote:

That shouldn't be happening.

Can you post your debugout.xml log? I may have an answer.




NP: Here you go..

<?xml version="1.0" encoding="utf-8" ?>
<!-- Debug output -->
<DebugLog>
<Note func="t7Info" frame="2" tick="0.00976563" >Version (1.4)</Note>
<Note func="t7Info" frame="2" tick="0.00976563" >Date (80123)</Note>
<Note func="EngineInfo" frame="2" tick="0.00976563" >Version (7.0752)</Note>
<Note func="EngineInfo" frame="2" tick="0.00976563" >Edition (4)</Note>
<Note func="EngineInfo" frame="2" tick="0.00976563" >Compat (5)</Note>
<Note func="CFileManager::locate()" frame="2" tick="0.00976563" >File found in local path (myProj.xml)</Note>
<Note func="CGame::init" frame="2" tick="0.00976563" >Game object init.</Note>
<Note func="CGame::instance()" frame="2" tick="0.00976563" >Game object created.</Note>
<Warning func="CFileManager::locate()" frame="2" tick="0.00976563" >File not found (Display.xml)</Warning>
<Warning func="CGame::load(string)" frame="2" tick="0.00976563" >CDisplay file not found (Display.xml)</Warning>
<Warning func="CFileManager::locate()" frame="2" tick="0.00976563" >File not found (UserInput.xml)</Warning>
<Warning func="CGame::load(string)" frame="2" tick="0.00976563" >CUserInput file not found (UserInput.xml)</Warning>
<Warning func="CFileManager::locate()" frame="2" tick="0.00976563" >File not found (Weapons.xml)</Warning>
<Warning func="CGame::load(string)" frame="2" tick="0.00976563" >CWeaponDefPool file not found (Weapons.xml)</Warning>
<Warning func="CFileManager::locate()" frame="2" tick="0.00976563" >File not found (Behaviors.xml)</Warning>
<Warning func="CGame::load(string)" frame="2" tick="0.00976563" >EntityData file not found (Behaviors.xml)</Warning>
<Note func="CFileManager::locate()" frame="2" tick="0.00976563" >File found in local path (Cameras.xml)</Note>
<Note func="CCameraFirst::CCameraFirst(CXMLNode)" frame="2" tick="0.00976563" >First-person camera created.</Note>
<Note func="CCameraThird::CCameraThird(CXMLNode&)" frame="2" tick="0.00976563" >Third-person camera created.</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00976563" >CCameraManager file loaded (Cameras.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00976563" >Number of cameras (2)</Note>
<Warning func="CFileManager::locate()" frame="2" tick="0.00976563" >File not found (Animations.xml)</Warning>
<Warning func="CGame::load(string)" frame="2" tick="0.00976563" >CAnimationPool file not found (Animations.xml)</Warning>
<Note func="CFileManager::locate()" frame="2" tick="0.00976563" >File found in local path (UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00976563" >CUi file loaded (UI.xml)</Note>
<Note func="CGame::load(string)" frame="2" tick="0.00976563" >Level Added</Note>

I haven't altered anything. What I did was, Started WED, project wizard, outdoor, path c:, name outside. That's it. Oh and changed health and ammo.


rc4 was fine execpt for the behaviour panel problems.
Posted By: Doug

Re: t7rc4 problem - 03/09/08 05:22

You were right, you need 7.08b since it has the new pPath instruction.

However, if you overwrite the new t7.dll with the old one, it should work again (the tools and scripts work with either dll). Or, you can copy each file that shows up in the debugout.xml as a warning into your local folder.
Posted By: Nidhogg

Re: t7rc4 problem - 03/09/08 06:35

Quote:

You were right, you need 7.08b since it has the new pPath instruction.

However, if you overwrite the new t7.dll with the old one, it should work again (the tools and scripts work with either dll). Or, you can copy each file that shows up in the debugout.xml as a warning into your local folder.




That's all I did (copy them into my local folder).. It will do until 7.08b gets
a public release, which I hope isn't to far away. They reckon ATA was 5th March.

So fingers crossed it will be any day now.

Thanks for your help.
© 2024 lite-C Forums