SWBFGamers

Gaming for the Original SWBF1 and SWBF2/other games => Star Wars Battlefront (2004 Original) => Topic started by: SG-17 on February 27, 2025, 04:59:45 PM

Title: Enable Vote to Kick with Server run via Batch file?
Post by: SG-17 on February 27, 2025, 04:59:45 PM
I figured someone here might know, is there a way to enable Vote to Kick from a server via an argument in the Batch file used to host SWBF1 servers? I can't seem to get the Ban/Kick window to work on the server window so this would be the next best thing.
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Anyder on February 27, 2025, 05:55:58 PM
These are all commands available... so I guess that's a no:

 
Note: Not all of these may be enabled in the final shipped game.

/profile
/ai
/ainotext
/framerate
/invincible
/unlimitedammo
/demomode
/lang
/loadspam
/record
/playback
/notvalues
/ShowAllSessions
/ShowAllServers
/nointro
/AskLucasToRemovePhysicalCDCheck
/splitscreen
/split
/screenshot
/toggledisplay
/firstperson
/nonames
/bandwidth
/latency
/loss
/jitter
/nodrag
/autonet
/playercount
/playerlimit
/gamename
/lan
/norender
/nowait
/nosound
/nostartupmusic
/fixedrate
/team
/skill
/evil (forces player to side 2)
/quakecam
/soundwarning
/noai
/crashed
/throttle
/netplayers
/sideselect
/bots
/netregion ("NA" "JAP"  "EUR")
/heroes
/randomize
/nomovies
/tps
/noframelock
/nowaitlate
/waitlate
/oneworld
/splitupdate
/droplateupdate
/adminpw
/password
/noaim
/noteamdamage
/difficulty
/gameslice
/resolution
/log
/nocheckcd
/win
/fixedfunction
/install
/audiomixbuffer
/audionoenhance
/audiosamplerate
/audiomaxchannels
/logfinalscore
/spawn
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Led on February 27, 2025, 06:06:05 PM
Quote from: SG-17 on February 27, 2025, 04:59:45 PMI figured someone here might know, is there a way to enable Vote to Kick from a server via an argument in the Batch file used to host SWBF1 servers? I can't seem to get the Ban/Kick window to work on the server window so this would be the next best thing.

If I recall, I used a macro program to autoload a ban list--but I think it was based in the GUI version of the game.  Auto-IT. 

I can probably find it if needed.

You can also firewall ban from your router or when using a rented server.
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Anyder on February 27, 2025, 06:08:33 PM
Quote from: Led on February 27, 2025, 06:06:05 PMIf I recall, I used a macro program to autoload a ban list--but I think it was based in the GUI version of the game.  Auto-IT. 

I can probably find it if needed.

You can also firewall ban from your router or when using a rented server.

I do have it handly now that I searched for the SWBFRAW32 so if the ban thing is needed let me know!
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: SG-17 on March 01, 2025, 05:48:34 AM
Hmm, thanks. A firewall ban seems like the easiest option.

As well, is there a way to setup a batch file to restart the server if it crashes without needing to click Close on the "battlefront.exe has stopped working" popup first?
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Anyder on March 01, 2025, 07:39:00 AM
Quote from: SG-17 on March 01, 2025, 05:48:34 AMHmm, thanks. A firewall ban seems like the easiest option.

As well, is there a way to setup a batch file to restart the server if it crashes without needing to click Close on the "battlefront.exe has stopped working" popup first?
Yes, here's an example:

:loop
echo(%time%) SWBF server started.

battlefront.exe /add /your /stuff /here

echo(%time%) server crashed / restarting...
goto loop
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Led on March 01, 2025, 07:52:35 AM
Hey Anyder, let's put SG-17 into the server admin group.
We can have some discussions there about protecting servers from crashing.
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Led on March 01, 2025, 05:49:28 PM
OK, SG-17, feel free to post in the new board.   :cheers:
Title: Re: Enable Vote to Kick with Server run via Batch file?
Post by: Anyder on March 04, 2025, 02:38:24 PM
My bad, I was moving into my parent's home for these couple of weeks for some hospital stuff. Thank you for taking care of it, Led  :cheers:
EhPortal 1.34 © 2025, WebDev