This tracker is in read-only mode.
Please report all Sanny Builder issues on GitHub.


View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000021Sanny Builder[All Projects] compilerpublic2013-10-15 01:292017-04-22 16:40
ReporterDeji 
Assigned ToSeemann 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionunable to reproduce 
PlatformOSOS Version
Product Version3.1.2 
Target VersionFixed in Version 
Summary0000021: Error on file includes mid-code
DescriptionSB3 encounters an error when including files after certain control structures. It will give an error like "Couldn''t load fileb.txt." and then throw an error like "Access violation at address 005402EB in module 'sanny.exe'. Read of address 00000007." on every attempt to compile after.
Steps To ReproduceTry the following code...
*************************************************************************
{$CLEO}
{$NOSOURCE}
{$I fileb.txt}

WAIT 0

IF NOT IS_GAME_VERSION_ORIGINAL
{$I fileb.txt}
THEN
END
*************************************************************************

There will be an error at line 8 saying fileb.txt cannot be included. Will happen anywhere after line 7. Same with this code...

*************************************************************************
WHILE NOT IS_GAME_VERSION_ORIGINAL
    {$I fileb.txt}
    WAIT 9999
END
*************************************************************************
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000021)
Seemann (administrator)
2013-10-15 20:18

I can't reproduce this bug. The code is compiled fine for me. Can you give more examples, or probably the whole code (with an included file content)?
(0000022)
Deji (reporter)
2013-10-19 18:30

Well there doesnt need to be any content in the included file, it fails there either way.
http://ipic.lv/i4/38f01263/3acbf5f09304521.jpg [^]

I am of course using SCR keywords instead of opcodes so perhaps that could be a cause, but the INI entries for the commands used are essentially the same as the SB defaults.

However that access violation error only seems to happen on the script for Black Market, which is very complex anyway.
(0000046)
Seemann (administrator)
2017-04-22 16:40

Closed in Spring 2017 Cleanup

- Issue History
Date Modified Username Field Change
2013-10-15 01:29 Deji New Issue
2013-10-15 01:29 Deji Status new => assigned
2013-10-15 01:29 Deji Assigned To => Seemann
2013-10-15 20:18 Seemann Note Added: 0000021
2013-10-19 16:22 Seemann Status assigned => feedback
2013-10-19 18:30 Deji Note Added: 0000022
2013-10-19 18:30 Deji Status feedback => assigned
2017-04-22 16:40 Seemann Note Added: 0000046
2017-04-22 16:40 Seemann Status assigned => closed
2017-04-22 16:40 Seemann Resolution open => unable to reproduce


Copyright © 2000 - 2024 MantisBT Team
Powered by Mantis Bugtracker