| Author |
Topic: Attemted to overrun string to va []. Please Help |
|
|
Category: CoD4 MP Mapping Posted: Monday, Jul. 16, 2012 09:16 am |
 |
Okay so I made 2 maps, both of them have no scripts or anything. They have models, but i'm not sure if they matter. When I start promod and I run my map, it works. But when I disconnect and start again, it gives me this error: Attemted to overrun string to va[]. So my map has to be the first map that is loaded to make it work. even if I start crash first, for example, I disconnect and then load my map, I get that error. Also, when I host my map in strat mode, and then make it custom_public, I get that error. I also tried my map on my friend's laptop but its the same situation on it. I cant release my map until I fix this. Please help! |
 |
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Monday, Jul. 16, 2012 09:37 am |
 |
ReDoX writes...Quote: Okay so I made 2 maps, both of them have no scripts or anything. They have models, but i'm not sure if they matter. When I start promod and I run my map, it works. But when I disconnect and start again, it gives me this error: Attemted to overrun string to va[]. So my map has to be the first map that is loaded to make it work. even if I start crash first, for example, I disconnect and then load my map, I get that error. Also, when I host my map in strat mode, and then make it custom_public, I get that error. I also tried my map on my friend's laptop but its the same situation on it. I cant release my map until I fix this. Please help!
This error is usually associated with an exploit whereby idiots crash a server with a command (I wont post it's exact details as it would educate those who don't know it). There is a server patch which fixes it for version 1.7.
However, in this instance, I would hazard a guess and say it has something to do with your map itself. So, let's get some details:
1) what is the name of your map?
2) You say your map doesn't have any scripts, so does that mean it doesn't have a level script at all? If so, please post it; If not, please make one and try again.
3) Just to eliminate that it isn't an exploit being used - did you attempt to run your map from the map vote menu?
4) what version of COD4 are you running?
|
 |
|
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Monday, Jul. 16, 2012 12:33 pm |
 |
ReDoX writes...Quote: Okay first of all, I dont think its a server problem. I get that error even if no one is in my game.
1) mp_scope_arena_v3
2) My gsc:
main()
{
game["allies"] = "marines";
game["axis"] = "opfor";
game["attackers"] = "axis";
game["defenders"] = "allies";
game["allies_soldiertype"] = "desert";
game["axis_soldiertype"] = "desert";
setdvar( "r_specularcolorscale", "1" );
setdvar("compassmaxrange","2000");
}
3) No, I just launched promod and typed in console: "devmap mp_scope_arena_v3"
4) 1.7 (Obviously xD)
You say it works with promod, so please describe for me exactly what you do to cause the error - when you don't use promod. Give me a blow-by-blow description. What mod do you use if you don't use promod?
|
 |
|
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Monday, Jul. 16, 2012 01:38 pm |
 |
ReDoX writes...Quote: It works in everything, all the promods, codjumper and ModWarfare. But it only works if its the first map loaded after aunching the game. If its the second map, I get that error. I also get it when I load the map in promod in strat mode and then while the map is on, change it to custom_public. So I can't do map_restart I can only do fast_restart. I cant change the promod mode, cant change the gametype and I cant host in another mod after loading once. I have to restart my game.
Then it sounds like its the name of the map. Too many underscores. Try changing the name of the map, and don't use underscores.
Typically, Linux servers don't like underscores in map names. And on Windows servers, underscores add to the total string length and thereby surpass the max string lengths.
BTW - I have never head of the command custom_public. Is that a promod thing? Because it certainly isn't a stock command. |
 |
|
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Monday, Jul. 16, 2012 01:55 pm |
 |
ReDoX writes...Quote: Ya custom_public is a mode in promod. The command is:
"promod_mode custom_public". Its default is "strat" which allows you to train your nades, save positions, spawn training dummies, etc. And custom_public is a normal mode. And for the name thing, my second map is called mp_bounce1 (Just a test for bounces). I have an empty gsc for that and when I build its fastfile, I get no errors at all. But still I have the same problem with the map.
Could you send me via PM both the maps? I'll have a deeper look and see if I can identify the problem. |
 |
|
|
|
|
|
| Tally |
General Member Since: Apr 21, 2005 Posts: 819 Last: Oct 26, 2012 [view latest posts] |
|
|
|
Category: CoD4 MP Mapping Posted: Monday, Jul. 16, 2012 02:15 pm |
 |
ReDoX writes...Quote: The maps are attached
No. I want to test the map; not compile it. Please send me the compiled fastfiles.
BTW - what the hell is a .LIN file? Never heard of it. |
 |
|
|
|
|
mp_TempleCall of Duty: Mods: Multiplayer (624.12Kb)
|