Home Forums Downloads Links Account Supporters News Search Contact



 


Search for at
eXtreme+ Mod Site Advanced Search


 
Recent Topics   Next 6 >>  
 Forum   Author   Replies   Last Post 
Call of Duty Black Ops MP Annoucement Aug. 19th, 2010 Call of Duty : Black Ops News {PST}*Joker 15 Sat Sep 04, 2010 1:31 pm
lodscarecrow View latest post
eXtreme+ 2.6 is Released eXtreme+ COD2 Release Information PatmanSan 35 Mon Aug 16, 2010 11:51 pm
PatmanSan View latest post
Best Resources on the Net eXtreme General Discussion {PST}*Joker 6 Mon Aug 17, 2009 1:21 am
Wizard220 View latest post
Help Please! eXtreme General Discussion ucjohn 8 Thu Sep 09, 2010 12:30 am
{PST}*Joker View latest post
X4 V3.0 Status? X4 COD4 Release Information akillj360 85 Wed Sep 08, 2010 11:12 pm
{PST}*Joker View latest post
'One in the Chamber' for Call of Duty 2 eXtreme+ COD2 Suggestions nemesharcos 0 Wed Sep 08, 2010 3:11 pm
nemesharcos View latest post

can't seem to change config

 
eXtreme+ Mod Site Forum Index -> eXtreme+ COD2 Support
Post new topic   Reply to topic   printer-friendly view
View previous topic :: View next topic  
Author Message


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Sun Jul 04, 2010 6:12 pm Post subject: can't seem to change config Reply with quote

As I'm totally new to this, hopefully I'm doing something stupid and there's a simple answer.

I'm trying to change the default config to enable sprinting. So in the player.cfg file, I change the settings to look like this:

Code:
// enable sprinting, enabled by moving and pressing the USE key, if you don't like having
// the use key set for sprinting, you can mimmick the old CODUO ALT key for sprinting by
// setting you ALT key as an alternative key for USE, it does work!
// 0 = disabled (default)
// 1 = while standing only
// 2 = standing and crouching
// 3 = standing, crouching and while prone
set ex_sprint "1"


I then launch the game, and create a server. However as the map loads I see "menu_sprinting disabled", and sprinting doesnt work during the game.

What am I doing wrong?
Back to top
View user's profile Send private message


ReaKtor
Colonel
Colonel

Joined: Jul 28, 2007
Posts: 415
Location: Houston, Texas

Status: Offline
PostPosted: Sun Jul 04, 2010 7:01 pm Post subject: Re: can't seem to change config Reply with quote

Lisa hehe ya i.m. old. You can't start an eXtreme+ server using the ingame "start a new server" gimmick. That method gives you no control over the command line which is required to start a modded server.

Try this:


The very best way is to make a complete COPY of the the /Activision/ Call of Duty 2 / directory and rename it for exclusive use by the server.

INSTRUCTIONS:

Create this directory:

/Program Files/Activision/Call of Duty 2 Server

Then COPY all the files from the original /Program Files/Activision /Call of Duty 2. Making this copy will take some time.

This creates a clean copy of the game from which to run your server. This method prevents some errors like not being able to find your server on the LAN server list (which happens often if you run the server and the game from the same directory). It also separates the /main maps that you download when playing from the maps that the server has in its /main directory.

After you have your server directory made you need to make an icon to start the server. In Windows Explorer navigate to /Program Files/Activision /Call of Duty Server. Right click on the CoD2MP_s.exe and drag it out to your desktop. Select "Create Shortduts Here". DO NOT MOVE the file. Right clic on the new icon and select 'Rename'. Rename the icon "CoD2 1.3 Server". Now you have a place to put your command line.

Then Right Click the new icon and select 'Properties. The Target  line is where you put the server command llne. Make it look like this:

"C:\Program Files\Activision\Call of Duty 2 1.0 Server\CoD2MP_s.exe" +set dedicated 2 +set fs_game kra +exec server.cfg +map_rotate

kra is my fs_game directory  - change this to be your fs_game subdirectory (where you installed eXtreme).

Before you start your server clean up the maps in /main. It is best to start with the stock maps so delete the custom maps in /main.

When you double click on the new icon a server window should open with a command input line at the bottom. Type 'status' there and the server should respond with a map and player list.

To join your new server start the game as you normally would from the original icon and in the server list you should find your server on the "Local" list.

Just to show you what can be done - On my computer I have these directories:

/Program Files/Activision/Call of Duty 2
/Program Files/Activision/Call of Duty 2 Server
/Program Files/Activision/Call of Duty 2 1.0
/Program Files/Activision/Call of Duty 2 1.0 Server


That gives me player and server versions for both C0D2 v1.0 and CoD2 v1.3

There is more but that should get you started.

Good Luck.


Last edited by ReaKtor on Mon Jul 05, 2010 12:17 am; edited 1 time in total
Back to top
View user's profile Send private message Send e-mail MSN Messenger


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Sun Jul 04, 2010 8:32 pm Post subject: Re: can't seem to change config Reply with quote

ReaKtor wrote (View Post):
You can't start an eXtreme+ server using the ingame "start a new server" gimmick. That method gives you no control over the command line which is required to start a modded server.

Try this:


The very best way is to make a complete COPY of the the /Activision/ Call of Duty 2 / directory and rename it for exclusive use by the server.

INSTRUCTIONS:

Create this directory:

/Program Files/Activision/Call of Duty 2 Server

Then COPY all the files from the original /Program Files/Activision /Call of Duty 2. Making this copy will take some time.

This creates a clean copy of the game from which to run your server. This method prevents some errors like not being able to find your server on the LAN server list (which happens often if you run the server and the game from the same directory). It also separates the /main maps that you download when playing from the maps that the server has in its /main directory.

After you have your server directory made you need to make an icon to start the server. In Windows Explorer navigate to /Program Files/Activision /Call of Duty Server. Right click on the CoD2MP_s.exe and drag it out to your desktop. Select "Create Shortduts Here". DO NOT MOVE the file. Right clic on the new icon and select 'Rename'. Rename the icon "CoD2 1.3 Server". Now you have a place to put your command line.

Then Right Click the new icon and select 'Properties. The Target  line is where you put the server command llne. Make it look like this:

"C:\Program Files\Activision\Call of Duty 2 1.0 Server\CoD2MP_s.exe" +set dedicated 2 +set fs_game kra +exec server.cfg +map_rotate

kra is my fs_game directory  - change this to be your fs_game subdirectory (where you installed eXtreme).

Before you start your server clean up the maps in /main. It is best to start with the stock maps so delete the custom maps in /main.

When you double click on the new icon a server window should open with a command input line at the bottom. Type 'status' there and the server should respond with a map and player list.

To join your new server start the game as you normally would from the original icon and in the server list you should find your server on the "Local" list.

Just to show you what can be done - On my computer I have these directories:

/Program Files/Activision/Call of Duty 2
/Program Files/Activision/Call of Duty 2 Server
/Program Files/Activision/Call of Duty 2 1.0
/Program Files/Activision/Call of Duty 2 1.0 Server


That gives me player and server versions for both C0D2 v1.0 and CoD2 v1.3

There is more but that should get you started.

Good Luck.



thanks very much for taking the time to reply, that clarified things. I think my issue is that I'm running the game on Mac, and I don't know how/if I can launch the server with those specific parameters. I see it's possible on Linux but I can't find any Mac-specific info.
Back to top
View user's profile Send private message


ReaKtor
Colonel
Colonel

Joined: Jul 28, 2007
Posts: 415
Location: Houston, Texas

Status: Offline
PostPosted: Sun Jul 04, 2010 8:46 pm Post subject: Re: can't seem to change config Reply with quote

I am sure there is a place to put the command line parameters on a mac but I have not had a Mac computer since the Lisa  - hehe.

On a Mac the same deal applies about copying the files  - we did that to get a dual install of 1.0 and 1.3 --

And on a  Mac the target  parameters are called preferences and they are in the Preferences file.... ...

Try finding the Preferences file  - see this:

http://guides.macrumors.com/Preference_File
Back to top
View user's profile Send private message Send e-mail MSN Messenger


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Sun Jul 04, 2010 11:10 pm Post subject: Re: can't seem to change config Reply with quote

the Lisa.... wow, that's going back more than I care to remember Smile

anyway, I've made some progress - it's possible to pass the parameters to the server from the Terminal using this command:

Code:
/Applications/Call\ Of\ Duty\ 2/Call\ of\ Duty\ 2\ Multiplayer.app/Contents/MacOS/Call\ of\ Duty\ 2\ Multiplayer +set fs_game esp +set dedicated 1 +exec server.cfg +map_rotate +set sv_punkbuster 1


The COD2 console pops up, and I type status and I can see the server is running

The problem I'm now having is that when I try to join a game none of the other machines on the LAN can see the server... (I only want to play LAN games)

On the client machines I have set the source to Local, Connection LAN/Cable/DSL.... but nothing appears.
Back to top
View user's profile Send private message


ReaKtor
Colonel
Colonel

Joined: Jul 28, 2007
Posts: 415
Location: Houston, Texas

Status: Offline
PostPosted: Sun Jul 04, 2010 11:57 pm Post subject: Re: can't seem to change config Reply with quote

You should not have to portforward on a LAN but routers are funny and you may nave to allow the game access in the router....

also you don't need pb so set sv_punkbuster 0

But here are my notes for routers and LAN anyhow:

this is the command line for my client with passwords for private slot and console:
//create another icon on the desktop for multiplayer and open the properties window by right cliking.
//the command line should be in that window   add the stuff to it to make it look like this:

//"C:\Program Files\Activision\Call of Duty 2\CoD2MP_s.exe" +password jubal +rcon login password +connect localhost:28960

// yours should look similar  you can change the password  jubal  (this is the privateslot pw)  and rcon  password to any thing u like  but keep them short  8 chachacters at most


//  28960  is the port for cod2  dont change it    u must open ports in your modem   that is  open ports 28960  in your router
//open ports 28960 to 28970 if u want more than one server running (must be on the same computer) or have other computers on your internal network to play on them  just increment the port # for each computer program 28961 28962 etc.
//  20500 and 20510    must also be opened
// each router is different and thats the hard part!!!!   Get your router manual or see www.portforward.com
//Set your router to allow COD2 game program  thru if it has that option - -  

//LAN SERVER
// ***************************************************
// for a LAN server use set dedicated 1 and skip the port forwarding (u dont need open ports on a lan)
Back to top
View user's profile Send private message Send e-mail MSN Messenger


PatmanSan
eXtreme+ Support Crew
eXtreme+ Support Crew

Joined: Jul 23, 2007
Posts: 1997
Location: The Netherlands

Status: Offline
PostPosted: Mon Jul 05, 2010 7:19 am Post subject: Re: can't seem to change config Reply with quote

Hi ReaKtor! Good to see your COD2 skills haven't faded.

ReaKtor wrote (View Post):
You can't start an eXtreme+ server using the ingame "start a new server" gimmick. That method gives you no control over the command line which is required to start a modded server.


Now this is not entirely accurate. In fact, you CAN run eXtreme+ (or any other mod for that matter) in local mode using the "Start New Server" menu item. It requires a shortened command line, and a small modification in the server.cfg.

After making the clean copy of the game and the shortcut icon for the server, make the target line of the shortcut look like this:

<PATH_TO_YOUR_SERVER_DIR>\CoD2MP_s.exe +set sv_punkbuster 0 +set fs_game e26 +exec server.cfg

Then edit the server.cfg in the fs_game folder (e26 in this example), and disable the dedicated setting:

// Server Network Mode
//set dedicated "2"          // 0 = Listen, 1 = LAN, 2 = Internet

Now you can double-click the shortcut, and select "Start New Server" from the menu. You will notice that the mod is already activated. Just select a map from the list, and click Start.
Back to top
View user's profile Send private message


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Mon Jul 05, 2010 8:46 am Post subject: Re: can't seem to change config Reply with quote

thanks for all the info.

I managed to get the clients to connect by using the parameter +connect 192.168.0.40:28960
Back to top
View user's profile Send private message


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Tue Jul 06, 2010 10:40 am Post subject: Re: can't seem to change config Reply with quote

Just thought I'd do a quick recap of everything I've learned the last few days, in case there are any other Mac users wanting to get this up and running. There may well be more clever ways of doing this, but it works for me (using a LAN).

Using Mac OSX Snow Leopard 10.6 (will work on Leopard as well)

1 - Download eXtreme+ v2.6 (zip file) and follow steps 6.1 - 6.3 in the Quick Setup Guide.

2 - Create a text file, and paste the following code (altering server ip address/port and foldername to suit your setup):

Code:
/Applications/Call\ Of\ Duty\ 2/Call\ of\ Duty\ 2\ Multiplayer.app/Contents/MacOS/Call\ of\ Duty\ 2\ Multiplayer +set fs_game <foldername> +set dedicated 1 +exec server.cfg +map_rotate +set net_ip 192.168.0.40 +set net_port 28960 +set sv_punkbuster 0


3 - Save the file with the extension .command

4 - Open a terminal window, type
Code:
chmod +x

Drop the .command file you've just created on to the window, and the path to the file should auto complete. Press enter. You now have an executable shortcut that can be used to start the server.

5 - To create a shortcut for clients to join the server, repeat steps 2-4, using the following code:

Code:
/Applications/Call\ Of\ Duty\ 2/Call\ of\ Duty\ 2\ Multiplayer.app/Contents/MacOS/Call\ of\ Duty\ 2\ Multiplayer +connect 192.168.0.40:28960


6 - If you want to load a custom config file (useful for maintaining player names and key bindings etc), create the config file and place it in the "main" folder. Then add the following parameter to the client code:

Code:
+exec playerconfig.cfg


7 - If you wish to run a client and server on the machine, as recommended by ReaKtor simply make a duplicate of the entire Call of Duty 2 folder, and update your client shortcut accordingly. I didn't bother trying to get the file downloading working, I just copied the eXtreme files to all the clients.

Hope that's of some help to someone, and if anyone knows any better ways of doing things I'd be happy to hear about it.  Smile
Back to top
View user's profile Send private message


nitefox2
Private
Private

Joined: Nov 30, 2009
Posts: 41


Status: Offline
PostPosted: Tue Jul 27, 2010 7:23 pm Post subject: Re: can't seem to change config Reply with quote

Bandido I followed your instructions in your last post, but I cant get it to work. After typing  chmod +x in the terminal I get the following text:

usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a  [i][# [ n]]] mode|entry file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...

I then drag the .command file into the terminal, and hit enter. It says :permission denied.
I tried adding sudo in front of the command and it says :command not found.

How can I get around this?
Back to top
View user's profile Send private message


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Wed Jul 28, 2010 11:00 pm Post subject: Re: can't seem to change config Reply with quote

nitefox2 wrote (View Post):
Bandido I followed your instructions in your last post, but I cant get it to work. After typing  chmod +x in the terminal I get the following text:

usage: chmod [-fhv] [-R [-H | -L | -P]] [-a | +a | =a  [i][# [ n]]] mode|entry file ...
chmod [-fhv] [-R [-H | -L | -P]] [-E | -C | -N | -i | -I] file ...

I then drag the .command file into the terminal, and hit enter. It says :permission denied.
I tried adding sudo in front of the command and it says :command not found.

How can I get around this?


add a space before dropping the file onto the window. so the code should look something like this:
Code:
chmod +x /path/to/your/file.command
Back to top
View user's profile Send private message


nitefox2
Private
Private

Joined: Nov 30, 2009
Posts: 41


Status: Offline
PostPosted: Thu Jul 29, 2010 2:35 am Post subject: Re: can't seem to change config Reply with quote

I tried that but it does do anything when I hit enter. I tried just running the .command file by itself and it says:

/Users/jr/Desktop/COD2.command ; exit;
/Users/jr/Desktop/COD2.command: line 1: mod26: No such file or directory
logout

This is the contents of the .command file:
/Applications/Call\ Of\ Duty\ 2/Call\ of\ Duty\ 2\ Multiplayer.app/Contents/MacOS/Call\ of\ Duty\ 2\ Multiplayer +set fs_game <mod26> +set dedicated 1 +exec server.cfg +map_rotate +set net_ip 76.97.58.03 +set net_port 28960 +set sv_punkbuster 0
Back to top
View user's profile Send private message


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Thu Jul 29, 2010 7:30 am Post subject: Re: can't seem to change config Reply with quote

nitefox2 wrote (View Post):
I tried that but it does do anything when I hit enter. I tried just running the .command file by itself and it says:

/Users/jr/Desktop/COD2.command ; exit;
/Users/jr/Desktop/COD2.command: line 1: mod26: No such file or directory
logout

This is the contents of the .command file:
/Applications/Call\ Of\ Duty\ 2/Call\ of\ Duty\ 2\ Multiplayer.app/Contents/MacOS/Call\ of\ Duty\ 2\ Multiplayer +set fs_game <mod26> +set dedicated 1 +exec server.cfg +map_rotate +set net_ip 76.97.58.03 +set net_port 28960 +set sv_punkbuster 0


ok, the chmod has been successful. But you have an error in your code - just remove the brackets around <mod26>
Back to top
View user's profile Send private message


nitefox2
Private
Private

Joined: Nov 30, 2009
Posts: 41


Status: Offline
PostPosted: Sun Aug 01, 2010 4:01 am Post subject: Re: can't seem to change config Reply with quote

Im still not having any luck. I removed the <>, and when I enter the line in terminal and hit enter nothing happens. When I run the .command file by itself it loads the console, but it doesn't work. The console has several errors:
It cant assign the requested IP address
Cant allocate IP Port
Unknown command "/Applications/Call'
couldn't exec server.cfg
No map specifies in sv_mapRotation - forcing map_restart.
server is not running

My Mod folder is copied over from my Windows side which is working fine.
Back to top
View user's profile Send private message


bandido
Private
Private

Joined: Jul 04, 2010
Posts: 13


Status: Offline
PostPosted: Wed Aug 04, 2010 12:36 am Post subject: Re: can't seem to change config Reply with quote

nitefox2 wrote (View Post):
Im still not having any luck. I removed the <>, and when I enter the line in terminal and hit enter nothing happens.


that's fine - if the chmod has worked it just goes to the next line when you press enter. The fact that when you click on the .command file it launches the console shows that you did it correctly.

As for the other problems, I have 2 suggestions - firstly, download a fresh, unaltered copy of the mod and work with that. Also try to get it working on a LAN first before you try to enable it over the net (by putting in the local ip address of your machine).

Double check the code in the command file - perhaps you have a different path to the application than the one I used.
Back to top
View user's profile Send private message
Display posts from previous:
Post new topic  Reply to topic   printer-friendly view   Time synchronized with your computer time
eXtreme+ Mod Site Forum Index ->  eXtreme+ COD2 Support
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




  Multi T3 Theme By Clan Themes 2007


 

Spambot Killer
Site Map

[News Feed] [Forums Feed] [Downloads Feed] [Web Links Feed] [Validate robots.txt]


PHP-Nuke Copyright © 2006 by Francisco Burzi.
All logos, trademarks and posts in this site are property of their respective owners, all the rest © 2006 by the site owner.
Powered by Nuke-Evolution.

This site is cached. Click here to update the cache.
[ Page Generation: 0.80 Seconds | Memory Usage: 8.76 MB | DB Queries: 73 ]

Do Not Click
All content © 2007 - 2010 eXtreme+ Mod Website Home | Forums | Downloads | Links | Account | Supporters | News | Search | Contact | Back To Top