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

Members Online

»
0 Active | 40 Guests
Online:

LATEST FORUM THREADS

»
coduo mapping tools
CoDUO Mapping
Gaming
Q4 General
eXtreme+ v2.9
CoDBO Map + Mod Releases
map loading error
CoD2 MP Mapping

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 4
Category: CoD4 SP Mapping
CoD 4 mapping and level design for single player.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword, playername, novemberdobby
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: Help i got a ''SCRIPT ERROR''
Codslayer111111
General Member
Since: Oct 15, 2009
Posts: 23
Last: Dec 29, 2009
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Friday, Oct. 30, 2009 10:37 am
When i trying to start my SP map it come
''Script error bad lyx (or something)''
the Script have an error but how do i fix this error?
i want to try my map so i now whats wrong so i can fix it for i
gonna make a long map so i also of course want to test the full map when its done but i cant because the ''script error''
i wanna try it before its done to

please Help me !!

[2guns][machine_gun][sniper]
Share |
basketrobin_4
General Member
Since: Nov 30, 2008
Posts: 129
Last: Apr 4, 2011
[view latest posts]
Level 4
Category: CoD4 SP Mapping
Posted: Friday, Oct. 30, 2009 10:44 am
if you post the .gsc file would be usefull :)
Share |
Sevenz
General Member
Since: Apr 24, 2006
Posts: 2390
Last: May 10, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Friday, Oct. 30, 2009 11:35 am
run in dev mode (developer 1, developer_script 1, devmap yourmap)

it will show detailed information about the error
(bad syntax without anything else is only a generic error message without any details when running in normal mode. Shift + ~ to drop console, scroll down to see the entire error log)
Share |
Codslayer111111
General Member
Since: Oct 15, 2009
Posts: 23
Last: Dec 29, 2009
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Friday, Oct. 30, 2009 01:47 pm
i have bad syntax it stand and the info in the bigger console
dont give me some info for what i should do?
how do i fix it?
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Aug 31, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Friday, Oct. 30, 2009 02:10 pm
ok first of make sure when you run the map that you have the box that says "Enable developer", "cheats", and "Enable Developer Script" checked. and then when ur map loads and you get the error. close the game. Go to the "main" folder of your cod4 directory and inside you will find a file by the name of "console.log" or simply "console". open it with notepad and search down until you start to see something similar like the following:

Code:

******* script runtime error *******
undefined is not a field object: (file 'maps/_vehicle.gsc', line 2126)
 crashLoc.claimed = undefined; 
 *
Error: started from:
(file 'maps/_vehicle.gsc', line 2125)
 self waittill( "goal" );
      *
Error: ************************************
      dvar set com_errorTitle Error
      dvar set com_errorMessage script runtime error
(see console for details)


or something with the word "error* and something to your error. copy that part and paste here so we can take a look, then we can tell you wat exactly your error is. another way to view your full error while your still in the game and you get that error message is to press shift + console key "~", the tilde key found under esc key. You can then scroll up and down till you find your error. and finally plz use smaller fonts i can see them just as well when you use it normally, no need for bigger fonts.
Share |
Codslayer111111
General Member
Since: Oct 15, 2009
Posts: 23
Last: Dec 29, 2009
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Sunday, Nov. 1, 2009 04:24 am
  1. WARNING: Invalid IWD cells.iwd in \main.
    WARNING: Invalid IWD mp_3_places_1_map.iwd in \main.
    WARNING: Invalid IWD mp_fun_blox.iwd in \main.
    WARNING: Invalid IWD mp_slide.iwd in \main.
    WARNING: Invalid IWD mp_stadium.iwd in \main.
    WARNING: Invalid IWD mp_test_map.IWD in \main.
    WARNING: Invalid IWD subway.iwd in \main.
    Current language: english




    i also find

    Could not find menu 'main'
    ]/quit
    quitting...
    ----- CL_Shutdown -----
    -----------------------
    Unloaded fastfile escape_2
    Unloaded fastfile common
    Unloaded fastfile code_post_gfx
Share |
voidsource
General Member
Since: May 5, 2007
Posts: 1513
Last: Aug 31, 2013
[view latest posts]
Level 8
Category: CoD4 SP Mapping
Posted: Sunday, Nov. 1, 2009 01:02 pm
try removing out of your "main" folder the following iwd

Code:
WARNING: Invalid IWD cells.iwd in \main.
WARNING: Invalid IWD mp_3_places_1_map.iwd in \main.
WARNING: Invalid IWD mp_fun_blox.iwd in \main.
WARNING: Invalid IWD mp_slide.iwd in \main.
WARNING: Invalid IWD mp_stadium.iwd in \main.
WARNING: Invalid IWD mp_test_map.IWD in \main.
WARNING: Invalid IWD subway.iwd in \main.


dont worry about the 2nd one.
Share |
Codslayer111111
General Member
Since: Oct 15, 2009
Posts: 23
Last: Dec 29, 2009
[view latest posts]
Level 1
Category: CoD4 SP Mapping
Posted: Thursday, Nov. 12, 2009 07:57 am
thx, gonna try it now
Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty 4 : CoD4 SP 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

»