Help making a .bat file to start server??

General help and assistance forum.
Post Reply
ASCiiDiTY
 
Posts: 22
Joined: Sat Aug 03, 2019 8:01 am

Help making a .bat file to start server??

#1

Post by ASCiiDiTY » Fri Dec 04, 2020 12:55 am

Hey guys,

Would somebody please be able to help me figure this out? Trying to make a .bat file to run server and start that file on boot.

I know this isn't right, and it's not working, but I'm not sure how to fix it. You can see all the file locations in the .bat file.

doom.bat:

Code: Select all

C:\Program Files (x86)\Zandronum\zandronum.exe -host -port 10666 -iwad D:\Wads\doom2.wad -file D:\Wads\skulltag_content-3.0-beta01.pk3 D:\Wads\duel40b.pk3 +exec C:\Program Files (x86)\Zandronum\Doomseeker\duel40.ini
duel40.ini:

Code: Select all

[%General]
engine=Zandronum
hostExecutable=C:/Program Files (x86)/Zandronum/zandronum.exe
offlineExecutable=C:/Program Files (x86)/Zandronum/zandronum.exe
remoteExecutable=C:/Program Files (x86)/Zandronum/zandronum.exe
name=ASCiiDiTY GAMiNG | DUEL SERVER | ASCiiDiTY.XYZ
port=10666
logDir=
logEnabled=0
gamemode=5
map=START
difficulty=2
iwad=D:/Wads/doom2.wad
pwads="D:/Wads/skulltag_content-3.0-beta01.pk3;D:/Wads/duel40b.pk3"
pwadsOptional="0;0"
broadcastToLAN=1
broadcastToMaster=1
upnp=1
upnpPort=0
hostMode=host
 
[Rules]
modifier=0
maxClients=16
maxPlayers=16
%2Btimelimit=10
%2Bfraglimit=25
%2Bwinlimit=0
%2Bduellimit=1
%2Bsv_maxlives=0
maplist=START
randomMapRotation=0
 
[Misc]
URL=https://asciidity.xyz/
eMail=
connectPassword=
joinPassword=
RConPassword=
MOTD=ASCiiDiTY GAMiNG | DUEL SERVER | ASCiiDiTY.XYZ
CustomParams=
 
[dmflags]
CompatUseOriginalMissileClippingHeight=0
CompatUseSectorBasedSoundTargetCode=0
CompatTraceIgnoreLinesWithoutSameSectorOnBothSides=0
CompatLimitDehMaxHealthToHealthBonus=0
CompatRavensScrollersUseOriginalSpeed=0
CompatAddNOGRAVITYFlagToSpheres=0
DontStopPlayerScriptsOnDisconnect=0
OldZDoomHorizontalThrust=0
OldZDoomBridgeDrops=0
OldZDoomJumpPhysics=0
CompatUseVanillaAutoaimTracerBehavior=0
CompatMaskedMidtex=0
CompatBadAngles=0
CompatFindShortestTexturesLikeDoom=0
CompatLimitPainElementals=0
CompatSpawnItemDropsOnTheFloor=0
CompatNETScriptsAreClientside=0
CompatActorsAreInfinitelyTall=0
CompatUseBuggierStairBuilding=0
CompatDisableBoomDoorLightEffect=0
CompatAllSpecialLinesCanDropUseLines=0
CompatOriginalSoundCurve=0
CompatFullWeaponLower=0
CompatWestSpawnsAreSilent=0
CompatFloorMove=0
CompatEnableWallRunning=0
CompatDontLetOthersHearPickups=0
CompatAllowInstantRespawn=0
CompatDisableStealthMonsters=0
CompatAllowSilentBFGTrick=0
CompatOriginalWeaponSwitch=0
CompatLimitedMovementInTheAir=0
CompatMonstersSeeSemiInvisiblePlayers=0
CompatPlasmaBumpBug=0
CompatAnyBossDeathActivatesMapSpecials=0
CompatFrictionPushersPullersAffectMonsters=0
CompatCrusherGibsByMorphingNotReplacement=0
CompatBlockMonsterLinesIgnoreFriendlyMonsters=0
CompatFindNeighboringLightLevelLikeDoom=0
CompatUseOldIntermissionScreensMusic=0
CompatScrollingSectorsAreAdditive=0
CompatSectorSoundsUseOriginalMethod=0
CompatNoMonstersDropoffMove=0
CompatInstantlyMovingFloorsArentSilent=0
CompatClientsSendFullButtonInfo=0
CompatOldRandomNumberGenerator=0
CompatMonstersCantBePushedOffCliffs=0
CompatOldDamageRadiusInfiniteHeight=0
CompatMinotaur=0
CompatOriginalVelocityCalcForMushroomInDehacked=0
CompatSpriteSortOrderInverted=0
CompatHitscansOriginalBlockmap=0
CompatDrawPolyobjectsOld=0
LMSChainsaw=0
LMSPistol=0
LMSShotgun=0
LMSSuperShotgun=0
LMSChaingun=0
LMSMinigun=0
LMSRocketLauncher=0
LMSGrenadeLauncher=0
LMSPlasmaRifle=0
LMSRailgun=0
LMSSpectatorsCanTalkToActivePlayers=0
LMSSpectatorsCanViewTheGame=0
RespawnAutomatically=0
DropWeaponOnDeath=0
RespawnFarthestAwayFromOthers=1
LoseAFragOnDeath=0
RespawnWithAShotgun=1
NoRespawnProtection=0
KeepFragsAfterMapChange=0
WeaponsStayAfterPickup=0
DoubleAmmo=0
DontSpawnHealth=0
DontSpawnArmor=0
DontSpawnRunes=0
ScoreDamageNotKills=0
DontSpawnDeathmatchWeapons=0
DontSpawnAnyMultiplayerItem=0
MonstersAreFast=0
MonstersRespawn=0
MonstersMustBeKilledToExit=0
KillBossMonsters=0
RespawnWhereDied=0
LoseAllInventory=0
LoseArmor=0
LoseKeys=0
LosePowerups=0
LoseWeapons=0
LoseAllAmmo=0
LoseHalfAmmo=0
DeadPlayersCanKeepInventory=0
ShareKeys=0
SurvivalNoMapResetOnDeath=0
NoSuicide=0
NoRespawn=0
NoRocketJump=1
NoTaunt=0
NoItemDrop=0
NoUseAutomap=0
NoTurnOffTranslucency=0
NoUseCrosshairs=0
NoUseCustomGLLightingSettings=0
NoTargetIdentify=0
NoDisplayCoopInfo=0
NoUseAutoaim=0
NoUseFOV=0
NoUseFreelook=0
NoUseLandConsoleCommand=0
NoMaxBloodScalar=0
InfiniteInventory=0
InfiniteAmmo=0
SlowlyLoseHealthWhenOver100=0
CanUseChasecam=0
AllowBFGFreeaiming=0
DontCheckAmmoWhenSwitchingWeapons=0
NoMonsters=1
ItemsRespawn=1
BarrelsRespawn=1
MegaPowerupsRespawn=0
ServerPicksTeams=0
PlayersCantSwitchTeams=0
KeepTeamsAfterAMapChange=0
HideAlliesOnTheAutomap=0
DontLetPlayersSpyOnAllies=0
InstantFlagSkullReturn=0
NoUnlagged=0
AlwaysApplyLMSSpectatorSettings=0
NoMedals=0
gameversion=2
defaultdmflags=0
falling_damage_type=0
jump_ability=2
crouch_ability=2
player_block=3
level_exit=3
killmonsters_percentage=100
force_inactive_players_spectating_mins=0
monsters_damage_factor=@Variant(\0\0\0\x87?\x80\0\0)
 
[voting]
UseThisPage=0
WhoCanVote=0
MinimumPlayersRequiredToVote=1
VoteFloodingProtection=1
KickVote=1
ChangeMapVote=1
MapVote=1
TimeLimitVote=1
FragLimitVote=1
DuelLimitVote=1
PointLimitVote=1
WinLimitVote=1
ForceSpectatorVote=1

ASCiiDiTY
 
Posts: 22
Joined: Sat Aug 03, 2019 8:01 am

Re: Help making a .bat file to start server??

#2

Post by ASCiiDiTY » Fri Dec 04, 2020 2:16 pm

I've made some progress by using this:

Code: Select all

"C:/Program Files (x86)/Zandronum/zandronum.exe" -host -port 10666 -iwad D:/Wads/doom2.wad -file D:/Wads/skulltag_content-3.0-beta01.pk3 -file D:/Wads/duel40b.pk3 +exec C:/Program Files (x86)/Zandronum/Doomseeker/duel40.ini
But it's not picking up the config, and starting a co-op server on the wrong map:
Image

Does anybody know what I'm doing wrong?

Any help is appreciated, this has been driving me crazy for a couple of days.

I just want my server to autostart with windows so I can reset and not have to bother manually starting it.

ASCiiDiTY
 
Posts: 22
Joined: Sat Aug 03, 2019 8:01 am

Re: Help making a .bat file to start server??

#3

Post by ASCiiDiTY » Fri Dec 04, 2020 3:52 pm

Okay, thanks for the help. Found the solution for anybody going through the same:

Code: Select all

"C:/Program Files (x86)/Zandronum/zandronum.exe" -host -port 10666 -iwad D:/Wads/doom2.wad -file D:/Wads/skulltag_content-3.0-beta01.pk3 -file D:/Wads/duel40b.pk3 +exec "C:/Program Files (x86)/Zandronum/Doomseeker/duel.ini"

Code: Select all

//**************************************************
//ASCiiDiTY DUEL SETTINGS
//**************************************************

sv_hostname "ASCiiDiTY GAMiNG | DUEL SERVER | ASCiiDiTY.XYZ"
sv_website "https://asciidity.xyz/"
sv_motd "WELCOME TO ASCiiDiTY'S DUEL40 SERVER! | ASCiiDiTY.XYZ"
 
sv_defaultdmflags 0
alwaysapplydmflags 1
sv_maxplayers 16
sv_maxclients 16
sv_maxclientsperip 2
sv_nocallvote 0
sv_suddendeath 0
sv_minvoters 1
sv_forcerespawn 1
sv_forcerespawntime 3
skill 3
timelimit 10
fraglimit 25
deathmatch 1
duel 1
duellimit 1
 
//------------
//Maps
//------------
addmap START
 
//----------
//Flags
//----------
 
dmflags 543183876
dmflags2 4195840
zadmflags 0
compatflags 786496
zacompatflags 1703944

Post Reply