Battlefield 2/AIX2 mod set up

Ask questions about dedicated servers here and we and other users will do our best to answer them. Please also refer to the self-help section for tutorials and answers to the most commonly asked questions.
Post Reply
cleerider
New to forums
New to forums
Posts: 5
https://www.youtube.com/channel/UC40BgXanDqOYoVCYFDSTfHA
Joined: Sun Nov 06, 2011 12:27 pm

Battlefield 2/AIX2 mod set up

Post by cleerider »

Trying to get the AIX2 mod up and running. The box runs fine until we switch it over through the BF2CCD to the AIX2 mod. After I set up & restart I get this message in the daemon log "BF2 process has stopped on Map: Unable to Query Map Name".
cleerider
New to forums
New to forums
Posts: 5
Joined: Sun Nov 06, 2011 12:27 pm

Re: Battlefield 2/AIX2 mod set up

Post by cleerider »

Image
User avatar
Edge100x
Founder
Founder
Posts: 13129
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Battlefield 2/AIX2 mod set up

Post by Edge100x »

It seems to be indicating that you don't have a valid mapcycle set up. Did you add maps under the AIX2 mod using the daemon?
cleerider
New to forums
New to forums
Posts: 5
Joined: Sun Nov 06, 2011 12:27 pm

Re: Battlefield 2/AIX2 mod set up

Post by cleerider »

Actually it does register maps if I change the confile to the maplist but the problem seems to lie with the bf2cc daemon. In the bf2cc i cannot start or stop the server change mods or change the rotation of maps it seems to not be able to write to the confiles for the map[list or serversettings and can't start or stop the server. here is the errors i got so far in the bf2cc client when i try to restart server

[9:09:37 PM] ERROR in BF2CC.cls_Globals.StartBF2Server - This process is not in a stopped state and cannot be started.

Exception killing process: System.InvalidOperationException: Couldn't get process information from remote machine. ---> System.ComponentModel.Win32Exception: Access is denied
at System.Diagnostics.PerformanceMonitor.GetData(String item)
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String item)
at System.Diagnostics.PerformanceCounterLib.get_CategoryTable()
at System.Diagnostics.PerformanceCounterLib.GetPerformanceData(String[] categories, Int32[] categoryIndexes)
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
--- End of inner exception stack trace ---
at System.Diagnostics.NtProcessManager.GetProcessInfos(PerformanceCounterLib library)
at System.Diagnostics.NtProcessManager.GetProcessInfos(String machineName, Boolean isRemoteMachine)
at System.Diagnostics.ProcessManager.GetProcessInfos(String machineName)
at System.Diagnostics.Process.GetProcesses(String machineName)
at System.Diagnostics.Process.GetProcesses()
at BDSoft.BF2.Server.Globals.ProcessManager.Kill()
User avatar
Edge100x
Founder
Founder
Posts: 13129
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Battlefield 2/AIX2 mod set up

Post by Edge100x »

That appears to be a client error. Are you running the very latest client? Are you connecting in daemon mode or rcon mode?
cleerider
New to forums
New to forums
Posts: 5
Joined: Sun Nov 06, 2011 12:27 pm

Re: Battlefield 2/AIX2 mod set up

Post by cleerider »

I am not sure if i am running the latest Bf2cc client but i believe so and connecting by daemon not rcon
cleerider
New to forums
New to forums
Posts: 5
Joined: Sun Nov 06, 2011 12:27 pm

Re: Battlefield 2/AIX2 mod set up

Post by cleerider »

I re-downloaded the latest from bf2cc.com the client just to verify and it gives the same errors
this is what concerns me is this part of the error---> System.ComponentModel.Win32Exception: Access is denied
almost as if the the files are locked from being controlled from outside by the client and/or not writable
User avatar
Edge100x
Founder
Founder
Posts: 13129
Joined: Thu Apr 18, 2002 11:04 pm
Location: Seattle
Contact:

Re: Battlefield 2/AIX2 mod set up

Post by Edge100x »

If this is a managed server and if you open up a support request, I can try to duplicate what you're seeing and see if I can find something out of order on the server side.

The daemon is what initially starts the server and it owns all the files, so it should not have a permissions problem. It is possible that the error you are seeing is caused by the BF2 server crashing/freezing when the mod does not load correctly.
Caliban55
This is my homepage
This is my homepage
Posts: 439
Joined: Sat Sep 04, 2010 10:20 am
Location: Cologne, Gemany
Contact:

Re: Battlefield 2/AIX2 mod set up

Post by Caliban55 »

Common problem with bf2cc, the daemon profiles get corrupted and need to be created again.

Try to delete all the existing profiles for the bf2ccdaemon. After starting bf2ccdaemon again, a new default profile will be created automatically. Leave this profile alone and imediatley create a new profile (name it propably aix2, or whatever you prefer). Choose the correct mod and create a maplist.

Side note:
bf2cc was propably the worst graphic interface ever created for bf2 and far from a blessing, it is bug riddled and was running far from stable, especially in combination with mods. If you can, try to run the server without bf2cc and use rcon administration instead and for player managment the Punkbuster Webtool (as you can read, I am not a fan of bf2cc, and can't recommend it at all :evil: ).

Start the server with bf2_w32ded.exe +modPath mods/"path to your mod", for example

bf2_w32ded.exe +modPath mods/aix2

If you need some help, let me know.
Post Reply