Page 1 of 1

Please Help Me With My SWBF1 Server

Posted: Sat Oct 18, 2008 10:01 am
by SG-17
On my Windows Vista laptop I can run the server using the GUI perfectly fine, however when I try to run it as a batch server, I get the "battlefront has stopped working" message. I've checked and double checked the command line and it is perfect.

Oh and on my Windows 98 PC I can't run it at all, I get an Illegal Operation Error:
This program has performed an illegal operation and will be shut down.
Expaned:
BATTLEFRONT caused an invalid page fault in
module <unknown> at 0000:206e7761.
Registers:
EAX=0237fd00 CS=017f EIP=206e7761 EFLGS=00010246
EBX=0237fd00 SS=0187 ESP=02280038 EBP=02280058
ECX=022800dc DS=0187 ESI=817ee030 FS=33e7
EDX=bff76855 ES=0187 EDI=02280104 GS=0000
Bytes at CS:EIP:

Stack dump:
bff76849 02280104 0237fd00 02280120 022800dc 02280210 bff76855 0237fd00 022800ec bff87fe9 02280104 0237fd00 02280120 022800dc 206e7761 022802c8
Im starting to get really pissed now. I can't run a 24/7 server on my laptop, but I would be able to on my PC if I could get it working.

Re: Please Help Me With My SWBF1 Server

Posted: Sat Oct 18, 2008 12:38 pm
by BattleBelk
not sure if possible run it on Windows 98

post your commandline, maybe your commandline is too long couse cmd have limited length

I used .bat file for my clan its useful thing its possible set it with auotrestart and if use quotes in server name it may be without underline

bellow some example

Code: Select all

:autorestart
battlefront.exe /win /norender /autonet dedicated /resolution 320 240 /nosound /tps 30 /noaim /gamename "Server name without underline" /playerlimit 32 /playercount 0 /bots 4 /difficulty 2 /throttle 3072 /spawn 0 /randomize kam1c 200 200 rhn2a 200 200 rhn2c 200 200 tat3a 200 200 tat3c 200 200 kas2i 200 200 kas2c 200 200 bes2a 200 200 bes2r 200 200 yav2i 200 200 hot1i 200 200
goto autorestart

Re: Please Help Me With My SWBF1 Server

Posted: Sat Oct 18, 2008 3:26 pm
by SG-17
This is my command line:

Code: Select all

"C:\Users\Daniel\Desktop\Star Wars Battlefront PS2 Server\battlefront.exe" /win /norender /autonet dedicated /resolution 320 240 /gamename {TNT}Battlegrounds /playerlimit 32 /playercount 1 /bots 0 /noaim /noteamdamage /sideselect /difficulty 3 /bootlagger 300 /throttle 384 /spawn 3 /netregion NA  bes2a 999 999 bes1a 999 999 rhn1i 999 999 rhn2a 999 999 tat1i 999 999 hot1i 999 777 kas2c 999 999 geo1r 999 777 kas1i 999 888  
Just so its clear, it is a PS2 server. The above is the cmd line in my .bat file.

The thing is I can run a SWBF2 server perfectly on my Win 98 PC.

Re: Please Help Me With My SWBF1 Server

Posted: Sat Oct 18, 2008 5:28 pm
by BattleBelk
"bootlagger", "/spawn" is wrong parameters for SWBF1 PS2 server

download Process Explorer

setup server in GUI, launch, find in Process Explorer your server process "battlefront.exe" -> Properties -> Image
copy commandline parameters from here

edit it and add some addtional parameters: /noaim /tps 30

and I think "/throttle 384" (Hosting bandwith) is not enough for 32 slots server set it to "/throttle 3072"

Re: Please Help Me With My SWBF1 Server

Posted: Sat Oct 18, 2008 5:36 pm
by SG-17
No effect. The command line that I am using was copied from the GUI. Maybe Vista just can't handle batch servers.

Re: Please Help Me With My SWBF1 Server

Posted: Sat Oct 18, 2008 7:05 pm
by BattleBelk

Code: Select all

:autorestart
battlefront.exe  /win /norender /autonet dedicated /resolution 320 240 /gamename {TNT}Battlegrounds /playerlimit 32 /playercount 1 /bots 0 /noaim /noteamdamage /sideselect /difficulty 3 /throttle 3076 /netregion NA  bes2a 999 999 bes1a 999 999 rhn1i 999 999 rhn2a 999 999 tat1i 999 999 hot1i 999 777 kas2c 999 999 geo1r 999 777 kas1i 999 888
goto autorestart
"tps 30" dosent work for PS2