1 registered members (AndrewAMD),
1,089
guests, and 2
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Trouble with Published Game ... Again
[Re: Dooley]
#451722
05/18/15 00:26
05/18/15 00:26
|
Malice
Unregistered
|
Malice
Unregistered
|
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: Dooley]
#451724
05/18/15 00:38
05/18/15 00:38
|
Malice
Unregistered
|
Malice
Unregistered
|
In that case good luck bug hunting.
|
|
|
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
OP
User
|
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: alibaba]
#451851
05/23/15 19:35
05/23/15 19:35
|
Joined: May 2005
Posts: 868 Chicago, IL
Dooley
OP
User
|
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 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
OP
User
|
OP
User
Joined: May 2005
Posts: 868
Chicago, IL
|
From Gamestudio website: 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?
|
|
|
|