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 (AndrewAMD), 1,089 guests, and 2 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 2 of 5 1 2 3 4 5
Re: Trouble with Published Game ... Again [Re: ] #451720
05/18/15 00:18
05/18/15 00:18
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Hmmmm ... I have d3dx9_42.dill, but I've never heard of D3DCompiler_42.dill. Where do I find it?

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

Joined: May 2005
Posts: 868
Chicago, IL
I assume you mean "dll" right?

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

M
Malice
Unregistered
Malice
Unregistered
M



lol Yes DLL

there should be a compiler dll in the main folder. maybe not compiler_42
Compiler_42 compiles shaders. You might not need it for your project.

Last edited by Malice; 05/18/15 00:27.
Re: Trouble with Published Game ... Again [Re: ] #451723
05/18/15 00:31
05/18/15 00:31
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I found it online ... I did not see it in the GStudio7 folder.

There was a 32 bit and a 64 bit version... neither solved the problem. I've never needed these before though, and the game has worked fine in previous builds, so I'm sure it's probably something wrong with my code.

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

M
Malice
Unregistered
Malice
Unregistered
M



In that case good luck bug hunting.

Re: Trouble with Published Game ... Again [Re: ] #451760
05/20/15 02:58
05/20/15 02:58
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Okay, I've removed all actions from the models in my level, and it loads, and does not crash. Now I am going to add the actions one by one, in order to find out which one is causing the trouble. If anyone knows a better way to do this, please, don't hesitate to chime in laugh

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

Joined: May 2005
Posts: 868
Chicago, IL
I have found the culprit! I had a function named "ground_cover" which was used by an "ent_create" command. Somehow by renaming the function "gc" it works. Can anyone explain this?

Now it's crashing when I try to enter the cave levels, but I will figure it out. My problem is, now that I've figured out the crash, I still don't think I've learned anything. "Ground_cover" is not a really long name for a function, right? If I rename all my functions with shorter names, would that make my program more stable?

I'm thinking there must be some strange issue causing this, I don't think I've really solved anything yet.

Last edited by Dooley; 05/20/15 09:58.
Re: Trouble with Published Game ... Again [Re: Dooley] #451766
05/20/15 10:00
05/20/15 10:00
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I think you might have run into a memory leak


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: Trouble with Published Game ... Again [Re: alibaba] #451851
05/23/15 19:35
05/23/15 19:35
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
Thank you! Yes, I think that's what happened. Any ideas on how to track those down? I'm not an expert programmer, and I tend to use a lot of trial and error to get things working. I sometimes make changes to things without fully understanding what they do ... and then I forget to change them back laugh

Can you provide an example of what might cause a memory leak?

I have heard about them, and how bad they are, but I can't say I fully understand the concept.

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

Joined: May 2005
Posts: 868
Chicago, IL
From Gamestudio website:

Quote:
Lite-C is also an ideal solution for learning programming. Its syntax is similar to the C/C++ programming language, but much easier - and more fun - to learn. Anything that's scary to a beginner, like memory and pointer handling, is automatically managed in lite-C. No crashes, memory leaks, and pointer arithmetics anymore!


Is this true? Maybe upgrading to A8 will solve my problem? I don't want to go through the trouble of upgrading, revising all my code, to find out the problem still exists. Any thoughts?

Page 2 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