evilkittycat 4 Posted December 14, 2014 Hey,I am new to DayZ server management, and I want to change the port. I have set up the server successfully, but all I need to do is to change the port. Is it even possible or should I port forward the default port? Share this post Link to post Share on other sites
Steak and Potatoes 13480 Posted December 14, 2014 Let me summon Amber for you. 2 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 Let me summon Amber for you.Summon him. 1 Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 hello good sir you set the port when you start the server. add to your server startup arguments -port=PORTNUMBER 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 hello good sir you set the port when you start the server. add to your server startup arguments -port=PORTNUMBER Already tried that, still starts with the default port. Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 (edited) are you using the server exe Edited December 14, 2014 by AmberHelios 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 are you using the server exe No, I'm using the one made by a guy named Pwnzor something. Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 post your startup lines here 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 (edited) 141214 18:29:50 [Note] Plugin 'FEDERATED' is disabled.141214 18:29:50 InnoDB: The InnoDB memory heap is disabled141214 18:29:50 InnoDB: Mutexes and rw_locks use Windows interlocked functions141214 18:29:50 InnoDB: Compressed tables use zlib 1.2.3141214 18:29:50 InnoDB: Initializing buffer pool, size = 16.0M141214 18:29:50 InnoDB: Completed initialization of buffer pool141214 18:29:50 InnoDB: highest supported file format is Barracuda.InnoDB: The log sequence number in ibdata files does not matchInnoDB: the log sequence number in the ib_logfiles!141214 18:29:50 InnoDB: Database was not shut down normally!InnoDB: Starting crash recovery.InnoDB: Reading tablespace information from the .ibd files...InnoDB: Restoring possible half-written data pages from the doublewriteInnoDB: buffer...141214 18:29:50 InnoDB: Waiting for the background threads to start141214 18:29:51 InnoDB: 1.1.8 started; log sequence number 3145689141214 18:29:51 [Note] Server hostname (bind-address): '0.0.0.0'; port: 3306141214 18:29:51 [Note] - '0.0.0.0' resolves to '0.0.0.0';141214 18:29:51 [Note] Server socket created on IP: '0.0.0.0'.141214 18:29:51 [Note] Event Scheduler: Loaded 1 event141214 18:29:51 [Note] .\bin\mysqld: ready for connections.Version: '5.5.29' socket: '' port: 3306 MySQL Community Server (GPL) Just realized that this isn 't what you asked for. Here's the code in the start script: @echo offecho Starting MySQL database. Please wait 5-10 seconds.start /D.\MySQL\ MySQL.batping 127.0.0.1 -n 5 >NUL.\MySQL\cecho {0A} OK.{07}echo.echo.echo.echo Executing spawn script....\MySQL\bin\mysql.exe --user=dayz --password=dayz --host=127.0.0.1 --port=25565 --database=hivemind --execute="call pMain(1)"ping 127.0.0.1 -n 5 >NUL.\MySQL\cecho {0A} OK.{07}echo.echo.echo.echo Starting server...start .\Expansion\beta\arma2oaserver.exe -mod=Expansion\beta;Expansion\beta\expansion;ca;@hive;@dayz -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\basic.cfg -profiles=cfgdayz.\MySQL\cecho {0A} OK.{07} echo.echo.echo..\MySQL\cecho {0B}Launcher created by Pwnoz0r.{07}ping 127.0.0.1 -n 5 >NULecho.echo.echo..\MySQL\cecho {0A}Leaving le launcher...{07}ping 127.0.0.1 -n 5 >NULexit Edited December 14, 2014 by EvilKittyCat123 1 Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 start .\Expansion\beta\arma2oaserver.exe -mod=Expansion\beta;Expansion\beta\expansion;ca;@hive;@dayz -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\basic.cfg -profiles=cfgdayz did you specify the port in that line? 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 start .\Expansion\beta\arma2oaserver.exe -mod=Expansion\beta;Expansion\beta\expansion;ca;@hive;@dayz -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\basic.cfg -profiles=cfgdayz did you specify the port in that line? Just tried that, but it still starts with the default port though. @echo offecho Starting MySQL database. Please wait 5-10 seconds.start /D.\MySQL\ MySQL.batping 127.0.0.1 -n 5 >NUL.\MySQL\cecho {0A} OK.{07}echo.echo.echo.echo Executing spawn script....\MySQL\bin\mysql.exe --user=dayz --password=dayz --host=127.0.0.1 --port=25565 --database=hivemind --execute="call pMain(1)"ping 127.0.0.1 -n 5 >NUL.\MySQL\cecho {0A} OK.{07}echo.echo.echo.echo Starting server...start .\Expansion\beta\arma2oaserver.exe -mod=Expansion\beta;Expansion\beta\expansion;ca;@hive;@dayz -port=25565 -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\basic.cfg -profiles=cfgdayz.\MySQL\cecho {0A} OK.{07} echo.echo.echo..\MySQL\cecho {0B}Launcher created by Pwnoz0r.{07}ping 127.0.0.1 -n 5 >NULecho.echo.echo..\MySQL\cecho {0A}Leaving le launcher...{07}ping 127.0.0.1 -n 5 >NULexit Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 Perhaps it's being used by something else see a few lines above in the start up sequence 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 Perhaps it's being used by something else see a few lines above in the start up sequenceWhat could possibly use the port 25565? 1 Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 The MySQL server 7 lines up Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 The MySQL server 7 lines upBut I'm not using MySQL. Anyways, I just managed to port forward a port on 3306, which is the default port, but now I cant find my port on the LAN page or DayZ launcher. Here's my script: @echo offecho Starting MySQL database. Please wait 5-10 seconds.start /D.\MySQL\ MySQL.batping 127.0.0.1 -n 5 >NUL.\MySQL\cecho {0A} OK.{07}echo.echo.echo.echo Executing spawn script....\MySQL\bin\mysql.exe --user=dayz --password=dayz --host=127.0.0.1 --port=3306 --database=hivemind --execute="call pMain(1)"ping 127.0.0.1 -n 5 >NUL.\MySQL\cecho {0A} OK.{07}echo.echo.echo.echo Starting server...start .\Expansion\beta\arma2oaserver.exe -mod=Expansion\beta;Expansion\beta\expansion;ca;@hive;@dayz -port=3306 -name=cfgdayz -config=cfgdayz\server.cfg -cfg=cfgdayz\basic.cfg -profiles=cfgdayz.\MySQL\cecho {0A} OK.{07} echo.echo.echo..\MySQL\cecho {0B}Launcher created by Pwnoz0r.{07}ping 127.0.0.1 -n 5 >NULecho.echo.echo..\MySQL\cecho {0A}Leaving le launcher...{07}ping 127.0.0.1 -n 5 >NULexit Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 You are using MySQL server DayZ requres it set your DayZ sever to one port in the line I said before and then 7 lines up set the MySQL server to another but make sure your hive.ini says the same port as the mysql server is running on 2 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 You are using MySQL server DayZ requres it set your DayZ sever to one port in the line I said before and then 7 lines up set the MySQL server to another but make sure your hive.ini says the same port as the mysql server is running on Okay, portforwarded both ports, and put different ports on each. Where is hive.ini? Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 It's in cfgdayz folder from that pack I belive 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 It's in cfgdayz folder from that pack I beliveStill not working, can you help me on skype or something? Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 Not at this moment I'm in the pub :) 1 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 Not at this moment I'm in the pub :)Alright, so what now? I have done everything you've said, but still it wont work. Do I actually have to have MySQL? Share this post Link to post Share on other sites
evilkittycat 4 Posted December 14, 2014 (edited) *This post was duplicated for some reason* Edited December 14, 2014 by EvilKittyCat123 Share this post Link to post Share on other sites
AmberHelios 2071 Posted December 14, 2014 MySQL is needed for the hive component 2 Share this post Link to post Share on other sites
evilkittycat 4 Posted December 15, 2014 MySQL is needed for the hive component Ohhh. I thought it was optional. So once I've setup the mySQL database and stuff, it'll all work. Right? Share this post Link to post Share on other sites
kichilron 8550 Posted December 15, 2014 Ohhh. I thought it was optional. So once I've setup the mySQL database and stuff, it'll all work. Right? If you've done everything correctly, yes. Do you know how to setup a database? Share this post Link to post Share on other sites