Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (Ayumi), 662 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 5 1 2 3 4 5
Trouble with Published Game ... Again #451704
05/17/15 20:56
05/17/15 20:56
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I am having trouble with running my game from the published .exe file again. This time it crashes before even starting. The log file mentions one strange thing:
Quote:

Log of A7 Engine 7.86.6 run at Sun May 17 15:51:53 2015
Schmidt on Windows NT/2000/XP version 6.1 Build 7601
Options -diag
App: E:\My Documents\3dGameStudio\Star Explorers Lite-C - New Terrain\Level_001.cd\Level_001.exe in E:\My Documents\3dGameStudio\Star Explorers Lite-C - New Terrain\Level_001.cd\
Author: Michael Schmidt

MM mixer opened
DSOUND device opened
DI interface opened
Start Window opened
(c) Conitec - Dieburg - San Diego - www.3dgamestudio.com
A7 Engine - Commercial Edition V7.86.6 - Aug 7 2010
Linking E:\My Documents\3dGameStudio\Star Explorers Lite-C - New Terrain\Level_001.cd\Level_001.exe...

Mouse found
Speakers (VIA High Definition Audio) opened
NVIDIA GeForce GTX 560 pure T&L device 1ff9 detected
D3D device NVIDIA GeForce GTX 560 1ff9 selected.
quest_info: function not found..................................................................
Running LEVEL_001.EXE.
Main started at 1.311
D3D_Init Window: 1200x800 -> Window: 1x1200x800x32
Video memory found: 4032 MB
LevelInit at 1.371
46 entities 1 cameras 0 lights 0 sounds 0 paths
1 lmaps 1 textures 1 meshes 24 faces
0 entities 0 cameras 0 lights 0 sounds 0 paths
2 lmaps 1 textures...ok
LevelReady at 2.005
Main loop at 2.007


Now, I've actually removed the "quest_info" function and all references to it in the script. However, somehow it's still showing up here. I'm not sure if this is even the cause of the crash, but it seems like a good place to start.

Any ideas why it's showing up here, when none of my other functions call on this script?

Last edited by Dooley; 05/17/15 21:01.
Re: Trouble with Published Game ... Again [Re: Dooley] #451705
05/17/15 21:00
05/17/15 21:00
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I should reiterate for those not familiar with my issues, the game works fine when it is run through WED. It only crashes in the published version.

Re: Trouble with Published Game ... Again [Re: Dooley] #451706
05/17/15 21:24
05/17/15 21:24

M
Malice
Unregistered
Malice
Unregistered
M



Hello, we have been talking a lot about dx dills not being binded in the publication folder. Is this the problem? Are you using A7?

Re: Trouble with Published Game ... Again [Re: ] #451707
05/17/15 21:33
05/17/15 21:33
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Yes, A7. Are you talking about "d3dx9_32.dll" files? I have them in the .cd folder already. I've already encountered that issue ... thanks though. It seems to be something else.

Re: Trouble with Published Game ... Again [Re: Dooley] #451710
05/17/15 21:43
05/17/15 21:43
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I put the warning level up to 6 and it did not encounter any errors when run through WED, not until later anyway. For some reason it won't even run at all when published.

Re: Trouble with Published Game ... Again [Re: Dooley] #451712
05/17/15 22:00
05/17/15 22:00
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Okay, I found out why "quest_info" was still being called. I've gotten rid of it, and that warning is gone now.

Next, what does this mean?

Quote:
46 entities 1 cameras 0 lights 0 sounds 0 paths
1 lmaps 1 textures 1 meshes 24 faces
0 entities 0 cameras 0 lights 0 sounds 0 paths
2 lmaps 1 textures...ok


It looks like it's loading a level, then maybe loading a different level? Why would there be 46 entities, then 0 entities?

My level actually has 46 starting entities on it, but the script causes some of these entities to remove themselves. This never caused a problem before ... and as I mentioned earlier, it works fine in WED.

Re: Trouble with Published Game ... Again [Re: Dooley] #451715
05/17/15 23:36
05/17/15 23:36

M
Malice
Unregistered
Malice
Unregistered
M



Have you tried creating and reading the log file...?

Re: Trouble with Published Game ... Again [Re: Dooley] #451716
05/17/15 23:39
05/17/15 23:39
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Update:
It starts up now... yay!
I found out that it was because I disabled this line in my main script: #include <mtlFX.c>

I don't know why I had it disabled. It did not cause any problems when running through WED. I wish I understood why this happens. It might help a lot.

It still crashes when loading a new level. But I think I can figure it out from here.

Some things I'm going to do from now on:
1. Always have a working version of the game saved separately, to fall back on.
2. For any new code, always test in published version before moving on to something new.
3. When testing published version, always check all the different actions and level loading/saving etc...

I'm still open to advice about preventing this sort of problem in the future. I figure it's good to keep track of these things here, in case other users encounter the same problems.


Last edited by Dooley; 05/17/15 23:39.
Re: Trouble with Published Game ... Again [Re: Dooley] #451718
05/18/15 00:01
05/18/15 00:01
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Okay, I'm getting a couple of undefined material errors in my log:

Quote:
Material #DEFAULT undefined 1 textures 1 meshes 24 faces
0 entities 0 cameras 0 lights 0 sounds 0 paths
2 lmaps
Material PORTAL_001 undefined 1 textures...ok
LevelReady at 2.037....
1st frame with 4032 MB. at 2.211


However, even in the published version of the game, this is not preventing it from loading the level. It crashes when it tries to load a new level.

Re: Trouble with Published Game ... Again [Re: Dooley] #451719
05/18/15 00:14
05/18/15 00:14

M
Malice
Unregistered
Malice
Unregistered
M



If you have it, is d3dx9_42.dill being included also the D3DCompiler_42.dill

Page 1 of 5 1 2 3 4 5

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