Siile/Ninslash

Own server

SKSaki opened this issue · 24 comments

Is there a way to make own server for this?

@pelya answer me please?

pelya commented

În android server will just appear on lan @pelya
I want a permanent server...

What should i do to keep the server running Forever
I have a vps...
I can keep a server on @pelya

Siile commented

Hey @SKSaki, great that you want to host Ninslash!

Yeah,but how @pelya
Do You. Have any inatructions? I need some help,cuz its hard for me to host it...
I need installation inatructions....

Learn about how to open a port and then understand how to launch a permanent server

pelya commented

@pelya i use ovh's vps
But i need help installing ninslash in Linux machine.
Also i have nano.
My Linux version is Ubuntu

Also,i use pm2 for automating tasks
Idk how to use cron,or the path to ninslash :(
@pelya

Also,that leads me to an error...

GNU nano 2.5.3 File: /tmp/crontab.0PZulI/crontab

Edit this file to introduce tasks to be run by cron.

Each task to run has to be defined through a single line

indicating with different fields when the task will be run

Edit this file to introduce tasks to be run by cron.

Each task to run has to be defined through a single line

indicating with different fields when the task will be run

and what command to run for the task

To define the time you can provide concrete values for

minute (m), hour (h), day of month (dom), month (mon), # and day of week (dow) or use '*' in these fields (for 'any').#

Notice that tasks will be started based on the cron's system

GNU nano 2.5.3 File: /tmp/crontab.0PZulI/crontab Modified

daemon's notion of time and timezones.

Output of the crontab jobs (including errors) is sent through

email to the user the crontab file belongs to (unless redirected$#

For example, you can run a backup of all your user accounts

GNU nano 2.5.3 File: /tmp/crontab.xN2V3I/crontab

daemon's notion of time and timezones.

# Output of the crontab jobs (including errors) is sent through

email to the user the crontab file belongs to (unless redirected$#

For example, you can run a backup of all your user accounts

at 5 a.m every week with:

0 5 * * 1 tar -zcf /var/backups/home.tgz /home/

For more information see the manual pages of crontab(5) and cron$# # m h dom mon dow command

GNU nano 2.5.3 File: /tmp/crontab.xN2V3I/crontab Modified

daemon's notion of time and timezones.

Output of the crontab jobs (including errors) is sent through # email to the user the crontab file belongs to (unless redirected$ ; ./ninslash_srv -f 'example GNU nano 2.5.3 File: /tmp/crontab.xN2V3I/crontab

daemon's notion of time and timezones.

GNU nano 2.5.3 File: /tmp/crontab.xN2V3I/crontab # daemon's notion of time and timezones.

Output of the crontab jobs (including errors) is sent through

email to the user the crontab file belongs to (unless redirected$#

For example, you can run a backup of all your user accounts # at 5 a.m every week with:

0 5 * * 1 tar -zcf /var/backups/home.tgz /home/

For more information see the manual pages of crontab(5) and cron$#

m h dom mon dow command

cd /Ninslash ; ./ninslash_srv -f 'example
configs/autoexec.cfg'

crontab: installing new crontab
"/tmp/crontab.xN2V3I/crontab":22: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit? (y/n) n
crontab: edits left in /tmp/crontab.xN2V3I/crontab
saki@SakiVPS:~$ @pelya

pelya commented
pelya commented

The same error

@reboot cd /home/$USER/ninslash ; ./ninslash_srv -f
'example configs/autoexec.cfg' >server.log 2>&1

crontab: installing new crontab
"/tmp/crontab.9zSyef/crontab":23: bad minute
errors in crontab file, can't install.
Do you want to retry the same edit? (y/n)
@pelya
#idk what is wrong...

what that means

I did that.
Whats next @pelya

pelya commented

Yeah @pelya, i figured it.
I succesfuly made the crontab,but what now,my server is still bot on even after restart

So what now @pelya

Hey @pelya
I figured out an issue...
My server cant let clients Connect to IT.
Because the port is not opened.
Here is what log say
Welcome to Ubuntu 16.04.2 LTS (GNU/Linux 4.4.0-81-generic x86_64)

Get cloud support with Ubuntu Advantage Cloud Guest:
http://www.ubuntu.com/business/services/cloud

0 packages can be updated.
0 updates are security updates.

Last login: Mon Jun 26 05:11:12 2017 from hidden
saki@SakiVPS:~$ crontab -l

Edit this file to introduce tasks to be run by cron.

Each task to run has to be defined through a single line

indicating with different fields when the task will be run

and what command to run for the task

To define the time you can provide concrete values for

minute (m), hour (h), day of month (dom), month (mon),

and day of week (dow) or use '*' in these fields (for 'any').#

Notice that tasks will be started based on the cron's system

daemon's notion of time and timezones.

Output of the crontab jobs (including errors) is sent through

[59507c57][server]: added option '- ' 'sv_null 0'[59507c57][server]: added option 'Gamemode: Invasion (co-op)' 'sv_$[59507c57][server]: added option 'Gamemode: Reactor defence (co-op$[59507c57][server]: added option 'Gamemode: Team Death Match' 'sv_$[59507c57][server]: added option 'Gamemode: Capture The Flag' 'sv_$[59507c57][server]: added option 'Gamemode: Death Match' 'sv_gamet$[59507c57][server]: added option 'Gamemode: Chainsaw Infection' 's$[59507c57][server]: added option 'Gamemode: Gun Game' 'sv_gametype$[59507c57][server]: added option '-' 'sv_null 0'
[59507c57][server]: added option 'Reload' 'reload' [59507c57][server]: added option '- ' 'sv_null 0' [59507c57][server]: added option 'Next map' 'change_map' [59507c57][server]: added option '- ' 'sv_null 0' [59507c57][server]: added option 'Random start weapon ON' 'sv_rand$[59507c57][server]: added option 'Random start weapon OFF' 'sv_ran$[59507c57][server]: added option '- ' 'sv_null 0' [59507c57][server]: added option 'Survival mode ON' 'sv_survivalmo$ GNU nano 2.5.3 File: server.log Modified
[59507c57][engine/mastersrv]: refreshing master server addresses [59507c57][register]: refreshing ip addresses [59507c57][engine/mastersrv]: saving addresses
[59507c57][register]: fetching server counts [59507c5a][register]: chose 'vps301894.ovh.net' as master, sending$[59507c8e][register]: ERROR: the master server reports that client$[59507c8e][register]: ERROR: configure your firewall/nat to let th$[59507c9d][register]: ERROR: the master server reports that client$[59507c9d][register]: ERROR: configure your firewall/nat to let th$[59507cac][register]: ERROR: the master server reports that client$[59507cac][register]: ERROR: configure your firewall/nat to let th$[59507cbb][register]: ERROR: the master server reports that client$$let through udp on port 8303.

GNU nano 2.5.3 File: server.log Modified
[59507c57][engine/mastersrv]: refreshing master server addresses
[59507c57][register]: refreshing ip addresses [59507c57][engine/mastersrv]: saving addresses
[59507c57][register]: fetching server counts
[59507c5a][register]: chose 'vps301894.ovh.net' as master, sending$[59507c8e][register]: ERROR: the master server reports that client$[59507c8e][register]: ERROR: configure your firewall/nat to let th$[59507c9d][register]: ERROR: the master server reports that client$[59507c9d][register]: ERROR: configure your firewall/nat to let th$[59507cac][register]: ERROR: the master server reports that client$[59507cac][register]: ERROR: configure your firewall/nat to let th$[59507cbb][register]: ERROR: the master server reports that client$$let through udp on port 8303.

@Siile a bit of help?

Well,i managed to do it myself
Thx anyways