How do I solve this error?
Moderator: Moderators
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
How do I solve this error?
Anyone know how to solve this?
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaScript.cpp(435)
Script file addme not found
Thanks in advance.
...once I get this solved my first map will be on its way to gametoast!
Message Severity: 3
C:\Battlefront2\main\Battlefront2\Source\LuaScript.cpp(435)
Script file addme not found
Thanks in advance.
...once I get this solved my first map will be on its way to gametoast!
Last edited by Noobasaurus on Wed Sep 08, 2010 8:18 pm, edited 1 time in total.
-
genaral_mitch
- Jedi

- Posts: 1056
- Joined: Fri Aug 14, 2009 12:32 am
Re: How do I solve this error?
Make sure you have an addme.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: How do I solve this error?
In which folder? The addon of my map or somewhere else?
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: How do I solve this error?
check the addme.lua in the addme folderNoobasaurus wrote:In which folder? The addon of my map or somewhere else?
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: How do I solve this error?
Well, I have an addme in there. Is something wrong with it?
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: How do I solve this error?
post it and we'll seeNoobasaurus wrote:Well, I have an addme in there. Is something wrong with it?
- PilotX
- Private
- Posts: 35
- Joined: Thu Jun 17, 2010 10:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: California
Re: How do I solve this error?
It's probably not the addme otherwise it would crash on load or the map wouldn't load. It is probably an error with another lua.
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: How do I solve this error?
yeah forgot about that . . . probably the main lua thenPilotX wrote:It's probably not the addme otherwise it would crash on load or the map wouldn't load. It is probably an error with another lua.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: How do I solve this error?
Ok:acryptozoo wrote:post it and we'll see
--Search through the missionlist to find a map that matches mapName,
--then insert the new flags into said entry.
--Use this when you know the map already exists, but this content patch is just
--adding new gamemodes (otherwise you should just add whole new entries to the missionlist)
function AddNewGameModes(missionList, mapName, newFlags)
for i, mission in missionList do
if mission.mapluafile == mapName then
for flag, value in pairs(newFlags) do
mission[flag] = value
end
end
end
end
--insert totally new maps here:
local sp_n = 0
local mp_n = 0
sp_n = table.getn(sp_missionselect_listbox_contents)
sp_missionselect_listbox_contents[sp_n+1] = { isModLevel = 1, mapluafile = "ISL%s_%s", era_g = 1, era_c = 1, mode_con_g = 1, mode_con_c = 1,}
mp_n = table.getn(mp_missionselect_listbox_contents)
mp_missionselect_listbox_contents[mp_n+1] = sp_missionselect_listbox_contents[sp_n+1]
-- associate this mission name with the current downloadable content directory
-- (this tells the engine which maps are downloaded, so you need to include all new mission lua's here)
-- first arg: mapluafile from above
-- second arg: mission script name
-- third arg: level memory modifier. the arg to LuaScript.cpp: DEFAULT_MODEL_MEMORY_PLUS(x)
AddDownloadableContent("ISL","ISLg_con",4)
AddDownloadableContent("ISL","ISLc_con",4)
-- all done
newEntry = nil
n = nil
-- Now load our core.lvl into the shell to add our localize keys
ReadDataFile("..\\..\\addon\\ISL\\data\\_LVL_PC\\core.lvl")
Or did you want me to attach it?
Which one?PilotX wrote:It's probably not the addme otherwise it would crash on load or the map wouldn't load. It is probably an error with another lua.
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: How do I solve this error?
XXXg_con.lua or XXX.c_con.lua depending on which era crashedWhich one?
- PilotX
- Private
- Posts: 35
- Joined: Thu Jun 17, 2010 10:58 am
- Projects :: No Mod project currently.
- xbox live or psn: No gamertag set
- Location: California
Re: How do I solve this error?
Whichever one goes to the map you were trying to load.
-
Noobasaurus
- Droid Pilot Assassin

- Posts: 2006
- Joined: Tue Aug 17, 2010 5:56 pm
Re: How do I solve this error?
Well, once SWBF2 loads it crashes. I dont even get the the selection screen.acryptozoo wrote:XXXg_con.lua or XXX.c_con.lua depending on which era crashed
- acryptozoo
- Master Bounty Hunter

- Posts: 1642
- Joined: Wed Jun 03, 2009 3:14 pm
- Projects :: Yavin Mappack
- xbox live or psn: acryptozoo
- Location: in the jungles of Yavin IV
- Contact:
Re: How do I solve this error?
wait so the whole BF2 crashed then i dont think thats a problem with your mapNoobasaurus wrote:Well, once battlefront loads it crashes. I dont even get the the selection screen.acryptozoo wrote:XXXg_con.lua or XXX.c_con.lua depending on which era crashed
-
CressAlbane
- Master Bounty Hunter

- Posts: 1519
- Joined: Fri Dec 18, 2009 8:02 am
- Projects :: CTF Arenas
- Location: ¿uoıʇɐɔoן ʎɯ sıɥʇ sı
Re: How do I solve this error?
It is I believe, an incorrect addme can cause the game to not be able to set up properly.
Try manual clean and remunge.
Try manual clean and remunge.
