Welcome
Welcome to Hajas M0D1F1C4T10N5.

You are currently viewing our boards as a guest, which gives you limited access to view most discussions and access our other features.

By joining our free community, you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content, and access many other special features.

Registration is fast, simple, and absolutely free, so please, join our community today!

problem with custom maps

Call of Duty 4 : Modern Warfare gameplay Mod

problem with custom maps

Postby sup on Fri Sep 25, 2009 7:49 pm

In need of some help plz.
Got a problem, trying to run some custom maps on my server.
If i have the default map rotation that comes with frontlines, all is fine.
If i add a rcon command to change to one of the custom maps ive uploaded, server will load the map selected but only if i have the default rotation in.

rcon map mp_blackrock for example works
But wont if i put it in map rotation at begining of rotation.

when i add a custom map rotation, cant load the map.
client trying to connect at the end of the map upload, the map goes into a loop, and will not start the map up??

Here is the rotation i was tring to run.

Start game
set g_gametype "war"

small:
set hajas_small_rotation "map mp_blackrock map mp_homeroom gametype war map mp_arbor map mp_simpsons gametype war map mp_family_beta gametype dm map mp_poolday map mp_garena"

Default:
set sv_mapRotation "map mp_village map mp_ava_crossroads map mp_struggle map mp_vukovar map mp_apesgorod map mp_docks map mp_cc gametype war map mp_projectvalhalla map mp_inferno gametype assassin map mp_creek"

Both maps (mp_blackrock, mp_village) at start of map rotation can play gametype "war"
Dont see where the problem is?

Is the problem i have?? to add the game type in front of every map name??


example
small:
set hajas_small_rotation "gametype war map mp_ava_crossroads gametype dm map mp_blackrock gametype sd map mp_homeroom gametype war map mp_arbor gametype sab map mp_simpsons gametype war map mp_family_beta gametype dm map mp_poolday gametype dom map mp_garena"

I havent set it that way as i dont really want to force each map to just one gametype.
Of Course i will if that's the only way to do it.



Any help would be a god send....
sup
 
Posts: 21
Joined: Mon Sep 21, 2009 10:16 am

Re: problem with custom maps

Postby Hajas on Sat Sep 26, 2009 10:49 am

remember, put those maps on first will not make them load first since the rotation is random... probably is loading another map, that gives a error... please take a look on the console log for the errors...

I suggest you test all maps at home with the copy of the server files before upload, then will avoid server crash because bad maps...

and also don't forget to clean all the maps... no "source code" must be there or will destroy the logic and crash the server.

please give the error for the console.

cheers
Image
Hajas Mods | www.mods.hajas.org
User avatar
Hajas
Site Admin
 
Posts: 312
Joined: Mon Apr 07, 2008 3:43 pm
Location: Rio de Janeiro, Brasil

Re: problem with custom maps

Postby sup on Sat Sep 26, 2009 2:28 pm

no "source code"??
Not quite sure what you mean m8.

My Directory Structures

Maps In Redirect
.ff = http ://yoursite.com/cod4/usermaps/yournewmap/yournewmap.ff
.iwd = http ://yoursite.com/cod4/usermaps/yournewmap/yournewmap.iwd
.load = http ://yoursite.com/cod4/usermaps/yournewmap/yournewmap_load.ff

Maps In Server
.ff = cod4/usermaps/yournewmap/yournewmap.ff
.iwd = cod4/usermaps/yournewmap/yournewmap.iwd
.load = cod4/usermaps/yournewmap/yournewmap_load.ff

Maps In Client
.ff = cod4/usermaps/yournewmap/yournewmap.ff
.iwd = cod4/usermaps/yournewmap/yournewmap.iwd
.load = cod4/usermaps/yournewmap/yournewmap_load.ff

If i have the default map rotation that comes with frontlines, normal map, all is fine.
If i rcon change map to one of the modded ones, it works??
If i add that map in rotation, it doesn't work.
Lol! little frustrated to say the least. ill send you logs m8.
sup
 
Posts: 21
Joined: Mon Sep 21, 2009 10:16 am

Re: problem with custom maps

Postby sup on Sat Sep 26, 2009 9:01 pm

Sorted the problem, first thing i did was take out all the custom maps in game and also in Maps in Redirect.
After that i checked and cleaned the iwds that needed cleaning.
it was a map called mp_village, once i took that out of rotation all was good.
sup
 
Posts: 21
Joined: Mon Sep 21, 2009 10:16 am

Re: problem with custom maps

Postby Hajas on Mon Sep 28, 2009 8:14 am

clean his files then will work fine, we used at our server a lot... great to play Assassin/Spy. :wink:

unfortunatelly many great looking maps have serious code problems, which will causes crash to the servers, sometimes we can fix cleaning his files, sometimes not... :roll:

glad you solved the problem. :D

enjoy! :wink:
Image
Hajas Mods | www.mods.hajas.org
User avatar
Hajas
Site Admin
 
Posts: 312
Joined: Mon Apr 07, 2008 3:43 pm
Location: Rio de Janeiro, Brasil


Return to Frontlines

Who is online

Users browsing this forum: No registered users and 0 guests

cron