Author |
Topic: Compile Problems... |
Snoopy12 |
General Member Since: Jan 18, 2010 Posts: 13 Last: Feb 8, 2010 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Tuesday, Jan. 19, 2010 08:43 pm |
|
attachment: image(32.5Kb) |
This is my second topic in a day
Here's the problem. When i compile my map everything is perfect, it compiles correctly (to the best of my knowledge). But when I hit "Run Map" on the compiler, it begins to load my map and then gives me an error message (picture of error message is attached)
Also, here is what the "command prompt" says after it errors:
Code: Loading 'ui_mp/options_multi.menu'...
Loading 'ui/playerprofile.menu'...
Loading 'ui_mp/vid_restart.menu'...
Loading 'ui/language_restart.menu'...
Loading 'ui/snd_restart.menu'...
Loading 'ui/rec_restart.menu'...
Loading 'ui/quit.menu'...
Loading 'ui/error.menu'...
Loading 'ui_mp/multi.menu'...
ERROR: Couldn't find material 'ui/assets/fadebox.tga'
WARNING: Could not find material 'ui/assets/fadebox.tga'
Loading 'ui_mp/joinserver.menu'...
Loading 'ui_mp/createserver.menu'...
Loading 'ui_mp/pb_popmenus.menu'...
Loading 'ui_mp/cdkey.menu'...
Loading 'ui_mp/mods.menu'...
Loading 'ui_mp/connect.menu'...
WARNING: Could not find material '$levelbriefing'
Loading 'ui_mp/password.menu'...
Loading 'ui_mp/single_player.menu'...
Loading 'ui_mp/serverinfo.menu'...
Loading 'ui_mp/createfavorite.menu'...
Loading 'ui_mp/filter.menu'...
Loading 'ui_mp/in_rec_restart.menu'...
Loading 'ui_mp/auto_update.menu'...
Loading 'ui_mp/settings_dm.menu'...
Menu load error: ui_mp/settings_dm.menu, line 83: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 84: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 105: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 106: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_tdm.menu'...
Menu load error: ui_mp/settings_tdm.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_ctf.menu'...
Menu load error: ui_mp/settings_ctf.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_hq.menu'...
Menu load error: ui_mp/settings_hq.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_sd.menu'...
Loading 'ui_mp/settings_sw.menu'...
Loading 'ui_mp/background.menu'...
WARNING: Could not find 'maps/mp/mp_dmgtriggers.csv'.
Loading 'ui_mp/ingame.menu'...
Loading 'ui_mp/ingame_controls.menu'...
Loading 'ui_mp/ingame_options.menu'...
Loading 'ui_mp/ingame_system.menu'...
Loading 'ui_mp/ingame_leave.menu'...
Loading 'ui_mp/ingame_callvote.menu'...
Loading 'ui_mp/wm_quickmessage.menu'...
Loading 'ui_mp/close_highscore.menu'...
Loading 'ui_mp/open_highscore.menu'...
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: Mar 30 2006
----------------------
Game: G_SetupWeaponDef
----------------------
-----------------------------------
******* script runtime error *******
cannot cast undefined to bool: (file 'maps/mp/gametypes/_menus.gsc', line 13)
if(!level.xenon)
*
called from:
(file 'maps/mp/gametypes/dm.gsc', line 84)
thread maps\mp\gametypes\_menus::init();
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 18)
[[level.callbackStartGameType]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 11)
CodeCallback_StartGameType()
*
************************************
writing to: C:\Program Files\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 11)
I compiled my map using instructions found at this url:
Compiling for Call of Duty 2
Thanks for Reading
|
|
|
|
*UWS*ThisGuy |
General Member Since: Jul 31, 2008 Posts: 215 Last: Jan 8, 2012 [view latest posts] |
|
|
|
Xylozi |
General Member Since: Jul 12, 2008 Posts: 218 Last: Mar 1, 2012 [view latest posts] |
|
|
|
Category: CoD2 MP Mapping Posted: Sunday, Jan. 24, 2010 12:22 am |
|
Looks like this line:
Code: cannot cast undefined to bool: (file 'maps/mp/gametypes/_menus.gsc', line 13)
if(!level.xenon)
Is causing the problem. So I'd simply get a stock version of _menus.gsc (Either from a friend or the download of the Mod Tools) and overwrite your current one, and it should remove that error, and let your map launch. |
|
|
|
clanhelio |
General Member Since: Aug 30, 2008 Posts: 223 Last: Mar 24, 2011 [view latest posts] |
|
|
|
Ray |
|
General Member Since: Apr 24, 2006 Posts: 1027 Last: Nov 17, 2013 [view latest posts] |
|
|
|
afuzzybunny408 |
|
General Member Since: Mar 22, 2011 Posts: 9 Last: Jan 28, 2013 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Wednesday, Aug. 31, 2011 05:08 am |
|
Snoopy12 writes...Quote: This is my second topic in a day
Here's the problem. When i compile my map everything is perfect, it compiles correctly (to the best of my knowledge). But when I hit "Run Map" on the compiler, it begins to load my map and then gives me an error message (picture of error message is attached)
Also, here is what the "command prompt" says after it errors:
Code: Loading 'ui_mp/options_multi.menu'...
Loading 'ui/playerprofile.menu'...
Loading 'ui_mp/vid_restart.menu'...
Loading 'ui/language_restart.menu'...
Loading 'ui/snd_restart.menu'...
Loading 'ui/rec_restart.menu'...
Loading 'ui/quit.menu'...
Loading 'ui/error.menu'...
Loading 'ui_mp/multi.menu'...
ERROR: Couldn't find material 'ui/assets/fadebox.tga'
WARNING: Could not find material 'ui/assets/fadebox.tga'
Loading 'ui_mp/joinserver.menu'...
Loading 'ui_mp/createserver.menu'...
Loading 'ui_mp/pb_popmenus.menu'...
Loading 'ui_mp/cdkey.menu'...
Loading 'ui_mp/mods.menu'...
Loading 'ui_mp/connect.menu'...
WARNING: Could not find material '$levelbriefing'
Loading 'ui_mp/password.menu'...
Loading 'ui_mp/single_player.menu'...
Loading 'ui_mp/serverinfo.menu'...
Loading 'ui_mp/createfavorite.menu'...
Loading 'ui_mp/filter.menu'...
Loading 'ui_mp/in_rec_restart.menu'...
Loading 'ui_mp/auto_update.menu'...
Loading 'ui_mp/settings_dm.menu'...
Menu load error: ui_mp/settings_dm.menu, line 83: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 84: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 105: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 106: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_tdm.menu'...
Menu load error: ui_mp/settings_tdm.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_ctf.menu'...
Menu load error: ui_mp/settings_ctf.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_hq.menu'...
Menu load error: ui_mp/settings_hq.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_sd.menu'...
Loading 'ui_mp/settings_sw.menu'...
Loading 'ui_mp/background.menu'...
WARNING: Could not find 'maps/mp/mp_dmgtriggers.csv'.
Loading 'ui_mp/ingame.menu'...
Loading 'ui_mp/ingame_controls.menu'...
Loading 'ui_mp/ingame_options.menu'...
Loading 'ui_mp/ingame_system.menu'...
Loading 'ui_mp/ingame_leave.menu'...
Loading 'ui_mp/ingame_callvote.menu'...
Loading 'ui_mp/wm_quickmessage.menu'...
Loading 'ui_mp/close_highscore.menu'...
Loading 'ui_mp/open_highscore.menu'...
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: Mar 30 2006
----------------------
Game: G_SetupWeaponDef
----------------------
-----------------------------------
******* script runtime error *******
cannot cast undefined to bool: (file 'maps/mp/gametypes/_menus.gsc', line 13)
if(!level.xenon)
*
called from:
(file 'maps/mp/gametypes/dm.gsc', line 84)
thread maps\mp\gametypes\_menus::init();
*
called from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 18)
[[level.callbackStartGameType]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 11)
CodeCallback_StartGameType()
*
************************************
writing to: C:\Program Files\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 11)
I compiled my map using instructions found at this url:
Compiling for Call of Duty 2
Thanks for Reading
Im having the Same problem can anyone help |
|
|
|
Sevenz |
|
General Member Since: Apr 24, 2006 Posts: 2390 Last: May 10, 2013 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Wednesday, Aug. 31, 2011 08:43 am |
|
This error:
Quote: Fatal Error
Error during initialization:
script runtime error
(see console for details)
(file 'maps/mp/gametypes/_callbacksetup.gsc' line 11)
occurs, if your map has no gsc file. Here the minimum content:
Code: main()
{
maps\mp\_load::main();
}
save this as a plaintext file and rename the extension to .gsc (make sure you really changed it, http://windows.microsoft.com/en-US/windows-vista/Show-or-hide-file-name-extensions )
The filename has to be like your map, e.g.
mp_mylevel (mp_mylevel.map / mp_mylevel.d3dbsp)
mp_mylevel.gsc
For a mp map, the gsc file has to be in maps\mp\ and should start with mp_
gsc file for SP map would go maps\
You might have to put it in an iwd, basically a zip-compressed archive with extension .iwd
Make sure you zip the folder structure, e.g. mp_mylevel.iwd\maps\mp\mp_mylevel.gsc |
|
|
|
afuzzybunny408 |
|
General Member Since: Mar 22, 2011 Posts: 9 Last: Jan 28, 2013 [view latest posts] |
|
|
|
ukdjaj |
|
General Member Since: Jun 1, 2008 Posts: 2726 Last: Nov 15, 2020 [view latest posts] |
|
|
|
afuzzybunny408 |
|
General Member Since: Mar 22, 2011 Posts: 9 Last: Jan 28, 2013 [view latest posts] |
|
|
Category: CoD2 MP Mapping Posted: Wednesday, Aug. 31, 2011 05:48 pm |
|
Im having this problem Code: Loading 'ui_mp/settings_dm.menu'...
Menu load error: ui_mp/settings_dm.menu, line 83: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 84: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 105: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_dm.menu, line 106: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_tdm.menu'...
Menu load error: ui_mp/settings_tdm.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_tdm.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_ctf.menu'...
Menu load error: ui_mp/settings_ctf.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_ctf.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Loading 'ui_mp/settings_hq.menu'...
Menu load error: ui_mp/settings_hq.menu, line 79: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 80: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 101: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
Menu load error: ui_mp/settings_hq.menu, line 102: Attempting to change type from 0 to 9.
Move the type definition higher up in the itemDef.
|
|
|
|