Problems publishing

Posted By: FoxHound

Problems publishing - 04/10/14 20:29

I am using A7.866 pro

The game I am making works great when I hit f5, it will do anything I want with no crashes. However when I go to publish it, it always crashes before finish making the game.

I get an error of
"The exception unknown software exception(0xc0000005) occurred in the application at location 0x10029580."

I have found removing some files to let the game play, I have also found remove mutliple files, which on their own would work but when both are removed would cause the crash.

When I created a new main and ran all the supporting files (no game, just a blank screen) it would work if windows.h was removed.) however doing that in the main screen would not work. Removing some functions would also help.
Posted By: DLively

Re: Problems publishing - 04/10/14 22:22

You may want to consider re-installing your gstudio? If the case is this, It should re-insert the files you may be missing, or corrupt???? Just an idea laugh
Posted By: FoxHound

Re: Problems publishing - 04/11/14 01:56

I have.

Another thing I can add here is that a lot of my files are in the include folder. I use several modules and have it setup to be used by any of them even in multiple projects.
Posted By: DLively

Re: Problems publishing - 04/11/14 02:05

Quote:

a lot of my files are in the include folder. I use several modules and have it setup to be used by any of them even in multiple projects.


I dont think that should have an effect on the publisher. It should know what it is doing.

Quote:

When I created a new main and ran all the supporting files (no game, just a blank screen) it would work if windows.h was removed.) however doing that in the main screen would not work. Removing some functions would also help.


Perhaps you could share the functions you removed, and an explanation of what they do. Maybe we c an narrow it down that way.
Posted By: FoxHound

Re: Problems publishing - 04/11/14 02:16

It is not consistent. I can remove whole files and it will work. If i remove two files it will not work. I have removed different functions in different files and it will work.

I am more looking for a universal law of 3dgs that I could be violating, however nothing I can think of. I have 20 or so files with each having about 1000 lines of code and I know that I have published projects with far more than that.
Posted By: Superku

Re: Problems publishing - 04/11/14 02:24

Do you have for example a windows.h file in your work folder (or some other file which normally should not be changed)?
When exactly does it crash, during generation and compilation of the exe file in the publishing process?
Posted By: FoxHound

Re: Problems publishing - 04/11/14 03:41

it was in the include folder and included in the normal <windows.h> fashion.

It crashes as it is making the EXE. I haven't tried to publish anything in a long time and just had the problem when trying to publish another project which had windows.h in it.
Posted By: FoxHound

Re: Problems publishing - 04/16/14 00:51

Update:

Now when I run the program from the .cd folder it runs fine but when it is clicked off it crashes showing the error I mentioned before.


"The exception unknown software exception(0xc0000005) occurred in the application at location 0x10029580." (the location does change)

I have tried to duplicate this result and it is very odd, I can add or remove functions and it will happen. I have tried to stress it out, even made a single file with over 100k lines of code, all functions named the same (took a while to compile) and it would not crash).

Still not sure what is wrong.
Posted By: Superku

Re: Problems publishing - 04/16/14 01:16

I hope you are not running into the following problem here:
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=439415#Post439415

Having said that I've had such a problem twice before:
1) One time I was using a function from a new beta (something simple as floor()) but then the publishing process obviously used the old public version which compiled but led to a software exception.
2) A texture in a wmb level of mine was damaged. It was a multiplayer skateboarding game and as a result I was thinking all the time that is was a code/ some other issue, not a texture problem. I found it by removing parts of the level until it stopped crashing.

(This may or may not help you, probably the latter.)
Posted By: FoxHound

Re: Problems publishing - 04/17/14 15:23

The link does seem accurate to my problem.

The two you listed wouldn't be my case. The came I am using does not use anything 3d. So not texture problem and I do not have a beta version of A7. For now I am going to go on with my project and figure out what happens, as I am sure that if the problem is in my code then the modules I have made are bound to change over time and this could work itself out.

Thanks
© 2024 lite-C Forums