Hi guys! I'm trying to set the server up but have been unsuccessful so far. The moment I try to set the map to coop the server crashes... It loads up to 21% and stops and gives an error. I've even tried the default config... Using the included launcher also fails. Ideas? Also, I have a suggestion for client launcher. It would be great if you could use dyndns addresses instead of ip numbers. Now it just outputs that you have to enter a valid ip.
 The updated client launcher (1.3) does support DNS hostnames... As for your server crashing, can you post whats in your debug log? "python/logs/bf2game_{todays_date}.log" [/html]
It's empty for some strange reason. I've been trying to figure out things from it too but couldn't since it was empty. I thought that it's because the folder contains spaces, but it isn't. I'm using it on Win 2008 r2 if that's of any significance.
 by default, the server wont log a thing. You will have to enable debugging in the BF2StatsticsConfig.py  Change "debug_enable = 0" to "debug_enable = 1" [/html]
I enabled it and it still doesn't log anything. Hmm... I've tried it on my gaming pc and it works... What are the requirements? I have vc++ 2005,08,10 net 4,5 on server
Server. Weird, I copied the files to my win7 pc and they work... Here's the appcrash log: Code: Problem signature: Problem Event Name: APPCRASH Application Name: Bf2_w32ded.exe Application Version: 0.0.0.0 Application Timestamp: 4a8d6779 Fault Module Name: Bf2_w32ded.exe Fault Module Version: 0.0.0.0 Fault Module Timestamp: 4a8d6779 Exception Code: c0000005 Exception Offset: 000029e7 OS Version: 6.1.7601.2.1.0.272.7 Locale ID: 1050 Additional Information 1: 0a9e Additional Information 2: 0a9e372d3b4ad19135b953a78882e789 Additional Information 3: 0a9e Additional Information 4: 0a9e372d3b4ad19135b953a78882e789 Read our privacy statement online: http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409 If the online privacy statement is not available, please read our privacy statement offline: C:\Windows\system32\en-US\erofflps.txt And here's the python log from python files from bf2statistics 1.5.1: Code: ============================================== BF2 Logging Started: 02/11/13 21:56:43 ============================================== Stat constants loaded scoring common init Persistant stats module initialized. End of round module initialized. Snapshot module initialized Medal awarding module initialized Global key string: &info=rank,ktm-,dfcp,rpar,vtm-,bksk,scor,wdsk,wkl-,heal,dsab,cdsc,tsql,tsqm,wins,vkl-,twsc,time,kill,rsup,tcdr,vac- Initializing unlock module... Unlock module initialized Fragalyzer log module initialized. warning: couldn't read "admin/default.cfg": [Errno 2] No such file or directory: 'admin/default.cfg' initializing default admin/rcon module initializing autobalance script initializing tk-punish script initializing player connect checking script gpm_coop.py initialized Player Manager module initialized Retrieving Profile ID (M. Hart) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=M.%20Hart&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999956 Will retrieve medals from GSI... roundMedals: {} Added player 255, M. Hart (28999956) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 850 Assembling STATS dictionary with 99 keys Processing STATS response for player 255, size 98. Key ktm-4 has value 589 Key ktm-5 has value 1253 Key ktm-6 has value 731 Key dfcp has value 0 Key ktm-0 has value 612 Key ktm-1 has value 423 Key ktm-2 has value 371 Key ktm-3 has value 1904 Key rpar has value 0 Key vtm-4 has value 451 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 1258 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 11 Key heal has value 0 Key wkl-5 has value 4 Key dsab has value 0 Key wkl-11 has value 2 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 11 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 255 Setting GSI rank 0 for player 255 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 176 Processing AWARDS response for player 255, size 4. Medal 2051919_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (T. Soderman) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=T.%20Soderman&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999935 Will retrieve medals from GSI... roundMedals: {} Added player 254, T. Soderman (28999935) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 857 Assembling STATS dictionary with 99 keys Processing STATS response for player 254, size 98. Key ktm-4 has value 41 Key ktm-5 has value 368 Key ktm-6 has value 451 Key dfcp has value 0 Key ktm-0 has value 1380 Key ktm-1 has value 587 Key ktm-2 has value 517 Key ktm-3 has value 588 Key rpar has value 0 Key vtm-4 has value 651 Key bksk has value 0 Key vtm-1 has value 806 Key vtm-0 has value 423 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 2 Key heal has value 0 Key wkl-5 has value 1 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 53 Key vkl-0 has value 3 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 254 Setting GSI rank 0 for player 254 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 151 Processing AWARDS response for player 254, size 3. Medal 2051907_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (R. Lopez) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=R.%20Lopez&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999904 Will retrieve medals from GSI... roundMedals: {} Added player 253, R. Lopez (28999904) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 855 Assembling STATS dictionary with 99 keys Processing STATS response for player 253, size 98. Key ktm-4 has value 547 Key ktm-5 has value 355 Key ktm-6 has value 347 Key dfcp has value 0 Key ktm-0 has value 905 Key ktm-1 has value 1514 Key ktm-2 has value 711 Key ktm-3 has value 1406 Key rpar has value 0 Key vtm-4 has value 421 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 974 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 6 Key heal has value 0 Key wkl-5 has value 0 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 0 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 253 Setting GSI rank 0 for player 253 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 151 Processing AWARDS response for player 253, size 3. Medal 2051919_1 not found in medal data. Medal 1261119_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (J. Andersson) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=J.%20Andersson&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999972 Will retrieve medals from GSI... roundMedals: {} Added player 252, J. Andersson (28999972) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 860 Assembling STATS dictionary with 99 keys Processing STATS response for player 252, size 98. Key ktm-4 has value 483 Key ktm-5 has value 1274 Key ktm-6 has value 301 Key dfcp has value 0 Key ktm-0 has value 2540 Key ktm-1 has value 851 Key ktm-2 has value 607 Key ktm-3 has value 130 Key rpar has value 0 Key vtm-4 has value 709 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 171 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 12 Key heal has value 0 Key wkl-5 has value 5 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 3 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 252 Setting GSI rank 0 for player 252 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 142 Processing AWARDS response for player 252, size 3. Medal 1261119_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (F. Morales) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=F.%20Morales&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999966 Will retrieve medals from GSI... roundMedals: {} Added player 251, F. Morales (28999966) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 851 Assembling STATS dictionary with 99 keys Processing STATS response for player 251, size 98. Key ktm-4 has value 152 Key ktm-5 has value 93 Key ktm-6 has value 607 Key dfcp has value 0 Key ktm-0 has value 334 Key ktm-1 has value 433 Key ktm-2 has value 0 Key ktm-3 has value 3108 Key rpar has value 0 Key vtm-4 has value 547 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 488 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 1 Key heal has value 0 Key wkl-5 has value 0 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 1 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 251 Setting GSI rank 0 for player 251 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 66 Processing AWARDS response for player 251, size 0. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (J. Persson) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=J.%20Persson&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999916 Will retrieve medals from GSI... roundMedals: {} Added player 250, J. Persson (28999916) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 859 Assembling STATS dictionary with 99 keys Processing STATS response for player 250, size 98. Key ktm-4 has value 127 Key ktm-5 has value 2226 Key ktm-6 has value 343 Key dfcp has value 0 Key ktm-0 has value 390 Key ktm-1 has value 1092 Key ktm-2 has value 1010 Key ktm-3 has value 3062 Key rpar has value 0 Key vtm-4 has value 888 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 902 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 2 Key heal has value 0 Key wkl-5 has value 3 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 4 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 250 Setting GSI rank 0 for player 250 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 66 Processing AWARDS response for player 250, size 0. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (R. Edgren) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=R.%20Edgren&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999946 Will retrieve medals from GSI... roundMedals: {} Added player 249, R. Edgren (28999946) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 864 Assembling STATS dictionary with 99 keys Processing STATS response for player 249, size 98. Key ktm-4 has value 230 Key ktm-5 has value 1488 Key ktm-6 has value 82 Key dfcp has value 0 Key ktm-0 has value 563 Key ktm-1 has value 1302 Key ktm-2 has value 1463 Key ktm-3 has value 3402 Key rpar has value 0 Key vtm-4 has value 623 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 668 Key vtm-3 has value 175 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 6 Key heal has value 0 Key wkl-5 has value 6 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 0 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 249 Setting GSI rank 0 for player 249 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 151 Processing AWARDS response for player 249, size 3. Medal 2051902_1 not found in medal data. Medal 1261113_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (B. Hedberg) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=B.%20Hedberg&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999905 Will retrieve medals from GSI... roundMedals: {} Added player 248, B. Hedberg (28999905) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 853 Assembling STATS dictionary with 99 keys Processing STATS response for player 248, size 98. Key ktm-4 has value 0 Key ktm-5 has value 328 Key ktm-6 has value 257 Key dfcp has value 0 Key ktm-0 has value 210 Key ktm-1 has value 397 Key ktm-2 has value 119 Key ktm-3 has value 2179 Key rpar has value 0 Key vtm-4 has value 351 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 266 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 0 Key heal has value 0 Key wkl-5 has value 2 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 2 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 248 Setting GSI rank 0 for player 248 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 91 Processing AWARDS response for player 248, size 1. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (C. Tou) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=C.%20Tou&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999970 Will retrieve medals from GSI... roundMedals: {} Added player 247, C. Tou (28999970) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 851 Assembling STATS dictionary with 99 keys Processing STATS response for player 247, size 98. Key ktm-4 has value 955 Key ktm-5 has value 1188 Key ktm-6 has value 325 Key dfcp has value 0 Key ktm-0 has value 338 Key ktm-1 has value 1489 Key ktm-2 has value 1003 Key ktm-3 has value 430 Key rpar has value 0 Key vtm-4 has value 936 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 694 Key vtm-3 has value 43 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 2 Key heal has value 0 Key wkl-5 has value 0 Key dsab has value 0 Key wkl-11 has value 2 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 1 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 247 Setting GSI rank 0 for player 247 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 66 Processing AWARDS response for player 247, size 0. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (B. Pajor) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=B.%20Pajor&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999950 Will retrieve medals from GSI... roundMedals: {} Added player 246, B. Pajor (28999950) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 853 Assembling STATS dictionary with 99 keys Processing STATS response for player 246, size 98. Key ktm-4 has value 402 Key ktm-5 has value 151 Key ktm-6 has value 429 Key dfcp has value 0 Key ktm-0 has value 312 Key ktm-1 has value 1216 Key ktm-2 has value 641 Key ktm-3 has value 1689 Key rpar has value 0 Key vtm-4 has value 340 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 0 Key vtm-3 has value 818 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 1 Key heal has value 0 Key wkl-5 has value 0 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 0 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 246 Setting GSI rank 0 for player 246 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 91 Processing AWARDS response for player 246, size 1. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (D. Gothberg) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=D.%20Gothberg&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999894 Will retrieve medals from GSI... roundMedals: {} Added player 245, D. Gothberg (28999894) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 856 Assembling STATS dictionary with 99 keys Processing STATS response for player 245, size 98. Key ktm-4 has value 801 Key ktm-5 has value 886 Key ktm-6 has value 152 Key dfcp has value 0 Key ktm-0 has value 907 Key ktm-1 has value 217 Key ktm-2 has value 916 Key ktm-3 has value 2822 Key rpar has value 0 Key vtm-4 has value 460 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 822 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 1 Key heal has value 0 Key wkl-5 has value 2 Key dsab has value 0 Key wkl-11 has value 3 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 4 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 245 Setting GSI rank 0 for player 245 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 91 Processing AWARDS response for player 245, size 1. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (J. Jonsson) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=J.%20Jonsson&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999930 Will retrieve medals from GSI... roundMedals: {} Added player 244, J. Jonsson (28999930) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 869 Assembling STATS dictionary with 99 keys Processing STATS response for player 244, size 98. Key ktm-4 has value 1367 Key ktm-5 has value 2877 Key ktm-6 has value 877 Key dfcp has value 0 Key ktm-0 has value 1069 Key ktm-1 has value 2876 Key ktm-2 has value 1919 Key ktm-3 has value 0 Key rpar has value 0 Key vtm-4 has value 1145 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 829 Key vtm-3 has value 43 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 17 Key heal has value 0 Key wkl-5 has value 7 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 6 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 244 Setting GSI rank 0 for player 244 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 167 Processing AWARDS response for player 244, size 4. Medal 1261119_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (S. Parkinson) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=S.%20Parkinson&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999893 Will retrieve medals from GSI... roundMedals: {} Added player 243, S. Parkinson (28999893) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 826 Assembling STATS dictionary with 99 keys Processing STATS response for player 243, size 98. Key ktm-4 has value 36 Key ktm-5 has value 0 Key ktm-6 has value 0 Key dfcp has value 0 Key ktm-0 has value 0 Key ktm-1 has value 0 Key ktm-2 has value 0 Key ktm-3 has value 0 Key rpar has value 0 Key vtm-4 has value 0 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 0 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 0 Key heal has value 0 Key wkl-5 has value 0 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 0 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 243 Setting GSI rank 0 for player 243 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 66 Processing AWARDS response for player 243, size 0. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (J. Biro) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=J.%20Biro&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999892 Will retrieve medals from GSI... roundMedals: {} Added player 242, J. Biro (28999892) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 836 Assembling STATS dictionary with 99 keys Processing STATS response for player 242, size 98. Key ktm-4 has value 249 Key ktm-5 has value 784 Key ktm-6 has value 0 Key dfcp has value 0 Key ktm-0 has value 489 Key ktm-1 has value 517 Key ktm-2 has value 395 Key ktm-3 has value 0 Key rpar has value 0 Key vtm-4 has value 244 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 0 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 6 Key heal has value 0 Key wkl-5 has value 2 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 0 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 242 Setting GSI rank 0 for player 242 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 116 Processing AWARDS response for player 242, size 2. Medal 1261120_1 not found in medal data. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (R. Linde) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=R.%20Linde&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999994 Will retrieve medals from GSI... roundMedals: {} Added player 241, R. Linde (28999994) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 844 Assembling STATS dictionary with 99 keys Processing STATS response for player 241, size 98. Key ktm-4 has value 0 Key ktm-5 has value 402 Key ktm-6 has value 0 Key dfcp has value 0 Key ktm-0 has value 1817 Key ktm-1 has value 43 Key ktm-2 has value 0 Key ktm-3 has value 2291 Key rpar has value 0 Key vtm-4 has value 494 Key bksk has value 0 Key vtm-1 has value 0 Key vtm-0 has value 296 Key vtm-3 has value 0 Key scor has value 0 Key wdsk has value 0 Key wkl-9 has value 5 Key heal has value 0 Key wkl-5 has value 0 Key dsab has value 0 Key wkl-11 has value 0 Key cdsc has value 0 Key tsql has value 0 Key tsqm has value 0 Key wins has value 0 Key vkl-1 has value 0 Key vkl-0 has value 9 Key vkl-3 has value 0 Key twsc has value 0 Key time has value 0 Key kill has value 0 Key rsup has value 0 Key tcdr has value 0 Found GSI rank 0 for player 241 Setting GSI rank 0 for player 241 Retrieving player AWARDS via HTTP/1.1 miniclient Received AWARDS data is VALID, lenght 66 Processing AWARDS response for player 241, size 0. Unlock module: onPlayerConnect Player Manager module initialized Retrieving Profile ID (J. VanRooyen) via HTTP/1.1 miniclient URI: /ASP/getplayerid.aspx?nick=J.%20VanRooyen&ai=1 Received PID data is VALID, length 25 Creating new record for player profileId 28999929 Will retrieve medals from GSI... roundMedals: {} Added player 240, J. VanRooyen (28999929) to medal/rank checking Getting Stats... Retrieving player STATS via HTTP/1.1 miniclient Received STATS data is VALID, length 852 Assembling STATS dictionary with 99 keys Processing STATS response for player 240, size 98. Key ktm-4 has value 49 Key ktm-5 has value 602 Key ktm-6 has value 607 Key dfcp has value 0 Key ktm-0 has value 127 Key ktm-1 has value 238 Key ktm-2 has value 683 Key ktm-3 has value 2006 Key rpar has value 0 Key vtm-4 has v
Ok. Here are the results of some testing I did. NONE of bf2statistics work. I've tried all versions one by one. 1.5.1 just logs what's happening, others won't even do that... The same copied configuration does work on windows 7 64bit. I think it's a problem with my installation of windows 2008 r2. The strange thing is the fact that this used to work. Oh well... I'm out of ideas... Did anyone here try to run this on windows 2008 r2 successfully? EDIT: I found out you need certain features turned on... I'll play a bit with it and post which ones... I'm not exactly sure about when will I post it since I have exams and have to study atm...
I will also do some research... but im sure you have a windows feature of some sort turned off. I forgot that new installations on windows server usually have all features disabled by default. BTW: that log that you posted from 1.5.1, says everything is working correctly ... when you see those really long results like that for each player, its a good sign
Ok. By trial and error I've discovered that I need something related to the "BranchCaching" feature. If I turn the service on, server starts. BUT!!! It eats up port 80 which I need for apache. I can install the "web server" role which makes the server run, but eats up the port 80 again... If I turn those services off, apache works but the server doesn't. There's something that those services do that enable the server but I have no idea what. It's something related to bf2statistics python scripts since the server freezes up and crashes ONLY when coop maps are started. I know that you can make it work by doing something that Windows 7 has enabled but I don't have enough time right now to research and I need port 80 available for apache. Any ideas?
You just have to give the server about 30-45 seconds after it first starts up the first few times. What is happening is, the Server is sending X number of requests to apache (X being the number of bots and players), and fetching the bots/player stats. The first few times you run the server, there is no data for most bots and players, therefor it needs to be created so apache can return the PID back to the server for each client. Once there is a PID and data for all the users and bots, the server will start much quicker, and will be alot less load on your apache server. And just a heads up... after each round, there is about 50 database queries for each player, to update their stats. On my PC (Win7 64 Bit, I-7 @ 3.6 GHz, 6GB Ram), it take sabout 15-25 seconds per round to update all the players. During this time when the Endofround data is sent to your ASP, your apache server will most likely be locked up due to the high demand of updating each and every player / Bot's round data. I average with about 32 players, anywhere from 1500 to 2000 database queries (1000+ just updating kill data). I will be releasing the new ASP v2.1.0 sometime later this month, and it will have an option to skip all the kill data, which in turn will really speed things up at the end of the round... but as a result, there will be no "Favorite Victim" and "Worst Enemy" stats...
Ok. I've overcomplicated things. I'm dumb... There was nothing wrong with Windows 2008. Bf2statistics DOESN'T work with apache 2.4.3 and/or PHP 5.4.11! That's why it doesn't work with the newest xampp releases either... It had never occured to me that this was my problem. Wamp bundled with the release has apache 2.2.22 and php 5.3.13 and that combination works. I don't know if it's the configuration or something, but the server simply crashes if another thing is used. I'll need to look this up more since I've accidentally got it to work by using php 5.2.something, but the server crashed on logon giving some cpp error telling me that gamespy host or something like that was at fault.
are you trying to run Xampp and your Windows Server Apache at the same time? If thats the case then yes, one of the apache servers will indeed crash. Do you mind also posting the contents on your "ASP/system/logs/php_errors.log" ? This will help me identify any php problems with php 5.4
Lol, just wanted to post this: Wamp doesn't work either... When I try to connect this pops out: I just installed xampp and stopped everything else (my own apache server from before). No go. (if I copy some php projects, they work, so xampp per se works) Installed wamp. No go. (the server pops up an error upon join) Xampp has the newest apache and php and it makes the server crash since I have a feeling that it can't sent & receive data from ASP for some strange reason. Wamp works until I try to join when it outputs the error on the server. So, here's what I do: 1. Install BF2 server 2. Install web & mysql server 3. Copy ASP to web server 4. Install db via bf2statistics web interface 5. copy the bf2statistics python folder into BF2 server folder and replace the original one (the launcher doesn't work if you have spaces in folder path so I do it manually, but that's not an issue, I think) 6. Start the server up 7. Copy the client launcher to game folder 8. start it and reroute it to server
I cant see the image you posted for some reason, says there is a redirect loop or some non-sense :S . If your server is crashing upon joining, then i honestly am not sure why its doing that. A good test, would be to restore the original server python (non-statistics), and try and join. If the server still crashes, then its definitely a server issue, not the python. *Edit: I installed php 5.4.11 on my wamp server, and tested my system config. Its was all go's ... so there should be no errors due to php version
This is tiring me out slowly... Just when I feel that it works, it doesn't... This is a huge post... where are spoilers? Here's the error: link about 20 seconds it pops up, the server crashes. When I restore the original python scripts, the game connects without a problem... I thought that the problem was with my rather old database content so I deleted it and used a new clean one which now miraculously doesn't crash the server (it did before). And it seems to work on any apache 2.2+, even 2.4.3 until I try to connect. (you can try this out and tell me if this is making your server crash but I don't think that this is to blame since wamp makes my server act the same way: link1 link2 link3) Bleh... Here's the appache connection log: link and this is when I use wamp: link Can you make something out of it? It seems normal to me. Thanks for all the help! I can give you a tw access if you'd like to try it out and have the time for it...