2 registered members (AndrewAMD, SBGuy),
987
guests, and 3
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: publishing crash - .dll?
[Re: sitrep]
#451261
05/01/15 01:52
05/01/15 01:52
|
Malice
Unregistered
|
Malice
Unregistered
|
Is the dll in the published folder. Yes. Or do you need to copy it in from the main 3dgs folder. Stupid questions I know. But simple first. There is a way to make the engine write a log.. You should look into that in the manual. Why am I not just telling how, well I've never done it.
Edit - run from shortcut with the command line(I think) -diag Writes diagnostic messages into a file in the current folder. In server mode (-sv ) the filename is acklog_sv.txt; in client mode (-cl ) the filename is acklog_cl.txt; otherwise it's acklog.txt. When starting in dedicated server mode (-sv), the -diag output is additionally printed into the server console window. This way it's possible to observe on the server which clients connect or leave, and what's happening in the game. Write access rights to the current folder are required; under Vista or above, the engine or application can be run as administrator for writing into a program folder.
-dir name
Last edited by Malice; 05/01/15 01:58.
|
|
|
Re: publishing crash - .dll?
[Re: ]
#451262
05/01/15 01:57
05/01/15 01:57
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
Serious User
|
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
I tried it out, its missing one dll. Once the dll is included, the game just crashes without errors.. I don't understand how the development version differes from the published version (I think Dooly asked this question a couple days ago, any good results on your end, Dooly) but there really needs to be some more clearer information about that somewhere. EDIT: Since I didn't code it, I wouldn't know where to begin looking for any errors, sorry sitrep.
Last edited by DLively; 05/01/15 01:58.
|
|
|
Re: publishing crash - .dll?
[Re: DLively]
#451265
05/01/15 06:14
05/01/15 06:14
|
Malice
Unregistered
|
Malice
Unregistered
|
I load a navmesh example recently that crashed on start up because one of the directx dll was not automatically loaded into the folder. I have to move it from the main folder manually.
@DLively the log file reviled no information at all?
|
|
|
Re: publishing crash - .dll?
[Re: sitrep]
#451266
05/01/15 06:46
05/01/15 06:46
|
Joined: May 2009
Posts: 5,370 Caucasus
3run
Senior Expert
|
Senior Expert
Joined: May 2009
Posts: 5,370
Caucasus
|
I created a car demo and it works in wed
But when I publish it crashes.
when I disabled the car physics, it publishes and resources OK.
I suspect is the Nvidia driver, is there a new download for the latest driver .dll to include in my publishing?
Thanks! If compiled project is not too big, send it over PM. I'll take a look at it. I'm pretty sure it has to do something with physX .dll. Greets
|
|
|
Re: publishing crash - .dll?
[Re: 3run]
#451268
05/01/15 08:05
05/01/15 08:05
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
Serious User
|
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
Its only 10Mb for my published version. Feel free to take a look at it here: www.devonlively.com/main.cd.rarEdit: I'll leave it up for 24 hours then unless asked otherwise I'll be removing it.
Last edited by DLively; 05/01/15 08:06.
|
|
|
Re: publishing crash - .dll?
[Re: Wjbender]
#451272
05/01/15 09:07
05/01/15 09:07
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
I will debug it in some mins, shouldnt be too hard to find out whats wrong. You left out some DLLs needed for physx. I cant garuantee that mine are up to date but the project seems to work. Just for your info: In a debugger you can easily see what happens. It was calling an empty pointer, by some reversing you can find out which export was called and which dll is needed. Heres the fixed project: http://www.mediafire.com/download/2egzre18id1varr/main.cd.zip
Last edited by Ch40zzC0d3r; 05/01/15 09:20.
|
|
|
Re: publishing crash - .dll?
[Re: Ch40zzC0d3r]
#451281
05/01/15 13:31
05/01/15 13:31
|
Joined: Apr 2005
Posts: 1,988 Canadian, Eh
DLively
Serious User
|
Serious User
Joined: Apr 2005
Posts: 1,988
Canadian, Eh
|
Thanks Ch40zzC0d3r! It works great on my end (despite the glitchy areas). perhaps you can educate us how to get that debug manager to find out this info.
Are ALL those added files required to make the project run?
Last edited by DLively; 05/01/15 13:46.
|
|
|
Re: publishing crash - .dll?
[Re: DLively]
#451288
05/01/15 14:31
05/01/15 14:31
|
Joined: Oct 2011
Posts: 1,082 Germany
Ch40zzC0d3r
Serious User
|
Serious User
Joined: Oct 2011
Posts: 1,082
Germany
|
No you only needed the cudart and one of the physx files, already forgot which one was it. The rest is copied from my project to handle all kind of missing dlls on windows xp and other machines where no restributable pack or directx sdk is installed And the debugger was OllyDbg, you need some reversing / assembler knowledge to use it though.
|
|
|
|