Page 1 of 3

New Install

Posted: Wed Jan 25, 2017 02:14 UTC
by Surfdude
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

Re: New Install

Posted: Wed Jan 25, 2017 02:52 UTC
by TheMightyDude
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.

Re: New Install

Posted: Sun Jan 29, 2017 07:22 UTC
by Surfdude
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

Re: New Install

Posted: Sun Jan 29, 2017 20:18 UTC
by Surfdude
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

Re: New Install

Posted: Mon Jan 30, 2017 13:53 UTC
by TheMightyDude
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?

Re: New Install

Posted: Tue Jan 31, 2017 15:54 UTC
by Surfdude
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.

Re: New Install

Posted: Tue Jan 31, 2017 21:54 UTC
by TheMightyDude
Well I have never used CRON at shell level, I have always used Webmin to control everything.

Re: New Install

Posted: Wed Feb 01, 2017 02:03 UTC
by Surfdude
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?

Re: New Install

Posted: Wed Feb 01, 2017 03:46 UTC
by thekabal
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/

Re: New Install

Posted: Wed Feb 01, 2017 05:55 UTC
by Surfdude
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