Jump to content
ZLOFENIX Games

I cant start my own server


Recommended Posts

I have followed all the steps to set up my own server but when i click on startserver.bat file nothing happens the server is not starting. Please help.

Edited by TheAK
Link to post
Share on other sites

set INSTANCEDIRECTORY=%~dp0Instance

set SERVERNAME="server name"
set GAMEPORT=27000
set REMOTEADMINPORT=your ip :48000
set ADMINPASSWORD=
set PINGSITE=ams
set REGION=EU
set ZLOGIN=
set ZPASS=

start bf4_Server_Final.exe -zlogin %ZLOGIN% -zpass %ZPASS% -serverInstancePath %INSTANCEDIRECTORY% -GamePort %GAMEPORT% -Country %COUNTRY% -RemoteAdminPort %REMOTEADMINPORT% +admin.password "%ADMINPASSWORD%" -PingSite %PINGSITE% -Region %REGION% +vars.serverName "%SERVERNAME%" -DisplayAsserts false
exit


use that only change server name , and put ur ip then run zlo server and server bat 

Link to post
Share on other sites
1 час назад, ZLOFENIX сказал:

1. If bat runned admin - it will set current dir as system32, just add cd to your dir on first line in bat.

2. Also your path with spaces, try remove them, or add qutoes to path.

B7ackhawk just connected my pc via teamviewer but still my server is not starting B7ackhawk said to wait so he can do some searching.

Edited by Garry
Link to post
Share on other sites
On 10/14/2019 at 1:01 PM, ZLOFENIX said:

1. If bat runned admin - it will set current dir as system32, just add cd to your dir on first line in bat.

2. Also your path with spaces, try remove them, or add qutoes to path.

Spaces in path to server executable will stop it from working without quotes?

Link to post
Share on other sites

@echo off
set INSTANCEDIRECTORY=%~dp0Instance

set SERVERNAME="ChangeMe"
set GAMEPORT=25100
set REMOTEADMINPORT=0.0.0.0:47100
set ADMINPASSWORD=ChangeMe
set PINGSITE=ams
set REGION=EU
set COUNTRY=EU
set ZLOGIN=ChangeMe
set ZPASS=ChangeMe
echo "Running Server"
start bf4_Server_Final.exe -zlogin %ZLOGIN% -zpass %ZPASS% -serverInstancePath %INSTANCEDIRECTORY% -GamePort %GAMEPORT% -Country %COUNTRY% -RemoteAdminPort %REMOTEADMINPORT% +admin.password "%ADMINPASSWORD%" -PingSite %PINGSITE% -Region %REGION% +vars.serverName "%SERVERNAME%" -DisplayAsserts false

 

 

 

put the in startserver.bat  and change what you have 

Edited by B7ackhawk
Link to post
Share on other sites

# -------------------------------------------------------------------------------------------------------------------------
# File generated by Procon Frostbite.  Replace the contents of your /cfg/AdminScripts/startup.txt 
# on your game server with this file for your settings to remain persistent on game server restart.
# -------------------------------------------------------------------------------------------------------------------------
# Comments begin with a # at the start of a line.
# Quotations are optional for single words, but are required if the parameter contains spaces:
# Correct:   admin.password Hello
# Correct:   admin.password "Hello"
# Incorrect: admin.password Hello World
# Correct:   admin.password "Hello World"

admin.password"0"
punkBuster.activate 
vars.serverName "tset"
vars.serverDescription "welcome to Zloemu.tk&Zlogames.ru project"
vars.friendlyFire false
vars.idleTimeout 300
vars.teamKillCountForKick 0
vars.teamKillValueForKick 0
vars.teamKillValueIncrease 0
vars.teamKillValueDecreasePerSecond 0
vars.autoBalance true
vars.killCam true
vars.miniMap true
vars.3dSpotting true
vars.miniMapSpotting true
vars.3pCam true
vars.teamKillKickForBan 0
vars.maxPlayers 20
vars.idleBanRounds 0
vars.vehicleSpawnAllowed true
vars.vehicleSpawnDelay 100
vars.bulletDamage 100
vars.nameTag true
vars.regenerateHealth true
vars.roundRestartPlayerCount -1
vars.roundStartPlayerCount -1
vars.onlySquadLeaderSpawn false
vars.unlockMode "stats"
vars.soldierHealth 60
vars.hud true
vars.playerRespawnTime 100
vars.gameModeCounter 100
vars.serverMessage "welcome to Zloemu.tk&Zlogames.ru project"
reservedSlotsList.aggressiveJoin false
vars.roundLockdownCountdown 15
vars.roundWarmupTimeout 600
fairFight.deactivate 
vars.maxSpectators 4
vars.hitIndicatorsEnabled false
vars.serverType "RANKED"
vars.commander true
vars.alwaysAllowSpectators true
vars.roundTimeLimit 100
vars.ticketBleedRate 100
vars.teamFactionOverride 1 0
vars.teamFactionOverride 2 2
vars.teamFactionOverride 3 0
vars.teamFactionOverride 4 2
vars.preset "NORMAL" false
 

 

 

put that in startup .text then save it

Link to post
Share on other sites
Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...