Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
2 registered members (TipmyPip, 1 invisible), 18,731 guests, and 7 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
E1513: Fatal Run-Time Error #135327
06/10/07 18:22
06/10/07 18:22
Joined: Apr 2007
Posts: 67
suriname0 Offline OP
Junior Member
suriname0  Offline OP
Junior Member

Joined: Apr 2007
Posts: 67
...for those of you just joining me now, check out my previous problems.

Anyways, the solution that obviously presented itself was reinstalling GameStudio. So, having (luckily) found the Key.EXE file still present on my hard-drive, I tried to reinstall.

1. Download the trial-version.

2. Run the Key.EXE file within the folder with the trial-version.

3. I then upgraded to version 6.6.

Aaahh! The sweet smell of fresh, new programs. So, I pop open the techdemo. Compile it... (Low settings, don't want it to take 3 hours.)
Run it... *Beep!*
Uh oh! That beep scared me! But it might be alright....

Code:

Error E1513
Crash in main: render_inflate=0.5
*OK* *Cancel*


I guess not. Ok... uh oh, more errors.
The errors following the first one say:
(All are error E1513)

Crash in message_startup: str_cpy(startup_str, blank_str)

After left-clicking once:

Crash in weapon_fire: weapon_firing=1

After pressing F1:

Crash in game_help: FREEZE_MODE=1

After right-clicking:

Crash in mouse_toggle: MOUSE_MODE+=2


All of these occur with OK or Cancel buttons, where Cancel terminates the program. Oh, and the screen is completly black during this time.

I'm sure I could press more buttons, and spark similar errors, but the gist of it is this: Error E1513 occurs with the running of the basic template code.

Obviously, this is more than annoying; it's a final straw.

Searching around online, I discovered that E1513 occurs when there is bad C-Script code in a function, such as division by 0, or the square-root of a negative number.

If anyone has any even vague idea how to solve this problem, or what causes it, please say so.

I am writing a letter to Conitec to express my concerns, also.


If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.
Re: E1513: Fatal Run-Time Error [Re: suriname0] #135328
06/10/07 22:55
06/10/07 22:55
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Fix the first error first. Sometimes one error will cause a chain reaction...


xXxGuitar511
- Programmer
Re: E1513: Fatal Run-Time Error [Re: xXxGuitar511] #135329
06/11/07 14:42
06/11/07 14:42
Joined: Apr 2007
Posts: 67
suriname0 Offline OP
Junior Member
suriname0  Offline OP
Junior Member

Joined: Apr 2007
Posts: 67
How? I don't know what's causing the first error. I didn't write the script for the techdemo, and there's still a problem.


If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.
Re: E1513: Fatal Run-Time Error [Re: suriname0] #135330
06/11/07 15:01
06/11/07 15:01
Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
tompo Offline
User
tompo  Offline
User

Joined: Mar 2007
Posts: 776
Poor village - Poland ;)
from HELP:
Quote:


Error E1513: Crash in...
A crash happened due to bad script code in a certain function, like a division by 0 or a square root of a negative number. Note that such Errors are only caught and indicated in the development engine. In the distributable version they will just crash the program.




I hope it will help... but don't think so


Never say never.
Re: E1513: Fatal Run-Time Error [Re: tompo] #135331
06/11/07 20:25
06/11/07 20:25
Joined: Apr 2007
Posts: 67
suriname0 Offline OP
Junior Member
suriname0  Offline OP
Junior Member

Joined: Apr 2007
Posts: 67
Thanks, but that was the source I was referring to in my post. That error could be fixable, but the error is within the templates, so everything fails.


If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.
Re: E1513: Fatal Run-Time Error [Re: suriname0] #135332
06/30/07 21:00
06/30/07 21:00
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline
User
RedPhoenix  Offline
User
R

Joined: Jan 2007
Posts: 651
Germany
Hey I have the same error! They come with all of my scripts since I've updated to A6.6, they happen with any Script-Command that is used. So every command in the main function and all startup functions causes this error, and every command that is started through pressing a key. There are no syntax errors in the code with A6.5 everything worked fine. I have A7.03 Beta installed seperatly and it's the same with the A7 Engine expect for the carlevel that is included in the A7 content. This works ok, but any other projects doesn't work!

Re: E1513: Fatal Run-Time Error [Re: RedPhoenix] #135333
07/01/07 08:55
07/01/07 08:55
Joined: Jan 2007
Posts: 651
Germany
R
RedPhoenix Offline
User
RedPhoenix  Offline
User
R

Joined: Jan 2007
Posts: 651
Germany
Solved! Thanks to Tobias.

@suriname0:

May be this will help you too:

Quote:

Q: I have recently reinstalled Windows / upgraded to a new PC. Now Gamestudio doesn't work anymore. I get a crash as soon as I start any project.
A. Check how the DEP (data execution prevention) is set in your Windows configuration. Go to My Computer / Properties / Advanced / Performance / Settings / Data Execution Prevention, and make sure that it's in its default setting ("For essential Windows programs and services only"). If you have a German computer, it's Arbeitsplatz / Eigenschaften / Erweitert / Systemleistung / Datenausführungsverhinderung, and must be set at "nur für erforderliche Windows-Programme und -Dienste aktivieren".





Re: E1513: Fatal Run-Time Error [Re: RedPhoenix] #135334
07/17/07 19:47
07/17/07 19:47
Joined: Apr 2007
Posts: 67
suriname0 Offline OP
Junior Member
suriname0  Offline OP
Junior Member

Joined: Apr 2007
Posts: 67
You...have...no...idea...how...long...I looked...for a solution...


If I am posting, it probably means I am asking a question. Or faking my knowledge by agreeing with somebody else.

Gamestudio download | 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