New Install

Trying to install BNT? No guarantees we can help you (especially if you're hosting it on windows) but we''ll try.

Surfdude
Posts: 17
Joined: Wed Jan 25, 2017 2:09 am

New Install

Post by Surfdude » Wed Jan 25, 2017 2:14 am

I have been out of it for awhile.

Do to popular request by my friends I have been talked into setting up a site.

I don't suppose there are any guru's out there that could give me a helping hand...eh?

You will need to have time to walk me through it or for me to allow you access to my server. Whichever is easyiest.

Thank-you in advance

User avatar
TheMightyDude
Site Admin
Posts: 245
Joined: Thu Apr 17, 2014 9:15 am

Re: New Install

Post by TheMightyDude » Wed Jan 25, 2017 2:52 am

Hey, welcome back.

Well the current code is way too buggy.

Depending on what your installing it on, it should still be straightforward and can follow what it says in the INSTALL file in the docs folder.

I know before I become ill and had to take a step back for about a year or so that the live version I had on here no longer works due to us upgrading the servers software, hence the closed games.

I have also not touched BNT on Linux for ages, so I have forgotten a lot of BNT stuff.

I am still in the design stages of a complete new recode from scratch, so some old might disappear and new stuff might appear.
Still not decided on the end platform for the server or client, or even if it will be open or closed source.

I can say it will be free to play and "might" have micro-transactions built in.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

Surfdude
Posts: 17
Joined: Wed Jan 25, 2017 2:09 am

Re: New Install

Post by Surfdude » Sun Jan 29, 2017 7:22 am

I have always been a fan of Blacknova and will continue to support your direction whichever you decide to go with it. If possible I would love it if you would consider allowing me to participate in its future in more than a player's capacity.

Thank-you for your efforts.

Ed

Surfdude
Posts: 17
Joined: Wed Jan 25, 2017 2:09 am

Re: New Install

Post by Surfdude » Sun Jan 29, 2017 8:18 pm

Getting the following error when I try to update the cron job

"_":2: bad command

errors in crontab file, can't install

I used the following command:

*/5 * * * * /usr/bin/lynx --dump http://localhost/bnt/scheduler.php?swordfish=*password* > /dev/null

is there something that I am missing?

Thanks,

Ed

User avatar
TheMightyDude
Site Admin
Posts: 245
Joined: Thu Apr 17, 2014 9:15 am

Re: New Install

Post by TheMightyDude » Mon Jan 30, 2017 1:53 pm

Sorry was busy trying to get some code working.

What's this "_":2: bad command ?

What happens when you run the following line in shell?

/usr/bin/lynx --dump http://localhost/bnt/scheduler.php?swordfish=*password*

Remember to remove the > /dev/null at the end to see the output.

Does it display any errors?

Is lynx even installed on your server?
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

Surfdude
Posts: 17
Joined: Wed Jan 25, 2017 2:09 am

Re: New Install

Post by Surfdude » Tue Jan 31, 2017 3:54 pm

Ok I figured out what I was doing wrong on the cron job issue.

I was including the */5 * * * * in my command line entry.

Concerning everything else. It does look like I am using Lynx with apache and the versions that I am using do appear to be what I need to get the game to work. If I can figure out what I am doing of course.

User avatar
TheMightyDude
Site Admin
Posts: 245
Joined: Thu Apr 17, 2014 9:15 am

Re: New Install

Post by TheMightyDude » Tue Jan 31, 2017 9:54 pm

Well I have never used CRON at shell level, I have always used Webmin to control everything.
TheMightyDude::Blacknova Development.
Development Blog Twitter Twitch

Surfdude
Posts: 17
Joined: Wed Jan 25, 2017 2:09 am

Re: New Install

Post by Surfdude » Wed Feb 01, 2017 2:03 am

Ok so I have the game up and running....one final problem though.

The count-down restarts every time the screen refreshes. I don't think the cron job service is running correctly any ideas?

thekabal
Posts: 91
Joined: Sat Apr 19, 2014 10:32 pm

Re: New Install

Post by thekabal » Wed Feb 01, 2017 3:46 am

Surfdude wrote:Ok so I have the game up and running....one final problem though.

The count-down restarts every time the screen refreshes. I don't think the cron job service is running correctly any ideas?
Indeed, this means that the cronjob is not running.

How are you editing the cron job? You should be doing something like:
$ export EDITOR=nano
$ crontab -e
(edit and add the line from the readme - including the stars)
ctrl-x to exit & save.

Then wait five minutes.

if that isn't working, give us some more detail like what OS, which hosting company, etc.

Some reference materials:

http://www.adminschoice.com/crontab-quick-reference
http://www.crontab-generator.org/

Surfdude
Posts: 17
Joined: Wed Jan 25, 2017 2:09 am

Re: New Install

Post by Surfdude » Wed Feb 01, 2017 5:55 am

Using the command line to enter the cron job

can you give me a set of commands to put in?

I really don't know what to do in the cron job area.

game is located at:

bnt.surfdudeonline.com

Post Reply