SWBFGamers

Modding for the Original SWBF1 and SWBF2 => SWBF1 Modding => Topic started by: African with 2 Kalishnakov on June 29, 2019, 10:00:50 AM

Title: How do I get around error 800a004c?
Post by: African with 2 Kalishnakov on June 29, 2019, 10:00:50 AM
When I tried to open a test map in BFBuilder pro it gave me this error:



                     An error has occurred in the script on this page

Line: 1

Char: 1

Could not complete the operation due to error 800a004c

Code: 0

URL: [Blank]


                        Do you want to continue running scripts on this page?
                                                 
                                                      Yes/No



Does anyone know how to get around this error?

Title: Re: How do I get around error 800a004c?
Post by: Giftheck on June 29, 2019, 10:04:58 AM
Have you deleted any of the LUA scripts in your mod, perhaps for an era you're not using?
Title: Re: How do I get around error 800a004c?
Post by: African with 2 Kalishnakov on June 29, 2019, 10:19:55 AM
No, I actually just downloaded this blank map (http://www.swbfgamers.com/index.php?topic=13463.0) from wsa30h to see if it would work. When I try to open Mod1 or Mod2 from BFBuilder pro it just crashes, so I thought I'd try this blank map.
Title: Re: How do I get around error 800a004c?
Post by: Dark_Phantom on June 29, 2019, 10:45:05 AM
This version of BFBuilder may fix/give you a better idea of where the error is occurring.
Title: Re: How do I get around error 800a004c?
Post by: African with 2 Kalishnakov on June 29, 2019, 01:08:08 PM
Ok, I did that but now I'm getting a runtime error.

If I import a stock map I get a runtime error,

If I try to open Mod1 or Mod2, I get the origional error I posted above,

And this is interesting: If I try to open the blank map the following window pops up:


                               
                        The mission lua located in
                        Datatatooine\Common\Scripts\tatooine\tatooinec.lua
                        is not formatted for BFBuilder editing.
                        This file must be deleted and reformatted or edited manually.

                        Delete this file and recreate LUA using default values?

                        Yes - This will erase all of your lua settings
                        No - will not change the lua file


                                                          Yes/No




Then once I select yes for that it gives me this error:



                              Line:   320

                              Char:   5
                             
                              Error:   Permission denied

                              Code:   0

                              URL:   file:///C:/LucasArts/BFBuilder/BFBuilderPro2.01.hta


                                        Do you want to continue running scripts on this page?
                                                                 Yes/No




After that when I try to edit the blank map (tatooine) It gives me a Runtime error.

How do I get around the runtime errors?                               
                             




                               




                         
                       
                                         
Title: Re: How do I get around error 800a004c?
Post by: wsa30h on June 29, 2019, 01:44:43 PM
Open this folder and drop it in the bf builder.
also you did you try editing the map with zero editor the one i gave you ?
also you can munge the map in data tatooine and hit 64 bit munge
and to edit scripts go to common scripts tatooine and use note pad to edit.
Title: Re: How do I get around error 800a004c?
Post by: Dark_Phantom on June 29, 2019, 08:23:04 PM
You need to give yourself write permissions to the files.  They are currently set to read only.  If you right click on properties and look, you can see read only.
That needs to change throughout the entire folder, and can be time consuming.

Edit:  The ZeroEditor runtime error is caused by ZE having to create/read a file or something of the sort.  Running it again after experiencing the error should fix the problem.
Title: Re: How do I get around error 800a004c?
Post by: African with 2 Kalishnakov on June 30, 2019, 07:47:20 AM
Am I supposed to change all the files to read/write? The readme says:

IMPORTANT:  the ODF files will be read only.  Change their properies so that they are not read only, then edit them.

Does that mean I only have to change the ODF files? Or do I need to change the MSH, TGA ect. files as well?
Title: Re: How do I get around error 800a004c?
Post by: wsa30h on June 30, 2019, 10:24:55 AM
change everything from read only including msh. if am wrong someone correct me please.
Title: Re: How do I get around error 800a004c?
Post by: African with 2 Kalishnakov on June 30, 2019, 10:35:46 AM
Is that what you did when you first started? If so than that's probably what I need to do.
Title: Re: How do I get around error 800a004c?
Post by: wsa30h on June 30, 2019, 12:13:42 PM
worth a shot. sorry that i cant help more there are people with more experience here than me.
EhPortal 1.34 © 2024, WebDev