Problem with map loading (Only on CJBeta)

Have questions about CoD4 mapping that aren't covered in the tutorials section? Post here!

Moderator: Core Staff

_DanTheMan_
PC Team
PC Team
Posts: 294
Joined: September 6th, 2008, 2:14 am

Problem with map loading (Only on CJBeta)

Post by _DanTheMan_ » April 11th, 2010, 9:08 pm

Whenever I load my map mp_portal on any mod, there are no problems. However, if I to load my map on codjumperbeta, I get the following error message:

ERROR
Attempted to overrun string in call to va()

This is my zone file:

Code: Select all

ignore,code_post_gfx_mp
ignore,common_mp
ignore,localized_code_post_gfx_mp
ignore,localized_common_mp
col_map_mp,maps/mp/mp_portal.d3dbsp
impactfx,mp_portal
sound,common,mp_portal,!all_mp
sound,generic,mp_portal,!all_mp
sound,voiceovers,mp_portal,!all_mp
sound,multiplayer,mp_portal,!all_mp
xmodel,body_mp_usmc_specops
xmodel,head_mp_usmc_tactical_mich_stripes_nomex
xmodel,body_mp_usmc_sniper
xmodel,head_mp_usmc_tactical_baseball_cap
xmodel,body_mp_usmc_recon
xmodel,head_mp_usmc_nomex
xmodel,body_mp_usmc_assault
xmodel,head_mp_usmc_tactical_mich
xmodel,body_mp_usmc_support
xmodel,head_mp_usmc_shaved_head
xmodel,body_mp_arab_regular_cqb
xmodel,head_mp_arab_regular_headwrap
xmodel,viewhands_desert_opfor
xmodel,body_mp_arab_regular_sniper
xmodel,head_mp_arab_regular_sadiq
xmodel,body_mp_arab_regular_engineer
xmodel,head_mp_arab_regular_ski_mask
xmodel,body_mp_arab_regular_assault
xmodel,head_mp_arab_regular_suren
xmodel,body_mp_arab_regular_support
xmodel,head_mp_arab_regular_asad

// Portal Materials
material,gfx_portal_light_rail_endpoint
material,mtl_portal_banner
material,mtl_portal_ceiling_concrete
material,mtl_portal_companion_cube_lit
material,mtl_portal_companion_cube_unlit
material,mtl_portal_cube_lit
material,mtl_portal_cube_unlit
material,mtl_portal_door_lit
material,mtl_portal_door_unlit
material,mtl_portal_edging_lit
material,mtl_portal_edging_unlit
material,mtl_portal_energy
material,mtl_portal_floor_accent
material,mtl_portal_floor_concrete
material,mtl_portal_floor_grate
material,mtl_portal_floor_metal
material,mtl_portal_frame_lit
material,mtl_portal_frame_unlit
material,mtl_portal_glados_lit
material,mtl_portal_glados_unlit
material,mtl_portal_glass
material,mtl_portal_gravity_lit
material,mtl_portal_gravity_unlit
material,mtl_portal_gun
material,mtl_portal_gun_w
material,mtl_portal_light_rail_beam1
material,mtl_portal_light_rail_beam2
material,mtl_portal_light_rail_corner_lit
material,mtl_portal_light_rail_corner_unlit
material,mtl_portal_light_rail_emitter_lit
material,mtl_portal_light_rail_emitter_unlit
material,mtl_portal_light_rail_platform
material,mtl_portal_markings_blue
material,mtl_portal_markings_red
material,mtl_portal_plastic_black
material,mtl_portal_plastic_white
material,mtl_portal_plasticdoor
material,mtl_portal_roughmetal
material,mtl_portal_security_camera
material,mtl_portal_shinymetal
material,mtl_portal_sign_frame
material,mtl_portal_signage_arrow
material,mtl_portal_signage_cake
material,mtl_portal_signage_crusher
material,mtl_portal_signage_energy
material,mtl_portal_signage_exit
material,mtl_portal_signage_fling1
material,mtl_portal_signage_fling1_alt
material,mtl_portal_signage_fling2
material,mtl_portal_signage_fling2_alt
material,mtl_portal_signage_toxic
material,mtl_portal_signage_turret
material,mtl_portal_thecakeisalie
material,mtl_portal_turret_eye_active
material,mtl_portal_turret_inactive
material,mtl_portal_wall_concrete
material,mtl_portal_wall_metal
material,ui_portal_aperture
material,ui_portal_load

// Portal XModels
xmodel,portal_companion_cube_lit
xmodel,portal_companion_cube_unlit
xmodel,portal_cube_lit
xmodel,portal_cube_unlit
xmodel,portal_door_lit
xmodel,portal_door_unlit
xmodel,portal_energy
xmodel,portal_frame_lit
xmodel,portal_frame_unlit
xmodel,portal_glados_lit
xmodel,portal_glados_unlit
xmodel,portal_gravity_lit
xmodel,portal_gravity_unlit
xmodel,portal_gun_v
xmodel,portal_gun_w
xmodel,portal_light_rail_corner_lit
xmodel,portal_light_rail_corner_unlit
xmodel,portal_light_rail_emitter_lit
xmodel,portal_light_rail_emitter_unlit
xmodel,portal_light_rail_platform
xmodel,portal_security_camera
xmodel,portal_sign_frame
xmodel,portal_turret_eye_active
xmodel,portal_turret_inactive
xmodel,tag_flash

// Portal FX
fx,explosions/large_vehicle_explosion
fx,impacts/20mm_default_impact
fx,impacts/deathfx_bloodpool
fx,impacts/flesh_hit_body_fatal_exit
fx,portal/gfx_portal_awesome
fx,portal/gfx_portal_awesome_cloud
fx,portal/gfx_portal_blood
fx,portal/gfx_portal_filthy_fog
fx,portal/gfx_portal_light_rail_corner
fx,portal/gfx_portal_light_rail_platform
fx,portal/gfx_portal_spark
fx,portal/gfx_portal_steam
fx,portal/gfx_portal_turret_shoot
fx,portal/gfx_portal_turret_laser
fx,portal/gfx_portal_turret_laser_hit

// Portal Sound
sound,mp_portal,,all_mp

// Miscellaneous raw files
rawfile,maps/mp/mp_portal.gsc
rawfile,maps/mp/mp_portal_fxs.gsc
rawfile,maps/createfx/mp_portal_fxs.gsc
rawfile,maps/createart/mp_portal_art.gsc
rawfile,vision/mp_portal.vision
Does anyone know what the problem is?
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 11th, 2010, 10:21 pm

This is too my knowledge caused by sending an overflow of information to the server.

Mostly this is the map rotation being too long.
Have you got anything in your GSC that is sending data to the server?
Have you got any strings which are really long?

Basically, try and make sure every command you send is less than 1024 characters long.

If that dont help, post again.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

_DanTheMan_
PC Team
PC Team
Posts: 294
Joined: September 6th, 2008, 2:14 am

Re: Problem with map loading (Only on CJBeta)

Post by _DanTheMan_ » April 11th, 2010, 10:32 pm

Actually, in trying to remove this I at one point completely disabled all scripts in my map, only leaving the

maps\mp\_load::main();

game["allies"] = "marines";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "desert";
game["axis_soldiertype"] = "desert";

section, so I'm not sure if it could be something in the .gsc files.

Edit: The error stopped, and I didn't change anything... however the map is also not working on any online servers now.. it just starts the map, and when a player connects his game crashes. Any ideas on that?
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 12th, 2010, 2:38 am

Its a server issue for sure.

Post you server config, obviously removing passwords, etc.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

_DanTheMan_
PC Team
PC Team
Posts: 294
Joined: September 6th, 2008, 2:14 am

Re: Problem with map loading (Only on CJBeta)

Post by _DanTheMan_ » April 12th, 2010, 2:58 am

My friend's server used the following CFG:

Code: Select all

//******************************************************************************
// Call of Duty 4
//******************************************************************************
//******************************************************************************
// Public Information -  taken from http://forums.gameservers.com/viewtopic.php?t=25067
//******************************************************************************
sets sv_hostname "Test"
sets _Admin ""
sets _Email ""
sets _Website ""
sets _Location ""
sets _Irc ""
sets _Mod ""
sets _ModVer ""
sets _ModUpdate ""
sets _Maps "COD2 Stock"
set scr_motd ""

//******************************************************************************
// Common Server Settings
//******************************************************************************
// Log Settings
set g_logsync "2"
set logfile "1"
set g_log "games_mp.log"
set sv_log_damage "1"

// Network options
set net_ip "1.2.3.4" // Set your servers IP address
set net_port "28960" // Set your port number
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications

// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet
// Password Settings
set g_password ""
set rcon_password "xxxxxxxx"

// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password "xxxxxxxx"

// Player slots setup
set sv_privateclients ""
set sv_maxclients 10

// Ping
set sv_minPing "0"
set sv_maxping "350"

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "0"
seta sv_wwwDownload "0"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "1"

// Rate
set sv_maxRate "25000"


// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"

// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"

// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"
set sv_punkbuster "0"

// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"

// In-game voice communication system
set sv_voice "0"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"

//******************************************************************************
// Misc
//******************************************************************************
set sv_allowAnonymous "0"
set g_antilag "0"
set g_compassShowEnemies "0"
//ui_maxclients 32

//******************************************************************************
// limits the number of players that can choose each class type
//******************************************************************************
set class_assault_limit 99
set class_specops_limit 99
set class_heavygunner_limit 99
set class_demolitions_limit 99
set class_sniper_limit 99

//******************************************************************************
// perks
//******************************************************************************
set perk_allow_specialty_parabolic 1
set perk_allow_specialty_gpsjammer 1
set perk_allow_specialty_holdbreath 1
set perk_allow_specialty_quieter 1
set perk_allow_specialty_longersprint 1
set perk_allow_specialty_detectexplosive 1
set perk_allow_specialty_explosivedamage 1
set perk_allow_specialty_pistoldeath 1
set perk_allow_specialty_grenadepulldeath 1
set perk_allow_specialty_bulletdamage 1
set perk_allow_specialty_bulletpenetration 1
set perk_allow_specialty_bulletaccuracy 1
set perk_allow_specialty_rof 1
set perk_allow_specialty_fastreload 1
set perk_allow_specialty_extraammo 1
set perk_allow_specialty_armorvest 1
set perk_allow_specialty_fraggrenade 1
set perk_allow_specialty_specialgrenade 1
set perk_allow_c4_mp 1
set perk_allow_claymore_mp 1
set perk_allow_rpg_mp 1

//******************************************************************************
// assault class default loadout
//******************************************************************************
set class_assault_primary m16
set class_assault_primary_attachment gl
set class_assault_secondary beretta
set class_assault_secondary_attachment none
set class_assault_perk1 specialty_null
set class_assault_perk2 specialty_bulletdamage
set class_assault_perk3 specialty_longersprint
set class_assault_grenade concussion_grenade
set class_assault_camo camo_none
set class_assault_frags 1
set class_assault_special 1

//******************************************************************************
// specops class default loadout
//******************************************************************************
set class_specops_primary mp5
set class_specops_primary_attachment none
set class_specops_secondary usp
set class_specops_secondary_attachment silencer
set class_specops_perk1 c4_mp
set class_specops_perk2 specialty_explosivedamage
set class_specops_perk3 specialty_bulletaccuracy
set class_specops_grenade flash_grenade
set class_specops_camo camo_none
set class_specops_frags 1
set class_specops_special 1

//******************************************************************************
// heavygunner class default loadout
//******************************************************************************
set class_heavygunner_primary saw
set class_heavygunner_primary_attachment none
set class_heavygunner_secondary usp
set class_heavygunner_secondary_attachment none
set class_heavygunner_perk1 specialty_specialgrenade
set class_heavygunner_perk2 specialty_armorvest
set class_heavygunner_perk3 specialty_bulletpenetration
set class_heavygunner_grenade concussion_grenade
set class_heavygunner_camo camo_none
set class_heavygunner_frags 1
set class_heavygunner_special 1

//******************************************************************************
// demolitions class default loadout
//******************************************************************************
set class_demolitions_primary winchester1200
set class_demolitions_primary_attachment none
set class_demolitions_secondary beretta
set class_demolitions_secondary_attachment none
set class_demolitions_perk1 rpg_mp
set class_demolitions_perk2 specialty_explosivedamage
set class_demolitions_perk3 specialty_longersprint
set class_demolitions_grenade smoke_grenade
set class_demolitions_camo camo_none
set class_demolitions_frags 1
set class_demolitions_special 1

//******************************************************************************
// sniper class default loadout
//******************************************************************************
set class_sniper_primary m40a3
set class_sniper_primary_attachment none
set class_sniper_secondary beretta
set class_sniper_secondary_attachment silencer
set class_sniper_perk1 specialty_specialgrenade
set class_sniper_perk2 specialty_bulletdamage
set class_sniper_perk3 specialty_bulletpenetration
set class_sniper_grenade flash_grenade
set class_sniper_camo camo_none
set class_sniper_frags 1
set class_sniper_special 1

set class_assault_movespeed 0.95
set class_specops_movespeed 1.00
set class_heavygunner_movespeed 0.875
set class_demolitions_movespeed 1.00
set class_sniper_movespeed 1.00

set scr_enable_nightvision 1
set scr_enable_music 1
set scr_enable_hiticon 1

//******************************************************************************
// Enables Dropping of Specified Weapon Class
//******************************************************************************
set class_assault_allowdrop 1
set class_specops_allowdrop 1
set class_heavygunner_allowdrop 1
set class_demolitions_allowdrop 1
set class_sniper_allowdrop 1

//******************************************************************************
// Assault Rifles
//******************************************************************************
set weap_allow_m16 1
set weap_allow_ak47 1
set weap_allow_m4 1
set weap_allow_g3 1
set weap_allow_g36c 1
set weap_allow_m14 1
set weap_allow_mp44 1

//******************************************************************************
// Assault Attachments
//******************************************************************************
set attach_allow_assault_none 1
set attach_allow_assault_gl 1
set attach_allow_assault_reflex 1
set attach_allow_assault_silencer 1
set attach_allow_assault_acog 1

//******************************************************************************
// SMG
//******************************************************************************
set weap_allow_mp5 1
set weap_allow_skorpion 1
set weap_allow_uzi 1
set weap_allow_ak74u 1
set weap_allow_p90 1

//******************************************************************************
// SMG Attachments
//******************************************************************************
set attach_allow_smg_none 1
set attach_allow_smg_reflex 1
set attach_allow_smg_silencer 1
set attach_allow_smg_acog 1

//******************************************************************************
// Shotguns
//******************************************************************************
set weap_allow_m1014 1
set weap_allow_winchester1200 1

//******************************************************************************
// Shotgun Attachments
//******************************************************************************
set attach_allow_shotgun_none 1
set attach_allow_shotgun_reflex 1
set attach_allow_shotgun_grip 1

//******************************************************************************
// LMG
//******************************************************************************
set weap_allow_saw 1
set weap_allow_rpd 1
set weap_allow_m60e4 1

//******************************************************************************
// LMG Attachments
//******************************************************************************
set attach_allow_lmg_none 1
set attach_allow_lmg_reflex 1
set attach_allow_lmg_grip 1
set attach_allow_lmg_acog 1

//******************************************************************************
// Sniper Rifles
//******************************************************************************
set weap_allow_dragunov 1
set weap_allow_m40a3 1
set weap_allow_barrett 1
set weap_allow_remington700 1
set weap_allow_m21 1

//******************************************************************************
// Sniper Attachments
//******************************************************************************
set attach_allow_sniper_none 1
set attach_allow_sniper_acog 1

//******************************************************************************
// Pistols
//******************************************************************************
set weap_allow_beretta 1
set weap_allow_colt45 1
set weap_allow_usp 1
set weap_allow_deserteagle 1
set weap_allow_deserteaglegold 1

//******************************************************************************
// Pistol Attachments
//******************************************************************************
set attach_allow_pistol_none 1
set attach_allow_pistol_silencer 1

//******************************************************************************
// Grenades
//******************************************************************************
set weap_allow_frag_grenade 1
set weap_allow_concussion_grenade 1
set weap_allow_flash_grenade 1
set weap_allow_smoke_grenade 1

//******************************************************************************
// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//******************************************************************************
set g_gametype "dm"


set sv_mapRotation "gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"
Also, I tried my map on at least 3 different servers; this is the first server's CFG.
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 12th, 2010, 3:26 am

Seems fine.

How many entities is your map using?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

_DanTheMan_
PC Team
PC Team
Posts: 294
Joined: September 6th, 2008, 2:14 am

Re: Problem with map loading (Only on CJBeta)

Post by _DanTheMan_ » April 12th, 2010, 9:17 pm

My map is using:
40 triggers
92 script_origins
~10-12 script_models/script_brushmodels
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 12th, 2010, 9:22 pm

Are you loading in developer mode?

Make sure developer is off.

This error is hardly seen in CoD4...

Also, is the server 1.7 patched?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

_DanTheMan_
PC Team
PC Team
Posts: 294
Joined: September 6th, 2008, 2:14 am

Re: Problem with map loading (Only on CJBeta)

Post by _DanTheMan_ » April 12th, 2010, 9:24 pm

I am not using developer mode.
Image

User avatar
TechPB
CJ Wannabe
CJ Wannabe
Posts: 31
Joined: January 31st, 2010, 11:27 pm

Re: Problem with map loading (Only on CJBeta)

Post by TechPB » April 12th, 2010, 9:30 pm

let me add that the server was on 1.7 (well at least mine)
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 12th, 2010, 9:36 pm

Ok, I would suggest removing the contents of sv_maprotation for now and just adding your own map to it.
I would also suggest compiling your map without any required entities.

Do you have server/game logs?
If not could you create some fresh ones.

Does the map load with the mod in a private Listen Server?
Does the map load in ModWarfare?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
TechPB
CJ Wannabe
CJ Wannabe
Posts: 31
Joined: January 31st, 2010, 11:27 pm

Re: Problem with map loading (Only on CJBeta)

Post by TechPB » April 16th, 2010, 12:57 am

Well, i tried to everything out of sv_maprotation except for "gametype dm mp_portal" but server would not work and i was told that it is not possible to run a server on only a custom map ..... so i fixed it
and then i loaded up the map through CoD rcon 11 and this is what i saw, no i could be pointing something out completely useless but hey its worth a shot :D so here is a screenshot of when i loaded it

Image
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 16th, 2010, 7:20 pm

That command is used by the game files to select an a string from the "Did You Know" table.
I did some quick reading and it turns out, that this error is normal.

How many IWD files are you listing in your mod folder?
Before the server crashes, try:
'fs_referencedlist'

And paste the outcome.
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

User avatar
TechPB
CJ Wannabe
CJ Wannabe
Posts: 31
Joined: January 31st, 2010, 11:27 pm

Re: Problem with map loading (Only on CJBeta)

Post by TechPB » April 16th, 2010, 9:00 pm

Image

^^
hope it helps
Image

User avatar
Drofder2004
Core Staff
Core Staff
Posts: 13315
Joined: April 13th, 2005, 8:22 pm
Location: UK, London

Re: Problem with map loading (Only on CJBeta)

Post by Drofder2004 » April 16th, 2010, 10:45 pm

I think we seriously are coming to an end of possibilities.

Can you tell me the exact file size of the mod.ff and the cj.iwd files?
Also, would you consider allowing me to try a local test on my own machine?
Image
Virgin Media 20Mb Broadband:
"Perfect for families going online at the same time, downloading movies, online gaming and more."
Borked internet since: 22-07-2010

Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests