Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 8 Guests
Online:

LATEST FORUM THREADS

»
warfare
CoD4 Map + Mod Releases
Voting menu on maps
CoD+UO General
Hauling 911
CoDBO3 General

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty 2
Category: CoD2 MP Mapping
CoD 2 mapping and level design.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked
Page
Next Page
subscribe
Author Topic: script error
reeven
General Member
Since: Aug 25, 2006
Posts: 15
Last: Aug 29, 2006
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Friday, Aug. 25, 2006 11:47 pm
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 10)
this si the error i keep getting when i try to start my map from the compiler any help would be gratly apreciated thanks all Reeven[machine_gun]
Share |
Creator
General Member
Since: Mar 30, 2006
Posts: 240
Last: Feb 3, 2008
[view latest posts]
Level 4
Category: CoD2 MP Mapping
Posted: Friday, Aug. 25, 2006 11:58 pm
type in console /developer 1
then run map then write the bugs here and post ur script
Share |
reeven
General Member
Since: Aug 25, 2006
Posts: 15
Last: Aug 29, 2006
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 12:11 am

******* 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 15)
[[level.callbackStartGameType]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
CodeCallback_StartGameType()
i think that might be it ?
tryed what you said [tongue]
Share |
reeven
General Member
Since: Aug 25, 2006
Posts: 15
Last: Aug 29, 2006
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 12:46 am
CoD2 MP 1.3 build win-x86 May 1 2006
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Activision\Call of Duty 2\main\iw_15.iwd (85 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_14.iwd (4038 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_13.iwd (22624 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_12.iwd (1016 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_11.iwd (1462 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_10.iwd (1936 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_09.iwd (2142 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_08.iwd (2723 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_07.iwd (3384 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_06.iwd (990 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_05.iwd (928 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_04.iwd (698 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_03.iwd (26 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_02.iwd (40 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_01.iwd (16 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_00.iwd (102 files)
C:\Program Files\Activision\Call of Duty 2/main
C:\Program Files\Activision\Call of Duty 2/raw
C:\Program Files\Activision\Call of Duty 2/raw_shared
C:\Program Files\Activision\Call of Duty 2/devraw
C:\Program Files\Activision\Call of Duty 2/devraw_shared
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw11.iwd (1 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw10.iwd (414 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw09.iwd (98 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw08.iwd (8 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw07.iwd (1014 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw05.iwd (5310 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw00.iwd (4764 files)
localized assets iwd file for english

File Handles:
----------------------
81663 files in iwd files
logfile opened on Fri Aug 25 17:39:48 2006

execing default_mp.cfg
couldn't exec language.cfg
execing players/reeven/config_mp.cfg
Measured CPU speed is 2.41 GHz
System memory is 1024 MB (capped at 1 GB)
Video card is "NVIDIA GeForce 7900 GTX"
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: AMD64SLI
IP: 192.168.1.66
Resolving AutoUpdate Server... 63.146.124.11:28960
----- Initializing Renderer ----
-------------------------------
----- Client Initialization -----
----- Client Initialization Complete -----
----- R_Init -----
Getting Direct3D 9 interface...
Pixel shader version is 3.0
Vertex shader version is 3.0
Direct3D 7 code path is available.
Direct3D 9 code path is available.
Using Direct3D 9 code path because r_rendererPreference is set to dx9.
Attempting 1600 x 1200 fullscreen with 32 bpp at 75 hz
Game window successfully created.
Creating Direct3D device...
Com_TouchMemory: 0 msec. Using sum: 0
Initializing render targets...
Requested frame buffer to be 24-bit color with 8-bit alpha
DirectX returned a frame buffer that is 24-bit color with 8-bit alpha
Initializing static model cache...
Initializing dynamic buffers...
Initializing particle cloud buffer...
Creating Direct3D queries...
Setting initial state...
DirectX reports 512 MB of video memory and 609 MB of available texture memory.
Using video memory size to cap used texture memory at 496 MB.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps

------- sound system initialization -------
Attempting 44 kHz 16 bit stereo sound
available 3D providers:
Aureal A3D Interactive (TM)
Aureal A3D 2.0 (TM)
DirectSound3D Software Emulation
DirectSound3D Hardware Support
DirectSound3D 7+ Software - Pan and Volume
DirectSound3D 7+ Software - Light HRTF
DirectSound3D 7+ Software - Full HRTF
Creative Labs EAX 3 (TM)
Creative Labs EAX 2 (TM)
Creative Labs EAX (TM)
RAD Game Tools RSX 3D Audio
Dolby Surround
Miles Fast 2D Positional Audio
using 3D provider 'Miles Fast 2D Positional Audio'
32 max 3D channels
------- sound system successfully initialized -------
--- Common Initialization Complete ---
WARNING: Could not find 'maps/mp/mp_testies.csv'.
------ Server Initialization ------
Server: mp_testies
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Activision\Call of Duty 2\main\iw_15.iwd (85 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_14.iwd (4038 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_13.iwd (22624 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_12.iwd (1016 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_11.iwd (1462 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_10.iwd (1936 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_09.iwd (2142 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_08.iwd (2723 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_07.iwd (3384 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_06.iwd (990 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_05.iwd (928 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_04.iwd (698 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_03.iwd (26 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_02.iwd (40 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_01.iwd (16 files)
C:\Program Files\Activision\Call of Duty 2\main\iw_00.iwd (102 files)
C:\Program Files\Activision\Call of Duty 2/main
C:\Program Files\Activision\Call of Duty 2/raw
C:\Program Files\Activision\Call of Duty 2/raw_shared
C:\Program Files\Activision\Call of Duty 2/devraw
C:\Program Files\Activision\Call of Duty 2/devraw_shared
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw11.iwd (1 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw10.iwd (414 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw09.iwd (98 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw08.iwd (8 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw07.iwd (1014 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw05.iwd (5310 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\main\localized_english_iw00.iwd (4764 files)
localized assets iwd file for english

File Handles:
handle 1: console_mp.log
----------------------
163326 files in iwd files
----- R_Init -----
DirectX reports 512 MB of video memory and 609 MB of available texture memory.
Using video memory size to cap used texture memory at 496 MB.
Texture detail is set automatically.
Using picmip 0 on most textures, 0 on normal maps, and 0 on specular maps
Loading 'ui_mp/main.menu'...
ERROR: Couldn't find material 'ui/assets/gradientbar2.tga'
WARNING: Could not find material 'ui/assets/gradientbar2.tga'
Error: file ui_mp/main.menu, line 919: can't read token
Loading 'ui_mp/options.menu'...
Loading 'ui/options_look.menu'...
Loading 'ui/options_move.menu'...
Loading 'ui/options_shoot.menu'...
Loading 'ui/options_misc.menu'...
Loading 'ui/options_graphics.menu'...
Loading 'ui/options_game.menu'...
Loading 'ui/options_sound.menu'...
Loading 'ui/options_view.menu'...
Loading 'ui_mp/options_voice.menu'...
Loading 'ui/options_defaults.menu'...
Loading 'ui/options_credits.menu'...
Loading 'ui/options_control_defaults.menu'...
Loading 'ui/options_graphics_defaults.menu'...
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_testies.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'...
------- Game Initialization -------
gamename: Call of Duty 2
gamedate: May 1 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 15)
[[level.callbackStartGameType]]();
*
started from:
(file 'maps/mp/gametypes/_callbacksetup.gsc', line 10)
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 10)


thats the whole page
any help is covented
thanks[eek]
Share |
veef
General Member
Since: Apr 25, 2006
Posts: 1258
Last: Aug 29, 2006
[view latest posts]
Level 8
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 05:41 am
http://www.modsonline.com/Forums-top-22072.html%23121950
Share |
reeven
General Member
Since: Aug 25, 2006
Posts: 15
Last: Aug 29, 2006
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 07:52 am
checked that out got all of those things in order and still i get the same error:(
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 07:53 am
Make sure you've got pure turned off in the Create New Server menu.

in other words.. don't run the map from the compiler, but run it from CoD2 directly...
go to the create new sever menu, set pure to "off", next, pull down your console and type /map [yourmapname]

edited on Aug. 26, 2006 03:55 am by The_Caretaker
Share |
reeven
General Member
Since: Aug 25, 2006
Posts: 15
Last: Aug 29, 2006
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 08:20 am
ok i got part of the problem solved hadent converted txt file to gscbut no i get anouther error



******* script compile error *******
Could not find script 'maps/mp/your_map_name_fx': (file 'maps/mp/mp_testies.gsc', line 3)
maps\mp\your_map_name_fx::main();
*
************************************
writing to: C:\Program Files\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script compile error
(see console for details)

well this is my new can of worms [puke]
Share |
The_Caretaker
General Member
Since: Jun 8, 2004
Posts: 11625
Last: Jul 7, 2009
[view latest posts]
Level 10
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 08:23 am
it TELLS you what the error is:

Could not find script 'maps/mp/your_map_name_fx': (file 'maps/mp/mp_testies.gsc', line 3)
maps\mp\your_map_name_fx::main();
Share |
reeven
General Member
Since: Aug 25, 2006
Posts: 15
Last: Aug 29, 2006
[view latest posts]
Level 1
Category: CoD2 MP Mapping
Posted: Saturday, Aug. 26, 2006 08:24 am
or i get this
*
called from:
(file 'maps/mp/mp_testies.gsc', line 3)
maps\mp\mp_testies::main();
*
called from:
(file 'maps/mp/mp_testies.gsc', line 3)
maps\mp\mp_testies::main();
*
called from:
(file 'maps/mp/mp_testies.gsc', line 3)
maps\mp\mp_testies::main();
*
called from:
(file 'maps/mp/mp_testies.gsc', line 3)
maps\mp\mp_testies::main();
*
started from:
(file 'maps/mp/mp_testies.gsc', line 1)
main()
*
************************************
writing to: C:\Program Files\Activision\Call of Duty 2\servercache.dat
Error during initialization:
script runtime error
(see console for details)
script stack overflow (too many embedded function calls)

feeling vry frustrated know i am sooooo close
[banghead]
Share |
Restricted Access Topic is Locked
Page
Next Page
subscribe
MODSonline.com Forums : Call of Duty 2 : CoD2 MP Mapping

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»